2021-05-29, 03:12 PM
I was using that samp server hosts (heavyhost) with 50 slots and my server never closes.
This week i paid a VPS put it online with 300 slots and now my server closes randomlly, the host still normal, only the samp03svr closes
What it can be?
The logs before crashes don't looks tell a lot:
But there isn't much about this funciton:
Something like this could close my server?
What should i do?
This week i paid a VPS put it online with 300 slots and now my server closes randomlly, the host still normal, only the samp03svr closes
What it can be?
The logs before crashes don't looks tell a lot:
Code:
[21:09:33] [debug] #0 001c02b8 in public AtualizarRoubos () in SP.amx
[21:09:39] Kicking ***.***.**.** because they didn't logon to the game.
[21:10:05] [debug] Long callback execution detected (hang or performance issue)
[21:10:05] [debug] AMX backtrace:
[21:10:05] [debug] #0 001c15e0 in public DesaparecerWeaponDrop () in SP.amx
[21:17:37] [debug] Long callback execution detected (hang or performance issue)
[21:17:37] [debug] AMX backtrace:
[21:17:37] [debug] #0 001c0354 in public AtualizarRoubos () in SP.amx
But there isn't much about this funciton:
Code:
#define MAX_BIZZ 5000
enum bizinfos
{
? ? bizzID,
? ? bizzName[30],
? ? bizzType,
? ? Float:bizzX,
? ? Float:bizzY,
? ? Float:bizzZ,
? ? bizzOWNER,
? ? bizzBank,
? ? bizzProducts
}
new BizzInfo[MAX_BIZZ][bizinfos];
public AtualizarRoubos() {
? ? // atualizar roubos
? ? for(new bizzid = 1; bizzid < sizeof(BizzInfo); bizzid) {
? ? ? ? BizzInfo[bizzid][rexaustedrobbery] -= 5;
? ? ? ? if(BizzInfo[bizzid][rexaustedrobbery] < 0) BizzInfo[bizzid][rexaustedrobbery] = 0;
? ? }
}
Something like this could close my server?
What should i do?