Need Help

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Need Help

Post by Zaksmeer »

Ok, I can get my POL stuff working pretty good, but there is one problem, I get this error and can't figure it out------

Couldn't find an Armor Zone in armrzone.cfg for layer 0
Error in ObjType 0x13cd. Package armor.
Server Shutdown: load_itemdesc
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Need Help

Post by Yukiko »

Zaksmeer,
It sounds like there's a problem with the definition of objtype 0x13cd. That's the graphic for leather arms. Look in the itemdesc.cfg file where it's defined. It should be in ...\pkg\items\armor\config\itemdesc.cfg

When armour is defined there must be a Coverage member. In this case the entry should be:

Code: Select all

Coverage Arms
I just checked my copy of the "Distro" from the SVN repository and that entry is NOT present in the item description for objtype 0x13cd.
So I assume, since you retrieved your copy of the "Distro" from the SVN your file is missing that entry as well.

Evidently the "Distro" needs more scrutiny and debugging.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

thanks. It wasnt there. and I was trying to fix the problem but in the wrong area.

BTW --I have trying to build a shard with RUO, and man there was a learning curve there. And I am experiencing that same learning curve now. Thanks all for putting up with me.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Had the same error pop up for a different piece of armor, now I am checking the whole file for "missing" coverage.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

if I wanted to add properties for custom armor, is that the file i would modify for it?
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Warning! pkg/items/clothing/cloth/onDestroy.ecl does not exist!
Couldn't find an Armor Zone in armrzone.cfg for layer 0
Error in ObjType 0x7597. Package elementals.
Server Shutdown: load_itemdesc

Where do I find this file at?
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Need Help

Post by Yukiko »

Look in itemdesc.cfg in ...\pkg\items\elementals\config

Note the missing Coverage entry for objtype 0x7597

Code: Select all

Armor 0x7597
{
	//Main Stuff
	Name		ElementalLeatherSleeves
	Desc		Leather Sleeves
 	Graphic		0x13CD

	//Equipment Info
	MaxHP		35
	StrRequired	100

	//Armor Info
	AR		40

	//Scripts
	DestroyScript	:equipment:onDestroy
}

These armorzone errors are all occurring due to missing Coverage properties. You will just have to locate the packages and edit the itemdesc.cfg files accordingly.

You are not having a "learning curve" issue here with POL. What you are experiencing is an issue with a faulty set of "Distro" scripts. It's not your fault that you cannot get a shard up and running using the "Distro". You should be able to download the "Distro" files from the SVN, drop in the POL Core files, edit the standard cfg files (pol.cfg, ecompile.cfg etc), compile the "Distro" and run pol.exe and have a working shard. Unfortunately, for whatever reason the "Distro" has been left twisting in the wind. The errors you are encountering shouldn't have been present in the "Distro" because we were told that the current scriptset was taken from a working shard.

I'll offer as much help as I can but I don't have a lot of time to log in each day.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Warning! pkg/items/clothing/cloth/onDestroy.ecl does not exist!

How do I fix this?
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Never mind, I am noticing the "cues" as to where to go and fix these problems.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

now it stops when I get to the "Creating Character" screen.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

and I get these error messages-------------

Exception caught while loading script pkg/items/clothing/cloth/onDestroy.ecl: Un
able to open pkg/items/clothing/cloth/onDestroy.ecl for reading.
Unable to read script 'pkg/items/clothing/cloth/onDestroy.ecl'
Error reading script pkg/items/clothing/cloth/onDestroy.ecl

Exception caught while loading script pkg/items/weapons/onDestroy.ecl: Unable to
open pkg/items/weapons/onDestroy.ecl for reading.
Unable to read script 'pkg/items/weapons/onDestroy.ecl'
Error reading script pkg/items/weapons/onDestroy.ecl
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Need Help

Post by RusseL »

