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

Crash serwera?

GarQet

Own3d!
Joined
Feb 10, 2009
Messages
1,381
Solutions
14
Reaction score
81
Siema wszystkim.
Od razu chcę powiedzieć żeby nie spamować bo chciałbym się czegoś dowiedzieć, a raczej uzyskać odpowiedzi.
No więc mam pewnien problem, mam OTS'a z Real Mapą, lecz jest na niej jakiś BUG który crashuje serwer, już 2 znalazłem a teraz jest jeszcze jakiś 3.
Zna może ktoś jakieś BUGi które mogłyby crashować serwer?
Chciałbym je zlikwidować.
A może da się jakoś sprawdzić, jak zostaje serwer scrahowany?
Może gdzieś się to zapisuje?
Proszę o pomoc. Dam Rep+.

Pozdrawiam GarQet.
 
Wątpie, serwer stoi na porządnym dedyku. Dziś crash był 3 razy, a graczy było z 15... A w pierwszych dniach grało nawet 70 osób a crashów nie było. Dziś się pojawiły. Więc wątpie aby to było przez RAM.
Jakieś inne pomysły? ;)
Może znasz jakieś bugi które są w każdych real mapach i dzięki temu są crashe?
 

Wiesz, że gdyby nie TFS nie miałbyś połowy rzeczy w swoim super-świetnym distro? Obydwaj wiemy, że przepisywałeś masę funkcji do otserva, którego używasz na Albanii, a samemu byś ich w życiu nie napisał. Pamiętaj o tym, gdy znów obrzucisz Twój cash maker ;)
 
ehh co za szajs pisze cos a po paru minutach tego juz nie ma szkoda gadac .
 
Code:
#0  0x00002ae88c505700 in ?? ()
#1  0x0000000000555263 in Player::canSeeCreature (this=0x2ae8886aab50,
    creature=0x2ae88c4d1dd0) at player.cpp:901
#2  0x0000000000579681 in ProtocolGame::GetTileDescription (
    this=0x2ae88c4d56e0, tile=<value optimized out>, msg=
        {px = 0x2ae8864ccb60, pn = {pi_ = 0x2ae88c4d56e0}})
    at protocolgame.cpp:865
#3  0x0000000000579ad8 in ProtocolGame::GetFloorDescription (
    this=0x2ae88c4d56e0, msg=
        {px = 0x2ae8864ccc00, pn = {pi_ = 0x2ae8864ccbf4}},
    x=<value optimized out>, y=<value optimized out>, z=10, width=18,
    height=1, offset=<value optimized out>, skip=@0x2ae8864ccbf4)
    at protocolgame.cpp:929
#4  0x0000000000579ce8 in ProtocolGame::GetMapDescription (
    this=0x2ae88c4d56e0, x=10186, y=9993, z=<value optimized out>, width=18,
    height=1, msg={px = 0x2ae8864ccce0, pn = {pi_ = 0xb00002718}})
    at protocolgame.cpp:902
#5  0x000000000057c726 in ProtocolGame::sendMoveCreature (this=0x2ae88c4d56e0,
    creature=0x2ae8886aab50, newTile=<value optimized out>,
    newPos=@0x2ae8864cce70, newStackpos=1, oldTile=<value optimized out>,
    oldPos=@0x2ae8864cce80, oldStackpos=1, teleport=false)
    at protocolgame.cpp:2252
#6  0x00000000005c921e in Tile::moveCreature (this=0x3de4bc10, actor=0x0,creature=0x2ae8886aab50, toCylinder=0x3dd38090,
    forceTeleport=<value optimized out>) at player.h:517
#7  0x00000000004700bb in Game::internalMoveCreature (
    this=<value optimized out>, actor=0x0, creature=0x2ae8886aab50,
    fromCylinder=0x3de4bc10, toCylinder=0x3dd38090, flags=0) at game.cpp:1122
#8  0x0000000000470e2f in Game::internalMoveCreature (this=0x867e60,
    creature=0x2ae8886aab50, direction=NORTH, flags=0) at game.cpp:1101
#9  0x000000000047eb7f in Game::playerMove (this=0x867e60, playerId=268462696,
    dir=NORTH) at game.cpp:2027
