What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Unlimeted nudges

Unlimeted nudges
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. Unlimeted nudges
Hi.
I'm from Denmark and my english isn't good, but I'll try.
I have made a script which makes it possible to send unlimited nudges, but when i log off and then on the script doesn't work.

Here is my script:
code:
var Kontakt = [0x5E84D9, 0x5EA515, 0x614FB6];
var Oprindelig = "\x8B\x86\xDC\x02\x00\x00";
var Fix = "\x33\xC0\x40\x90\x90\x90";
var Vaerdi = "0";
var Status = new Boolean();

function OnEvent_Initialize(bMessengerStart)
{
    if(Messenger.MyStatus > "0")
    {
        OnEvent_Signin();
    }
   
    Patch(Vaerdi, (Status = !Status) ? Fix : Oprindelig);
    var oShell = new StatusXObject("WScript.Shell");
    oShell.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\RemoveDelay", Status & 1, "REG_DWORD");
}


function OnEvent_Signin(sEmail)
{
    var hProc = Interop.Call("Kernel32", "GetCurrentProcess");
    var sBuffer = Interop.Allocate(Oprindelig.length);
    for (var i in Kontakt)
    {
        Interop.Call("Kernel32", "ReadProcessMemory", hProc, Vaerdi = Kontakt[i], sBuffer.DataPtr, Oprindelig.length, 0);
        var sReturn = "";
        for (var j = 0; j < sBuffer.size; j++) sReturn += String.fromCharCode(sBuffer.GetAt(j) & 0xFF);
        if (sReturn === Oprindelig || sReturn === Fix)
        {
            try
            {
                var oShell = new StatusXObject("WScript.Shell");
                Status = Boolean(oShell.RegRead(MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\RemoveDelay"));
            }
            catch(exception)
            {
                Status = false;
            }
            Patch(Vaerdi, Status ? Fix : Oprindelig);
            return;
        }
    }
   
    Vaerdi = "0";
}

function Patch(nVaerdi, sByteString)
{
    var sBuffer = Interop.Allocate(++sByteString.length);
    for (j=0;j<sByteString.length;j++)
    {
        sBuffer.WriteWORD(j, sByteString.charCodeAt(j));
    }
    var hProc = Interop.Call("Kernel32", "GetCurrentProcess");
    Interop.Call("Kernel32", "WriteProcessMemory", hProc, nVaerdi, sBuffer.DataPtr, sByteString.length, 0);
}

Thanks in advance.
11-29-2006 12:08 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Unlimeted nudges - by SnuZZer on 11-29-2006 at 12:08 PM
RE: Unlimeted nudges - by Felu on 11-29-2006 at 12:24 PM
RE: Unlimeted nudges - by andrey on 11-29-2006 at 03:06 PM
RE: Unlimeted nudges - by SnuZZer on 11-29-2006 at 04:11 PM
RE: Unlimeted nudges - by andrey on 11-29-2006 at 04:38 PM
RE: Unlimeted nudges - by SnuZZer on 11-29-2006 at 05:17 PM
RE: Unlimeted nudges - by CookieRevised on 11-30-2006 at 01:42 AM


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