Problem with logging in
#1

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
Reply
#2

Run this plugin in your server, see if you get any debug messages
https://sampforum.blast.hk/showthread.php?tid=262796
Reply
#3

(Remove this, lol the forums lagged and double posted)
Reply
#4

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
Reply
#5

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
Код:
-d3
This will help you on finding problems and debugging the script
Reply
#6

Okay thanks, so this is the reason we can't login with underscores?
Reply
#7

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.
Reply
#8

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
Reply
#9

Okay will do thanks for your help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)