Page 1 of 1

Multis problem

Posted: Sat Mar 03, 2007 9:12 am
by damadelfalco
Hi to all,
sorry for my bad english.
I've a problem with multis file.
When the POL server starts, an error block the execution of the process.
The error is:

Code: Select all

data/items.txt:..........Unable to create item: objtype=0x23, serial=0x6adbf909
Server Shutdown: reading data
Leftover objects in objecthash: 10334
Leaking a copy of the objecthash in order to avoid a crash.
Execution aborted due to: Item::create failed!
Ok the file 0x23 is a multis, that I create importing the build from sphere using ORB Template patching a file .mul.
Then I generate this file .txt extracting with a MUL patcher and adjusting the script.
And I split this generate code in two file named "itemdesc.cfg" and "multis.cfg" located in POL directories.
The error appears in every multis.
There is someone that can help me?
Thank's.

Posted: Sat Mar 03, 2007 3:38 pm
by CWO
This is not a multi its loading, this is an item.

multis.txt contains all of your multis.

items.txt contains items in the world that aren't on a character, NPC or in a storage location.

Posted: Sun Mar 04, 2007 2:36 am
by damadelfalco
Thank's but the problem appears only when I insert the two file "itemdesc.cfg" and "multis.cfg" with the new code of the multis.
And 0x23 is a little house.
If I leave the original file, POL starts normally.

Posted: Sun Mar 04, 2007 3:08 am
by Barbeirosa
0x23 is not a house; it's an item. Your problem is in your items.

All houses have IDs above 0x4000 - so house #0x23 is actually 0x4023... meaning the error regarding 0x23 is about a normal item.

Posted: Sun Mar 04, 2007 3:45 am
by damadelfalco
Yes of course I know the code of the house are 0x4023.
In my file itemdesc.cfg I've this definition:

Code: Select all

House 0x23
{
	// Main Stuff
	Name		House0x23     
        Graphic 0x4023

	// Multi Info
	MultiID		0x23
}
I search the serial into the items.txt and I find it.

I've a question.
When i create a new multis house must I to recompile the files "itemdesc.cfg" and "multis.cfg" and the files "multi.idx" and "multi.mul"?

Can I use 'starthere.bat' program and select 'a' RealmGen tools and so on...
With this procedure can I fix my problems?

Posted: Sun Mar 04, 2007 5:02 am
by Barbeirosa
Like I said... your problem is that 0x23 is NOT a HOUSE. That's not a proper number for a house.

That definition should be for "House 0x4023"... NOT "House 0x23"

Posted: Sun Mar 04, 2007 5:29 am
by damadelfalco
Ok I understand, I try to arrange the files with the new definition.
Thank's