Server traffic hack

05/22/2009 17:08 daniellook#31
Quote:
Originally Posted by Disconnect View Post


Buy a book about how to program or occupy a course.
Thats to mutch work to let a friend pee his pants xD
05/22/2009 21:18 lopasas#32
Quote:
Originally Posted by daniellook View Post
Thats to mutch work to let a friend pee his pants xD
download sony vegas and fake it in 20 minutes
05/22/2009 22:45 InvincibleNoOB#33
The video itself is not fake.

He sent 0xA103(Login to world server success) to SRO_Client,which is easy as pie.

Code:
private void InjectA103()
{
        var r = new Celebrity();
        r.BeginWrite();
        r.SetOpcode(0xA103);
        r.Write<byte>(0x01);
        WS2.__sockClient.Send(r.GetPacket());
}
This is what happens in Sro_Client:
Code:
        private void worldResponce(byte[] data, int size)
        {
            var r = new Celebrity();
            if (r.Read<byte>() == 1)
            {
                FormMain.PerformActionOnMainForm(form => form.memo.Text += "Login to World server succesfull!\n");
                //Request character listing
                r.BeginWrite();
                if (Values.vsro)
                    r.SetOpcode(0x7007);
                else
                    r.SetOpcode(0x72F7); //isro
                r.Write<byte>(0x2);
                MainFunctions.InjectPacketToServer(r.GetPacket(), false, r.GetTotalSize());
            }
            else //r.Read<byte>() == 2
            {
                switch (r.Read<byte>())
                {
                    case 4:
                        FormMain.PerformActionOnMainForm(
                            form => form.memo.Text += "Could not connect due to server traffic\n");
                        break;
                    case 1:
                        FormMain.PerformActionOnMainForm(form => form.memo.Text += "C9 error(Ping timeout)\n");
                        break;
                    case 3:
                        FormMain.PerformActionOnMainForm(form => form.memo.Text += "C10 error(Multi client)\n");
                        break;
                    default:
                        FormMain.PerformActionOnMainForm(
                            form =>
                            form.memo.Text +=
                            "An error occured at worldResponce() switch; mode(1st) = 2.However,mode(2nd) is unknown.\n");
                        break;
                }
                WS2.Close();
            }
        }