Mango Emulator

Status
Not open for further replies.
There still was no need to be rude was there.

Maybe you're right, but I now see where the advance people such as ( n0minal, Leon, Quackster, Sojobo, etc, ) and more come from when they see a lot of people not trying other ways before coming and posting/commenting helps everywhere. Yeah I used to do it but I don't no more being as though I've now gained a lot of knowledge from the members around me.

my swfs is here

Why don't you download some working swfs and host them off localhost? If you need some shoot me a PM.
 
my swfs is here


Code:
image.library.questing.url=http://176.31.60.83/swfs/c_images/Quests/
productdata.load.url=http://176.31.60.83/swfs/gamedata/productdata/f6434d3a8d7ac8a697fdc28afc504ff666d270fb
game_center.image.library.url=//novahotel.org/swfs/c_images/
logout.url=http://176.31.60.83/swfs/account/disconnected?reason=%reason%&origin=%origin%
The ip and domains need changing to yours.
 


Known Issues (will update if i discover more)
- RC4 doesn't decode data properly (Session.cs, Line 96)
...


From the top of my head, I think the RC4 bug is cuz you're reading the requests as signed bytes, try applying that patch (below) and it should work :-)


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


RC4.cs (Parse() function, line 56 to 72)
Code:
        public byte[] Parse(byte[] bytes)
        {
            int k = 0;
            byte[] result = new byte[bytes.Length];
            int pos = 0;

            for (int a = 0; a < bytes.Length; a++)
            {
                this.i = ((this.i + 1) % 256);
                this.j = ((this.j + this.Table[this.i]) % 256);
                this.Swap(this.i, this.j);
                k = ((this.Table[this.i] + this.Table[this.j]) % 256);
                result[pos++] = (byte) ((bytes[a] [COLOR="#FF0000"]& 0xff[/COLOR]) ^ this.Table[k]);
            }

            return result;
        }

Not a big fan of posting patches & co. but Hey, you deserves it :-P
 
From the top of my head, I think the RC4 bug is cuz you're reading the requests as signed bytes, try applying that patch (below) and it should work :-)


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


RC4.cs (Parse() function, line 56 to 72)
Code:
        public byte[] Parse(byte[] bytes)
        {
            int k = 0;
            byte[] result = new byte[bytes.Length];
            int pos = 0;

            for (int a = 0; a < bytes.Length; a++)
            {
                this.i = ((this.i + 1) % 256);
                this.j = ((this.j + this.Table[this.i]) % 256);
                this.Swap(this.i, this.j);
                k = ((this.Table[this.i] + this.Table[this.j]) % 256);
                result[pos++] = (byte) ((bytes[a] [COLOR=#FF0000]& 0xff[/COLOR]) ^ this.Table[k]);
            }

            return result;
        }

Not a big fan of posting patches & co. but Hey, you deserves it :-P

Joined August 2012, 15 post, a female, from china. Knows more about coding then I'll know. :'(
 
From the top of my head, I think the RC4 bug is cuz you're reading the requests as signed bytes, try applying that patch (below) and it should work :-)


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


RC4.cs (Parse() function, line 56 to 72)
Code:
        public byte[] Parse(byte[] bytes)
        {
            int k = 0;
            byte[] result = new byte[bytes.Length];
            int pos = 0;

            for (int a = 0; a < bytes.Length; a++)
            {
                this.i = ((this.i + 1) % 256);
                this.j = ((this.j + this.Table[this.i]) % 256);
                this.Swap(this.i, this.j);
                k = ((this.Table[this.i] + this.Table[this.j]) % 256);
                result[pos++] = (byte) ((bytes[a] [COLOR="#FF0000"]& 0xff[/COLOR]) ^ this.Table[k]);
            }

            return result;
        }

Not a big fan of posting patches & co. but Hey, you deserves it :-P

It's good but I hate you call the Decipher function Parse..
 
I would like to work with this, but Ive never setup a client without a full cms. By any chance could I be told how to? I just want to get on the hotel myself
 
Status
Not open for further replies.
Back