Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Third Party Program Support

Third Party Program Support Misc support forum and advertisment forum for all RunUO related third party Utilities.

Reply
 
Thread Tools Display Modes
Old 01-13-2008, 08:13 PM   #1 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default Gump Studio

Please post the bugs / annoyances in Gump Studio you would like to see fixed. That's right, I finally have enough free time, and managed to find the box I packed the CD with the source code away in.

My first goal is to fix any problems with the current version you guys might have.

Thank RoadMaster for finally getting me motivated enough to find the source code again. He's also the one working on the new Export to RunUO Script Plugin.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.

Last edited by Bradley; 01-13-2008 at 08:46 PM.
Bradley is offline   Reply With Quote
Old 01-13-2008, 08:38 PM   #2 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

I forgot to add, the download for Gump Studio is back at www.gumpstudio.com
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-13-2008, 09:09 PM   #3 (permalink)
Forum Expert
 
Join Date: Dec 2005
Location: Germany
Age: 31
Posts: 401
Default

Sounds great, thanks!

My biggest annoyance is the upside-down scrolling in the gump browser when scrolling down (scrolling up works as it should). That tool alone is, imho, one of the most useful gump related tools for UO ever, but when I click the scrollbar to scroll the list down a page I don't want it to give me a headache by scrolling in the new pictures from the top, just as if I had clicked to scroll up.

Oh, and I'd like to access the browser from a button on the standard UI, for quick browsing when you just need to find a specific gump for code outside GS. This is nothing important, adding a background and modifying its ID works just as well - it just doesn't feel right.

Otherwise, GS is great, thanks for that.
Setharnas is offline   Reply With Quote
Old 01-13-2008, 09:19 PM   #4 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Setharnas View Post
Sounds great, thanks!

My biggest annoyance is the upside-down scrolling in the gump browser when scrolling down (scrolling up works as it should). That tool alone is, imho, one of the most useful gump related tools for UO ever, but when I click the scrollbar to scroll the list down a page I don't want it to give me a headache by scrolling in the new pictures from the top, just as if I had clicked to scroll up.

Oh, and I'd like to access the browser from a button on the standard UI, for quick browsing when you just need to find a specific gump for code outside GS. This is nothing important, adding a background and modifying its ID works just as well - it just doesn't feel right.

Otherwise, GS is great, thanks for that.
I may be able to break that browser out into a stand-alone program if you'd like.

Which browser is scrolling backwards, the Image Browser, or the Item browser? I don't think I've ever seen this happen. If it's the Image browser then I'm not sure I can fix it because I don't control the scrolling on that one. It's just a plain windows forms based listbox with OwnerDraw set to true.

As a quick summary of whats been fixed so far...
You can now manually browse for the UO data file directory.
Serialization for TextBoxes, CheckBoxes and RadioButtons now fully serializes everything.
TextBoxes now have a MaxLength property.

Most of my time has been spent trying to get it to compile and work properly in Visual Studio 2008 using the 2.0 framework.
I'm not sure what Roadmaster has fixed in the export so far.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-13-2008, 09:49 PM   #5 (permalink)
Forum Expert
 
Join Date: Dec 2005
Location: Germany
Age: 31
Posts: 401
Default

Quote:
Originally Posted by Bradley View Post
I may be able to break that browser out into a stand-alone program if you'd like.
I don't think that would be necessary, as GS doesn't take hours to start. It's fine as it is.

Quote:
Which browser is scrolling backwards, the Image Browser, or the Item browser? I don't think I've ever seen this happen. If it's the Image browser then I'm not sure I can fix it because I don't control the scrolling on that one. It's just a plain windows forms based listbox with OwnerDraw set to true.
Too bad, I was talking about the image (GumpID) browser.

To recreate what I'm talking about: just open GS, click on the 'Background' button, in the info pane focus the GumpID, click the '...' button next to it and just click inside the vertical scroll bar to scroll down. The new images scroll in from the top, but they should come in from the bottom. Scrolling up works as it should.

