SA-MP Forums Archive
[Include] RDLG - Reliable/Fast Dialog Processor - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] RDLG - Reliable/Fast Dialog Processor (/showthread.php?tid=319211)

Pages: 1 2


RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Description Usage Here is all like the normal dialogs, but much faster.
That's all! Very easy, isn't it?

How to make two different dialogs doing the same thing( like in ZCMD ) Notes Speed Test Requirements Downloads Special thanks to


Re: RDLG - Reliable/Fast Dialog Processor - coole210 - 18.02.2012

I like it, but execution time is not that far off from FDLG.


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Quote:
Originally Posted by coole210
Посмотреть сообщение
I like it, but execution time is not that far off from FDLG.
Exactly, I think I will work on it to increase the performance, if I can...


Re: RDLG - Reliable/Fast Dialog Processor - Unknown1234 - 18.02.2012

i want without y hook.


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Quote:
Originally Posted by Unknown1234
Посмотреть сообщение
i want without y hook.
Allright Unknown1234

EDIT: Done.


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

I'm not bothered about the speed, the performance matter...


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
Speed IS performance, they mean the same thing!
I'm...


Re: RDLG - Reliable/Fast Dialog Processor - Edvin - 18.02.2012

Nice, relase Good Job!


Re: RDLG - Reliable/Fast Dialog Processor - PowerMix - 18.02.2012

Mnoh...Good job


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Thank you


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Sorry for the double-post.

New things


Re: RDLG - Reliable/Fast Dialog Processor - IstuntmanI - 18.02.2012

Nice scripted, big performance ... well done Roach. ^^


Re: RDLG - Reliable/Fast Dialog Processor - iZN - 18.02.2012

Not bad.


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 18.02.2012

Quote:
Originally Posted by iZN
Посмотреть сообщение
Not bad.
Thank you !


Re: RDLG - Reliable/Fast Dialog Processor - Guitar - 18.02.2012

That's one of the best dialog processors I ever seen. I am surely going to use this one! Epic job, thanks .


Re: RDLG - Reliable/Fast Dialog Processor - Bect - 19.02.2012

please give me an example.... how to use this

Код:
SPD(playerid, 3, DIALOG_STYLE_MSGBOX,
	" TITLE ",
	"  MESSAJE "?",
	"BUTTON1", "BUTTON2");



Re: RDLG - Reliable/Fast Dialog Processor - IstuntmanI - 19.02.2012

Quote:
Originally Posted by Bect
Посмотреть сообщение
please give me an example.... how to use this

Код:
SPD(playerid, 3, DIALOG_STYLE_MSGBOX,
	" TITLE ",
	"  MESSAJE "?",
	"BUTTON1", "BUTTON2");
In a callback:
Код:
ShowPlayerDialogid( playerid, DIALOG_ID, DIALOG_STYLE_MSGBOX, "Title", "Message", "Button1", "Button2" );
Whereever in the script, but not in a callback, just like CMD: from ZCMD:
Код:
DIALOG:DIALOG_ID( playerid, response, listitem, inputtext[ ] )
{
    if( !response ) // pressed button 2
        return 1;

    //Pressed button 1
    SendClientMessage( playerid, -1, "RDLG" );
    return 1;
}



Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 20.02.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
Do you have any evidence to support this claim? "if" and "?" generate more-or-less the same code!
Yeah, I know, but I else know that the Ternary-Operator is faster than 'if else if else if else..'...


Re: RDLG - Reliable/Fast Dialog Processor - aRoach - 20.02.2012

F**k, I give up, I don't know anything about the scripting in others languages and this sh*ts...


Re: RDLG - Reliable/Fast Dialog Processor - Max_Coldheart - 20.02.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
I wasn't trying to make you give up, I was simply trying to show that you claiming you did it one way because it's "faster" needs PROOF which you didn't provide. Had you said "I've switched to using the ternary operator because it's faster, and here are several million runs to prove it", I would have been entirely happy. But your "evidence" was claiming that you "know" it is.

For reference, if you compile with the "-a" flag, you will get the assembly I posted and you can examine it.
How to compile it with the "-a" flag? I'd like to check it by myself too.