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. |
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 |
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! |
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 |
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. |
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 |
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 !! |
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 |
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 |
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?
|
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 |
very cool. i'll download it tonight and give it a whirl.
thx for the fast turnaround man! == sfisque |
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 |
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 |
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 |
All times are GMT -4. The time now is 01:35 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.