Problems with different dialogs
#1

Hello

I use gAdmin as Admin script.It is possible to log in with a dialog in that script. But when I load one of my licensescript I can't login. When I push 'Login' nothing happens. When I unload that license script, everythink works fine.

http://pastebin.com/YCYgLFPu <== License

Regards,

Jochem
Reply
#2

I also got a problem now.

If I make a Dialog in my login script and a Dialog in my commands script, I can only use the one whose first loaded in the server.cfg

PS: Maybe you think this is an old topic but I think why should I make a new one if this is the same...

Can anyone help us?
Reply
#3

maybe the dialog-id is the reason: i suspect the licensescript dialog-id==1 causing the failure by responding to another dialog with the same id, use a dialog-id >500 to avoid the admin scripts' dialog id's interferring with your script.
its easier to edit a few lines in your licenseFS instead of changing the whole admin script, so define your id like this:
Код:
#define DialogBasis (1000)
and use
Код:
if dialogid==DialogBasis
instead of
Код:
if dialogid==1
to avoid "collisions" with other scripts using the id 1 too.
Reply
#4

But I used for login the ids:
223
224
225
And for the commands:
654
655
656
657
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)