Zaksmeer wrote:now it stops when I get to the "Creating Character" screen.
Show me your first entry from config/startloc.cfg
It must include Cliloc parameter for new clients.

Code: Select all

StartingLocation
{
	City		Yew
	Description	Town Center
	Coordinate	1419,1692,0
	MapID		0
	Cliloc		0
}
I have 0 everywhere, dunno if it's right solution, but it works:)
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Here is the entire file------------


# $Id: startloc.cfg 869 2006-10-05 03:21:10Z austinheilman $
#
# Purpose:
# Defines the starting locations for new clients.
# They *must* be in this order to match the character creation screens in the UO client:
# Yew, Minoc, Britain, Moonglow, Trinsic, Magincia, Jhelom, Skara Brae, Vesper
#
# Structure:
# StartingLocation
# {
# City(string CityName)
# Description(string Description)
# Coordinate(int x),(int y),(int z)
# }
#
# Explanation:
# CityName and Description are sent to the client! No larger than 30 characters please.
# x,y,z is where the character will be placed after created.
# You could set all the locations to the same coordinate to force players to start in one town.


StartingLocation Yew
{
City Yew
Description Town Center
Coordinate 5227,1182,0
}

StartingLocation Minoc
{
City Minoc
Description East Bridge
Coordinate 5227,1182,0
}

StartingLocation Britain //Main Town
{
City Britain
Description Castle Britania
Coordinate 5227,1182,0
}


StartingLocation Moonglow
{
City Moonglow
Description Docks
Coordinate 5227,1182,0
}

StartingLocation Trinsic
{
City Trinsic
Description West Gate
Coordinate 5227,1182,0
}

StartingLocation Magincia
{
City Magincia
Description Docks
Coordinate 5227,1182,0
}

StartingLocation Jhelom
{
City Jhelom
Description Docks
Coordinate 5227,1182,0
}

StartingLocation Skara Brae
{
City Skara Brae
Description Docks
Coordinate 5227,1182,0
}

StartingLocation Vesper
{
City Vesper
Description Docks
Coordinate 5227,1182,0
}
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

what uo client works better with POL?
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Need Help

Post by RusseL »

Zaksmeer wrote:Here is the entire file------------
Add everywhere Cliloc 0
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Need Help

Post by Yukiko »

Zaksmeer wrote:and I get these error messages-------------

Exception caught while loading script pkg/items/clothing/cloth/onDestroy.ecl: Un
able to open pkg/items/clothing/cloth/onDestroy.ecl for reading.
Unable to read script 'pkg/items/clothing/cloth/onDestroy.ecl'
Error reading script pkg/items/clothing/cloth/onDestroy.ecl

Exception caught while loading script pkg/items/weapons/onDestroy.ecl: Unable to
open pkg/items/weapons/onDestroy.ecl for reading.
Unable to read script 'pkg/items/weapons/onDestroy.ecl'
Error reading script pkg/items/weapons/onDestroy.ecl
The error you are getting is telling you that the server cannot find a script that is associated with an item defined in an itemdesc file. There are various script types that can be assigned to items. One of them is an onDestroy script. This script is executed when the item is destroyed. It can be used for removing a blessing or curse from a player or mobile that an item may have invoked or causing some other event to happen when an item is destroyed. Basically, if you want something to happen when an item is destroyed then that script is what you need. Not all items have an onDestroy script but if one does then the server needs to load it on start-up.

So, I have to ask you got your "Distro" scripts? Did you get them from the SVN or did you download them from the ZIP file on the website? The reason I ask is because in the SVN version the onDestroy script for weapons and clothing is in ..\pkg\items\equipment
Sample entry from ...\pkg\items\clothing\config\itemdesc.cfg

Code: Select all

