UOFiddler (ex UOViewer) (ex InsideUO alternative)

This is where you can discuss UOFiddler, by Turley.

Moderator: POL Developer

User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: UOViewer (InsideUO alternative)

Post by CWO »

Turley I really have to commend you on the outstanding work you have done to this program.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

Turley, you are great!

I was talking with my son and showed him your app and he liked it.

We were discussing the features and he liked the "dress" feature too.

If you are open to some ideas he had a few and I said I'd pass them along and you can do with them as you like.
These pertain to the items tab.
Would it be possible to have the detail for an item appear in the right empty area when it is single clicked and as they are scrolled through with the arrow keys? That way you could see the detail on individual items and not have to close open windows. You would still keep the double-click feature of opening the details windows for those times when you need to compare multiple items.

Also, he thought it might be handy to have a way of exporting the full list of item details in a CSV text file.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

While using the "dress" function I was scrolling through my items and found one called "thing" which looked like a dress and attempted to apply it to the female form and I got the following exception dialog box message:

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Controls.Dress.OnClick_Dress(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
UoViewer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Downloads/UO%20Builder%20Tools/UOViewer1.1/UoViewer.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Ultima
    Assembly Version: 2.0.3220.28648
    Win32 Version: 2.0.3220.28648
    CodeBase: file:///C:/Downloads/UO%20Builder%20Tools/UOViewer1.1/Ultima.DLL
----------------------------------------
Controls
    Assembly Version: 1.0.3222.32154
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Downloads/UO%20Builder%20Tools/UOViewer1.1/Controls.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
The item located at 0x3EA2 appeared in the list of equipables in the "dress" tab but when I went to the items tab there was no art tile graphic for 0x3EA2.
I assume the error is occurring because there is probably a graphic in my gump art file that was once associated to the art tile 0x3EA2 but that art tile was removed due to conflicts I had during the time I was adding graphics to my files but I must have forgotten to wipe the data from the gumpart file. I am sure I didn't clean-up after myself properly and left a lot of "trash" lying around just from the shear frustration of muddling through the process. I will clean it up now that I know it's there but you might want to do some error checking to verify that paperdoll gump art has valid corresponding art tiles and if not trap the error when the "dress" button is pressed. Maybe display a warning box that alerts the user to check their files for errors.

Thanks for this program. It is very nice.

Oh and BTW pressing the "continue" button on the exception error box did not crash UOViewer. It simply let me continue using it.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Found another mulfile to play with, could it be the last? :)
Version 1.4 uploaded

Thx for the replies, nice to see that people actually find this usefull.

Mmmh white space in itemstab, i would call it a bug that the listview isnt redrawn on resize. But your idea sounds good. :)

Interesting i already have quite a few errorchecks. Seems to be not enough. The problem should be in your tiledata, because i iterate over the entries and check the wearable flag. Additionaly i check for valid gump and animation infos because osi also has invalid entries (the infotext Valid Gump/Anim). So congratulations you have even more broken entries in your mulfiles as osi ;)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

Gee, thanks! : P

I told you it was my fault.
*grins*
I am trying to think if your program can backtrace from the gump info to the tiledata file and somehow detect the broken link and then not display the gumpart. I don't think there is a way for the software to detect broken links by working backwards. It's easier to work from the art tile files forward I think but might not be worth the time.

Anyway, it's not a fatal error but giving users a poke in the right direction to fix their files will save getting tons of "why am I getting this exception error?" questions.

Oh and I am glad our suggestions turned out to be good ones.
I have no trouble finding work for other people.
*grins*

Keep up the good work Turley.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Version 1.5

Yukiko i added an additional errorcheck, my guess is that the layer value is wrong. If dress fails without error msg i guessed right :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

That fixed it, for now.
*grins mischievously*
Just give me a little more time. I'm sure I'll find someway to break it again.

But seriously, it didn't give me any error, just ignored the item as if it wasn't there. It might be a good idea to give some feedback to the user that something prevented the program from showing the item equipped just so you don't get bug reports about that. Maybe something warning them of a possible problem with their files.

Thanks again Turley.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Yeah i wanted first of all see if this was really the problem before adding some visible stuff.
Done now
Version 1.6 uploaded

