• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Fix/Patch Fix Target/Follow 8.60

where I can find it protocolgame.cpp to change?

I'll give Rep++
 
Last edited:
Perfect, but i do not have to do anything more?
As make that to work on my server -- that i have to replace?
 
After changing the code in DevCpp, you must compile it. After compiling is done you'll get a file called "TheForgottenServer.exe" in the folder "devcpp" (it's where the source codes are).
Use it instead of "Crying Damson.exe" to start OT. :p
 
I saw this bug, but, i use the rev 3884 of 0.4, and just some players have this bugs, not all.

Anyway, its working for all now. Good job.
 
Hi!

I have problem with this target, i have a ot for 8.6 client. But i dont have any protocolgame.cpp in my folder and idk about the version of my exe. But when i look on properties on the exe its says 3.1. How to fix this?
 
Can't compile with this...


TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 4 cores, using 5 processes
make all-am
make[1]: se ingresa al directorio `/home/serv/sources'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__WAR_SYSTEM__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -pipe -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
protocolgame.cpp: In member function âvoid ProtocolGame::sendCancelTarget()â:
protocolgame.cpp:2042: error: âclass NetworkMessageâ has no member named âAddU32â
make[1]: *** [protocolgame.o] Error 1
make[1]: se sale del directorio `/home/serv/sources'
make: *** [all] Error 2
 
Can't compile with this...


TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 4 cores, using 5 processes
make all-am
make[1]: se ingresa al directorio `/home/serv/sources'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__WAR_SYSTEM__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -pipe -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
protocolgame.cpp: In member function âvoid ProtocolGame::sendCancelTarget()â:
protocolgame.cpp:2042: error: âclass NetworkMessageâ has no member named âAddU32â
make[1]: *** [protocolgame.o] Error 1
make[1]: se sale del directorio `/home/serv/sources'
make: *** [all] Error 2

0.4 doesn't have this bug... try:
Code:
void ProtocolGame::sendCancelTarget()
{
	NetworkMessage_ptr msg = getOutputBuffer();
	if(msg)
	{
		TRACK_MESSAGE(msg);
		msg->put<char>(0xA3);
		msg->put<uint32_t>(0);
	}
}
 
void ProtocolGame::sendCancelTarget()
{
NetworkMessage_ptr msg = getOutputBuffer();
if(msg)
{
TRACK_MESSAGE(msg);
msg->put<char>(0xA3);
msg->put<uint32_t>(0);
}
}

and
void ProtocolGame::sendCancelTarget()
{
NetworkMessage_ptr msg = getOutputBuffer();
if(msg)
{
TRACK_MESSAGE(msg);
msg->AddByte(0xA3);
msg->AddU32(0);
}
}

not working

when i use 10x hotkeys on elfbot
auto 10 follow target
server use 100% cpu
 
Back
Top