Hello guys.
I have (not only me) problem with Tibiasock. After sending 400-4000 packets (sometimes after 5 minutes) Tibiasock crashes Tibia.
I've observed that it happened on ExecuteRemoteCode line in Tibiasock.dll.
On stack is 'Adler32 checksum is 0'.
I made simply test. Run Tibiasock and send packets with speed 5 packets per second.
After few moments (1240 packet sended), Tibia crashes, bot freezed. Bot freeze due WaitForSingleObject(WorkThread,INFINITE) line in Tibiasock.
Now i have question to Darkstar. What can we do to avoid crashes?
@EDIT:
Ok, i have noticed that crashes only Thread with Tibiasock, but Windows close main thread too.
When i close manually Tibiasock Thread, Tibia works again without complication.
Is any way to close that Thread from code?