Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2003, 01:03 PM
morpheus014
Hill Giant
 
Join Date: Feb 2002
Location: the little voice in the back of your head
Posts: 239
Default Question regarding spells_en.txt

Hello everyone,

I am working on revamping Stormgod's old EQ Treasures system, and I was wondering how/if the spells_en.txt file could be read using php to display all of the spell info, as I am hoping to avoid entering all 3000 some spells into a database =/. Anyway, any insight would be appreciated if anyone knows how or if this can be done.
__________________
Please remain seated while the room is in motion
Reply With Quote
  #2  
Old 04-20-2003, 11:11 PM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

The easiest way would to have a script or program parse the file and put it in the db, you could even just hack it into the eqemu source without much trouble...The file is a pain in the ass to parse though.. look at the function i wrote to do it.. its like 600 lines.. yeah I could have reduced it to like 90 lines if I included stuff in functions but it wouldn't really run any better
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #3  
Old 04-21-2003, 12:25 PM
morpheus014
Hill Giant
 
Join Date: Feb 2002
Location: the little voice in the back of your head
Posts: 239
Default

Ya all my attempts to parse it have, well pretty much done nothing mainly because i think i dont have enough knowledge of php(yet)/xml(tried some xml) to get it working. Anyway, I think I am going to focus on getting the 'profile' system working again, there were some db struct changes since the treasures system was released so those need some work, as well as the faction etc.
__________________
Please remain seated while the room is in motion
Reply With Quote
  #4  
Old 04-21-2003, 05:44 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

wow..someone's picked up working on that, cool.. .I did the items part of the character profiles...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
Reply


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 Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3