Problem with custom map

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Problem with custom map

Post by Maki »

Im having some problem with a custom map.. Running on pol95 I have no trouble but once I use 97 or 99 I cant move, like it havent registered that there is tiles that I can move on.

I used realmgen to create Brittania with the map0, staidx and statics from my custom map so there should be a problem right?

Please help
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

make sure you configure uoconvert to not use .diff files

Code: Select all

rem Mondain's Legacy use "width=7168" here
uoconvert map     realm=britannia mapid=0 usedif=1 width=6144 height=4096
uoconvert statics realm=britannia
uoconvert maptile realm=britannia
you see the usedif=1 change it in your RealmGen.bat and run uoconvert again.
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

Thanks i got it working!


Lets see if you know this one..

Using uofiddler I imported a house from a wsc file into an empty slot in the multis section.

Slot 24(0x18) I saved it into the multi.idx multi.mul and placed them in my uo folder and in the pol folder.

How do i get this in game? or get it as a deed.??

Please, im new to this...
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

edit uoconvert.cfg and add there the new house.
run UOConvert for a new multi.cfg
edit multi itemdesc ( add there an entry for this multi )
if you want it as a deed too, look for housedeed itemdesc and add there ( first you need to add it to the multi itemdesc )

after that use the createmulti command or create some deed to create it
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

I added the house to the uoconvert and used uoconvert..

Now in the multis.cfg i put it like this?

