It is currently Wed Oct 15, 2008 2:46 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Error with ORE.CFG
PostPosted: Fri Jun 01, 2007 5:57 am 
Offline

Joined: Fri Jun 01, 2007 5:45 am
Posts: 10
Hi Guys

Im having trouble to start the newest POL 97 version:
POL Converted [April 22, 2007 - 03:14PM]
POL Core [April 15, 2007 - 01:24AM]
also tried
POL Core [March 30, 2007 - 03:07PM]


When starting POL with STARTHERE.BAT, POL tells me following error when starting up:

Error reading configuration file regions/ore.cfg:
Realm not found
Element: Region Background, found on line 144
Server Shutdown: load_resource_cfg

When I remove the region BACKGROUND, it tells me that the next region cannot be found, and so on.









ORE.CFG:

Code:
# Note, regions found later in the file override those found earlier.

Global
{
   InitialUnits    50000
    LandTile        0xDF
    LandTile        0xE3
    LandTile        0x75
    LandTile        0xE2
    LandTile        0xDE
    LandTile        0x232
    LandTile        0x23a
    LandTile        0xE7

    LandTile        0xe4
    LandTile        0xe5
    LandTile        0xe6
    LandTile        0xe7

    Landtile        0xf3
    LandTile        0xf4
    LandTile        0xf5
    LandTile        0xf6
    LandTile        0xf7

    LandTile        0x104
    LandTile        0x105
    LandTile        0x106
    LandTile        0x107

    LandTile        0x110
    LandTile        0x111
    LandTile        0x112
    LandTile        0x113

    LandTile        0x122
    LandTile        0x123
    LandTile        0x124
    LandTile        0x125

    LandTile        0x1d3
    LandTile        0x1d4
    LandTile        0x1d5
    LandTile        0x1d7
    LandTile        0x1d9
    LandTile        0x1dA

    LandTile        0x21f
    LandTile        0x220
    LandTile        0x221
    LandTile        0x222
    LandTile        0x223
    LandTile        0x224
    LandTile        0x225
    LandTile        0x226
    LandTile        0x227
    LandTile        0x228
    LandTile        0x229
    LandTile        0x22A
    LandTile        0x22B
    LandTile        0x22C
    LandTile        0x22D
    LandTile        0x22E
    LandTile        0x22F
    LandTile        0x230

    LandTile        0x233
    LandTile        0x234
    LandTile        0x235
    LandTile        0x236
    LandTile        0x237
    LandTile        0x238
    LandTile        0x239
    LandTile        0x23A
    LandTile        0x23B

    LandTile        0x6cd
    LandTile        0x6ce
    LandTile        0x6cf
    LandTile        0x6d0
    LandTile        0x6d1

    LandTile        0x6da
    LandTile        0x6db
    LandTile        0x6dc
    LandTile        0x6dd

    LandTile        0x6eb
    LandTile        0x6ec
    LandTile        0x6ed
    LandTile        0x6ee
    LandTile        0x6ef
    LandTile        0x6f0
    LandTile        0x6f1
    LandTile        0x6f2

    LandTile        0x6fb
    LandTile        0x6fc
    LandTile        0x6fd
    LandTile        0x6fe

    LandTile        0x70d
    LandTile        0x70e
    LandTile        0x70f
    LandTile        0x710
    LandTile        0x711
    LandTile        0x712
    LandTile        0x713
    LandTile        0x714

    LandTile        0x71d
    LandTile        0x71e
    LandTile        0x71f
    LandTile        0x720
   
    LandTile        0x72b
    LandTile        0x72c
    LandTile        0x72d
    LandTile        0x72e
    LandTile        0x72f
    LandTile        0x730
    LandTile        0x731
    LandTile        0x732

    LandTile        0x73b
    LandTile        0x73c
    LandTile        0x73d
    LandTile        0x73e
   
    LandTile        0x749
    LandTile        0x74a
    LandTile        0x74b
    LandTile        0x74d
    LandTile        0x74e
    LandTile        0x74f
    LandTile        0x750

    LandTile        0x759
    LandTile        0x75a
    LandTile        0x75b
    LandTile        0x75c
}

Region Background
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            2000
    Range               0 0 5119 4095
}

Region Mountain NW of Wrong
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            5000
    Range               1935 55 1999 118
    dummyprop           hello world
}

Region Mountain at Shame
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            20000
    Range               253 1367 804 1700
}

Region Mountains around Britain
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            100000
    Range 1008 1637 1228 2042
    Range 825 757 2047 1637
}

Region Mountains near Cove
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            1000
    Range               2049 1079   2303 1287
}   

