Author | Message | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EOBOT issues
| Hi guys, I've decided to play around with the ES EOBOT source code v2.2. I've always been interested in learning more client/server interactions, I've always had an interest in these bots.
|
Re: EOBOT issues
| I'm pretty sure its the enforced packet sequence server side.You will have to adjust a few things I currently dont have my working source to show you but it should be in bots code in packet.cpp in the Encode function if (rawstr[1] != 255) fullstr += rawstr.substr(0,4); fullstr += rawstr.substr(4); } At that point it switches from 2 bytes to 1...maybe test the bot on main or on server that doesnt enforce the packet seq!
|
Re: EOBOT issues
| I haven't fucked with eoserv / or c++ in months but i will try to do my best.
Sequence number is a number that the server excepts to be sent correctly after the Packet action/family bytes. ----------- For illustration : *Base sequence :
*Sequence number = base sequence + I , where I is a number ranging from 0 to 9 ( the I counter should go back to 0 instead of reaching 10) *I is initially 0
|
Re: EOBOT issues
| Well this definitely gave me a point in the right direction! Thanks guys! I knew eoserv was definitely more strict, couldn't figure out exactly what was different.
|
Re: EOBOT issues
| I need a bot that works, since I found this one, but it gives me the following error that I show in the image. I have configured everything well when it wants to enter and work but when reconnect stops working, can someone help me?
|
Re: EOBOT issues
| The method I posted prior was onlyworking correctly if the server was sending 1 byte sequences.I had to adjust the length of the packet to fit the switch bytes. EDITED 1/6/17 in packet.cpp under the includes add
and remove these variables and functions PacketProcessor::seqstart PacketProcessor::seqval unsigned short PacketProcessor::Sequence() Replace your packet encode function with this std::string PacketProcessor::Encode(const std::string &rawstr) Near the bottom replace your PacketBulder::Get function with this std::string PacketBuilder::Get() In packet.hpp under the includes place extern unsigned short seqstart; in the PacketProcessor class remove seqstart; I've been on 2 different servers today and they both have different variations of the sequence enabled no problems :D good luck!! |