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

Ot Ubuntu server

toxic21

New Member
Joined
Apr 20, 2011
Messages
3
Reaction score
0
Hi,

I'm trying to compile my tfs server and i can't get it right!

When i use the make comand it begins nice but when it reches the game.cpp give me errors:mad:

see the log:
Code:
root@server:/home/otserv# make
make  all-am
make[1]: Entrando no diretório `/home/otserv'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2   -O2 -fomit-frame-pointer -D__USE_MYSQL__     -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
game.cpp: No construtor âGame::Game()â:
game.cpp:80:22: erro: array subscript is above array bounds [-Werror=array-bounds]
game.h: Na função membro âvoid Game::globalSave()â:
game.h:623:76: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: Na função membro âvoid Game::prepareGlobalSave()â:
game.cpp:6256:30: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6258:22: erro: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors
make[1]: ** [game.o] Erro 1
make[1]: Saindo do diretório `/home/otserv'
make: ** [all] Erro 2

Thanks
 
Last edited:
server dosent work with 12.04 i had to use 10.11 i think it was to get it to work... all other versions are bugged some how!
 
Back
Top