What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] ePenis Uptime (Internet Ego Script)

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[Release] ePenis Uptime (Internet Ego Script)
Author: Message:
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
Joined: Aug 2004
RE: [Release] ePenis Uptime (Internet Ego Script)
strange that no one else is experiencing this:

the first time I type /epenis, it sends
quote:
Based on my uptime, my e-Penis is 0.003 inches (0.00762 cm) erect! My largest erection ever was 0.003 inches (0.00762 cm)!
but the second time and from there on is sends
quote:
Based on my uptime, my e-Penis is 0.0055 inches (0.01397 cm) erect! My largest erection ever was 0,003 inches (NaN cm)!
Untill I uninstall the script or delete the 'Record' value in the registry..
there's no error message whatsoever

To recreate the bug:
Uninstall and then install the script, type /epenis and then again /epenis in any convo
or simply delete the 'Record' value in the registry, then type /epenis, and /epenis again


Edit: I've found the bug :cheesy:
The problem was that the 'inch' variable couldn't properly be saved in the registry as a string, because it was a number. Two tiny additions to the CheckRecord(inch) function fixes that

code:
function CheckRecord(inch)
{
var WSH = new ActiveXObject('WScript.Shell');
try {
var Record = WSH.RegRead(MsgPlus.ScriptRegPath + Messenger.MyEmail + '\\Record');
}
catch(exception){
    WSH.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyEmail + '\\Record', inch + "");     // added +"" to convert the number to a string
    Record = inch;
}
if(Record < inch)
{
    WSH.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyEmail + '\\Record', inch + "");     // added +"" to convert the number to a string
    Record = inch;
}
return Record;
}

This post was edited on 07-18-2006 at 05:07 AM by andrey.
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
07-18-2006 03:20 AM
Profile PM Find Quote Report
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
35 / Male / –
Joined: Jun 2004
RE: [Release] ePenis Uptime (Internet Ego Script)
anychance you can make an option to display in kilometres? :P
Segosa is newb.
07-18-2006 10:04 AM
Profile E-Mail PM Web Find Quote Report
Fr@nKy
Junior Member
**

Avatar
Mess.be Addicted

Posts: 29
35 / Male / –
Joined: Jan 2005
RE: [Release] ePenis Uptime (Internet Ego Script)
No! It's better in Light Years :P LooL This script is so stupidly funny :P Good work Stigmata ;)
[Image: Signature.png]
07-18-2006 12:17 PM
Profile PM Find Quote Report
Melarish
New Member
*

Avatar

Posts: 5
Joined: Jul 2006
RE: RE: [Release] ePenis Uptime (Internet Ego Script)
quote:
Originally posted by andrey

Edit: I've found the bug :cheesy:
The problem was that the 'inch' variable couldn't properly be saved in the registry as a string, because it was a number. Two tiny additions to the CheckRecord(inch) function fixes that


I tried replacing that part of the code but it only cut off what I already had >_< The code seems to be the same btw :S
07-18-2006 03:39 PM
Profile E-Mail PM Find Quote Report
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
Joined: Aug 2004
RE: [Release] ePenis Uptime (Internet Ego Script)
quote:
Originally posted by Melarish
I tried replacing that part of the code but it only cut off what I already had >_< The code seems to be the same btw
It's not exactly the same..
If you messed with the script and it stopped working, uninstall it and download it again (here)

The best thing for you to do, is to wait for official updates from Stigmata.


@stigmata: another thing i noticed is that when i close Messenger, the 'Record' value in the registry isn't updated as it should be...but then again, maybe that's just me :S

This post was edited on 07-18-2006 at 06:12 PM by andrey.
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
07-18-2006 04:20 PM
Profile PM Find Quote Report
Zerosan
New Member
*


Posts: 9
– / Male / –
Joined: Jul 2006
RE: [Release] ePenis Uptime (Internet Ego Script)
just a suggestion, you should round the values:

Math.round(ePenissize*1000)/1000

so 1.23442223224 is 1.234
07-18-2006 05:39 PM
Profile E-Mail PM Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: [Release] ePenis Uptime (Internet Ego Script)
Really useless but funny script! :P
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-18-2006 05:48 PM
Profile PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
O.P. RE: [Release] ePenis Uptime (Internet Ego Script)
Ok updated the file on the site is updated.
http://www.msgpluslive.net/scripts/browse/index.php?act=view&id=84

It should fix both problems, saving on exit and displaying a number :P

have fun :)



i havn't added the rounding bit..
but if its requested lots then i will include the option in future builds.




This post was edited on 07-18-2006 at 06:10 PM by Stigmata.
07-18-2006 06:08 PM
Profile PM Web Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: [Release] ePenis Uptime (Internet Ego Script)
:lol: This is great. GJ Stiggeh. :P

This post was edited on 07-19-2006 at 02:09 PM by vaccination.
[Image: jumbled.png]
07-18-2006 06:20 PM
Profile PM Find Quote Report
Zerosan
New Member
*


Posts: 9
– / Male / –
Joined: Jul 2006
RE: [Release] ePenis Uptime (Internet Ego Script)
code:
function advround(number, cut)
{
    var multiplier = 1;
    for(var counter = 0; counter < stellen; counter++)
    {
        multiplier *= 10;
    }
    return Math.round(number*multiplier)/multiplier;
}

just a little function that I use^^
07-18-2006 07:09 PM
Profile E-Mail PM Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On