Ok, spent a few minutes updating the program to include these features and other's where possible.
NPC and Loot Editor 08.21.03 - Added ability to Backup and Restore Bots (including all inventory, and associated tables) - good if you rebuild your database. Weapon & Shield Models- now fully integrated with the NPC & Loot editor - finally!!! - (under tools menu) Added feature to add weapon/shield graphics to NPC's - This is in table fields called "Pri. Weapon Model" and "Sec. Weapon Model" - Simply type in the new number and a graphic of the item will show in the program! --upadated NPC and Loot Editor 08.21.04 - Added a item stat viewer - Under menu item 'Special/show item stats'. You can view your npc's items and also in the new search item window! I hope you like the item stat viewer, cause it was worth the 500 lines of code to implement it :) The item search has also an advanced button where you can specifiy database like subqueries to pull out custom items Clicking on an item in the grid will also show the selected item's stats if the item stat window is on. http://66.159.225.58/eqemu/screen1.jpg http://66.159.225.58/eqemu/screen2.jpg GeorgeS |
NICE =)
BTW George, returning to our old discussion abotu quick copy button. I thought you agreed with me =) http://www.eqemulator.net/forums/sho...highlight=copy Quote:
Quote:
|
Ok, got around to adding the copy code as requested.
The copy tool has been ravamped. Final version has been updated as per request in the last build. http://66.159.225.58/eqemu/screen3.jpg GeorgeS |
GeorgeS, you are a machine!
Just when I think the tools are pretty much complete, you add in stuff to make them even better than I could have expected! The new weapon model viewer feature is awesome. Though, if possible, it might be nice if you could click on an image to view the larger version of the image. Also, a previous page button might be handy to go back a page. The newest version of the model viewer is really nice for quick references though and definitely an improvement over the previous model viewer :) If I could ever get into the gaming industry, I would definitely recommend you for tool designs lol. If you can do this in your free time, I can't even imagine what you could do if you were paid full time to do it :) |
Thanks for the great review. I had considered going into the gaming industry, but I have a great career now, and programing is a hobby. I have improved my vb programing skills significantly over the last years, and still make the occasional game here and there. RPG gaming is my cup of tea, and for those interested, here's an interview I did for RPGdot a while back..
http://ultima.rpgdot.com/index.php?h...n=10053&ID=903 GeorgeS |
Nice interview :)
BTW, I just noticed that if you scroll all of the way to the right with the current version of the editor, it looks like some of the fields aren't lined up properly. The accuracy and attack rating fields aren't even populating at all. My guess is when you added the new Primary and Secondary model fields, it caused the others to miss-align at some point. |
Quote:
|
Ive run into a problem with the NPC/Loot Editor but I think it as to do with MySQL more than anything.
All of the other tools run great, the NPC/Loot Editor will launch fine, I can search through zones and even click and edit NPCs but if I click any NPC with a loot table ID it gives me this message: Code:
Run-time error '-2147467259 (80004005)': Code:
CREATE TABLE `blocked_spells` ( Code:
Required SQL (Your groups will break completely without this): Thanks for all your help, hopefully I provided enough information to get the editor up and running for me again. I'll keep looking for an answer and post if I find anything. |
Quote:
Thanks GeorgeS |
Jibbatwinkers
This kind of errors appear for more than one reason. One of the reasons - if you have a table with fields that are "NOT NULL" but field has null values in it. (Other reason is a date/time field with all "0's".) You mentioned it happens when you click on a column/field that = loottable_id, and crashes when there's no loottable_id there? Then that must be a Null where it should'nt. I would check the table first. GeorgeS |
I know with version 1129 of the emu, I had problems caused by the blocked spells table. For some reason I had null entries in it and it was working until I updated to 1129. After that, the zone it was being used in wouldn't even boot up. So, that might be one issue.
Another idea for any problems with GeorgeS tools is to make sure to run the register_ocx.bat after every update. Sometimes you need them and sometimes you don't, but it never hurts to run it anyway :) Oh, and just finally noticed that it looks like GeorgeS signed up for dyndns :) No wonder I couldn't get to your old site :P |
It looks like the links for downloads need to be updated to work with dyndns. I tried the link from your page to download the NPC Loot Editor and it tried to send me to your old IP again. I used the same link that it tried to send me to and I put the dyndns name in there and it worked for the download.
|
Another minor note: Apparently when you select ALL for slots on the new edit, it sets it for none.
|
Thanks for the report - New version should now support the proper Slot= "ALL" bit mask.
GeorgeS |
George, a small request.
With latest version of NPC Editor I noticed that 2 little buttons to add items into loot table have been moved all way to the right- and for some of us this is way outside of screen resolution area. Coudl you perhaps move them in bewteen the 2 loot boxes? Or mayby on top of the loot box? Or perhaps make so I can use a Hot Key comob (like Alt+L) to simulate those buttons been pressed to add an item and Alt+R to remove selected item? thank you much =) |
as requested, changed the key +/- layout so smaller screens can be used. Hope it helps. Dl the newest version.
GeorgeS |
thank you George =)
|
Hey GeorgeS, if you get the time, could you possibly change the loot table default for the equiped field to be NO instead of YES?
I think in most cases people would want them to be set to no and the only time they might want an item to be equiped would be if it is a weapon that they want to show the NPC as wielding. Even then, we can use the primary and secondary model settings to set that, so I think a default of NO would be best. |
Quote:
i do want the mob to equip any peace of weapon or armor they may have to make them tougher =) on other hand wolf don't realy need to equp their pelts =) so ist in fact 50/50 situation |
I would say a large number of items in loot tables would cause a bag to show up in the NPC's hand if they are equiping it. NPCs can be set to get bonuses from weapons in the rules tables, but I don't think NPCs get bonuses from anything other than weapons if they are set to equiped in the loot tables. I would have to test it to make sure, but I bet that if you put a 1000 hp bracer on them and set it as equiped, it wouldn't actually effect the NPCs stats. I know for sure that even pet toys don't even fully work for giving stats to the pets. Some will add some stats, but certainly not all pet gear will have the effects that they should.
|
well i guess you right, there are much fewer items that can "show up" on npc model than those that realy shouldn't (the "bags")
|
Oh, and it seems like the multiple slots for fingers still isn't working. The slot selected always says fingers in the tool, but it never actually lets you set both fingers, only 1 at a time. I would assume that the same might be true for bracers and earrings as well, but I haven't tested them yet.
|
I checked in the DB and the values for these are
values in decimal "Ears" = 18 "Wrists" = 1536 "Fingers" = 98304 Left Finger,2^16=65535 Right Finger,2^15=32768 So I added 65535+32768=98304, and thus all "ring" items are L/R finger by default. So unless you need a left ring vs. a right ring, I would have to rewrite this. The reason I did this is because in the database searching for %ring would return 98304 for all ring items, so I designed it based on that logic. GeorgeS |
a minor update
NPC and Loot Editor
08.21.11 - Made grid editing more robust and you can now create new grids from empty zones. Minor features added throughout program If you have a request for a feature then now's your chance to have it added! GeorgeS |
Hiya George!
I do have small request, but not NPC editor related. This is regards of Tradeskill editor I was thinking if some sort of "Copy recepie" button could be implemented. Which would take ENTIRE existing recepie and make a copy of it. This would come handy when you need to make few dozens near identical recepies with lots of components which diffir by only a single component. With a COPY ability, I would make bunch of copies and then only edit where nessesary Another thing there- the section where you puting in custom container could use some work - atm I belive you need to type name of container, i much rather enter item ID# or even better have some sort of search/list window pop up. Thanks =) |
Geroge, sudden of nothing I am getting "isbot now requred" error when trying to run NPC-loot editor
But my db has been updated a WHILE ago and allready has isbot, botinventory and botleader things. Whats more important - I have allready this version before (of October 3rd)wihout any errors, so I am not sure where they coming from I have donwloaded Oct 28 version and still geting same error |
Did you run the register_ocx.bat again? You probably installed something else that broke your previous version's registration or something.
|
Actually someone else had the same error. I think it's the query which checks for isbot field thay breaks the program on some computers. I have to dig further and find another way of running the query. Just give me a day to think it out..
/edit/ NPC and Loot Editor 08.21.13 - Changed the query that game players error that mentioned 'isbot' field is missing, despite having it in the table Please download this version and see if it still gives that error. GeorgeS |
Hey George,
I downloaded the latest version and I'm still getting that error. I updated my DB with the 2 tables and isbot column. All of your other editors that come with it work properly. Anyone else getting this? |
I'll remove the check - for some reason it does not work on all computers.
I think almost everyone uses bots now, so I'll use that as the default schema. Look for an updated version later *edit Updated the program and it should no longer crash/give error there. GeorgeS |
Thanks, that worked. Great job on the additions btw. Going to try out the npc editor now!
|
GeorgeS,
One of the latest changes from KLS removed the timeleft field in the spawn2 table. This causes the spawn editor to break when it tries to load because it can't find that field anymore. KLS moved spawn timers to their own table now. Here is the required SQL for what she changed. Required SQL: Code:
DROP TABLE IF EXISTS `respawn_times`; |
yeah im having trouble with it, i click on a mob and go to create lootdrop and it says please select a mob, i go to create loottable and it crashes, i can edit mobs easily but the loot table part isnt working, i gotta do loot straight in the db for now /cry
|
Thanks for the tip - I'll have a fix wed. asap
GeorgeS |
As promised,
NPC and Loot Editor 08.21.15 - Removed 'timeleft' field from spawn2 as required by the emu source. Errors are likely if you have not updated your database schema Derekj54 - not sure about the error. No one else has this as a reported issue. The loot code is same since several years ago. Hope it fixes things. GeorgeS |
its still doing it, i get a error: 94, invalid use of null. it happens when i try to create a table or if i use the repair loot tables option.
|
Your error has to do with a null being in a table where it should not exist. You have to find this problem with a table editor. My program works fine.
GeorgeS |
Roambox editing is here!
Modified the spawngroup editor in the npc&loot program so that roambox data are visible and editable. If you have features you want in then let me know. NPC and Loot Editor 08.21.18 - roamboxes supported GeorgeS |
I keep getting Run time error 9 subscript out of range. when I try to create an NPC
|
Can you go thru exactly what type of npc and what class/race etc.. that gave that error?
-edit I found the problem - some newer schemas use >64 fields in the npc_types table and the array would crash it. Fixed in the newest version Thanks GeorgeS |
All times are GMT -4. The time now is 01:16 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.