Posts: 60
Threads: 6
Joined: Oct 2014
Reputation:
0
Very epic.
Is this faster than mSelection? And please release the description version asap so that i can create my spawn dialogs!
Posts: 548
Threads: 35
Joined: Jul 2012
Reputation:
0
Finally, thanks for dialogs2.Inc.
Posts: 698
Threads: 5
Joined: Jul 2014
Reputation:
0
Man, it's awesome. Love it. Keep going dude! Really awesome.
Posts: 99
Threads: 11
Joined: Jan 2013
Reputation:
0
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.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Yeah, it's a known bug that CallLocalFunction crash the server if the string passed as argument is NULL/empty. ZCMD is a good example of preventing this by passing "\1" instead.
Posts: 824
Threads: 80
Joined: Oct 2013
Reputation:
0
C:\Documents and Settings\Administrador\Escritorio\World of pawn\LEP Mysql\pawno\include\dialogs.inc(605) : warning 213: tag mismatch
C:\Documents and Settings\Administrador\Escritorio\World of pawn\LEP Mysql\pawno\include\dialogs.inc(652) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.