House 0x18
{
Graphic 0x4018
static 0x0009 -4 -4 0 // wooden post
static 0x0007 -3 -4 0 // wooden wall
static 0x0007 -2 -4 0 // wooden wall
static 0x0007 -1 -4 0 // wooden wall
static 0x0007 1 -4 0 // wooden wall
static 0x0007 2 -4 0 // wooden wall
static 0x0007 3 -4 0 // wooden wall
static 0x0007 4 -4 0 // wooden wall
static 0x000e 0 -4 0 // window
static 0x0008 -4 -3 0 // wooden wall
static 0x0008 -4 -2 0 // wooden wall
static 0x0008 -4 -1 0 // wooden wall
static 0x0008 -4 1 0 // wooden wall
static 0x0008 -4 2 0 // wooden wall
static 0x0008 -4 3 0 // wooden wall
static 0x0008 -4 4 0 // wooden wall
static 0x000f -4 0 0 // window
static 0x0b40 0 -2 0 // counter
static 0x0b40 0 -1 0 // counter
static 0x0b3e 1 -1 0 // counter
static 0x0b3e 1 -2 0 // counter
static 0x0b40 2 -1 0 // counter
static 0x0b40 2 -2 0 // counter
static 0x05a9 -3 -3 20 // thatch roof
static 0x05a9 -2 -3 20 // thatch roof
static 0x05a9 -1 -3 20 // thatch roof
static 0x05a9 0 -3 20 // thatch roof
static 0x05a9 1 -3 20 // thatch roof
static 0x05a9 2 -3 20 // thatch roof
static 0x05a9 3 -3 20 // thatch roof
static 0x05a9 4 -3 20 // thatch roof
static 0x0008 4 -3 0 // wooden wall
static 0x05a9 -3 -2 23 // thatch roof
static 0x05a9 -2 -2 23 // thatch roof
static 0x05a9 -1 -2 23 // thatch roof
static 0x05a9 0 -2 23 // thatch roof
static 0x05a9 1 -2 23 // thatch roof
static 0x05a9 2 -2 23 // thatch roof
static 0x05a9 3 -2 23 // thatch roof
static 0x0008 4 -2 0 // wooden wall
static 0x0019 4 -2 20 // wooden wall
static 0x05a9 4 -2 23 // thatch roof
static 0x05a9 -3 -1 26 // thatch roof
static 0x05a9 -2 -1 26 // thatch roof
static 0x05a9 -1 -1 26 // thatch roof
static 0x05a9 0 -1 26 // thatch roof
static 0x05a9 1 -1 26 // thatch roof
static 0x05a9 2 -1 26 // thatch roof
static 0x05a9 3 -1 26 // thatch roof
static 0x0019 4 -1 20 // wooden wall
static 0x0019 4 -1 23 // wooden wall
static 0x05a9 4 -1 26 // thatch roof
static 0x05a9 -3 0 29 // thatch roof
static 0x05a9 -2 0 29 // thatch roof
static 0x05a9 -1 0 29 // thatch roof
static 0x05a9 0 0 29 // thatch roof
static 0x05a9 1 0 29 // thatch roof
static 0x05a9 2 0 29 // thatch roof
static 0x05a9 3 0 29 // thatch roof
static 0x0019 4 0 20 // wooden wall
static 0x0019 4 0 23 // wooden wall
static 0x0019 4 0 26 // wooden wall
static 0x05a9 4 0 29 // thatch roof
static 0x05a8 -3 1 32 // thatch roof
static 0x05a8 -2 1 32 // thatch roof
static 0x05a8 -1 1 32 // thatch roof
static 0x05a8 0 1 32 // thatch roof
static 0x05a8 1 1 32 // thatch roof
static 0x05a8 2 1 32 // thatch roof
static 0x05a8 3 1 32 // thatch roof
static 0x0019 4 1 20 // wooden wall
static 0x0019 4 1 23 // wooden wall
static 0x0019 4 1 26 // wooden wall
static 0x0019 4 1 29 // wooden wall
static 0x05a8 4 1 32 // thatch roof
static 0x05a7 -3 2 29 // thatch roof
static 0x05a7 -2 2 29 // thatch roof
static 0x05a7 -1 2 29 // thatch roof
static 0x05a7 0 2 29 // thatch roof
static 0x05a7 1 2 29 // thatch roof
static 0x05a7 2 2 29 // thatch roof
static 0x05a7 3 2 29 // thatch roof
static 0x0008 4 2 0 // wooden wall
static 0x0019 4 2 20 // wooden wall
static 0x0019 4 2 23 // wooden wall
static 0x0019 4 2 26 // wooden wall
static 0x05a7 4 2 29 // thatch roof
static 0x05a7 -3 3 26 // thatch roof
static 0x05a7 -2 3 26 // thatch roof
static 0x05a7 -1 3 26 // thatch roof
static 0x05a7 0 3 26 // thatch roof
static 0x05a7 1 3 26 // thatch roof
static 0x05a7 2 3 26 // thatch roof
static 0x05a7 3 3 26 // thatch roof
static 0x0008 4 3 0 // wooden wall
static 0x0019 4 3 20 // wooden wall
static 0x0019 4 3 23 // wooden wall
static 0x05a7 4 3 26 // thatch roof
static 0x0007 -3 4 0 // wooden wall
static 0x05a7 -3 4 23 // thatch roof
static 0x0007 -2 4 0 // wooden wall
static 0x05a7 -2 4 23 // thatch roof
static 0x0007 -1 4 0 // wooden wall
static 0x05a7 -1 4 23 // thatch roof
static 0x05a7 0 4 23 // thatch roof
static 0x0007 1 4 0 // wooden wall
static 0x05a7 1 4 23 // thatch roof
static 0x0007 2 4 0 // wooden wall
static 0x05a7 2 4 23 // thatch roof
static 0x0007 3 4 0 // wooden wall
static 0x05a7 3 4 23 // thatch roof
static 0x0006 4 4 0 // wooden wall
static 0x0019 4 4 20 // wooden wall
static 0x05a7 4 4 23 // thatch roof
static 0x000d 4 -1 0 // wooden wall
static 0x000b 4 1 0 // wooden wall
static 0x000e 0 4 0 // window
static 0x11ca -3 -3 0 // flowerpot
static 0x109f 2 2 0 // carpet
static 0x10a0 -1 2 0 // carpet
static 0x109d -1 -2 0 // carpet
static 0x109e 2 -2 0 // carpet
static 0x1099 1 -2 0 // carpet
static 0x1099 0 -2 0 // carpet
static 0x109a 2 -1 0 // carpet
static 0x109a 2 0 0 // carpet
static 0x109a 2 1 0 // carpet
static 0x109b 1 2 0 // carpet
static 0x109b 0 2 0 // carpet
static 0x109c -1 -1 0 // carpet
static 0x109c -1 0 0 // carpet
static 0x109c -1 1 0 // carpet
static 0x10a3 1 1 0 // carpet
static 0x10a3 0 -1 0 // carpet
static 0x10a2 0 1 0 // carpet
static 0x10a2 1 -1 0 // carpet
static 0x10a1 1 0 0 // carpet
static 0x10a1 0 0 0 // carpet
static 0x0a69 -3 0 0 // bed
static 0x0a69 -3 2 0 // bed
static 0x0a6b -2 0 0 // bed
static 0x0a6b -2 2 0 // bed
}



And in the itemdesc.cfg i link the deed to the house like this?

Item 0X44FF
{
Name Covehouse
Desc deed to a new style house
Graphic 0x14F0
Script houseDeed
newbie 1
VendorSellsFor 30
VendorBuysFor 76500
HouseObjType newstylehouse
cprop numlockdowns i86
cprop numsecure i4
}

House 0x4018
{
Name Covehouse
WalkOnScript houseBanning
Graphic 0xFB1
MultiID 0x4018
// OldObjtype 0x4066 this is not used by housedeed.src
}


Could you please finish that so i can see what you did and learn from that?
User avatar
Sadahar
Adept Poster
Posts: 81
Joined: Mon Dec 03, 2007 11:15 am

Re: Problem with custom map

Post by Sadahar »

