[Help] Dialog Bug? An other bug? -
scott1 - 09.12.2012
Hi all,
today i need help.
I use lot's of system with dialog, and sometime, i think it's bugging
i curently have 134 dialog.
So here is an exemple.
I use dialog to rename, so i enter my new nickname and have to click on confirm.
It have to show me an another dialog who ask me if i am sure that i want to rename with this nick.
Usualy it work, but sometime, the second dialog don't show

( it appear for some system where i have to show second dilog after the first )
Do you know Why?
Also i don't know why, but another system bug.
When an player connect, in onplayerrequestclass, i check if account already exist.
If doesn't exist, i check if the player ips is registered 3 time.
If its the case, i kick him and say you have to much account.
If it isn't i ask him if he want to register.
Yesterday i connect, i have more than 3 time my ip registered, so it have to kick me, but nothing happend, i got an message "lose connection, try reconnecting" like if server shut down, after some sec i got reconnected and after another time the message and so and so.
But never the server shut down or restart, just for me.
Thank you
Max
Re : [Help] Dialog Bug? An other bug? -
scott1 - 10.12.2012
Up?
Max
Re : [Help] Dialog Bug? An other bug? -
scott1 - 14.12.2012
Do some one could help me?
Max
Re: [Help] Dialog Bug? An other bug? -
Horrible - 14.12.2012
not sure why too. but it hink it's because you put return 1; on the ondialogresponse callback
https://sampwiki.blast.hk/wiki/OnDialogResponse
it say : "Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback."
you must put return 0; on the ondialogresponse callback
Re : [Help] Dialog Bug? An other bug? -
scott1 - 31.12.2012
Excuse me, but i am not the best into english, cold you explain me the meanin of this sentense?
Max
Re: [Help] Dialog Bug? An other bug? -
Konstantinos - 31.12.2012
If you're using a filterscript, return false/0 in OnDialogResponse callback.
If you're using a gamemode, return true/1 in OnDialogResponse callback.
Re : [Help] Dialog Bug? An other bug? -
scott1 - 31.12.2012
I am not using flitersrcipts,
so itisn't an return problem?
Max
Re : [Help] Dialog Bug? An other bug? -
scott1 - 02.02.2013
Do somme one have solution?
Max