runtime error 5
#1

Код:
[29/06/2014 13:35:39] [debug] Run time error 5: "Invalid memory access"
[29/06/2014 13:35:39] [debug] AMX backtrace:
[29/06/2014 13:35:39] [debug] #0 00030afc in ?? () from A.amx
[29/06/2014 13:35:39] [debug] #1 00206934 in public SSCANF_OnGameModeInit () from A.amx
[29/06/2014 13:35:39] [debug] #2 000058b4 in public Timers_OnScriptInit () from A.amx
[29/06/2014 13:35:39] [debug] #3 native CallLocalFunction () [00472ad0] from samp-server.exe
[29/06/2014 13:35:39] [debug] #4 000056b8 in public YVers_OnScriptInit () from A.amx
[29/06/2014 13:35:39] [debug] #5 native CallLocalFunction () [00472ad0] from samp-server.exe
[29/06/2014 13:35:39] [debug] #6 000043d8 in public zcmd_OnGameModeInit () from A.amx
[29/06/2014 13:35:39] [debug] #7 native CallLocalFunction () [00472ad0] from samp-server.exe
[29/06/2014 13:35:39] [debug] #8 00003bbc in public Itter_OnGameModeInit () from A.amx
[29/06/2014 13:35:39] [debug] #9 native CallLocalFunction () [00472ad0] from samp-server.exe
[29/06/2014 13:35:39] [debug] #10 000018e8 in public OnGameModeInit () from A.amx
[29/06/2014 13:35:39] 
----------------------------------
[29/06/2014 13:35:39] Localtest
[29/06/2014 13:35:39] ----------------------------------

[29/06/2014 13:35:39] Number of vehicle models: 0
No vehicles load, I cannot see textdraws etc. Any solution?
Reply
#2

You should compile your gamemode (HRP.amx) with debug flags. If I recall correctly, change your pawn.cfg in the folder where the compiler is located to contain "-d3 -o0" and see what sort of information you get once your server crashes again.

To get more information on the flags you can put into pawn.cfg, look around on the forums
Reply
#3

Okay, I re-made the house system fuctions and now once I make a house, restart the server, the server goes buggy. I think it's something with scriptfiles, what could it be, where could the problem be?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)