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

REPORT ALL 0.2 BUGS HERE (latest 0.2 svn)!

Status
Not open for further replies.
rev742 TAGS:
Code:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c quests.cpp
quests.cpp: In member function 'void Quest::getMissionList(Player*, NetworkMessage*)':
quests.cpp:149: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:150: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:151: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:157: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:158: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp: In member function 'void Quests::getQuestsList(Player*, NetworkMessage*)':
quests.cpp:293: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:294: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:300: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:301: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
quests.cpp:302: error: invalid use of undefined type 'struct NetworkMessage'
protocol.h:27: error: forward declaration of 'struct NetworkMessage'
make: *** [quests.o] Błąd 1

I can't compile.

@EDIT:
@down: Soo, good :)
 
Last edited:
Elf is commiting fix for that right now :)

(to fix add #include "networkmessage.h" in quests.h)
 
I just updated my server to the latest rev, it compiles and everything, but... You cannot connect to your character (it loads the account though, and yes I have config.lua correctly configured). Kind of a biggish problem. XD

EDIT: Wait was that to fix the CPU usage? Jking :p

~Kiwi Dan~
 
Last edited:
Yes, don't allow players so there won't be any lags :D
Kiwi, if you could contact with me on MSN.

P.S. I'm working on fix for it.
 
The problem has been solved (the one that fixed the cpu usage). Characters can now login :(
 
Crash on latest rev tags (Randomly happened no idea why) There has been NO crashes prior to updating.
 
Reason for crash.

The latest patch has the following problem:

Error message after server crash:

TheForgottenServer: outputmessage.cpp:191: OutputMessage* OutputMessagePool::getOutputMessage(Protocol*, bool): Assertion `outputmessage->getState() == OutputMessage::STATE_FREE' failed.
Aborted (core dumped)

Core file:

#0 0xb7fc0410 in ?? ()
#1 0xb626d088 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00005185 in ?? ()
#4 0xb7911811 in raise () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7912fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#6 0xb790afbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#7 0x08133433 in OutputMessagePool::getOutputMessage ()
#8 0x0814d3ed in Protocol::getOutputBuffer ()
#9 0x0815465b in ProtocolGame::sendCreatureSay ()
#10 0x080b2403 in Game::playerSpeakTo ()
#11 0x080b351e in Game::playerSay ()
#12 0x08159928 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf5<bool, Game, unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&>, boost::_bi::list6<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<unsigned short>, boost::_bi::value<SpeakClasses>, boost::_bi::value<std::string>, boost::_bi::value<std::string> > >, void>::invoke ()
#13 0x08182032 in boost::function0<void, std::allocator<void> >::eek:perator() ()
#14 0x08181d9a in Dispatcher::dispatcherThread ()
#15 0xb7e91240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb79b449e in clone () from /lib/tls/i686/cmov/libc.so.6

Note: this will be an avesta problem, and is reported in the bug report section. :p
 
Still havn't got any help =S
i changed the group id to 3 and i can't make any GM commands =/

what should i do?
 
Its also not working when compiled correctly as-is in windows...

I do not use windows, I use LINUX DEVIAN 4.0, RUN 200 players online with my server using 60% CPU, perfect linux, why work on the windows FASTATACK and does not work in Linux?

The only that can help talaturen and, I believe that this bug has not yet appeared like the word of TALATUREN about it, everything is working in TFS to linux least the FASTATACK ..

I look forward ..

[sry my english]
 
I get this compile error

Code:
game.cpp: In member function ‘bool Game::placeCreature(Creature*, const Position&, bool)’:
game.cpp:662: erro: expected primary-expression before ‘)’ token
game.cpp:662: erro: expected `;' before ‘)’ token
make: ** [game.o] Erro 1

Used latest trunk revision 748
 
Status
Not open for further replies.
Back
Top