Backpack problem????

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
User avatar
ELSoft
Journeyman Poster
Posts: 61
Joined: Sun Jun 18, 2006 7:45 pm

Backpack problem????

Post by ELSoft » Mon Dec 10, 2007 7:51 am

Error:

Code: Select all

Reading data files:
checkpoint: reading account data
  data/accounts.txt: 2 elements in 16 ms.
checkpoint: reading data
  data/pol.txt: 1 elements in 0 ms.
  data/objects.txt: 0 elements in 0 ms.
  data/pcs.txt:Item 0x6adbb1b8 is supposed to be equipped on Character 0x1, but is not 'equippable' on that character.
Tried to put it in the character's backpack, but there isn't one.  That's naughty...
Server Shutdown: reading data
Leftover objects in objecthash: 2
Leaking a copy of the objecthash in order to avoid a crash.
Execution aborted due to: Data file integrity error
pcs.txt:

Code: Select all

Character
{
	Account	admin
	CharIdx	0
	Name	Admin
	Serial	0x1
	ObjType	0x190
	Graphic	0x3db
	Color	0x8026
	X	1323
	Y	1624
	Z	55
	Facing	6
	Revision	0
	Realm	britannia
	CmdLevel	Dev
	TrueColor	0x8026
	TrueObjtype	0x190
	Gender	0
	Strength	100
	Intelligence	100
	Dexterity	100
	Hits	100
	Mana	100
	Stamina	100
	Privs	clotheany dblclickany hearghosts invul losany moveany seeghosts seehidden seeinvisitems
	Settings	clotheany dblclickany hearghosts invul losany seeghosts seehidden seeinvisitems
	CreatedAt	1
}

Item
{
	Serial	0x6adbb1b8
	ObjType	0x966c
	Graphic	0xe75
	X	5851
	Y	1162
	Z	0
	Revision	0
	Realm	britannia
	Layer	21
	Container	0x1
	DecayAt	25136153
}
What is the problem??
Dark Dungeons Scripter

Harley
Forum Regular
Posts: 314
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Post by Harley » Tue Dec 11, 2007 2:44 pm

Try see pcsqeuip.txt or items.txt(I don't remember) & find 0x6adbb1b8 this object and destroy it!

User avatar
ELSoft
Journeyman Poster
Posts: 61
Joined: Sun Jun 18, 2006 7:45 pm

Post by ELSoft » Tue Dec 11, 2007 7:44 pm

I search in all other .txt from data but i don't find 0x6adbb1b8. I have the original distro 097 from svn.
Dark Dungeons Scripter

Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce » Wed Dec 12, 2007 5:15 am

You've written that item already in your first post :D
It's inside the pcs.txt because it is the backpack of your admin char. For some reason it could not be equipped. Such items are normally put by pol to the owners backpack. Which is not possible because it is the backpack :grin:

Check objtype 0x966c or for a fast solution create a new admin char.

Code: Select all

Item 
{ 
   Serial   0x6adbb1b8 
   ObjType   0x966c 
   Graphic   0xe75 
   X   5851 
   Y   1162 
   Z   0 
   Revision   0 
   Realm   britannia 
   Layer   21 
   Container   0x1 
   DecayAt   25136153 
} 

User avatar
ELSoft
Journeyman Poster
Posts: 61
Joined: Sun Jun 18, 2006 7:45 pm

Post by ELSoft » Wed Dec 12, 2007 6:43 am

i think that i have a problem when an item is tried to equip.

i create a new admin character erasing pcs.txt but when i creating the character in the last step ( login ) it's happen this:

Code: Select all

Account admin logged in from 127.0.0.1
[12/12 11:38:17] Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjType 0xe75), .\charactr.cpp, line 1042
Forcing stack backtrace.
Unhandled Exception! Writing Minidump file. 
This file with explanation and last lines from log files should be given to the development team.
Saved dump file to 'POL097-2007-08-23 RC5 Coregina-20071212113727-0.dmp'
Last Script: pkg/systems/attributes/hooks/vitalInit.ecl PC: 76
Client#2: Exception in message handler 0x00: Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjType 0xe75), .\charactr.cpp, line 1042
0000: 00 ed ed ed ed ff ff ff  ff 00 41 64 6d 69 6e 20   ........ ..Admin 
0010: 53 69 6d 75 73 00 00 00  00 00 00 00 00 00 00 00   Simus... ........
0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 1f 00 00   ........ ........
0030: 00 01 00 00 01 57 00 00  00 00 00 00 00 00 00 00   .....W.. ........
0040: 00 00 00 00 00 00 00 3c  0a 0a 01 32 0f 32 00 00   .......< ...2.2..
0050: 03 ea 00 00 04 4e 00 00  04 4e 01 05 00 00 00 00   .....N.. .N......
0060: c0 a8 01 04 01 1e 00 ef                            ........ ........
Client#2: Exception in i/o thread: Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjType 0xe75), .\charactr.cpp, line 1042! (checkpoint=4)
Client#2 (127.0.0.1): disconnected (account admin)
[12/12 11:38:32] sysload=6 (1) cputime=4343750
And 0xe75 is

Code: Select all

Container 0xE75
{
	//MainStuff
	Name		BackPackCore
	Name		BackPack2
	Desc		back pack

	//ContainerInfo
	Gump		0x3C
	MinX		44
	MaxX		143
	MinY		65
	MaxY		140
	MaxItems	5000
	MaxWeight	0

	//Booleans
	Lockable	0
	Movable		1
	RequiresAttention	0

	//Scripts
	Script		container/use
	CanInsertScript	container/canInsert
	CanRemoveScript	container/canRemove
	OnInsertScript	container/onInsert
	OnRemoveScript	container/onRemove
	DestroyScript	container/canDestroy

	//Custom Values
	CanDye		1
} 
?????????????????????
Attachments
POL097-2007-08-23 RC5 Coregina-20071212113727-0.dmp
(30.52 KiB) Downloaded 100 times
Dark Dungeons Scripter

Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce » Wed Dec 12, 2007 7:12 am

Did you uoconvert your tiledata?
Take a look into the tiles.cfg inside the config folder.

There should be something like this inside:

Code: Select all

tile 0xe75
{
    Desc backpack
    UoFlags 0x00604002
    Layer 21
    Height 1
    Weight 3
    Movable 1
    Equippable 1
    DescPrependA 1
}
If not or if you haven't any tiles.cfg you should uoconvert tiles first.

User avatar
ELSoft
Journeyman Poster
Posts: 61
Joined: Sun Jun 18, 2006 7:45 pm

Post by ELSoft » Wed Dec 12, 2007 9:57 am

thank!!
Dark Dungeons Scripter

Locked