Im not 100% sure but...
1) name the deed: CoveHouseDeed (for example)
2) Deed's HouseObjType must be House's Objtype (0x4018)

I think that way will work.
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

Running pol again i get the error that Script/housedeed.eccl and script/housebanning.ecl does not exist..

Might be because i inserted the house and the deed in itemdesc.cfg and asks them to run the script Housedeed and Housebanning:

Name Covehousedeed
Desc deed to a new style house
Graphic 0x14F0
Script houseDeed
newbie 1
VendorSellsFor 30
VendorBuysFor 76500
HouseObjType 0x4018
cprop numlockdowns i86
cprop numsecure i4


Name Covehouse
WalkOnScript houseBanning
Graphic 0xFB1
MultiID 0x4018
// OldObjtype 0x4066 this is not used by housedeed.src



WHat script am i supposed to ask it to run?
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

MultiID in itemdesc need to be the same value as the multi has in multis.cfg so in this case 0x18
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

I still get this error


checkpoint: load_itemdesc
Warning! scripts/items/houseBanning.ecl does not ex
Error reading configuration file config/itemdesc.cf
Multi definition not found. Objtype=0x4018
Element: House 0x4018, found on line 369
Server Shutdown: load_itemdesc
Execution aborted due to: Configuration file error



Is there like an irc channel for pol ??
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

something is wrong with your itemdesc entry for your multi

Here is an example of 1 of my multi entries in the itemdesc ( forget the Dimension and BanTile entries they are my own custom stuff )

Code: Select all

