es wäre extrem nett, wenn mir einer sagen könnte wie ich die admins ohne neustarten neuladen kann mit
PHP Code:
if ($this->ping($this->ip,$this->port) == "1")
{
$auth = $this->auth();
$st = $this->create_sock();
$c= "\x40".$auth."\x0a";
$c .= "\x40RELOAD\x0A";
$qs = strlen($c);
socket_write($st, $c, $qs);
socket_recv($st, $r, 5056, 0);
socket_close($st);
echo "OK";
}
else
{echo "no_con";}
Code:
if ( !std__string__compare(&v205, 0, 6, "RELOAD") ) { v14 = v205; if ( *(_DWORD *)(v205 - 12) == 6 ) { LoadStateUserCount(); CLIENT_DESC__DBPacket(db_clientdesc, 43, 0, 0, 0); if ( !singleton_DBManager___ms_singleton ) LABEL_235: __assert("instance", "../../common/singleton.h", 26); LABEL_188: DBManager__LoadDBString(v108, v110, singleton_DBManager___ms_singleton); v14 = v205; } else { if ( *(_DWORD *)(v205 - 12 + 8) >= 0 ) { std__string___M_leak_hard(&v205); v14 = v205; } v108 = *(_BYTE *)(v14 + 7); v109 = *(_BYTE *)(v14 + 7); if ( (unsigned __int8)(v108 - 65) <= 0x19u ) v109 += 32; switch ( v109 ) { default: goto LABEL_25; case 115: v110 = singleton_DBManager___ms_singleton; if ( !singleton_DBManager___ms_singleton ) goto LABEL_235; goto LABEL_188; case 117: LoadStateUserCount(); v14 = v205; break; case 113: if ( !singleton_quest__CQuestManager___ms_singleton ) __assert("instance", "../../common/singleton.h", 26); quest__CQuestManager__Reload(singleton_quest__CQuestManager___ms_singleton); v14 = v205; break; case 112: CLIENT_DESC__DBPacket(db_clientdesc, 43, 0, 0, 0); v14 = v205; break; case 102: fishing__Initialize(); v14 = v205; break; case 97: CLIENT_DESC__DBPacket(db_clientdesc, 115, 0, 0, 0); sys_log(0, "Reloading admin infomation."); v14 = v205; break; }
Hoffe ihr könnt mir helfen
mfg MartPwnS