28.05.2015, 18:38
Hi,
Great include but I have found a bug that caused my server to crash. The bug is on line 758 (or at-least this is what crashdetect reported), and occurs when either the listitem or inputttext is not used, listitem was reported to be -1 and inputtext was reported to be @01453144 "".
[19:41:16] [debug] #1 0000745c in public OnDialogResponse (playerid=0, dialogid=123, response=1, listitem=-1, inputtext[]=@01453144 "") at [Removed]\pawno\include\gamemode\dialogs2.inc:758
Other than that, works fine. I've fixed this issue temporarily on my own server, if this is an include issue then might crash other servers too.
Occurs if you use a DIALOG_STYLE_MSGBOX dialog.
Great include but I have found a bug that caused my server to crash. The bug is on line 758 (or at-least this is what crashdetect reported), and occurs when either the listitem or inputttext is not used, listitem was reported to be -1 and inputtext was reported to be @01453144 "".
[19:41:16] [debug] #1 0000745c in public OnDialogResponse (playerid=0, dialogid=123, response=1, listitem=-1, inputtext[]=@01453144 "") at [Removed]\pawno\include\gamemode\dialogs2.inc:758
Other than that, works fine. I've fixed this issue temporarily on my own server, if this is an include issue then might crash other servers too.
Occurs if you use a DIALOG_STYLE_MSGBOX dialog.