Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Mon Jan 23, 2006 1:42 pm   

Multistate button whoa's....
 
So... Ok. I have a multistate button, and there is 30 options you can select (just the different area scripts to load). It used to load them just fine when I would click on one.... Now... Yeah, nothing. But I haven't made a change to it or anything. Just... One day it stop'd working. Any ideas on what I should look into?? Ugh... Thankx again in advance!! =]
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Jan 23, 2006 2:16 pm   
 
What do you mean it stopped working?

Are the 30 choices still there? Could you have somehow overwritten the buttons contents with a script etc?
Can you edit the button and see what is there not there? Could you have had the settings editor open on the button one day and typed in something meant for the command line and muckity mucked your code?
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Mon Jan 23, 2006 2:18 pm   
 
ROFL! "muckity mucked" Sad part is... I know what you mean... I've done it lots! Hahahah!

But no... Its not messed up, I went through it a ton of times, since it got fubard. All the choices are there, and they all should be loading. Its not hidden, and it is enabled. I just don't get it... Before, if there is alot of content coming from the mud/sending alot to the mud... I had to wait for it to slow down before I was able to click on it. Because it would take a few tries before it registered, "hey, hey's trying to load a script"... But now... Its just plain ol not working... =**[
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Jan 23, 2006 2:30 pm   
 
Try backing up the button script then recreating it. Or reducing the number of options. This will make it easier to debug what's happening. Also try putting output statements in the code to determine if any at all s being executed.
_________________
Asati di tempari!
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Mon Jan 23, 2006 2:56 pm   
 
Yea, just scared to do that, its all... LoL! Its a LOT of options... But I guess that'll hafta be what it boils down too... Oh, output statements? I've got emots and what not saying what script is loaded, is that what you mean? Or more of a #SHOW type of deal?
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Mon Jan 23, 2006 8:35 pm   
 
I tried multistate buttons one time and gave up on them. I would click the button and get the dropdown menu with my options, but if text came in and my triggers fired (not even sure if the triggers firing was required, but probably), then the menu options did nothing at all when clicked. Zugg said this was the way it worked because the menus can be dynamically coded and so they are completely rebuilt every time variables and such change. Give the number of variables, aliases, triggers, etc I use, there's no way I'm going to ever be quick enough to use a multistate button before it's invalidated. Not sure if this is your problem exactly, but thought I'd put it out there for you to consider.
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Mon Jan 23, 2006 10:26 pm   
 
Yeah, I've had that happen, but my triggers don't fire anything off that quickly, so it was never a problem before. I think I'm going to just revamp that button. Start with one script, and add more in as I need them... =[
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jan 24, 2006 2:57 am   
 
*sigh* I just deleted my multistate button, and created a new one from scratch. Only has 2 states... Still doesn't work... =[

I don't get how or why it would just stop working like that, and even after a complete rebuild of the button, it still doesn't work.... Any ideas?
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Tue Jan 24, 2006 8:53 am   
 
Maybe try it under a new blank char/settings file?
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jan 24, 2006 1:25 pm   
 
