.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Guide: Spell database - Web interface (http://forum.shrapnelgames.com/showthread.php?t=40200)

Johan K August 14th, 2008 02:24 PM

Re: Spell database - Web interface
 
Nice page!

Snoddasmannen August 14th, 2008 03:11 PM

Re: Spell database - Web interface
 
Quote:

Snoddasmannen mainly used this as a learning project to web technologies, too.
Yes that's right. I boldly state it's one of the very few pages on the internet which uses client side XSLT. I have no research or statistics to back that up - so prove me wrong :)

But as I said it's a known major issue that it doesn't work with IE. One day I may create a very basic version of it that works in all browsers, feel free to lobby for it.

Quote:

Originally Posted by lch (Post 631048)
BTW, should I move this post to the "Maps & Mods" subsection, maybe?

Well it's not really a map or a mod imho :) I thought it would be interesting for the general audience.

(editing quote tags ...)

JimMorrison August 14th, 2008 03:29 PM

Re: Spell database - Web interface
 
Quote:

Originally Posted by Snoddasmannen (Post 631118)
Yes that's right. I boldly state it's one of the very few pages on the internet which uses client side XSLT. I have no research or statistics to back that up - so prove me wrong :)


You sly dog! That would require statistical analysis of millions of webpages..... inconceivable! :happy:

lch August 25th, 2008 11:08 AM

Re: Spell database - Web interface
 
Yes, I know that this should be done on the user's page, but then who else would view it?

So, I noticed the cake, so lemme say: Happy birthday, Snoddasmannen!

Kristoffer O August 25th, 2008 11:47 AM

Re: Spell database - Web interface
 
I get the following error message:

'Exception while loading: TypeError: Null value'

Regardless of what numbers I enter.

Snoddasmannen August 25th, 2008 01:34 PM

Re: Spell database - Web interface
 
Haha - thanks lch :) Yes indeed, cake for breakfast and the day off work, life is pretty good!

Kristoffer, did you really try entering all possible permutations of magic levels and spell filters? ;) What browser are you using? It won't work in IE I'm afraid :(

Kristoffer O August 25th, 2008 03:34 PM

Re: Spell database - Web interface
 
I'm on a mac atm. Safari. I have a firefox on my linux box IIRC. I'll take a look.

lch August 25th, 2008 04:28 PM

Re: Spell database - Web interface
 
Yeah, the only thing supported right now is Firefox and maybe Opera, I think. :) If I remember right then I wrote in that other thread how to get support for Safari relatively easy since the model is not THAT different, and since Safari and Konqueror use the same HTML engine it would be nice to have this. But then again you'd really be waving the stick in front of the MSIE crowd which might be one of the largest factions.

Snoddasmannen August 25th, 2008 05:36 PM

Re: Spell database - Web interface
 
It's really a shame that it's not working in Safari, I was hoping it might but here's confirmation from apple that we're not there yet:

http://developer.apple.com/internet/....html#anchor21

So I guess Opera and FF are the only supported browsers after all, but you can find both of those on basically any platform including Mac. It actually works in Opera Mini as well which is pretty neat, check your spells on your low end cellphone :)

As I said in the old thread, if I decide to focus on browser compatibility I will probably just switch to server side XSLT processing and give the results as plain HTML. That's really the only sane approach in the first place :) That way it will work in IE7, Safari, Lynx, IE3 etc.

But the next thing I'd like in is forgable items, that should be pretty good.

Jarkko August 27th, 2008 01:46 AM

Re: Spell database - Web interface
 
Very nice tool! :)

Quote:

Known issues: I have not updated to the 3.17 version of the DB, so a few spells are missing, notably the nationals for Hinnom et al.
I believe there are some other spells also missing. Like Charm for example. Or am I doing something wrong?


All times are GMT -4. The time now is 04:38 AM.

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