Server crash
#1

I tried to add a simple admin system created by zh3r0. ( https://sampforum.blast.hk/showthread.php?tid=210277 )
[ http://pastebin.com/KgpicKBc ]

but, I get these errors on my console:

Код:
[00:00:22] [debug] #4 000001a8 in public OnGameModeInit () from admin.amx
[00:00:22] [debug] #3 native CallLocalFunction () [080d24b0] from samp03svr
[00:00:22] [debug] #2 00001c9c in public zcmd_OnGameModeInit () from admin.amx
[00:00:22] [debug] #1 native CallLocalFunction () [080d24b0] from samp03svr
[00:00:22] [debug] #0 ???????? in ?? () from admin.amx
[00:00:22] [debug] AMX backtrace:
[00:00:22] [debug] Server crashed while executing admin.amx
( according to crashdetect.so )
I've no idea how this works, but I searched for CallLocalFunction and it says that it will crash if it's passing an empty string. Where's that? Please help me out with this one.
Reply
#2

I've tested some things on my home hosted server compared to the hosted one. I tried to change the gamemode while I used that^ admin system. It worked. Either, it's the plugins or my gamemode. Is something blocking the admin system or something? Really need help here.
Reply
#3

You will probably be trying to read a file from a directory that doesn't exist.

From looking at the link you posted you might need to read the installation section. The directory /scriptfiles/Accounts should exist or it will crash the server when trying to read from it.
Reply
#4

I've actually created the /scriptfiles/Accounts directory..

I've no idea how this has happened.
Reply
#5

btw! I actually tried this on my homehosted server, and EVERYTHING worked! NO errors.. same gamemode, same admin system, same plugins and same includes. Then there's something wrong on VoltHost's side then? on my node/IP or w/e? ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)