I'll try..... That'll be ugly tho... =[
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Jan 24, 2006 7:20 pm   
 
Can you post the trigger.. maybe we can find what's wrong with.. yes we'll wade through all the options. Very Happy
_________________
Asati di tempari!
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jan 24, 2006 7:32 pm   
 
#BUTTON 1 {Scripts} {} {Giants|Lower Vllak|Upper Vllak|Geist|Asylum|SW Bayeshi|NW Bayeshi|NE Bayeshi|SE Bayeshi|Bayeshi Town|Braggi|Braggie Keys|North Maglor|South Maglor|Bule|Barrows|Fens 1|Fens 2|Fens 3|Fens 4|Fens 5|Jungle Start|Jungle Start1|Jungle Start2|Jungle Start3|Glades|Amras North|Amras South|Amras Outskirts|Abyss} {load giants;#VARIABLE scriptstate {Giants};emote has loaded @scriptstate into memeory!!|load vllak_lower;#VARIABLE scriptstate {Lower Vllak};emote has loaded @scriptstate into memeory!!|load vllak_upper;#VARIABLE scriptstate {Upper Vllak};emote has loaded @scriptstate into memeory!!|load geist;#VARIABLE scriptstate {Geist};emote has loaded @scriptstate into memeory!!|load asylum;#VARIABLE scriptstate {Asylum};emote has loaded @scriptstate into memeory!!|load sw_bay;#VARIABLE scriptstate {South West Bayeshi};emote has loaded @scriptstate into memeory!!|load nw_bay;#VARIABLE scriptstate {North West Bayeshi};emote has loaded @scriptstate into memeory!!|load ne_bay;#VARIABLE scriptstate {North East Bayeshi};emote has loaded @scriptstate into memeory!!|load se_bay;#VARIABLE scriptstate {South East Bayeshi};emote has loaded @scriptstate into memeory!!|load bay_town;#VARIABLE scriptstate {Bayeshi Town};emote has loaded @scriptstate into memeory!!|load braggi2;#VARIABLE scriptstate {Braggi};emote has loaded @scriptstate into memeory!!|load braggi_keys;#VARIABLE scriptstate {Braggi Keys};emote has loaded @scriptstate into memeory!!|load north_maglor;#VARIABLE scriptstate {North Maglor};emote has loaded @scriptstate into memeory!!|load south_maglor;#VARIABLE scriptstate {South Maglor};emote has loaded @scriptstate into memeory!!|load Bule;#VARIABLE scriptstate {Bule};emote has loaded @scriptstate into memeory!!|load barrows;#VARIABLE scriptstate {Barrows};emote has loaded @scriptstate into memeory!!|load fens1;#VARIABLE scriptstate {Fens One};emote has loaded @scriptstate into memeory!!|load fens2;#VARIABLE scriptstate {Fens Two};emote has loaded @scriptstate into memeory!!|load fens3;#VARIABLE scriptstate {Fens Three};emote has loaded @scriptstate into memeory!!|load fens4;#VARIABLE scriptstate {Fens Four};emote has loaded @scriptstate into memeory!!|load fens5;#VARIABLE scriptstate {Fens Five};emote has loaded @scriptstate into memeory!!|load jungle_start;#VARIABLE scriptstate {Jungle Start};emote has loaded @scriptstate into memeory!!|load jungle_start1;#VARIABLE scriptstate {Jungle Start1};emote has loaded @scriptstate into memeory!!|load jungle_start2;#VARIABLE scriptstate {Jungle Start2};emote has loaded @scriptstate into memeory!!|load jungle_start3;#VARIABLE scriptstate {Jungle Start3};emote has loaded @scriptstate into memeory!!|#VARIABLE rscriptcheck 1;emote has loaded Glades into memeory!!;#T- normalscriptcheck;#T+ Glades;#VARIABLE scriptstate {Glades}|load amras_north;#VARIABLE scriptstate {Amras North};emote has loaded @scriptstate into memeory!!|load amras_south;#VARIABLE scriptstate {Amras South};emote has loaded @scriptstate into memeory!!|load amras_outskirts;#VARIABLE scriptstate {Amras Outskirts};emote has loaded @scriptstate into memeory!!|#VARIABLE rscriptcheck 1;emote has loaded Abyss into memeory!!;#T- normalscriptcheck;#T+ Abyss;#VARIABLE scriptstate {Abyss}} {} {} {} {} {} {} {Pos} {1} {424} {} {0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0} {} {} "" {} {} {}


Hahahaha, that big enough? Sheesh... Hadn't realized how much was in there till now... LoL! Well, the next one is what I have now.... Still doesn't work either. BTW.... "load" is an alias. Thanks for all the help!!!

#BUTTON 51 {Scripts} {} {Bule|Fens 1} {load Bule;#VARIABLE scriptstate {Bule};emote has loaded @scriptstate into memeory!!|load fens1;#VARIABLE scriptstate {Fens One}emote has loaded @scriptstate into memeory!!} {} {} {} {} {} {} {Pos} {1} {424} {} {0|0} {} {} "" {} {} {}
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Jan 25, 2006 2:56 pm   
 
If you are using those two buttons together, there are covering each other.
{Pos} {1} {424}

Maybe give them id's incase something somewhere is #T- or #T+ or overwriting it.
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Thu Jan 26, 2006 3:08 pm   
 
I'll try the #T... However the two buttons overlapping each other? Isn't the first number the the vertical position and the second the horizontal? I'm very... Picky about how everything looks to say the least... Hahahahaha! So nothing was overlapping each other. As soon as I get moved into my new house and get my computer back up I'll try that! Thanks!
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Jan 26, 2006 3:40 pm   
 
Where is the button's class folder? You aren't turning that class folder off now and then are you? (#T- normalscriptchec)

Both buttons above have the same position if you are trying to test with both. Not sure which one will be on top if both are active.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net