EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::GeorgeS's Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=674)
-   -   GeorgeS' Tools - Perfect (https://www.eqemulator.org/forums/showthread.php?t=26111)

swish 09-07-2008 12:01 PM

GeorgeS' Tools - Perfect
 
I just downloaded today some of you're tools and I must say, they seem perfect so far!

I just have a problem with the npc/loot editor. It gives "Run error '3265': Item cannot be found in the correction corresponding to the requested name or ordinal." when I click the 'Search' button.
When I click on the tab 'Tools' and go to 'All Loot Dropped IN ZONE', it has no problem loading the loots.

I was also wondering if there is a way to create and manipulate factions aswell.

In any way, all other tools are working great and this is probably just a minor issue I have. These tools are wonderful and essential. Thanks!

GeorgeS 09-07-2008 02:20 PM

I think the problem comes from if you have a bot field "isbot" or not.

I added a check in the program for bots.

Code:

CREATE TABLE `botinventory` (
  `npctypeid` int(11) NOT NULL default '0',
  `botslotid` int(11) default NULL,
  `itemid` int(11) default NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE `botleader` (
  `botid` int(11) NOT NULL default '0',
  `leaderid` int(11) default NULL,
  PRIMARY KEY  (`botid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

ALTER TABLE npc_types add `isbot` tinyint(4) NOT NULL;

GeorgeS

swish 09-07-2008 10:03 PM

Worked like magic.

Thanks!


All times are GMT -4. The time now is 10:15 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.