Sending Packets

10/13/2010 08:01 Interest07#46
You mean you don't actually have one of those in your inventory? :p
10/13/2010 09:08 Smurfin#47
not exactly lol, actually I used up all of the gsp I had before I got that message, was hoping it would do the opposite and keep giving me reps :D
10/13/2010 09:45 Interest07#48
Hehehe, one can always try I suppose, but don't get your hopes up trying to cheat by sending packets, any decent game will check the actions server side :)

Botting will always be the easiest way to cheat :D
10/13/2010 10:41 KraHen#49
Am I blind or there`s no need for encryption? o.o
10/13/2010 12:57 Smurfin#50
Interest07, just a quick question, not sendpacket related though but since u'r here i'll ask anyway :p

what can be used to detect connection state to the server so we can make an alarm to sound if a char is disconnected ?

sometimes having several clients running and logged in, after a few hours or days, only some of them might be disconnected while the others are fine.
10/13/2010 14:02 DIAsko#51
By sending packets all clear, but somebody has found how to read the received packets?
10/13/2010 23:57 Interest07#52
Quote:
Originally Posted by Smurfin View Post
Interest07, just a quick question, not sendpacket related though but since u'r here i'll ask anyway :p

what can be used to detect connection state to the server so we can make an alarm to sound if a char is disconnected ?

sometimes having several clients running and logged in, after a few hours or days, only some of them might be disconnected while the others are fine.
Prolly have to see if the window informing you you have been disconnected is up. I've never looked around for it though, so don't have that info available.

Quote:
Originally Posted by KraHen View Post
Am I blind or there`s no need for encryption? o.o
This way you inject the packets just befor they are encrypted and sent to the server, so you don't need to encrypt them yourself indeed :)
10/14/2010 06:22 Smurfin#53
can they put like 'reject unencrypted packet' routine in their patch ?
10/14/2010 07:40 Interest07#54
Well, in order to send encrypted packets, they have to create the unencrypted packet first. Then send that packet to an encryption function. So you can always find the place where they do this, and inject your packet there. Until they start using a separate encryption function for every different packet, there won't be any problem.

They can't detect the fact you are injecting an unencrypted packet server side, because they are receiving an encrypted packet.
10/14/2010 08:09 Smurfin#55
nice, then this sendpacket script will always work :D
10/14/2010 09:15 SunB#56
Hello everyone, I am just switching from using C++ dll to inline C# code for injection code, but the client just crash all the time :(
Please take a look at the code and help me

Code:
public void testInjectNormalAtk(int pID)
        {
            string opcode = "";
            // asm
            // pushad;
            // mov eax, commonAtkAddress;
            // call eax;
            // popad;
            // ret;

            opcode += "60";
            opcode += "B8" + "5F51A0";
            opcode += "FFD0";
            opcode += "61";
            opcode += "C3";

            byte[] baOpcode = CalcBytes(opcode);

            IntPtr hProcess = openProcess(pID);

            IntPtr allocatedAddress = VirtualAllocEX(hProcess, IntPtr.Zero,  (IntPtr)baOpcode.Length );

            bool success = WriteMemory(hProcess, intPtr2UIntPtr(allocatedAddress), baOpcode, (uint)baOpcode.Length);

            IntPtr threadid = CreateRemoteThread(hProcess, allocatedAddress, IntPtr.Zero);

            WaitForSingleObject(hProcess);

            // clean up
            CloseHandle(threadid);
            VirtualAllocFree(hProcess, allocatedAddress, baOpcode.Length);
            CloseHandle(hProcess);
        }
Is there any thing wrong with the opcode ?

the last post was in wrong thread :D
thank all ^^
10/14/2010 09:32 Interest07#57
I replied in the other thread you posted :p
10/17/2010 08:37 SunB#58
I tracked the value in ESI when the call function call SendPackage but I dont know how to convert them like you guys did :D
Do I need to swap the high byte and low byte around? I think it's the way :D
10/18/2010 17:08 Smurfin#59
Interest07, do yo have the log back in packet after using logout=1 or also the log in with id&pass packet after using logout=0 ?
10/20/2010 12:09 Interest07#60
They aren't sent with this sendPacket function.

By the way I suppose nobody actually uses these cos I just noticed some mistakes hehehe.