Problem with logging in -
Jrwestcoast - 29.07.2013
Hi,
I'm having some issues with my SA-MP server. Whenever I try to join with an underscore ie John_Stoops it loops on the server restarting... but, however, I join with a non rp name ie johnstoops it works fine. This is ran on Linux, but on windows the issue is not there.
Can someone please help me resolve this issue. This is the first time I've had an issue like this. So, it's stumbles me, because I've never dealt with an issue of this matter before. No error logs in the log file, nor is there anything wrong with the script.
Regards,
Joe
Re: Problem with logging in -
DJ_Shocker - 29.07.2013
Run this plugin in your server, see if you get any debug messages
https://sampforum.blast.hk/showthread.php?tid=262796
Re: Problem with logging in -
DJ_Shocker - 29.07.2013
(Remove this, lol the forums lagged and double posted)
Re: Problem with logging in -
Jrwestcoast - 29.07.2013
Hi, the result was
[21:47:51] [debug] Run time error 4: "Array index out of bounds"
[21:47:51] [debug] Accessing element at index 65535 past array upper bound 1999
[21:47:51] [debug] AMX backtrace:
[21:47:51] [debug] #0 0000b1b4 in ?? () from Aegis.amx
[21:47:51] [debug] #1 0000a8f8 in ?? () from Aegis.amx
[21:47:51] [debug] #2 0004d1d4 in public OnGameModeInit () from Aegis.amx
Re: Problem with logging in -
DJ_Shocker - 29.07.2013
Ok it's a scripting problem then.
Might want to take this to the Scripting Help section of the sa-mp forums.
Also, a tip. To get more details from the crash detect plugin,
Create file in the PAWNO directory called pawn.cfg and put in that
This will help you on finding problems and debugging the script
Re: Problem with logging in -
Jrwestcoast - 29.07.2013
Okay thanks, so this is the reason we can't login with underscores?
Re: Problem with logging in -
DJ_Shocker - 29.07.2013
It could be, I'm not sure. I'll be honest, I'm not a good scripter. I know a little, but not enough to give you an answer.
Take those debug messages and what you've asked over to scripting help and see if they can assist you.
Good luck and hope you get this resolved. It does sound like a scripting problem.
Re: Problem with logging in -
DJ_Shocker - 30.07.2013
Quote:
Originally Posted by Jrwestcoast
Okay thanks, so this is the reason we can't login with underscores?
|
I forgot to mention, recompile the script with the -d3 in the pawn.cfg file, upload it to the server, try logging in with the _ in your name again. Post in the Scripting Help section with the new results in the server log
Re: Problem with logging in -
Jrwestcoast - 30.07.2013
Okay will do thanks for your help.