.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old August 28th, 2009, 01:20 PM

coffeespoons coffeespoons is offline
Private
 
Join Date: Mar 2009
Posts: 13
Thanks: 5
Thanked 0 Times in 0 Posts
coffeespoons is on a distinguished road
Default Offline version of spell database?

This: http://www2.onyx.nu/pb/dom3/spells.html is an excellent reference. Any way of viewing it offline please?

Thanks in advance

Last edited by coffeespoons; August 29th, 2009 at 01:03 PM..
Reply With Quote
  #2  
Old August 28th, 2009, 06:49 PM

Snoddasmannen Snoddasmannen is offline
Private
 
Join Date: Nov 2007
Posts: 35
Thanks: 7
Thanked 20 Times in 5 Posts
Snoddasmannen is on a distinguished road
Default Re: Offline version of spell database?

Quote:
Originally Posted by coffeespoons View Post
This: http://www2.onyx.nu/pb/dom3/spells.html is an excellent reference. Any way of viewing it online please?

Thanks in advance
Thanks, I like to think it's useful

Unfortunately it is not easy to move it offline. All the spells are stored on the server and every time you perform a search it goes through that.

If I distribute source code for the server components you could set it up locally (as I have) on a webserver on your computer. But I'm not really prepared to take that step, considering the quality of the code (some real thedailywtf's in there)

But all the data is of course available in their original format, ie DrPraetorius's spell database and the cleveland forge database (you can probably find those documents just as fast as I could by searching the forums). Last time I checked they were not searchable in the same sense that the online version is though.

Hope this answers your question.
Reply With Quote
The Following User Says Thank You to Snoddasmannen For This Useful Post:
  #3  
Old August 31st, 2009, 09:45 AM

reverend reverend is offline
Sergeant
 
Join Date: Nov 2003
Location: Fürth, Germany
Posts: 384
Thanks: 8
Thanked 16 Times in 2 Posts
reverend is on a distinguished road
Default Re: Offline version of spell database?

If you can export the database to SQLite, it could be possible. It would still need a completely new GUI though, but the database work wouldn't be wasted.
__________________
Dom3 Nation Reference

Reply With Quote
  #4  
Old August 31st, 2009, 01:57 PM

Snoddasmannen Snoddasmannen is offline
Private
 
Join Date: Nov 2007
Posts: 35
Thanks: 7
Thanked 20 Times in 5 Posts
Snoddasmannen is on a distinguished road
Default Re: Offline version of spell database?

Well importing the data into a database is very easy. It's also the job I did the worst I ripped the structure straight from the excel sheet, which was a really bad idea in retrospect.

To specify the magic level required to cast the spells, it uses four columns, two to specify the major and minor kinds of magic (indexed as ints) and the other two to specify the level required in each of those two(which is often 0 for the minor level). I copied this straight off.



In a relational database, I think this is dubious, I'm not even sure it's properly normalized. In any case, it made searching very difficult, but I could never be hassled to fix it. I should probably have had one column for each kind of magic along with the level required in that school to cast it. Plus an extra column to specify which is the major kind, I guess.

It would have made searching a lot easier at least ... Oh well. I'm sure there are proper DB people out there who can come up with even better schemes
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 06:28 AM.


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