Filterscript interferes with gamemode
#1

Hey. I am using Sayros Gate Script, and whenever I use the command /gate which opens the dialogs, it seems that the filterscript dialogs interfer with the dialogs in my gamemode and I am unable to use it properly. What can I do to fix this? It compiles and everything.
Reply
#2

Just change filterscript or gamemode dialog id
Reply
#3

But the dialogids are not the same
Reply
#4

Show us your code.
Reply
#5

I don't really know what you want me to show. I simply use an entire filterscript that has not been edited, and my gamemode has no issues what so ever. None of the dialogid's are the same between the two.
Reply
#6

Is your OnDialogResponse callback returning 0? If not, it should.

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[]) {
    return 
0// or: return false;

Reply
#7

Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
Is your OnDialogResponse callback returning 0? If not, it should.

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[]) {
    return 
0// or: return false;

Should that be in both my gamemode and filterscript or only in the filterscript? Both my gamemode and filterscript now returns 0 on OnDialogResponse, but whenever I do /gate it just says "You are already logged in" as it sends the login dialog.
Reply
#8

Solved. Gonna give you all +rep thanks a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)