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

[8.60] The Forgotten Server 0.3.6 (Crying Damson) V8

Hello :)

I'd like to change the default player corpse in the source since I run a server with completely custom .dat .spr and .otb files.
I have a clue of which line in the source that holds these itemID's but I'm not an expert when it comes to compiling.

Any kind soul that could help me out? Is there any tutorials covering how to compile this?

Thanks in advance!
 
I dont know why am haveing issues with the start of server after i put it on localhost/phpmyadmin
i did as a video did but when i start the server it says cannot reach SQL data base?
I did everything, the change of sqllite to mySQL and dat stuff , anyone can help me? am a bit retarded =D
 
Post the error, if it can't connect to localhost, change localhost in config.lua to 127.0.0.1
 
Replace the map in data/world or import the map into the map that is added there. If you replace the map, change the mapname in config.lua to the name of the new map.
 
error compiling in linux ubuntu 12.04
root@roe:/home/otserv/rise/sources# make
make all-am
make[1]: Entering directory `/home/otserv/rise/sources'
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -o theforgottenserver actions.o allocator.o baseevents.o beds.o chat.o combat.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemanager.o databasemysql.o depot.o exception.o fileloader.o game.o globalevent.o group.o gui.o house.o housetile.o inputbox.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o playerbox.o player.o position.o protocol.o protocolgame.o protocollogin.o protocolold.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o waitlist.o weapons.o vocation.o -llua5.1 -lmysqlclient -lboost_filesystem-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lgmp -L/usr/lib/x86_64-linux-gnu -lxml2
database.o: In function `_Database::getInstance()':
/home/otserv/rise/sources/database.cpp:57: undefined reference to `DatabaseSQLite::DatabaseSQLite()'
iologindata.o: In function `IOLoginData::savePlayer(Player*, bool, bool)':
/home/otserv/rise/sources/iologindata.cpp:868: undefined reference to `DBInsert::DBInsert(DatabaseMySQL*)'
iomapserialize.o: In function `IOMapSerialize::saveHouse(DatabaseMySQL*, House*)':
/home/otserv/rise/sources/iomapserialize.cpp:217: undefined reference to `DBInsert::DBInsert(DatabaseMySQL*)'
iomapserialize.o: In function `IOMapSerialize::saveMapBinary(Map*)':
/home/otserv/rise/sources/iomapserialize.cpp:464: undefined reference to `DBInsert::DBInsert(DatabaseMySQL*)'
iomapserialize.o: In function `IOMapSerialize::saveItems(DatabaseMySQL*, unsigned int&, unsigned int, Tile const*)':
/home/otserv/rise/sources/iomapserialize.cpp:622: undefined reference to `DBInsert::DBInsert(DatabaseMySQL*)'
luascript.o: In function `ScriptEnviroment::saveGameState()':
/home/otserv/rise/sources/luascript.cpp:138: undefined reference to `DBInsert::DBInsert(DatabaseMySQL*)'
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/otserv/rise/sources'
make: *** [all] Error 2
root@roe:/home/otserv/rise/sources#
 
I got a problem with my compiled in debian, plx i need help to finish to make!


make all-am
make[1]: Entering directory `/home/source'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTRO L__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/l uascript.Tpo -c -o luascript.o luascript.cpp
luascript.cpp: In member function ‘bool LuaScriptInterface::loadDirectory(const string&, Npc*)’:
luascript.cpp:719:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/source'
make: *** [all] Error 2
 
I got a problem with my compiled in debian, plx i need help to finish to make!


make all-am
make[1]: Entering directory `/home/source'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTRO L__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/l uascript.Tpo -c -o luascript.o luascript.cpp
luascript.cpp: In member function ‘bool LuaScriptInterface::loadDirectory(const string&, Npc*)’:
luascript.cpp:719:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/source'
make: *** [all] Error 2

from Gesior.pl message
In luascript.cpp (and other files that show error " ... has no member named ‘leaf’ ")
Find:
leaf()
Replace with:
path().filename().string()
 
Code:
[03/09/2013 03:57:45] [Error - Npc interface]
[03/09/2013 03:57:45] (Unknown script file)
[03/09/2013 03:57:45] Description:
[03/09/2013 03:57:45] data/npc/lib/npcsystem/modules.lua:1229: bad argument #2 to 'error' (number expected, got string)
[03/09/2013 03:57:45] stack traceback:
[03/09/2013 03:57:45]     [C]: in function 'error'
[03/09/2013 03:57:45]     data/npc/lib/npcsystem/modules.lua:1229: in function 'callbackOnSell'
[03/09/2013 03:57:45]     data/npc/lib/npcsystem/npchandler.lua:265: in function 'processModuleCallback'
[03/09/2013 03:57:45]     data/npc/lib/npcsystem/npchandler.lua:450: in function 'onSell'
[03/09/2013 03:57:45]     data/npc/lib/npcsystem/modules.lua:1296: in function <data/npc/lib/npcsystem/modules.lua:1295>

Getting this error when trying to trade with Soya and other xml NPCs -- how can i fix it?

+1 to this? please help! :)
 
I've been looking everywhere for TheForgottenserver.dev and i cant find it, i cant find anywhere to get it?
what do i do wrong? i try to compile Theforgottenserver-console.dev but all i get is " can not find -llua51 "

please help? :)
 
Back
Top