• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plugin] [help] crashdetect
#1
Hi, I had a bunch of timeouts that day, suddenly 30 players had timeouts, one after the other. However, I have nothing in the server_log? This error was thrown 5-6 hours before the players had a timeout. I wonder why it doesn't show the exact error, and which line in the script causes it?

Code:
[2023-09-03 12:41:38] [debug] Run time error 5: "Invalid memory access" 
[2023-09-03 12:41:38] [debug] AMX backtrace: 
[2023-09-03 12:41:38] [debug] #0 0002a65c in public OnPlayerCommandText (3, 26756692) from dd.amx 
[2023-09-03 12:41:38] [debug] #1 00022c94 in public OnPlayerText (3, 26756692) from dd.amx
  Reply
#2
Compile your script with the -d3 flag.
It will show you which line is causing the crash.

Also use https://github.com/pawn-lang/compiler/releases
  Reply


Forum Jump: