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

Status
Not open for further replies.

Zak

Posting Freak
Mar 12, 2011
848
453
LMFAO IT IS! IF IT WASNT FOR YOU, ZAK WOULDNT HAVE MOTIVATION, AND THE PROJECT WOULDNT BE DONE xDDD

Not at all.
I think a project that started at november the 1st. I would have lost motivation at month 2-3. But i didn't.

Anyhow just finally done some stable updates -.- Sockets that handled 30 users MAX, now handles over 5000, like a beast.

Of course Mikkel disagrees with these sockets because it "overflows" when a invalid packet structure is invoked.
[Not a problem, just fix the structure....]

Just because Mikkel posts updates doesn't mean he did em lmao.

Also, start cleaning up the hard coded packets.

Everything coded of today:
wzTUO96oSuIz.png
 

dominic

Active Member
Dec 16, 2011
175
84
Not at all.
I think a project that started at november the 1st. I would have lost motivation at month 2-3. But i didn't.

Anyhow just finally done some stable updates -.- Sockets that handled 30 users MAX, now handles over 5000, like a beast.

Of course Mikkel disagrees with these sockets because it "overflows" when a invalid packet structure is invoked.
[Not a problem, just fix the structure....]

Just because Mikkel posts updates doesn't mean he did em lmao.

Also, start cleaning up the hard coded packets.

Everything coded of today:
wzTUO96oSuIz.png
No I don't make every packet.
Team Rev does :D
 

Zak

Posting Freak
Mar 12, 2011
848
453
Not yet.

Gonna do Walking, and Talking.

Then finally commit and push.
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Are groups going to be purchaseabale in the catalogue like habbo has? Like um, that group furni shit.
And will manequins work? :D But yeah, really nice progress.
 

Zak

Posting Freak
Mar 12, 2011
848
453
Code:
class TalkOnHotel : IClientMessage
    {
        //[LOG] > CLIENT ID: '1517': 
        
        /*[0][0][0][5]
         * í[0][0][0][0]
         * [0][5]hello[0][0][0][0][0][0][0][0][0][0][0][0]*/

        public uint Headerid
        {
            get
            {
                return 3795;
            }
        }


        public void Handle(Session session, Message Message)
        {
            string UsersMessage = Message.NextString();

            int SmileState = 0;

            string MessageBase = UsersMessage.ToLower();

            if (MessageBase.Contains(":)") || MessageBase.Contains("=)") || UsersMessage.Contains(":D") || UsersMessage.Contains("=D"))
            {
                SmileState = 1; // Happy face
            }

            if (MessageBase.Contains(":@") || MessageBase.Contains(">:(") || MessageBase.Contains(">:@"))
            {
                SmileState = 2; // Angry face
            }

            if (MessageBase.Contains(":o") || UsersMessage.Contains("D:"))
            {
                SmileState = 3; // Surprise face
            }

            if (MessageBase.Contains(":(") || MessageBase.Contains(":'(") || MessageBase.Contains("=(") || MessageBase.Contains("='("))
            {
                SmileState = 4; // Sad face
            }

            string Site = "";

            // Filter Url
            if (UsersMessage.Contains("http://") || UsersMessage.Contains("www.") || UsersMessage.Contains("https://"))
            {
                string[] Split = UsersMessage.Split(' ');

                for (int i = 0; i < Split.Length; i++)
                {
                    String Msg = Split[i];
                    if (Msg.StartsWith("http://") || Msg.StartsWith("https://") || Msg.StartsWith("www."))
                    {
                        Site = Msg;
                    }
                }
               UsersMessage = UsersMessage.Replace(Site, "{0}");
            }

            Message.WriteInt32(session.Id);
            Message.WriteString(UsersMessage);
            Message.WriteInt32(SmileState);
            Message.WriteInt32((Site.Equals("")) ? 1 : 0);

            if (!Site.Equals(""))
            {
                Message.WriteString(Site.Replace("http://", ""));
                Message.WriteString(Site);
                Message.WriteBool(true);
            }
            Message.WriteInt32(0);

            session.SendPacket(Message);
        }
    }

Pretty much finished the complicated structure of Talking, just need to do the composer id in there.

Anyhow thats done.
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Code:
class TalkOnHotel : IClientMessage
    {
        //[LOG] > CLIENT ID: '1517':
       
        /*[0][0][0][5]
        * í[0][0][0][0]
        * [0][5]hello[0][0][0][0][0][0][0][0][0][0][0][0]*/
 
        public uint Headerid
        {
            get
            {
                return 3795;
            }
        }
 
 
        public void Handle(Session session, Message Message)
        {
            string UsersMessage = Message.NextString();
 
            int SmileState = 0;
 
            string MessageBase = UsersMessage.ToLower();
 
            if (MessageBase.Contains(":)") || MessageBase.Contains("=)") || UsersMessage.Contains(":D") || UsersMessage.Contains("=D"))
            {
                SmileState = 1; // Happy face
            }
 
            if (MessageBase.Contains(":@") || MessageBase.Contains(">:(") || MessageBase.Contains(">:@"))
            {
                SmileState = 2; // Angry face
            }
 
            if (MessageBase.Contains(":o") || UsersMessage.Contains("D:"))
            {
                SmileState = 3; // Surprise face
            }
 
            if (MessageBase.Contains(":(") || MessageBase.Contains(":'(") || MessageBase.Contains("=(") || MessageBase.Contains("='("))
            {
                SmileState = 4; // Sad face
            }
 
            string Site = "";
 
            // Filter Url
            if (UsersMessage.Contains("http://") || UsersMessage.Contains("www.") || UsersMessage.Contains("https://"))
            {
                string[] Split = UsersMessage.Split(' ');
 
                for (int i = 0; i < Split.Length; i++)
                {
                    String Msg = Split[i];
                    if (Msg.StartsWith("http://") || Msg.StartsWith("https://") || Msg.StartsWith("www."))
                    {
                        Site = Msg;
                    }
                }
              UsersMessage = UsersMessage.Replace(Site, "{0}");
            }
 
            Message.WriteInt32(session.Id);
            Message.WriteString(UsersMessage);
            Message.WriteInt32(SmileState);
            Message.WriteInt32((Site.Equals("")) ? 1 : 0);
 
            if (!Site.Equals(""))
            {
                Message.WriteString(Site.Replace("http://", ""));
                Message.WriteString(Site);
                Message.WriteBool(true);
            }
            Message.WriteInt32(0);
 
            session.SendPacket(Message);
        }
    }

Pretty much finished the complicated structure of Talking, just need to do the composer id in there.

Anyhow thats done.
:D Nice progress once again. Its neat :cool:
 

dominic

Active Member
Dec 16, 2011
175
84
Zak as told. The Composer id is 1517.

Now remember here:
Message Response = new Message(1517);

session.SendPacket(Response);
 

Adidas

Retro Developer
May 6, 2012
296
19
I am forreal about to pee! Im pretty sure it will be released this month or next! :D unless they keep adding things!​
 

dominic

Active Member
Dec 16, 2011
175
84
I am forreal about to pee! Im pretty sure it will be released this month or next! :D unless they keep adding things!​
I think there is some troubles between Zak and I at this moment. Don't mind if I wont update.
 
Status
Not open for further replies.

Users who are viewing this thread

Top