ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Cerveza on March 20, 2009, 07:46:57 AM

Title: Menu Designer
Post by: Cerveza on March 20, 2009, 07:46:57 AM
Is old as heck... now don't get me wrong, it's VERY useful, but I wish the authors would take responsibility for their product and update.

My greatest annoyance is that it doesn't optimize the code. I just went through one of my menus (Taming Appraiser) and took out 50 lines of unnecessary code! FIFTY LINES!!

The menu will order everything by the label # and when it was created. So if you have 20 items on the menu, 10 red and 10 blue, and you happen to add them in alternating order, the Menu Maker will put:

Code: [Select]
menu font color blue
item 1 on the menu
menu font color red
item 2 on the menu
menu font color blue
item 3 on the menu
menu font color red
item 4 on the menu

Instead of optimizing it... which you have to do by hand, to this:

Code: [Select]
menu font color blue
item 1 on the menu
item 3 on the menu
menu font color red
item 2 on the menu
item 4 on the menu

Yeah, here it's only 2 lines saved, but trust me, it gets HUGE in bigger menus. Like I said, just by putting colors together on my menu I saved 50 lines of code. It's also better arranged.

[/rant]
Title: Re: Menu Designer
Post by: _C2_ on March 20, 2009, 08:11:49 AM
I hear ya on this one... not to mention you have to get the old version that is an archive for easy uo!!!  :-[

I use this tool a lot and would hate menus without it.

I am with ya Cerv!
Title: Re: Menu Designer
Post by: TrailMyx on March 20, 2009, 09:07:04 AM
the core of mine is already alot smarter when it comes to building up the menu.  heh
Title: Re: Menu Designer
Post by: 12TimesOver on March 20, 2009, 09:13:34 AM
Yeah I noticed that on my Donator script, between colors and sizes I cleaned up a ton of code.

XII
Title: Re: Menu Designer
Post by: Khameleon on March 22, 2009, 11:04:28 AM
ya I can't wait until SUO's Menu Designer is ready.