mIRC Home    About    Download    Register    News    Help

Print Thread
#227806 22/11/10 09:09 PM
Joined: Nov 2010
Posts: 5
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Nov 2010
Posts: 5
The recent update (7.1) broke my script's dialog buttons. They worked fine prior to the update. I have of course updated to the most recent version aside from the 7.1 update, but this has still not fixed my problem.

Joined: Mar 2004
Posts: 526
Fjord artisan
Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
a little more information is needed.....

Is the script using any .dll files...
can you share the Dialog part of the script here, so we can see if anything is wrong.
I have built several dialogs in the current version and am having no problems at all with them.. we need more information to try and see what/where you problem is.

Thanks

Last edited by HorseC; 23/11/10 03:44 AM.

Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
Joined: Nov 2010
Posts: 5
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Nov 2010
Posts: 5
Originally Posted By: HorseC
a little more information is needed.....

Is the script using any .dll files...
can you share the Dialog part of the script here, so we can see if anything is wrong.
I have built several dialogs in the current version and am having no problems at all with them.. we need more information to try and see what/where you problem is.

Thanks


First of all, the script doesn't use any dll files. Secondly:

Code:
dialog Inithelper {
  title "Init Helper"
  icon $mircdir $+ scripts\Init_Helper\ChannelListIcon.ico, 0
  size 872 145 112 268
  option dbu notheme
  radio "1", 1, 3 4 15 8
  radio "2", 2, 3 12 15 8
  radio "3", 3, 3 20 15 8
  radio "4", 4, 3 28 15 8
  radio "5", 5, 3 36 15 8
  radio "6", 6, 3 44 15 8
  radio "7", 7, 3 52 15 8
  radio "8", 8, 3 60 15 8
  radio "9", 9, 3 68 15 8
  radio "10", 10, 3 76 15 8
  radio "11", 11, 3 84 15 8
  radio "12", 12, 3 92 15 8
  radio "13", 13, 3 100 15 8
  radio "14", 14, 3 108 15 8
  radio "15", 15, 3 116 15 8
  radio "16", 16, 3 124 15 8
  radio "17", 17, 3 132 15 8
  radio "18", 18, 3 140 15 8
  radio "19", 19, 3 148 15 8
  radio "20", 20, 3 156 15 8
  radio "21", 21, 3 164 15 8
  radio "22", 22, 3 172 15 8
  radio "23", 23, 3 180 15 8
  radio "24", 24, 3 188 15 8
  radio "25", 25, 3 196 15 8
  radio "26", 26, 3 204 15 8
  radio "27", 27, 3 212 15 8
  radio "28", 28, 3 220 15 8
  radio "29", 29, 3 228 15 8
  radio "30", 30, 3 236 15 8
  list 31, 18 3 92 245, size sort radio
  button "Reset", 32, 45 258 20 8, result
  button "Close", 33, 93 258 18 8, result
  check "Echo Pick", 34, 1 249 35 8
  button "Save and Exit", 35, 1 258 39 8, result ok
  check "Say Pick", 36, 35 249 34 8
  edit "12", 37, 69 248 14 10
  edit ", dodge!", 38, 82 248 28 10, autohs
}

dialog Sure {
  title "Are you sure?"
  size -1 -1 224 73
  option pixels notheme
  button "Yes", 1, 20 40 65 25 ok
  button "No", 2, 130 40 65 25 cancel
  text "  Are you sure you want", 3, 50 4 125 17
  text "  to close without saving?", 4, 50 20 130 17
}

dialog error {
  title "Error!"
  size -1 -1 169 66
  option pixels notheme
  text "No Init list for this window!", 1, 20 7 136 17
  button "Okay", 2, 50 32 65 25, ok
}

on *:dialog:#channelinit:sclick:32: {
  reset
}

on *:dialog:#channelinit:sclick:35: {
  saveinit
}

on *:dialog:#channelinit:sclick:33: {
  dialog -mo #channelsure sure
  dialog -t #channelsure Are you sure? 
}

on *:dialog:#channelsure:sclick:1: {
  dialog -c #channelinit
  dialog -c #channelsure
}

on *:dialog:#channelsure:sclick:2: {
  dialog -c #channelsure
}



I realize I have some hard coding in there, but when this was working, I couldn't figure out a way to bypass the need for hard code. As I said earlier, this worked perfectly fine before the update.

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

So what is broken? I see no difference between 6.35 and 7.15.

Joined: Nov 2010
Posts: 5
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Nov 2010
Posts: 5
Originally Posted By: RoCk

So what is broken? I see no difference between 6.35 and 7.15.


As I said in the op, the buttons do not work. Pressing them does not yield any result. In 6.35, pushing them caused the expected results, but they do not work in 7.1+

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
If you put an echo message into those sclicks, do you see the echo? It could be a problem with the aliases that you're not showing in your post.

Btw, you could use $?!="" or $input() to give you the Yes/No dialog without having to make a specific dialog for it.

Last edited by Riamus2; 23/11/10 09:27 PM.

Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2010
Posts: 5
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Nov 2010
Posts: 5
Originally Posted By: Riamus2
If you put an echo message into those sclicks, do you see the echo? It could be a problem with the aliases that you're not showing in your post.


I'll pm you the entire script, and I did try putting echos. I got back responses, but they still didn't carry out the commands. I tried troubleshooting for quite some time when I first found out about this, but nothing I changed fixed the issue.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ok, I'll take a look. If you got the echoes, then your dialog is working, but the aliases are not.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard