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 03-31-2008, 03:17 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

Quote:
Originally Posted by Bulle View Post
After discovering EQBrower I made quite a few improvements to it, which I would share with the community if there is interest.

From my understanding this tool is now "orphaned", and may be I could take charge of it for a bit. I tried to contact Muuss at the email mentioned in the README but got no reply. It would be nice to have this open-source.

In a nutshell here are the changes I did the last couple days. I probably broke other stuff doing it , but for the time being it suits my need. The most notable changes may be the icons (easy but useful) linking to the PEQ Editor. That way EQBrowser can be used for searching/browsing, and PEQ Editor for changes.

- (Bulle) code cosmetics change (privilege when working on an orphaned project).
- (Bulle) Indentation of the generated HTML code - first shot at XHTML compliance.
- (Bulle) Make the top part of the page (header) optional through a flag in config.php.
- (Bulle) Made "faction.php" and "factions.php" interoperate. If "faction.php" is passed an invalid faction it redirects to "factions.php". If "factions.php" finds one and only one faction it redirects to "faction.php" with the found faction.
- (Bulle) Made "faction.php" more Wiki-friendly : it accepts both an 'id' and 'name' parameter. If the 'id' parameter is non-empty it is used. Otherwise if the 'name' parameter is not empty it is used to query for the faction.
- (Bulle) Same remarks for "npc.php", "npcs.php", "item.php" and "items.php"
- (Bulle) Added icons in factions, NPCs and items to link to a PEQ Editor and Lucy when possible
- (Bulle) Diverted the place where NPC images are searched for. Now it links to a Mediawiki installation (which has to be installed) used to store the images. Allows for much easier image upload as no access to the server filesystem is needed
- (Bulle) Added two "generic" search fields in the menu bar, one for searching on the name, one on the ID. It looks for items, NPCs or factions
- (Bulle) Displayed the IDs of objects in many places, which makes life much easier for the world builder

Been waiting for someone to update this for a while. Since it seems mUUS has given you the goahead? Can we see a new version soon?
Reply With Quote
  #2  
Old 03-31-2008, 03:53 PM
Bulle
Hill Giant
 
Join Date: Jan 2008
Posts: 102
Default

Just look above, the link is at the end of my last post.
Reply With Quote
  #3  
Old 03-31-2008, 03:59 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

I can;t edit my post so if a mod can merge this that would be awesome.


Thanks for the update. Few questions, This doesn;t HAVE to be run on the same machine as eqemu does it? I noticed the quests look for the eqemu directory. I have a test eqemu setup On my local machine, and this set up on my hosting, pointed towards the eq database on my local since it seems to require it.


Also Mirror:EQBrowser Mirror 6.0
Will update this mirror when I can

Edit.

So far the only bug I see is Spells, can;t seem to search. says *not found* when I search for clerics Healing
Reply With Quote
  #4  
Old 03-31-2008, 04:18 PM
Bulle
Hill Giant
 
Join Date: Jan 2008
Posts: 102
Default

For spells, you have loaded the spells tables in your DB right ? I re-discovered this point in the README when making a fresh installation to try it out.

The quest functionality requires a copy of your quest directory to work. Basically it runs a script that parses the Perl files and populates tables with the result, ready for HTML rendering. Note that I have tried it on my PEQ quests directory (you can run it in "batch" mode) and it stalled on one file so it is probably not up-to-date anymore. And I do not plan to delve into this for the moment (it is quite intricate) so if you would like to fix it you are welcome
Reply With Quote
  #5  
Old 03-31-2008, 06:03 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

Quote:
Originally Posted by Bulle View Post
For spells, you have loaded the spells tables in your DB right ? I re-discovered this point in the README when making a fresh installation to try it out.

The quest functionality requires a copy of your quest directory to work. Basically it runs a script that parses the Perl files and populates tables with the result, ready for HTML rendering. Note that I have tried it on my PEQ quests directory (you can run it in "batch" mode) and it stalled on one file so it is probably not up-to-date anymore. And I do not plan to delve into this for the moment (it is quite intricate) so if you would like to fix it you are welcome
Awesome I completely forgot to source allspells.
Reply With Quote
  #6  
Old 03-31-2008, 06:10 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

it sucks not being able to edit the posts..

please merge...

Quote:
C:\Users\Spre\Desktop\eqbrowser-0.6.0\eqbrowser-0.6.0\quests>parse_quest.pl qrg
mammoth.pl
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains:
C:/Perl/site/lib C:/Perl/lib .) at (eval 7) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
at C:\Users\Spre\Desktop\eqbrowser-0.6.0\eqbrowser-0.6.0\quests\parse_quest.pl
line 83
When I run the pl after editing the paths inside it.
Reply With Quote
  #7  
Old 04-01-2008, 03:16 AM
slowglass
Fire Beetle
 
Join Date: Nov 2006
Posts: 15
Default

I look forward to watching this project progress.
I will be keeping my eye out for ideas to steal for the Almanac, that I will try to keep up todate.

I hope that we can both feed off each other and end up with two useful but different solutions.
Reply With Quote
  #8  
Old 04-01-2008, 03:35 AM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

meh cygwin gayed up on me, isnt installing perl right.

If you run parse-quests.pl to parse each quest 1by1 it works. That as you know is time consuming =/ the sh <-> .bat Progress is lamed up on my end. Kinda wish cygwin had decent perl support.
Reply With Quote
  #9  
Old 04-14-2008, 05:10 PM
Bulle
Hill Giant
 
Join Date: Jan 2008
Posts: 102
Default

This link still works : http://dl.free.fr/jRrH6ILnp/eqbrowser-0.6.0.7z
Reply With Quote
  #10  
Old 04-16-2008, 10:32 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

in quests/quest.pm, change sub ChooseRandom to :

Code:
sub ChooseRandom {
  my $item=0;
  foreach $item (@_) { main::add_received($item); }
  return $_[int(rand($#_)+1)];
}
This will add all the items returned by ChooseRandom to the database.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
Reply

Thread Tools
Display Modes

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