Quote:
I'm not sure what Roadmaster has fixed in the export so far.
TBH, I wasn't even aware he was working on it...
Setharnas is offline   Reply With Quote
Old 01-13-2008, 09:59 PM   #6 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Setharnas View Post
I don't think that would be necessary, as GS doesn't take hours to start. It's fine as it is.



Too bad, I was talking about the image (GumpID) browser.

To recreate what I'm talking about: just open GS, click on the 'Background' button, in the info pane focus the GumpID, click the '...' button next to it and just click inside the vertical scroll bar to scroll down. The new images scroll in from the top, but they should come in from the bottom. Scrolling up works as it should.



TBH, I wasn't even aware he was working on it...
The scrolling bug doesn't seem to be happening to me. I do kind of remember it a bit from a long time ago now that I think about it. Unfortunatly I think it's a bug in one of the control libraries from Microsoft. I can look into manually handling the scrolling like the way the static item browser does.

I don't actually get into the RunUO scripting, so I don't know how gumps are handled in script (other that taking a quick glance at some code). That's why Roadmaster is working on the export plugin. He's much better than I am at knowing what would actually go into a gump script.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 01:14 AM   #7 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Adding Cliloc Browser Property Editor so you can browse and search for the ID through a visual browser like ItemIDs and GumpArtIDs.

I'm also adding tooltip and TiledImageButton support.

Were any new Elements added to the client since the last version of GS that i've missed?

*edit* ohh yeah, cropped labels are in too.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 11:45 AM   #8 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,819
Default

Bradley, the biggest gripe about Gump Studio is that once u get 50 items on the screen, moving any of them 1 pixel at a time is terribly slow. I believe this is due to the way you handle Undo and Redo stacking. As a test you could disable that code and see. There are better ways to do it. I know its possible to get rid of this because I did in RunUO:GDK. Another great idea would be making the selection of items done by pixel calls. If you click on an item, the order of checking to see if the item has been selected should be

if(gump.bounds.contains(point) && gump.image.getpixel(point - gump.location) != color.black))
{

}

This makes selecting items that overlap others ALOT easier.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 01-14-2008, 11:53 AM   #9 (permalink)
Newbie
 
Join Date: Jun 2005
Posts: 15
Default

Its kinda tricky trying to line buttons or images up in the middle of a background etc without doing some calcs of the size of the gump etc... Maybe if you could display the coordinates of your cursor on the window this may help to allign things a bit? Or even a kind of "ruler" you could use?

Regards, Vlad
~Vlad~ is offline   Reply With Quote
Old 01-14-2008, 12:03 PM   #10 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by ~Vlad~ View Post
Its kinda tricky trying to line buttons or images up in the middle of a background etc without doing some calcs of the size of the gump etc... Maybe if you could display the coordinates of your cursor on the window this may help to allign things a bit? Or even a kind of "ruler" you could use?

Regards, Vlad
You should be bale to do this easily by selecting the items you want to center, including the element you want to center them on. Once they are all selected be sure that the background element is the current item (has the white selection box). Right click this item, choose Positioning > Center Horizontally.

I think displaying cursor coords, and element locations coords is a great idea.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 12:12 PM   #11 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Jeff View Post
Bradley, the biggest gripe about Gump Studio is that once u get 50 items on the screen, moving any of them 1 pixel at a time is terribly slow. I believe this is due to the way you handle Undo and Redo stacking. As a test you could disable that code and see. There are better ways to do it. I know its possible to get rid of this because I did in RunUO:GDK. Another great idea would be making the selection of items done by pixel calls. If you click on an item, the order of checking to see if the item has been selected should be

if(gump.bounds.contains(point) && gump.image.getpixel(point - gump.location) != color.black))
{

}

