Invalid memory access when turning server on - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Invalid memory access when turning server on (
/showthread.php?tid=594523)
Invalid memory access when turning server on (YSI includes) -
SomeDevil - 19.11.2015
I'm using ysi 4.0 includes
#include <YSI\y_commands>
#include <YSI\y_inline>
#include <YSI\y_dialog>
mostly server turns on normally, without errors, but sometimes this error shows up:
(also it ALWAYS shows up after I make a restart on my server)
PHP код:
[19:48:52] [debug] Run time error 5: "Invalid memory access"
[19:48:52] [debug] AMX backtrace:
[19:48:52] [debug] #0 000550dc in Alloc:Malloc_Allocate (size=133, bool:clear=true) at C:\pawncompold\bin\include\YSI\..\YSI_Coding\y_malloc/funcs.inc:780
[19:48:52] [debug] #1 00056c78 in bool:Callback_Get (callback_tag:name[]=@00a3392c, ret[E_CALLBACK_DATA:5]=@01a8e0ac, expect[]=@0051ed4c "iiiis", bool:remote=false) at C:\pawncompold\bin\include\YSI\..\YSI_Coding\y_inline/impl.inc:417
[19:48:52] [debug] #2 0005dfb4 in Dialog_ShowCallback (playerid=0, callback_tag:callback[]=@00a3392c, style=3, title[]=@00a34ca0 "", caption[]=@01a8e0f0 "{FFFFFF}", button1[]=@00a34cb4 "", button2[]=@00a34ccc "", dialog=-1) at C:\pawncompold\bin\include\YSI\..\YSI_Visual\y_dialog.inc:222
[19:48:52] [debug] #3 00127900 in public OnPlayerDataLoaded (playerid=0, race_check=1) at C:\Users\aleks\Desktop\test.pwn:8398
8398 line:
PHP код:
Dialog_ShowCallback(playerid, using inline LOGIN_RESPONSE, DIALOG_STYLE_PASSWORD, "Login", string, "Login", "Exit");
This is login dialog, which shows up after I connect to server. Nothing happens after I click on any dialog button, but server is still running (I can write in chat, etc.)
Re: Invalid memory access when turning server on -
SomeDevil - 20.11.2015
still need help..
Re: Invalid memory access when turning server on -
Misiur - 21.11.2015
y_inline has some issues with server restarts (see some issues at
https://github.com/Misiur/YSI-Includes/issues). It rewrites amx on the fly, and restart is not completely clean restart