Server Unknown CMD
#1

ok, basically my server is running for lets say 1 to 2 hours there was 7 of us playing and all of a sudden all the commands basically died everyone kept returing server unknown cmd and i was forced to restart the server this is happening alot lately and its annoying to restart the server when i have my players on, can someone please help me with this error?
Reply
#2

Get the last command used and post it here.
Reply
#3

public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}

i have this should it be return 0?
Reply
#4

Quote:
Originally Posted by NinjaChicken
Посмотреть сообщение
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}

i have this should it be return 0?
Your OnPlayerCommandText is empty here, you should remove that callback completely, if you're using zcmd or y_commands as your command processor.
Reply
#5

could that be the massive error that plagues my server?
Reply
#6

If you load the mode and your commands work, and then they just stop working you may have accessed an array out of bounds at runtime. This may also stop your timers working and also more bad things will happen.

Run your mode with the crashdetect plugin to see if/where you have messed up.

PS, Your server does not need to crash for the plugin to pick up on these errors.
Reply
#7

Quote:
Originally Posted by NinjaChicken
Посмотреть сообщение
could that be the massive error that plagues my server?
How would we know unless you try and post the results here ?
Reply
#8

but the call back was the error?
Reply
#9

anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)