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

Debian kompilacja

Make...
Code:
root@junior:/home/junior/0.3.6.r101# make
make  all-am
make[1]: Entering directory `/home/junior/0.3.6.r101'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
mv -f .deps/player.Tpo .deps/player.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
mv -f .deps/position.Tpo .deps/position.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cpp
mv -f .deps/protocol.Tpo .deps/protocol.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
mv -f .deps/protocolgame.Tpo .deps/protocolgame.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT protocollogin.o -MD -MP -MF .deps/protocollogin.Tpo -c -o protocollogin.o protocollogin.cpp
mv -f .deps/protocollogin.Tpo .deps/protocollogin.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT protocolold.o -MD -MP -MF .deps/protocolold.Tpo -c -o protocolold.o protocolold.cpp
mv -f .deps/protocolold.Tpo .deps/protocolold.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT quests.o -MD -MP -MF .deps/quests.Tpo -c -o quests.o quests.cpp
mv -f .deps/quests.Tpo .deps/quests.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT raids.o -MD -MP -MF .deps/raids.Tpo -c -o raids.o raids.cpp
mv -f .deps/raids.Tpo .deps/raids.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT rsa.o -MD -MP -MF .deps/rsa.Tpo -c -o rsa.o rsa.cpp
mv -f .deps/rsa.Tpo .deps/rsa.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT scheduler.o -MD -MP -MF .deps/scheduler.Tpo -c -o scheduler.o scheduler.cpp
mv -f .deps/scheduler.Tpo .deps/scheduler.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT scriptmanager.o -MD -MP -MF .deps/scriptmanager.Tpo -c -o scriptmanager.o scriptmanager.cpp
mv -f .deps/scriptmanager.Tpo .deps/scriptmanager.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.cpp
mv -f .deps/server.Tpo .deps/server.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.cpp
mv -f .deps/sha1.Tpo .deps/sha1.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT spawn.o -MD -MP -MF .deps/spawn.Tpo -c -o spawn.o spawn.cpp
mv -f .deps/spawn.Tpo .deps/spawn.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT spells.o -MD -MP -MF .deps/spells.Tpo -c -o spells.o spells.cpp
mv -f .deps/spells.Tpo .deps/spells.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
mv -f .deps/status.Tpo .deps/status.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT talkaction.o -MD -MP -MF .deps/talkaction.Tpo -c -o talkaction.o talkaction.cpp
mv -f .deps/talkaction.Tpo .deps/talkaction.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT tasks.o -MD -MP -MF .deps/tasks.Tpo -c -o tasks.o tasks.cpp
mv -f .deps/tasks.Tpo .deps/tasks.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT teleport.o -MD -MP -MF .deps/teleport.Tpo -c -o teleport.o teleport.cpp
mv -f .deps/teleport.Tpo .deps/teleport.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT textlogger.o -MD -MP -MF .deps/textlogger.Tpo -c -o textlogger.o textlogger.cpp
mv -f .deps/textlogger.Tpo .deps/textlogger.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT thing.o -MD -MP -MF .deps/thing.Tpo -c -o thing.o thing.cpp
mv -f .deps/thing.Tpo .deps/thing.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT tile.o -MD -MP -MF .deps/tile.Tpo -c -o tile.o tile.cpp
mv -f .deps/tile.Tpo .deps/tile.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o tools.o tools.cpp
mv -f .deps/tools.Tpo .deps/tools.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT trashholder.o -MD -MP -MF .deps/trashholder.Tpo -c -o trashholder.o trashholder.cpp
mv -f .deps/trashholder.Tpo .deps/trashholder.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT waitlist.o -MD -MP -MF .deps/waitlist.Tpo -c -o waitlist.o waitlist.cpp
mv -f .deps/waitlist.Tpo .deps/waitlist.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT weapons.o -MD -MP -MF .deps/weapons.Tpo -c -o weapons.o weapons.cpp
mv -f .deps/weapons.Tpo .deps/weapons.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT vocation.o -MD -MP -MF .deps/vocation.Tpo -c -o vocation.o vocation.cpp
mv -f .deps/vocation.Tpo .deps/vocation.Po
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 -lxml2
make[1]: Leaving directory `/home/junior/0.3.6.r101'
 
No zajefajnie tylko teraz mi wywala błąd podczas odpalania servera ./theforgottenserver:
Code:
> FATAL: OTBM Loader - Could not open the file data/world/Noob-war.otbm.
theforgottenserver: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.
Aborted
 
/\ Mój błąd zła nazwa mapy.. Ale jak podałem już dobrą to:
Code:
theforgottenserver: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.
Aborted
 
Możliwe. Jak to mogę sprawdzić?
 
Code:
root@junior:/home/junior/0.3.6.r101# netstat -an | egrep '7171|LISTEN'
tcp        0      0 192.168.1.5:7171        0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7171          0.0.0.0:*               LISTEN
tcp        0      0 192.168.1.5:7172        0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7172          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
unix  2      [ ACC ]     STREAM     LISTENING     5625795  /var/run/mysqld/mysqld.sock
 
Nie ogarniam. Ip mam w ogóle inne.

- - - Updated - - -

Więc co mam zrobić żeby to wypierdzielić w kosmos? :D
 
