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-07-2006, 05:29 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default GeorgeS - Loottable editor ommision

I've been working with the loot table editor (HANDY!) and I've run across something you missed.

If I choose a mob that has no loot entries at all and then choose Tools->Create new loot_tableid, click save loot, edit the loot and click save again, everything seems to work.

When I then look at a different mob and come back, the loot has disappeared. I checked and it seems everything is being created properly in the database but the NPCs loottable_id field is not being set. Manually typing in the loottable_id and saving fixes it all up.
Reply With Quote
  #2  
Old 11-07-2006, 03:32 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

I just looked through my code and found the issue, which is fixed now.

When you create a new loottable, a dummy (rusty dagger) item is created as before, but now it's attached to the NPC automactically. No longer need to "save"

Typing in a loottable manually (must exist though) and saving updates the npc like before.

Thanks for the bug report
Download the newest version

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #3  
Old 11-08-2006, 02:42 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Great - other than that one little thing the loot editor is fantastic!

Oh, one other ommission kind of thing. This time with the item/inventory editor: it lacks an icon for the running program on the taskbar. When I have multiple programs running they all show up on the taskbar and I can alt-tab through the running programs list to get to them. The item editor, on the other hand, has no icon showing up at all so I have to minimize every program to make it visible. This makes it a bit difficult to use at times which is bad because its so handy!
Reply With Quote
  #4  
Old 11-08-2006, 02:23 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

The issue with no icons in the task bar is likely VB6 and a few API calls. The program uses pretty complicated skinned forms that are modal.

I'll look into other API's that may help with putting it into a minimized state with a task icon.

George

__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #5  
Old 11-08-2006, 02:34 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

So, what's the chances of conning you into allowing it to show what it looks like 'in game'? hehe, probably very very hard to do.. but sometimes that little icon just doesn't do the things justice

You have done a great job so far GeorgeS, Thank you for takeing the time to update so often to a very useful program.
Reply With Quote
  #6  
Old 11-10-2006, 03:15 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

The tool is pretty much done - and I'm out of ideas for now.
Perhaps it's time to 'play' EQ and level up my toons

GeorgeS


__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #7  
Old 11-10-2006, 11:29 PM
EliteSting
Sarnak
 
Join Date: May 2005
Posts: 58
Default

If you don't mind me asking GeorgeS , what is the proper procedure for copying items. Every time I try to do it , it freezes on me then shuts down.
I'll post exactly what the error message says when I get home.
Thanks for all the tools !!
Reply With Quote
  #8  
Old 11-11-2006, 06:22 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Let me know which item your'e copying and what your work flow was.

I simply search or select an item, then click on edit then click on 'copy item'
The new item will appear with a new item_id ready for editing.

Any crashes are most likely differences in table schema, or a field entry I never anticipated.

GeorgeS

__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #9  
Old 12-05-2006, 03:26 PM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

except, the loot editor doesnt work against a mysql running on linux. hitting the Save buttons gives it an error dialog stating very plainly:

Run-time error '-2147217865':
Table 'eqemu.Lootdrop_entries' doesn't exist.

which is very true, the table is lootdrop_entries, not Lootdrop_entries. any chance of fixing the query so that it either goes against 'lootdrop_entries' or making the target tables configurable in the .ini file?

== sfisque
Reply With Quote
  #10  
Old 12-06-2006, 03:01 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Table references should all be lower-case anyway, since that's what they are in the MySQL - Windows or not. Not sure you can even make upper-case table names in MySQL 4?
Reply With Quote
  #11  
Old 12-06-2006, 03:24 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Thanks John - you sent me off in the right direction so I finally fixed the bug. It works on windows and linux systems running MySQL!

New version is online - 12.05.00
-Fixed table references so this can be used to query a MySQL db on Linux.


GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #12  
Old 12-06-2006, 09:01 AM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

very cool. i'll download it tonight and give it a whirl.

thx for the fast turnaround man!

== sfisque
Reply With Quote
  #13  
Old 12-07-2006, 03:48 PM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

closer.

it saves the data, and then crashes with the same message as before. when i relauch, the new loot is present, but crashes if i add anything else and hit save.

this happens if i add loot to an existing entry.

i'll test some other scenarios.

== sfisque
Reply With Quote
  #14  
Old 12-12-2006, 03:44 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Ok, I'll look again into this. Appears that linux drivers are picky about the capitalization. Win MyODBC driver's for some reason don't have this issue...so the search continues.


GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #15  
Old 12-12-2006, 03:07 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Ok, uploaded the next revision. Caught the last of the errors I think can cause upcase errors. Keep me updated on issues


Later Y'all
GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
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 08:32 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3