Region Small mountains near Trinsic
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            3000
    Range 1621 2878 1731 3061
    Range 1542 3167 1658 3332
}

Region  Large range near Trinsic
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            60000
    Range 1014 2514 1529 3047
}

Region Outer Covetous
{
    UnitsPerArea        15
    SecondsPerRegrow    300
    Capacity            20000
    Range               2299 784 2635 967
}












RESOURCE.TXT:

Code:
#
#  RESOURCE.TXT: Resource System Data
#

GlobalResourcePool fish
{
   Units   300000
}

RegionalResourcePool fish
{
   Name   The Whole World
   Units   0
#   (regions/fish.cfg: Capacity is 450000)
}

GlobalResourcePool ore
{
   Units   50000
}

RegionalResourcePool ore
{
   Name   Background
   Units   0
#   (regions/ore.cfg: Capacity is 2000)
}

RegionalResourcePool ore
{
   Name   Mountain NW of Wrong
   Units   0
#   (regions/ore.cfg: Capacity is 5000)
}

RegionalResourcePool ore
{
   Name   Mountain at Shame
   Units   0
#   (regions/ore.cfg: Capacity is 20000)
}

RegionalResourcePool ore
{
   Name   Mountains around Britain
   Units   0
#   (regions/ore.cfg: Capacity is 100000)
}

RegionalResourcePool ore
{
   Name   Mountains near Cove
   Units   0
#   (regions/ore.cfg: Capacity is 1000)
}

RegionalResourcePool ore
{
   Name   Small mountains near Trinsic
   Units   0
#   (regions/ore.cfg: Capacity is 3000)
}

RegionalResourcePool ore
{
   Name   Large range near Trinsic
   Units   0
#   (regions/ore.cfg: Capacity is 60000)
}

RegionalResourcePool ore
{
   Name   Outer Covetous
   Units   0
#   (regions/ore.cfg: Capacity is 20000)
}

GlobalResourcePool wood
{
   Units   200000
}

RegionalResourcePool wood
{
   Name   The Whole World
   Units   0
#   (regions/wood.cfg: Capacity is 200000)
}





Any idea?

Thanks for your help

EDIT:
I just forgot that I didnt changed any file but POl.CFG before starting the server. So its a blank installation just with the two given POL packages I told you at the beginning, copied into each other. I only changed in POl.CFG the path to my UO directory.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 01, 2007 7:22 am 
Offline

Joined: Wed Dec 20, 2006 7:39 am
Posts: 1
Location: Szczecin, Poland
Realm not found, then make your realm ;P use uoconvert ^^


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 01, 2007 12:41 pm 
Offline

Joined: Fri Jun 01, 2007 5:45 am
Posts: 10
Thank you.

I used the convert tool to get my blank realm working.

But now I have another problem with doors.

Ive copied all my POL 95 version DATA directory files into the new one and they seem not to work proberly. When opening a 'two doors' door they open to the middle, and one is not able to walk threw an opened 'one door' door.
Both door types open into the wrong direction.


Any solution for this?

Ive tried to use the converter a second time to solve this problem, but didnt help this time :D

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 01, 2007 4:18 pm 
Offline

Joined: Thu Jan 18, 2007 2:34 am
Posts: 91
Since you converted I'm betting you still have MoveItemToLocation in open_door.src. Change it to MoveObjectToLocation.

If this is the case then i recommend that you recompile all your scripts to catch any other conversions you need to do.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 02, 2007 12:30 am 
Offline

Joined: Fri Jun 01, 2007 5:45 am
Posts: 10
Ive checked my OPENDOOR.SRC file and my CLOSEDOOR.SRC and both use MoveObjectToLocation().

OpenDoor
MoveObjectToLocation(door, newx, newy, newz, MOVEOBJECT_FORCELOCATION);


Any more ideas?

I think I remember, I had the same problem with my POL 95 project setting up. I dont remember what I changed to get it work.
Maybe there is some kind of wrong statics file?


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 02, 2007 12:40 am 
Offline

Joined: Fri Jun 01, 2007 5:45 am
Posts: 10
Ive copied all my POL 95 DOORS directory scripts to my POL 97 and doors work quite fine now, even with MoveItemToLocation() in their scripts.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 02, 2007 5:56 am 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
JeanLuc wrote:
OpenDoor
MoveObjectToLocation(door, newx, newy, newz, MOVEOBJECT_FORCELOCATION);



Looks like possibly using the submitted 095 conversion to 097. If so, the problem is in that line of code

MoveObjectToLocation(door, newx, newy, newz, door.realm, MOVEOBJECT_FORCELOCATION);

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl