.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   momfreeek's new magic item browser! (http://forum.shrapnelgames.com/showthread.php?t=48526)

Tarrax March 14th, 2012 07:02 PM

Re: momfreeek's new magic item browser!
 
This is really great. Excellent job!

I am a programmer myself so if you need any help with anything I'd be happy to help. I haven't looked at your source code yet but I am guessing your IE problem is:

You are using the console object in your JS to do debugging but the console object doesn't exist in IE by default so it crashes the JS. Try removing or commenting out console.log() statements. This is just a wild guess without even looking at your source code of course! :)

momfreeek March 14th, 2012 09:58 PM

Re: momfreeek's new magic item browser!
 
ahhh.. that makes sense! thx
I've added the following assuming that'll take care of it:
Code:

if (!console) var console = { log:function(){} };
You're welcome to look at and work on the code. The structure is still forming atm though so I'm moving things around a lot. I hope its not toooo messy ;) I'm new to google code but I assume its easy enough to allow permissions.


UPDATES:

- Added filters for path, item type and construction level below the search box.
- Added a little 'id' checkbox that displays ids on everything (and an 'id' column) - useful for editing the raw data and perhaps; modders.

Might need to press Ctrl-F5 to force reload the page.. might need to wait a while and try it again.

bbz March 14th, 2012 10:09 PM

Re: momfreeek's new magic item browser!
 
Yea now it works:)

jotwebe March 14th, 2012 11:17 PM

Re: momfreeek's new magic item browser!
 
Very nice.

Two things I noticed: (for CBM)

* Lycanthropos' Amulet: costs 5N (not 10), in addition to regen it gives +5 strength and berserks (+0) the wearer, and it is cursed

* Horned Helmet: grants extra gore attack (dam 0/len 0)

elmokki March 15th, 2012 05:05 AM

Re: momfreeek's new magic item browser!
 
This should've been implemented ages ago already by someone :D

Thanks a lot!

Spell browser would be interesting too, even if those are easier to browse without going through files.

momfreeek March 16th, 2012 12:32 AM

Re: momfreeek's new magic item browser!
 
UPDATES:

- Trying out a different layout with boxes on the left of the table. perhaps its easier to read item details while browsing the list.. or is it ugly? Easily changed back.

I've got the data working live in a nice format. Can edit in open-office calc and save it directly. I started making edits. Stopped at "Soul Contract" on 1st page.

jotwebe March 16th, 2012 03:58 AM

Re: momfreeek's new magic item browser!
 
I liked the old layout sliiiightly better. I think I'm sort of used to have the info on the right, with the menu on the left. It's definitely not a big difference though.

jotwebe March 16th, 2012 04:51 AM

Re: momfreeek's new magic item browser!
 
Addendum: Just noticed the pin functionality - nice, and taking it into account I like the new design better.

Also noticed another data oversight: Boots of Long Strides give +3 defense in addition to their main thing...

llamabeast March 16th, 2012 07:05 AM

Re: momfreeek's new magic item browser!
 
Hmm yes, in CBM 1.92 the Boots of Long Strides grant a misc armor piece which gives a defense bonus (a bit like Bracers of Protection). That's quite a subtle thing for your program to pick up on though!

llamabeast March 16th, 2012 07:06 AM

Re: momfreeek's new magic item browser!
 
New interface is fantastic by the way! Extremely useful.


All times are GMT -4. The time now is 11:29 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.