Armor 0x170B
{
	//Main Stuff
	Name		leatherboots
	Desc		leather boots
 
	Desc		Boots
	VendorBuysFor	21
	VendorSellsFor	43

	//Equipment Info
	MaxHP		50

	//Armor Info
	AR		1
	Coverage	Legs/feet

	//Scripts
	Script      	:equipment:useItem
	MethodScript	cloth/method
	DestroyScript	:equipment:onDestroy

	//Custom Values
	CanDye		1
}
Note the DestryScript entry points to :equipment:onDestroy.

The most up to date set of "Distro" scripts are located on the SVN server and not in the ZIP file on the POL website.

Again, this is not your fault. Whoever has admin rights on the polserver.com site should have created an up to date ZIP file.

This post explains how to get a copy of the "Distro" SVN repository on your system.
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Need Help

Post by Tomi »

That problem is not due to missing Cliloc / MapID entries in startlocs.cfg because pol uses default values ( mapid Felucca and cliloc Yew city ) if missing.

Seems more like that error is either because onDestroy scripts for clothes and weapons are missing or have not been compiled

Take a look if pkg/items/weapons/onDestroy.src and pkg/items/clothing/cloth/onDestroy.src exists, if yes recompile your scripts

Then the next questions, what client version are you using, what build of Pol are you using ? if from SVN what revision ?
what uo client works better with POL?
All client versions up to 7.0.23.x works ( iirc the .uop change was added with version 7.0.24.x )
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

ok, I downloaded the distro files from the svn and not from the website (i think that sounds right).

I am getting this error now------------


Warning! objtype 0xe20: ObjtypeName 'bloodybandage' is the same as objtype 0xe20

Error: Objtype 0xe20 is already defined in pkg/items/bandage/itemdesc.cfg
Error reading configuration file pkg/items/bloodybandage/config/itemdesc.cfg:
ObjType 0xe20 defined more than once.
Element: Item 0x0e20, found on line 1
Server Shutdown: load_itemdesc
Execution aborted due to: Configuration file error



I have checked out the itemdes.cfg file and have no clue what this warning is for.
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Need Help

Post by Tomi »

You have the objtype 0xe20 defined twice, and the error tell you in which itemdescs

Item 0xXXXX <---- objtype
{

Either you have to change 1 of those items to have a different objtype, or just delete the entry of it.


Read from the documentation more about this http://docs.polserver.com/pol099/config ... emdesc.cfg
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

even tho I downloaded this from the svn, still missing the OnDestroy.ecl file.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Almost done here folks. I am getting this error.

Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjTyp
e 0x203c), .\mobile\charactr.cpp, line 1581
Forcing stack backtrace.
Client#9: Exception in message handler 0x00: Assertion Failed: equippable( item
) (It is impossible to equip Item with ObjType 0x203c), .\mobile\charactr.cpp, l
ine 1581
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Need Help

Post by Yukiko »

Zaksmeer wrote:Almost done here folks. I am getting this error.

Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjTyp
e 0x203c), .\mobile\charactr.cpp, line 1581
Forcing stack backtrace.
Client#9: Exception in message handler 0x00: Assertion Failed: equippable( item
) (It is impossible to equip Item with ObjType 0x203c), .\mobile\charactr.cpp, l
ine 1581
I can't help you with this one. I looked up that graphic/objtype and it is supposed to be Long Hair which should be equippable. Hopefully Tomi or someone smarter than me can help you.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Thats why I am here asking questions. Totally newbie at this.

Where do I add the custom scripts that I find in the forums? Which folder or folders?
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Need Help

Post by Yukiko »

The first thing is to get your shard to compile and run. Once that's done then you should log-in and experiment with the scripts that are already in the "Distro". You might find that there's plenty there already and you may not need any new scripts for a while. I don't use the current "Distro" but I believe that Edwards included a lot of custom things in it already.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Need Help

Post by Zaksmeer »

Shard compiles, runs, I just can't get in. Freezes at "Creating Character" screen. See prior posting of problem, about charactr.cpp.

Other than that, I made quite a bit of headway.
Post Reply