House 0x8102
{
	Name		SmallBrickHouse
	Desc		Small Brick House
	Graphic		0x8102
	MultiID		0x102
	Dimension	-4 -4 0 2 2 27
	Bantile		-2 3 4
	Bantile		-1 3 4
	Bantile		0 3 4
}
So make sure you have the Graphic aswell as MultiID given ( graphic need to be > 0x3FFF or if you are using latest 099 betal core it needs to be > pol.cfg.MaxTileID


Yes pol has an irc channel #Pol @ Darkmyst
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

I had pol97 working. And I downloaded core99 and put it in my pol folder.. And unpacked all scripts with Ecomplier.. but now i get this problem.-..


POL.bat (v 1.0) by Austin
=========================
Starting pol.exe
=========================

POL099beta-2010-01-02 (VS.NET 2005)
compiled on Jan 2 2010 13:53:51
Copyright (C) 1993-2009 Eric N. Swanson

Reading Configuration.
checkpoint: reading config/bannedips.cfg
checkpoint: reading servspecopt.cfg
checkpoint: low-fragmentation Heap ...disabled via ServSpecOpt
checkpoint: init default itemdesc defaults
checkpoint: loading POL map file
Loading Realm britannia.
Validating statics files: Completed in 13 ms.
checkpoint: initializing IPC structures
checkpoint: initializing sockets library
hostname is OlofDanielski
address: 192.168.0.138
LAN IP address is 192.168.0.138
checkpoint: loading configuration
checkpoint: load_cmdlevels
checkpoint: read_combat_config
Loading combat.cfg options
checkpoint: read_boat_cfg
checkpoint: read_multidefs
checkpoint: set_watch_vars
checkpoint: load_packages
Loading package in pkg/commands/
Loading package in pkg/expansions/aos/
Loading package in pkg/expansions/aos/skills/chivalry/
Loading package in pkg/expansions/aos/skills/focus/
Loading package in pkg/expansions/aos/skills/necromancy/
Loading package in pkg/items/acid/
Loading package in pkg/items/armor/
Loading package in pkg/items/blood/
Loading package in pkg/items/bulletinboard/
Loading package in pkg/items/clothing/
Loading package in pkg/items/coins/
Loading package in pkg/items/containers/
Loading package in pkg/items/doors/
Loading package in pkg/items/dyes/
Loading package in pkg/items/feces/
Loading package in pkg/items/food/
Loading package in pkg/items/games/
Loading package in pkg/items/gems/
Loading package in pkg/items/graveStones/
Loading package in pkg/items/hair/
Loading package in pkg/items/jewelery/
Loading package in pkg/items/keys/
Loading package in pkg/items/lighting/
Loading package in pkg/items/maps/
Loading package in pkg/items/moongates/
Loading package in pkg/items/mounts/
Loading package in pkg/items/reagents/
Loading package in pkg/items/runeBook/
Loading package in pkg/items/signs/
Loading package in pkg/items/sysbook/
Loading package in pkg/items/teleporters/
Loading package in pkg/items/training/
Loading package in pkg/items/traps/
Loading package in pkg/items/trash/
Loading package in pkg/items/vomit/
Loading package in pkg/items/walkOn/
Loading package in pkg/items/weapons/
Loading package in pkg/mobiles/brainAI/
Loading package in pkg/mobiles/damage/
Loading package in pkg/mobiles/death/
Loading package in pkg/mobiles/merchants/
Loading package in pkg/mobiles/newCharacter/
Loading package in pkg/mobiles/repSys/
Loading package in pkg/mobiles/timedScripts/
Loading package in pkg/multis/boat/
Loading package in pkg/multis/housing/
Loading package in pkg/multis/multicommands/
Loading package in pkg/other/email/
Loading package in pkg/other/guilds/
Loading package in pkg/other/motd/
Loading package in pkg/packetHooks/BFCommand/
Loading package in pkg/packetHooks/CharProfile/
Loading package in pkg/packetHooks/OpenDoor/
Loading package in pkg/packetHooks/PacketConfig/
Loading package in pkg/packetHooks/PartySystem/
Loading package in pkg/packetHooks/SkillLocks/
Loading package in pkg/packetHooks/StatHook/
Loading package in pkg/skills/alchemy/
Loading package in pkg/skills/anatomy/
Loading package in pkg/skills/animallore/
Loading package in pkg/skills/animaltaming/
Loading package in pkg/skills/armsLore/
Loading package in pkg/skills/begging/
Loading package in pkg/skills/blacksmithy/
Loading package in pkg/skills/bowcraft/
Loading package in pkg/skills/camping/
Loading package in pkg/skills/carpentry/
Loading package in pkg/skills/cartography/
Loading package in pkg/skills/cooking/
Loading package in pkg/skills/detecthidden/
Loading package in pkg/skills/evalInt/
Loading package in pkg/skills/healing/
Loading package in pkg/skills/hiding/
Loading package in pkg/skills/inscription/
Loading package in pkg/skills/lumberjacking/
Loading package in pkg/skills/magery/
Loading package in pkg/skills/meditation/
Loading package in pkg/skills/mining/
Loading package in pkg/skills/spiritSpeak/
Loading package in pkg/skills/stealing/
Loading package in pkg/skills/stealth/
Loading package in pkg/skills/tailoring/
Loading package in pkg/skills/tasteidentification/
Loading package in pkg/systems/accounts/
Loading package in pkg/systems/attributes/
Loading package in pkg/systems/combat/
Loading package in pkg/systems/crafting/
Loading package in pkg/systems/decay/
Loading package in pkg/systems/help/
Loading package in pkg/systems/loot/
Loading package in pkg/systems/spawnSystem/
Loading package in pkg/systems/worldSaver/
Loading package in pkg/utils/control/
Loading package in pkg/utils/coords/
Loading package in pkg/utils/datafile/
Loading package in pkg/utils/gumps/
Loading package in pkg/utils/itemUtils/
Loading package in pkg/utils/servmgmt/
Loading package in pkg/utils/timeutils/
checkpoint: load_package_cmdlevels
checkpoint: load_resource_cfg
checkpoint: read_justice_zones
checkpoint: read_music_zones
checkpoint: read_nocast_zones
checkpoint: read_light_zones
checkpoint: read_weather_zones
checkpoint: load_armor_zones
checkpoint: load_attributes_cfg
checkpoint: load_vitals_cfg
checkpoint: load_vitals_cfg: load_packed_cfgs
Error loading script pkg/systems/attributes/hooks/vitalInit.ecl: Recompile requi
red. Bad version number 9
Unable to read script 'pkg/systems/attributes/hooks/vitalInit.ecl'
Error reading script pkg/systems/attributes/hooks/vitalInit.ecl
Error reading configuration file pkg/systems/attributes/config/vitals.cfg:
Export Script pkg/systems/attributes/hooks/vitalInit.ecl not found
Element: Vital Hits, found on line 28
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error


=========================
POL has finished running
=========================

Tryck ned valfri tangent för att fortsätta...
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

your vitalinit.ecl is bad version.

Recompile your scripts with the latest ecompile.
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

i compiled with the latest.. but it dosent create any vitallint.ecl .... what can i do?
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

delete all .ecl files and recompile
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

ive done that with the cleanup and recompiled.. and it creates all except vitallint..
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

check that the package is enabled where vitalInit.src is
check that the vitalInit path is set correct in vitals.cfg
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

could you just send me your vitallint.ecl? ive done all that--
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

I dont have vitalInit in my own scriptbase :D take 1 from the latest Distro
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

lol ok.. ill look into it later.....

what else can i do, i set realmgen not to use diffs. but i still cant move around.. :O
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

what core are you using ? what MapID ?
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

mapid0... core97. could i add you on msn?

vawnd@hotmail.com
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Problem with custom map

Post by Tomi »

its better that you join #Pol on DarkMyst IRC channel, there are alot of people who help you.
Maki
New User
Posts: 16
Joined: Tue Jan 12, 2010 10:52 am

Re: Problem with custom map

Post by Maki »

thanks :)
Post Reply