• 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!

Compiling Help this is bug! C++

login12

void newbie scripter()
Joined
Feb 26, 2011
Messages
164
Reaction score
24
Location
Brazil
I have one bug on tile... dont have limits for put items in tiles, and if is problem, because one ppl can put 9 character with fck "anti-push" in tile and start trash this is tile, and in minutes server get lag and kick.

for now i think about it, and i try take system of 9.8 source of "Limite Tile", and pass for tfs 1.0
but i get erros, u can help me?

look it.

[ 92%] Building CXX object CMaFiles/tfs.dir/src/tile.cpp.o
/home/xxx/forgottenserver/src/tile.cpp: In member function âbool Tile::isFull() constâ:
/home/xxx/forgottenserver/src/tile.cpp:108:11: error: âg_configâ was not declared in this scope
/home/xxx/forgottenserver/src/tile.cpp:108:30: error: âConfigManagerâ has not been declared
/home/xxx/forgottenserver/src/tile.cpp:110:11: error: âg_configâ was not declared in this scope
/home/xxx/forgottenserver/src/tile.cpp:110:30: error: âConfigManagerâ has not been declared
/home/xxx/forgottenserver/src/tile.cpp: In member function âvirtual Return
Value Tile::__queryAdd(int32_t, const Thing*, uint32_t, uint32_t, Creature*) constâ:
/home/xxx/forgottenserver/src/tile.cpp:736:11: error: âRET_TILEISFULLâ was not declared in this scope
make[2]: *** [CMakeFiles/tfs.dir/src/tile.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

its is my tile.cpp
http://pastebin.com/hXtQNaxd

sry my english rlly.
i think much ppl need this is fix.
 
Back
Top Bottom