|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Development::GeorgeS's Tools A forum just for GeorgeS's tools |  
	
	
		
	
	
	| 
			
			 
			
				01-21-2009, 08:09 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Aug 2003 Location: Recycle Bin 
						Posts: 90
					      |  |  
	| 
				 Run-Time error 
 Eq Item ViewerCharacter 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!
   |  
	
		
	
	
	| 
			
			 
			
				01-21-2009, 11:23 AM
			
			
			
		 |  
	| 
		
			|  | The PEQ Dude |  | 
					Join Date: Apr 2003 Location: - 
						Posts: 1,988
					      |  |  
	| 
 It's due to the new items table from 13th Floor I bet. |  
	
		
	
	
	| 
			
			 
			
				01-22-2009, 11:50 AM
			
			
			
		 |  
	| 
		
			
			| Forum Guide |  | 
					Join Date: Sep 2003 Location: California 
						Posts: 1,474
					      |  |  
	| 
 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
 |  
	
		
	
	
	| 
			
			 
			
				01-22-2009, 02:41 PM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Aug 2008 Location: NorthEast 
						Posts: 115
					      |  |  
	| 
 Greets,
 Yup I'm getting that error as well
 
 Thanks for looking into this so quickly GeorgeS
 
 Laxa
 |  
	
		
	
	
	| 
			
			 
			
				01-22-2009, 11:39 PM
			
			
			
		 |  
	| 
		
			
			| Forum Guide |  | 
					Join Date: Sep 2003 Location: California 
						Posts: 1,474
					      |  |  
	| 
 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
 			 Last edited by GeorgeS; 01-23-2009 at 07:46 AM..
 |  
	
		
	
	
	| 
			
			 
			
				01-23-2009, 06:41 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Aug 2003 Location: Recycle Bin 
						Posts: 90
					      |  |  
	| 
 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!
   |  
	
		
	
	
	| 
			
			 
			
				01-25-2009, 07:59 AM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Aug 2008 Location: NorthEast 
						Posts: 115
					      |  |  
	| 
 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
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2009, 04:07 PM
			
			
			
		 |  
	| 
		
			|  | The PEQ Dude |  | 
					Join Date: Apr 2003 Location: - 
						Posts: 1,988
					      |  |  
	| 
 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?
 |  
	
		
	
	
	| 
			
			 
			
				01-25-2009, 04:20 PM
			
			
			
		 |  
	| 
		
			|  | Developer |  | 
					Join Date: Aug 2006 Location: USA 
						Posts: 5,946
					      |  |  
	| 
 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. |  
	
		
	
	
	| 
			
			 
			
				01-25-2009, 04:26 PM
			
			
			
		 |  
	| 
		
			|  | The PEQ Dude |  | 
					Join Date: Apr 2003 Location: - 
						Posts: 1,988
					      |  |  
	| 
 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. |  
	
		
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is Off 
 |  |  |  All times are GMT -4. The time now is 01:56 PM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |