This download includes the source for Es Bot V2.2. DOWNLOAD THE COMPILED EOBOT AND SOURCE CODE HERE How to fix esbot to connect to p-servers https://eoserv.net/forum/topic/23834 in packet.cpp under the includes add unsigned short seqstart; unsigned char seqval = 1; unsigned short Sequence() { unsigned short val = seqval; if (++seqval >= 10) { seqval = 0;//was 0 } return seqstart + val; } void SetSeqStart(unsigned short val) { seqstart = val; } and remove these variables and functions PacketProcessor::seqstart PacketProcessor::seqval unsigned short PacketProcessor::Sequence() { unsigned short val = seqval; if (++seqval >= 10) { seqval = 0;//was 0 } return seqstart + val; } void PacketProcessor::SetSeqStart(unsigned short val) { seqstart = val; } Replace your packet encode function with this std::string PacketProcessor::Encode(const std::string &rawstr) { std::string str
Comments
Post a Comment