logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
a new tool for those that want 2da data stored in mysql

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
TormentedBlood



Joined: 22 Jul 2008
Posts: 14

PostPosted: Mon Apr 06, 2009 15:08    Post subject: a new tool for those that want 2da data stored in mysql Reply with quote

one of the many INSANE things i have been doing that have kept me so quiet is that i am moving alot of the core functions into Sql calls with nwnx2 for nwn. i had a friend start a project to help me with this. it is a tool that parses a directory of .2da files and creates an sql script to place said data into a mysql database. http://kc5vzm.com/cms/blogs/view/post/6 his blog post is here. it is a java application. I am reworking aps calls to work with this structure. Most notably i am creating an indexed item database structure to help reduce the need of tons of palatized items, and it will allow things such as weapon models and colors that are available and even armor and body parts to be more easily tracked from in game solutions. Doing this mapping structure i have reduced lag delays from the mil body and mil clothing tailor scripts greatly. and i have been able to create sub-tables for each race and phenotype based on those annoying times when your custom clothing haks have a model for only one race and or phenotype etc. I am posting here for anyone that might find this useful. I will be putting my new core setup on the vault and posting links here soon.
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Tue Apr 07, 2009 20:32    Post subject: Reply with quote

Interesting. I'm a bit surprised that this cut runtimes, since all the speed tests I've done show that cached 2das outperform nwnx-mysql by a good margin. With the advent of the improved 2da cache, most 2das should be cached - unless the systems just use a ton?

Funky
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group