Try to stay longer online, something like 1h. It will probably kick u with a funny error :/
btw. it will crash if u recive a big packet like a Map packet
To send packets all you need to do is call your hook send function e.g. MySend(...); . The tricky part is sending packets to the client which I'm still trying to figure out ... it's possible to send them by attaching it to other incoming packets; but it isn't instant. I'm still thinking on it
Anyways, good work =)
Nice !
- 0.3
- Fixed crash when u recive a big packet
- hooKdll now has 58kb
still working on sendpacket thing
Sending packets on server.. You don't even have to hook Send(). The only tricky part is to get the socketID. There's two ways to do that:
1. Hook send() function and store the socketID from there.
2. Read it from memory (If I remember right it was pointer's pointer so it's a bit tricky).
Then when you have the socketID just call send() function to send packet (Inside your DLL of course).
Man! It's just great! It is what I really need : )
You've really done a great job..
PS. Can you post files: 'BmsApiHook.dcu' and 'BmsIpcUtil.dcu'? I need them to compile the source by myself.
Greetz,
Sinless Man.
BMSHookDelphi7.zip attached =)Originally Posted by sinlessman
Thanks a LOT!
I just can't wait to see the send packet function ; D
Greetz,
Sinless Man.
Uhm I still get errors when I input invalid password :/ anybody know how to fix it?