To clear it up valid layers are (from the sourcecode draworder of paperdoll):
0x14,// - Back (Cloak)
0x05,// - Chest Clothing/Female Chest Armor
0x04,// - Pants
0x03,// - Foot Covering/Armor
0x18,// - Legs (inner)(Leg Armor)
0x13,// - Arm Covering/Armor
0x0D,// - Torso (inner)(Chest Armor)
0x11,// - Torso (Middle)(Surcoat, Tunic, Full Apron, Sash)
0x08,// - Ring
0x09,// - Talisman
0x0E,// - Bracelet
0x07,// - Gloves
0x17,// - Legs (outer)(Skirt/Kilt)
0x0A,// - Neck Covering/Armor
0x0B,// - Hair
0x0C,// - Waist (Half-Apron)
0x16,// - Torso (outer)(Robe)
0x10,// - Facial Hair
0x12,// - Earrings
0x06,// - Head Covering/Armor
0x01,// - Single-Hand item/weapon
0x02,// - Two-Hand item/weapon (including Shield)
0x15 // - BackPack
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

Thanks Turley.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Version 1.7
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Version 1.7b
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: UOViewer (InsideUO alternative)

Post by Yukiko »

Anybody know where we could get Turley cloned? We could sure use about three more just like him to work on other utilities.
*grins*

Thanks again Mr. T!
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: UOViewer (InsideUO alternative)

Post by OldnGrey »

Erk.
Something's happened to the settings.
Removed old uoviewer and dropped the new 64 bit files into its own directory c:\uoviewer
After running, Options.xml now contains entries like:
<Paths key="anim.idx" value="" />

I am using uoml on Vista.
I don't have the exact same registry paths you mentioned in the 1.7b release notes. Mine are:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Origin Worlds Online\Ultima Online\1.0
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Origin Worlds Online\Ultima Online Third Dawn\1.0
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

wtf? Wow6432Node?
Damn i hate osi and older version had found the path? Fascinating cause i only added the other key.
I think i give up, or it ends up with hundreds of different Registrykeys :(
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Ok i asked google. Thems to be a 64bit vista "feature" all 32bit programs are in Wow6432Node.
I will make a new subrelease.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: UOViewer (InsideUO alternative)

Post by OldnGrey »

Sorry to make your life miserable.....
Vista is weird on so many levels. But despite the bad press, it's been good to me so far.

And I hate to tell you this too, but later versions of UO can run without any registry entries at all. Can I suggest that when you first staer UOViewer that it prompt you for a path and gives you the one it finds to overtype or browse? That way you can make just about everyone happy :)
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Hehe nice to hear :)

Uploaded 1.7c
Damien
Adept Poster
Posts: 82
Joined: Sat Apr 15, 2006 11:50 am

Re: UOViewer (InsideUO alternative)

Post by Damien »

Godly tool. Just used it while building a town. It was very helpful :D
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Uploaded version 1.8
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

Just wondered why no one had complained:
new sub version with option for bigger mapsize
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: UOViewer (InsideUO alternative)

Post by OldnGrey »

Oh wow. A zoomable map.
For this feature alone you get the prize.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

I know i will hate me for asking this question :) ...but what are your open requests (except the editing)? Right now I have no idea what else is missing.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: UOViewer (InsideUO alternative)

Post by OldnGrey »

Oh wow, since you asked......
Items page... how about decimal values too for the graphic.
I have GMs that don't quote hex numbers at me and expect me to find their item pic.

If you want a challenge, then how about multimap.rle import/export/view. Or is that counted as an editor feature.
Or even skills.mul?
Luth
Former Developer
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am

Re: UOViewer (InsideUO alternative)

Post by Luth »

You can always write the graphic display so it'll work on win2k too. ;) I use InsideUO for browsing items and saving graphics, and UOViewer for browsing mobs and gumps. At least the icons are a little different, or else running those two programs simultaneously would probably cause a short-circuit in my head.
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: UOViewer (InsideUO alternative)

Post by Turley »

-multimap.rle view...done
-multimap.rle export to tiff...done
-import image and save as .rle...in progress
-decimal values in itemstab...in progress
-prevent Luth from getting headache...in progress

:)
Post Reply