• 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 to compile 0.4

devilfire

New Member
Joined
Nov 26, 2016
Messages
14
Reaction score
0
I was looking a lot to 0.4 sources with no yellow skull bug, no monster walk bug, cast system and another features...
So i found it in a brazilian forum:
https://github.com/Fir3element/tfs04full

But i having some problems to compile it and i don't found nothing like that here on this forum...
Anybody could help me?

Error is when i tried to:
./autogen.sh

Show me:
Code:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
/usr/share/automake-1.15/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.15/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.15/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
Makefile.am: error: C source seen but 'CC' is undefined
Makefile.am:   The usual way to define 'CC' is to add 'AC_PROG_CC'
Makefile.am:   to 'configure.ac' and run 'autoconf' again.
Makefile.am:23: warning: variable 'theforgottenserver_SOURCES' is defined but no program or
Makefile.am:23: library has 'theforgottenserver' as canonical name (possible typo)
Makefile.am:8: warning: variable 'theforgottenserver_LDADD' is defined but no program or
Makefile.am:8: library has 'theforgottenserver' as canonical name (possible typo)
autoreconf: automake failed with exit status: 1
 
To fix www/cast.php not showing cast list, follow bellow.

In the file iologindata.cpp ctrl+f or goto line 812
Code:
query << "`stamina` = " << player->getStamina() << ", ";

After this/on line 813 add the following:
Code:
    query << "`cast` = " << (player->getCastingState() ? 1 : 0) << ", "; //CA
    query << "`castViewers` = " << player->getCastViewerCount() << ", ";
    query << "`castDescription` = " << db->escapeString(player->getCastDescription()) << ", ";

This will fix this issue with "doPlayerSave(cid)" not updating cast results in database. :)

I'm not using gesior or a page to show cast list, but ty to share, you could help someone else :)

Code:
In file included from player.h:33:0,
                 from luascript.cpp:26:
protocolgame.h: In static member function ‘static int32_t LuaInterface::luaPlayerSendPing(lua_State*)’:
protocolgame.h:205:8: error: ‘void ProtocolGame::sendPing()’ is private
   void sendPing();
        ^
luascript.cpp:10177:20: error: within this context
   client->sendPing();
                    ^


Any another guy can help me to compile with that ping functions?
 
Back
Top