Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::GeorgeS's Tools

Development::GeorgeS's Tools A forum just for GeorgeS's tools

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2009, 08:09 AM
WillowyLady
Sarnak
 
Join Date: Aug 2003
Location: Recycle Bin
Posts: 90
Default Run-Time error

Eq Item Viewer
Character Inventory Manager v14.3.2

When attempting to edit items (using New Edit), included in latest update Rev279, I am encountering a run-time error.

run-time 458

"Variable uses an Automation type not supported in Visual Basic"
__________________
I'll be back!

Reply With Quote
  #2  
Old 01-21-2009, 11:23 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

It's due to the new items table from 13th Floor I bet.
Reply With Quote
  #3  
Old 01-22-2009, 11:50 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

I think that's correct. I've been working to find these errors in other tools, but I'll look into this for eqitems and Rev279

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


http://www.georgestools.chrsschb.com//
Reply With Quote
  #4  
Old 01-22-2009, 02:41 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default

Greets,

Yup I'm getting that error as well

Thanks for looking into this so quickly GeorgeS

Laxa
Reply With Quote
  #5  
Old 01-22-2009, 11:39 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

I Dl v.279 and it won't load the items table in - says an error like

(tried with mysql.exe and mysql-front)

data truncated for column 'augslot1unk' at row 1
`augslot1type` tinyint(3) unsigned NOT NULL default '0',
sql that breaks this is -
INSERT INTO items VALUES (1001,0,'Cloth Cap',0,2,0,0,0,0,'0',0,0,0,0,7,'' ....
should read
INSERT INTO items VALUES (1001,0,'Cloth Cap',0,2,0,0,0,0,'0',0,0,0,0,7,'0' ....

then it works. A "Null" is not allowed in this field.


no data is therefore loaded. How did you load this file in?

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


http://www.georgestools.chrsschb.com//

Last edited by GeorgeS; 01-23-2009 at 07:46 AM..
Reply With Quote
  #6  
Old 01-23-2009, 06:41 AM
WillowyLady
Sarnak
 
Join Date: Aug 2003
Location: Recycle Bin
Posts: 90
Default

Ahh, I built new database as follows

peq_db
:pserver:anonymous@peq.cvs.sourceforge.net:/cvsroot/peq

peq_quests
:pserver:anonymous@eqemuquests.cvs.sourceforge.net :/cvsroot/eqemuquests

cd c:\peq_db

mysql -u root -p

\u peq

source peqdb_1129Rev279.sql

I think this just creates a new database, so may not be suitable for adding to an existing db, as it may overwrite / delete / alter existing data.

Looks like the error you are experiancing is generated when trying to load items table to an existing db.

Sadly, I am somewhat new to this and the answer as to why no data is loaded is beyond my knowledge :(

However, I am sure there are many helpful gurus here that can come up with a reason.
__________________
I'll be back!

Reply With Quote
  #7  
Old 01-25-2009, 07:59 AM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default

Hi there,

I also used CVS to get the update, and I did a drop system before source the database back in.

I think I understand what your saying about the value problem.

Is there a query we can run to fix this table?

Thanks
Reply With Quote
  #8  
Old 01-25-2009, 04:07 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

That's an odd problem, as the dump comes directly from TGC (which is working, obviously) and sourcing it here gave me no trouble.

But, I can understand why it is occurring. 'augslot1unk' was renamed to 'augslot1visible' and that's where the trouble is. However, when the dump was created that column was populated with all 0s, not NULL. I am wondering why it wants to use NULL for you...

Anyway, I am putting up a new SVN dump with fully populated 'augslot*unk' columns now. Without the unk column being populated, Augments didn't work in-game. Later on, though I plan on changing the column reference in the EQEmu source so we can drop the unk columns, since they are no longer unknown :P

The item schema may be unstable for a bit, since this table is a fresh dump from 13th Floor. Might us well clean it up now, you know?
Reply With Quote
  #9  
Old 01-25-2009, 04:20 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

That sounds good Cavedude. It may actually be helpful for the SoF stuff I am working on as well. If you have to do any code changes for the new field changes, would you mind submitting sql to change the fields for existing tables? I imagine I could figure it out, but I think most custom servers would need the sql instead of sourcing their items table from PEQ DB.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #10  
Old 01-25-2009, 04:26 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Of course, I keep a log of all item changes so the next time 13th Floor is updated, I don't have to reinvent the wheel.
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 10:32 AM.


 

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