This makes selecting items that overlap others ALOT easier.
I'll see what I can do about optimizing the display of a large number of elements. I'm fairly sure it's not related to the undo code, because an undo point is only created after the move has completed (ie, on mouse up of a drag), not durring the move. It's hard for me to test performance because I do not have an older / slower computer to test it on.

As for "pixel perfect" element selection, I think an option for this would be a good idea. I personally prefer the stack order selection on bounds, it makes it easier to select small items, but agree that some people like having it work on pixels.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 01:25 PM   #12 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Jeff View Post
Bradley, the biggest gripe about Gump Studio is that once u get 50 items on the screen, moving any of them 1 pixel at a time is terribly slow.
Ahhh! I think I finally understand. You mean when you select an item, and hold down the arrow key to move it along? If that's that you mean then yes, that would cause a ton of undo points, and screen refreshes to be generated.
I hadn't thought about being doing large moves with the arrow keys. I beleive I can fix this.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 01:26 PM   #13 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,819
Default

Quote:
Originally Posted by Bradley View Post
I'll see what I can do about optimizing the display of a large number of elements. I'm fairly sure it's not related to the undo code, because an undo point is only created after the move has completed (ie, on mouse up of a drag), not durring the move. It's hard for me to test performance because I do not have an older / slower computer to test it on.

As for "pixel perfect" element selection, I think an option for this would be a good idea. I personally prefer the stack order selection on bounds, it makes it easier to select small items, but agree that some people like having it work on pixels.
cool, feel free to look at my code on RunUOForge for the RunUO:GDK project, Ive since given it to Outkast due to time restrictions and lack of motivation. But its working and its fast. Granted I have a mean machine, but i could get around 1500 objects on the page and move them without issue. I counldnt do this with gump studio. If you need any info let me know, and if u want to use any code from GDK feel free.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 01-14-2008, 01:33 PM   #14 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Jeff View Post
cool, feel free to look at my code on RunUOForge for the RunUO:GDK project, Ive since given it to Outkast due to time restrictions and lack of motivation. But its working and its fast. Granted I have a mean machine, but i could get around 1500 objects on the page and move them without issue. I counldnt do this with gump studio. If you need any info let me know, and if u want to use any code from GDK feel free.
Do you have the snapToGrid plugin loaded when the slowness happens? I think I found a problem in snapToGrid that would cause some really slow drawing.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-14-2008, 01:44 PM   #15 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,819
Default

Quote:
Originally Posted by Bradley View Post
Do you have the snapToGrid plugin loaded when the slowness happens? I think I found a problem in snapToGrid that would cause some really slow drawing.
hoenstly i havent used GS in a long time. so i dunno.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 01-15-2008, 11:00 AM   #16 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Jeff View Post
hoenstly i havent used GS in a long time. so i dunno.
I'm still having problems finding the slowdown you are talking about, but I've made a few changes to try and help.
1. Snap to Grid plugin's grid drawing code has been optimized, making it run about 10x faster.
2. The undo point for moving items with the arrow now happens when you release the key, instead of on every pixel move.
3. I've added "Arrow Key Acceleration", The longer the arrow key is held down the faster the Element will slide across the screen.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 01-15-2008, 11:31 AM   #17 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,819
Default

Quote:
Originally Posted by Bradley View Post
I'm still having problems finding the slowdown you are talking about, but I've made a few changes to try and help.
1. Snap to Grid plugin's grid drawing code has been optimized, making it run about 10x faster.
2. The undo point for moving items with the arrow now happens when you release the key, instead of on every pixel move.
3. I've added "Arrow Key Acceleration", The longer the arrow key is held down the faster the Element will slide across the screen.
i dont remember but does Shift+arrow move 10 pixels ?
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 01-15-2008, 11:34 AM   #18 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Jeff View Post
i dont remember but does Shift+arrow move 10 pixels ?
If you have the snap to grid plugin loaded, holding shift and pressing an arrow will move the element by the grid spacing.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5