Code:
tcp        0      0 192.168.1.5:7171        0.0.0.0:*               LISTEN      12182/theforgottens
tcp        0      0 127.0.0.1:7171          0.0.0.0:*               LISTEN      12182/theforgottens
tcp        0      0 192.168.1.5:7172        0.0.0.0:*               LISTEN      12182/theforgottens
tcp        0      0 127.0.0.1:7172          0.0.0.0:*               LISTEN      12182/theforgottens
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      8994/mysqld
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      7003/apache2
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      8174/sshd
unix  2      [ ACC ]     STREAM     LISTENING     5625795  8994/mysqld         /var/run/mysqld/mysqld.sock
Co teraz? :s
 
Ok. Odpaliłem od nowa otsa i wszystko ładnie wystartowało tyle że nie mogę się na niego zalogować. Wogole jak wpisuje passy i daje enter to sie nic nie dzieje jakby server byl off.
 
Mam dobrze wpisane ip.

- - - Updated - - -

Code:
>> Loading config (config.lua)
> Using SHA1 encryption
>> Checking software version... outdated, please consider updating!
> Current version information - version: 0.3.6_SVN, patch: 0, build: 3293, timestamp: 1260652199.
> Latest version information - version: 0.3.6, patch: 0, build: 3293, timestamp: 1260652199.
>> Fetching blacklist
>> Loading RSA key
>> Starting SQL connection
>> Running Database Manager
> Optimizing table: account_viplist... [success]
> Optimizing table: accounts... [success]
> Optimizing table: bans... [success]
> Optimizing table: environment_killers... [success]
> Optimizing table: global_storage... [success]
> Optimizing table: guild_invites... [success]
> Optimizing table: guild_ranks... [success]
> Optimizing table: guilds... [success]
> Optimizing table: house_auctions... [success]
> Optimizing table: house_data... [success]
> Optimizing table: house_lists... [success]
> Optimizing table: houses... [success]
> Optimizing table: killers... [success]
> Optimizing table: player_deaths... [success]
> Optimizing table: player_depotitems... [success]
> Optimizing table: player_items... [success]
> Optimizing table: player_killers... [success]
> Optimizing table: player_namelocks... [success]
> Optimizing table: player_skills... [success]
> Optimizing table: player_spells... [success]
> Optimizing table: player_storage... [success]
> Optimizing table: player_viplist... [success]
> Optimizing table: players... [success]
> Optimizing table: server_config... [success]
> Optimizing table: server_motd... [success]
> Optimizing table: server_record... [success]
> Optimizing table: server_reports... [success]
> Optimizing table: tile_items... [success]
> Optimizing table: tiles... [success]
>> Loading items
>> Loading groups
>> Loading vocations
>> Loading script systems
>> Loading chat channels
>> Loading outfits
>> Loading experience stages
>> Loading monsters
>> Loading mods...
> Loading buypremium_command.xml... done.
> Loading changender_command.xml... done.
> Loading custommonsters.xml... done.
> Loading highscorebook.xml... done.
> Loading firstitems.xml... done.
> Loading customspells.xml... done.
> 6 mods were loaded.
>> Loading map and spawns...
> Map size: 1000x1000.
> Map descriptions:
"Saved with Remere's Map Editor 1.1.8"
"The Forgotten Server"
> Map loading time: 0.306 seconds.
> Data parsing time: 0.033 seconds.
> Houses synchronization time: 2.415 seconds.
> Content unserialization time: 0.658 seconds.
>> Checking world type... PvP
>> Initializing game state modules and registering services...
> Global address: 5.9.20.195
> Local ports: 7171     7172
>> All modules were loaded, server is starting up...
>> Forgotten server Online!
 
Jest to "domowy serwer" czy dedykowany? Jeśli domowy, i posiadasz router musisz odblokować porty 80, 7171 i 7172 (lub te, które podałeś w pliku konfiguracyjnym). Do tego, w pliku konfiguracyjnym musisz wpisać twoje zewnętrzne IP (nie te, które masz w sieci lokalnej).

@ps - nie męcz prywatnymi wiadomościami :).
 
Jest to "domowy serwer" czy dedykowany? Jeśli domowy, i posiadasz router musisz odblokować porty 80, 7171 i 7172 (lub te, które podałeś w pliku konfiguracyjnym). Do tego, w pliku konfiguracyjnym musisz wpisać twoje zewnętrzne IP (nie te, które masz w sieci lokalnej).

@ps - nie męcz prywatnymi wiadomościami :).

Akurat te IP ktore wpisal jest zewnetrzne :p
 
To jest VPS. Tyle że były źle skonfigurowane porty i dlatego nie działało.

Teraz mam troche inny problem:
Code:
root@junior:/usr/src/lua-5.1.4# make linux && make install
cd src && make linux
make[1]: Entering directory `/usr/src/lua-5.1.4/src'
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
make[2]: Entering directory `/usr/src/lua-5.1.4/src'
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lua.o lua.c
In file included from lua.h:16:0,
                 from lua.c:15:
luaconf.h:275:31: fatal error: readline/readline.h: No such file or directory
compilation terminated.
make[2]: *** [lua.o] Error 1
make[2]: Leaving directory `/usr/src/lua-5.1.4/src'
make[1]: *** [linux] Error 2
make[1]: Leaving directory `/usr/src/lua-5.1.4/src'
make: *** [linux] Error 2
 
Back
Top Bottom