Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2013, 08:28 PM
TylerBarnes
Sarnak
 
Join Date: Dec 2012
Location: Sunny California
Posts: 62
Default Problems with PEQ Editor

http://sourceforge.net/projects/peqeditor/
I downloaded the PEQ Editor from the above link but I'm having trouble getting it running. I installed WAMP which includes the two programs it's asking for plus MYSQL and I'm following the installation instructions but I hit a roadblock when it tells me to source schema.sql. I open MySQL (via wamp) and use the source command on (directory information)schema.sql and get the following error:
Quote:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range' int (11) NOT NULL default '0',
aoerange int(11) NOT NULL default '0',
m' at line 7
Anybody know how to fix this? Or better, a simpler program with a .exe installer instead of convoluted instructions?
Reply With Quote
  #2  
Old 11-10-2013, 08:31 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

Range is often messed up like this because it's a function, you need to have it like this `range`, that way it knows it isn't the function 'range'.
Reply With Quote
  #3  
Old 11-10-2013, 08:37 PM
TylerBarnes
Sarnak
 
Join Date: Dec 2012
Location: Sunny California
Posts: 62
Default

Makes sense.
Now do I alter that? I'm not sure how to edit a .sql file other than to source it using MySQL.
Reply With Quote
  #4  
Old 11-10-2013, 08:38 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You can edit the file by right-clicking it and clicking 'Edit', it looks like the first row, then you turn it in to the second row.



You may want this: http://notepad-plus-plus.org/
It has syntax highlighting which is very helpful and would show you such an error almost immediately.
Reply With Quote
  #5  
Old 11-10-2013, 09:01 PM
TylerBarnes
Sarnak
 
Join Date: Dec 2012
Location: Sunny California
Posts: 62
Default

You just solved a whole bunch of my problems.
I did not know that sql files could be edited using NotePad++.
I've been struggling because I thought they could only be used with MySQL.
Thanks. I'm going to start poking around (cautiously) in it.
Reply With Quote
  #6  
Old 11-10-2013, 09:56 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You're welcome, hopefully you can pass it on in the future.
Reply With Quote
  #7  
Old 11-11-2013, 02:48 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Recommend you get the official PEQ editor from http://code.google.com/p/peqphpeditor/

Always up-to-date.
Reply With Quote
  #8  
Old 11-11-2013, 04:16 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Wow, I just saw the link TylerBarnes posted. That version is ancient, no way it will work with modern EQEmu.
Reply With Quote
  #9  
Old 11-11-2013, 05:16 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Quote:
Originally Posted by joligario View Post
Recommend you get the official PEQ editor from http://code.google.com/p/peqphpeditor/

Always up-to-date.
That doesn't look like the up to date revision..

Pretty sure its found... here

https://drive.google.com/folderview?...p=sharing#list
Reply With Quote
  #10  
Old 11-11-2013, 05:25 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The daily dump on Google is pulled from the SVN that joligario linked. SVN technically is more up to date because changes can be grabbed as soon as one of us commits it. The Google dump is only updated once a day, but for many folks it's an easy way to grab the editor. Since the DB and quests are posted there too, it's a one stop shop for PEQ.
Reply With Quote
  #11  
Old 11-11-2013, 05:47 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Ah didn't know that thank you

The date on the SVN said 2012 didn't think it was updated in awhile heh
Reply With Quote
  #12  
Old 11-11-2013, 11:44 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Oh, that's just the last download - I'll delete that. They are doing away with downloads next year anyway, which is one of the reasons why I went with the daily dump. The actual repo was just updated Nov 1 by Jog implementing the new tradeskill column.
Reply With Quote
  #13  
Old 11-11-2013, 06:12 PM
TylerBarnes
Sarnak
 
Join Date: Dec 2012
Location: Sunny California
Posts: 62
Default

Wow that works much better! Thanks for pointing that out.
Is there a guide or list of what these values mean?
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 05:03 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