Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2009, 04:18 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default Rev664

First off I sourced in the 230_spells_table.sql from the svn and it went into the database with no problems but when I attempted to import the spells_us.txt using the command perl import_spells.pl from the command prompt nothing happened. There is not a single spell in the database after running that script. Any specific method to this or am i just unlucky.
Reply With Quote
  #2  
Old 06-15-2009, 07:11 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Did you move the import script to your server folder where your spell file and config file are located before running the script? And after moving it, did you run:

Code:
perl import_spells.pl
From the command prompt?

If you are running Windows, you might even be able to just doubleclick that file once it is in your server folder and it may run it automatically.

Here is a post with a bunch more details on what to do:
http://www.eqemulator.net/forums/sho...9&postcount=45

Also, make note that it is always a good idea to make a backup copy of your spells file before doing anything like this. Another thing worth mentioning is that the PEQ DB now comes with the spells_new table and it is fully populated, so there is no need to mess with these scripts for newer servers using the PEQ database.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 06-15-2009, 07:55 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

Yes, I put the script in my server folder and ran the perl import_spells.pl command from the run menu and I also just double clicked it and ran it from the folder where it was at and the same thing happened both times. It started then exited and no changes were made to my database. This was all done with administrative privileges.

I am using Vista x64 so it is possible that there is a difference in the way scripts such as this are handled when compared to other operating systems. I guess I will just update my entire database instead of trying to figure out why Vista doesn't like this script, probably far less of a headache that way.

Is there some sort of changelog for the peq database because knowing what was implemented and when it was implemented would go a long way towards preventing problems like this.
Reply With Quote
  #4  
Old 06-15-2009, 08:04 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

PEQ has so many frequent changes that it would probably be near impossible to have a decent changelog of it other than maybe some really vague entries of what was done/changed.

If running the script like you did didn't work, you can always try:
Code:
perl import_spells.pl -h
That will output the help messages to show you how to use the file properly. If you read the post I linked though, it explains what actually needs to be set. Maybe on Vista for some reason, you have to actually set the paths and such to the file names you use for your config file and your spells_us.txt file. Again, if you read the post I linked, it explains all of that pretty well. It is fairly simple to use, though I haven't used it on Vista 64.

Also, if you want to just use the spells file and you are compiling your own source, you can change the define to load it the old way from the spell file very easily. Just do the #define change listed in this post:

http://www.eqemulator.net/forums/sho...3&postcount=72
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 06-15-2009, 09:03 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

I did read over that link you posted and it is quite simple as to what the script actually does but I am not the least bit familar with how to write perl scripts even though it did look alot like C99. I think I will leave the script writing to those who know what they are doing.

I just updated by database to the most recent revision of peqdb and all is well with the spells table now.

Thanks for the help!
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 02:35 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3