#10 0x000000000048c8ab in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, Game, unsigned int, Direction>, boost::_bi::list3<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Direction> > >, void>::invoke (
    function_obj_ptr=<value optimized out>)
    at /usr/include/boost/bind/mem_fn_template.hpp:274
#11 0x00000000005c4b7d in boost::function0<void, std::allocator<void> >::operator() (this=<value optimized out>)
    at /usr/include/boost/function/function_template.hpp:825
#12 0x00000000005c4997 in Dispatcher::dispatcherThread (
    p=<value optimized out>) at tasks.h:33
#13 0x00002ae883a1bfaa in start_thread () from /lib/libpthread.so.0
#14 0x00002ae88378f29d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Takiego crashloga ten ots generuje ;)
 
Usuń cleany ,w 0.3.5pl1 crashują server. Wyłączyłem je u siebie i przy 200-300 osobach dziennie mam uptime 24h.
 
Last edited:
Code:
#0  0x00002ae88c505700 in ?? ()
#1  0x0000000000555263 in Player::canSeeCreature (this=0x2ae8886aab50,
    creature=0x2ae88c4d1dd0) at player.cpp:901
#2  0x0000000000579681 in ProtocolGame::GetTileDescription (
    this=0x2ae88c4d56e0, tile=<value optimized out>, msg=
        {px = 0x2ae8864ccb60, pn = {pi_ = 0x2ae88c4d56e0}})
    at protocolgame.cpp:865
#3  0x0000000000579ad8 in ProtocolGame::GetFloorDescription (
    this=0x2ae88c4d56e0, msg=
        {px = 0x2ae8864ccc00, pn = {pi_ = 0x2ae8864ccbf4}},
    x=<value optimized out>, y=<value optimized out>, z=10, width=18,
    height=1, offset=<value optimized out>, skip=@0x2ae8864ccbf4)
    at protocolgame.cpp:929
#4  0x0000000000579ce8 in ProtocolGame::GetMapDescription (
    this=0x2ae88c4d56e0, x=10186, y=9993, z=<value optimized out>, width=18,
    height=1, msg={px = 0x2ae8864ccce0, pn = {pi_ = 0xb00002718}})
    at protocolgame.cpp:902
#5  0x000000000057c726 in ProtocolGame::sendMoveCreature (this=0x2ae88c4d56e0,
    creature=0x2ae8886aab50, newTile=<value optimized out>,
    newPos=@0x2ae8864cce70, newStackpos=1, oldTile=<value optimized out>,
    oldPos=@0x2ae8864cce80, oldStackpos=1, teleport=false)
    at protocolgame.cpp:2252
#6  0x00000000005c921e in Tile::moveCreature (this=0x3de4bc10, actor=0x0,creature=0x2ae8886aab50, toCylinder=0x3dd38090,
    forceTeleport=<value optimized out>) at player.h:517
#7  0x00000000004700bb in Game::internalMoveCreature (
    this=<value optimized out>, actor=0x0, creature=0x2ae8886aab50,
    fromCylinder=0x3de4bc10, toCylinder=0x3dd38090, flags=0) at game.cpp:1122
#8  0x0000000000470e2f in Game::internalMoveCreature (this=0x867e60,
    creature=0x2ae8886aab50, direction=NORTH, flags=0) at game.cpp:1101
#9  0x000000000047eb7f in Game::playerMove (this=0x867e60, playerId=268462696,
    dir=NORTH) at game.cpp:2027
#10 0x000000000048c8ab in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, Game, unsigned int, Direction>, boost::_bi::list3<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Direction> > >, void>::invoke (
    function_obj_ptr=<value optimized out>)
    at /usr/include/boost/bind/mem_fn_template.hpp:274
#11 0x00000000005c4b7d in boost::function0<void, std::allocator<void> >::operator() (this=<value optimized out>)
    at /usr/include/boost/function/function_template.hpp:825
#12 0x00000000005c4997 in Dispatcher::dispatcherThread (
    p=<value optimized out>) at tasks.h:33
#13 0x00002ae883a1bfaa in start_thread () from /lib/libpthread.so.0
#14 0x00002ae88378f29d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Takiego crashloga ten ots generuje ;)

Jakieś domowe modyfikacje?
 
Back
Top