Revolution Emulator [C#, R63B, Encryption Cracked, DAO, Fluent NHibernate, Lua Plugin, Mono]

Status
Not open for further replies.

Zak

Posting Freak
Mar 12, 2011
847
453
I was supposed to post in-game screenshots last night. But i was too pissed of.
I'll do it tonight

Why i was pissed of?
 

Ruben

New Member
Sep 15, 2011
9
1
I was supposed to post in-game screenshots last night. But i was too pissed of.
I'll do it tonight

Why i was pissed of?

That's shit man with your Xbox account :S looking forward to the screenshots though =] keep up the good work.
 

GeekyLulz

Member
Mar 7, 2012
109
9
This is going to be awesome in my opinion!

Hater's gonna hate.. I'm a :ninja: (Ninja) Don't forget that or else..
 

Zak

Posting Freak
Mar 12, 2011
847
453
Has anyone got a backup of Betterways 02-01-12 cracked?

I been looking for it for a while. Seem like he's link has gone down.

Nvm, i'll just send Betterway a pm for it.​
 

Zak

Posting Freak
Mar 12, 2011
847
453
I thought people could read comments.

-Anyway just got the cracked swf from betterway.
 

Zak

Posting Freak
Mar 12, 2011
847
453
Bare with me, I've had few issues, but i'm doing this fast as i can [Setting everything up]
 

Zak

Posting Freak
Mar 12, 2011
847
453
I keep debugging to find the out issue.

Sockets handle everything fine as expected. But oddly it's the generic directory not adding the events properly. Or it may be the MessageHandler not invoking it properly when it handles them.
 

Zak

Posting Freak
Mar 12, 2011
847
453
Not atm.

Also could some test the source from github with a swf. I always seem to have problems with swfs.

Cheers,
Zak
 

Adil

DevBest CEO
May 28, 2011
1,276
714
Have you added the packet encoders yet? I was browsing through the repo and couldn't seem to find them.

Anyway,
Nice to see you're using git Zak, awesome choice of vcs :)
I'll check it out and see what I can do (in terms of testing)
Good luck with further development!
 
  • Like
Reactions: Zak

Zak

Posting Freak
Mar 12, 2011
847
453
Yes, find SessionManager.cs and look in the Traffic region.

Nvm i'll post the code for you.

Code:
private static void HandleReceive(SocketAsyncEventArgs Args)
        {
            var token = Args.UserToken as AsyncUserToken;
            try
            {
                if (Args.BytesTransferred > 0 && Args.SocketError == SocketError.Success)
                {
                    var received = new byte[Args.BytesTransferred];
                    Array.Copy(_bufferManager.Buffer, Args.Offset, received, 0, Args.BytesTransferred);
                    //MessageHandler.HandleBytes(GetSession(token.Socket), ref received);
                    // Define Client
                    var client = new TcpClient();
                    // Define Stream And Use Client To Get It.
                    var stream = client.GetStream();
                    // Define Reader And Use Binaryreader Using The Stream.
                    var reader = new BinaryReader(stream);
                    var writer = new BinaryWriter(stream);
                    var bytes = new List<byte[]>();
                    var policyCheck = (reader.ReadByte() == 60) ? true : false;
                    var directory = new List<byte[]>();
                    if (!policyCheck)
                    {
                        writer.Flush();
                    }
                    while (reader.ReadByte() > 6)
                    {
                        int tMsgLen = reader.ReadInt32();
                        if (reader.ReadByte() < tMsgLen)
                        {
                            writer.Flush();
                        }
                        // Packet stuff
                        var clientMessage = new ClientMessageHandling(reader);
                        
                        RevEnvironment.GetSession().HandleMessage(clientMessage);
                    }
                    if (policyCheck)
                    {
                        writer.Flush();
                        const string policy = "<?xml version=\"1.0\"?>\r\n"
                                              +
                                              "<!DOCTYPE cross-domain-policy SYSTEM \"/xml/dtds/cross-domain-policy.dtd\">\r\n"
                                              + "<cross-domain-policy>\r\n"
                                              + "<allow-access-from domain=\"*\" to-ports=\"*\" />\r\n"
                                              + "</cross-domain-policy>\0";
                        writer.Write(policy);
                    }
                }
                else
                {
                    CloseClientSocket(Args);
                }
            }
            catch
            {
                CloseClientSocket(Args);
            }
            finally
            {
                try
                {
                    if (token != null) token.Socket.ReceiveAsync(Args);
                }
                catch (Exception exception)
                {
                    Console.WriteLine(@"Error accepting Connection: " + exception.ToString());
                }
            }
        }
 

emonemo1234

Member
Feb 9, 2012
221
26
Hopefully this project will be somehting like neutrino emu. With snowstorm, and that new catalogue, and the profiles :D.
Good luck :)
 

Zak

Posting Freak
Mar 12, 2011
847
453
I hope it's not like Neutrino, because it got stopped half way. And did not even have the RC4,BANNER,RSA
 
Status
Not open for further replies.

Users who are viewing this thread

Top