Unable to load map files

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Unable to load map files

Post by intodesi2 »

I am having troubles with my mul files I think, I am getting a Not Found when loading the maps here is what it looks like when I run (./uox3) this is running on Ubuntu Server 7.10 with mul files from second age install and patch 204 5.0.8.3

BTW this isnt the whole process, so if you need to see more of what it does when I start the server let me know.

Code: Select all

Loading JS Scripts
| WARNING: No JS file mappings found in section SCRIPT_LIST
| WARNING: No JS file mappings found in section COMMAND_SCRIPTS
| WARNING: No JS file mappings found in section MAGIC_SCRIPTS
| WARNING: No JS file mappings found in section SKILLUSE_SCRIPTS
| WARNING: No JS file mappings found in section PACKET_SCRIPTS
| WARNING: No JS file mappings found in section CONSOLE_SCRIPTS
| WARNING: Envoke section not found, no hard id->script matching being done
| WARNING: Envoke section not found, no hard id->script matching being done

Preparing to open *.mul files...
| (If they don't open, fix your paths in uox.ini or filenames in maps.dfn)
|       /home/uox3/projects/uox3/source/muldata/map0.mul            [not found]
|       /home/uox3/projects/uox3/source/muldata/statics0.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/staidx0.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdif0.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/stadif0.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdifl0.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/stadifi0.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/map0.mul            [not found]
|       /home/uox3/projects/uox3/source/muldata/statics0.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/staidx0.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdif1.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/stadif1.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdifl1.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/stadifi1.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/map2.mul            [not found]
|       /home/uox3/projects/uox3/source/muldata/statics2.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/staidx2.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdif2.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/stadif2.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/mapdifl2.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/stadifi2.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/map3.mul            [not found]
|       /home/uox3/projects/uox3/source/muldata/statics3.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/staidx3.mul         [not found]
|       /home/uox3/projects/uox3/source/muldata/map4.mul            [not found]
|       /home/uox3/projects/uox3/source/muldata/statics4.mul        [not found]
|       /home/uox3/projects/uox3/source/muldata/staidx4.mul         [not found]
| ERROR:  Fatal Error: No maps found
| ERROR:  Check the settings for DATADIRECTORY in uox.ini

Segmentation fault
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Hm also appears it's not reading any of the .js files.
-= Ho Eyo He Hum =-
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

Could it be permissions? I could chmod 0777 everything?
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

Not permissions, even with a sudo ./uox3 i get the not founds and js errors

also this is the rest of the server start

Code: Select all

items :      0 entries                                                    [done]
| Section                  npc :      0 entries                          [done]
| Section               create :      0 entries                          [done]
| Section              regions :      3 entries                          [done]
| Section                 misc :      0 entries                          [done]
| Section               skills :      0 entries                          [done]
| Section             location :      0 entries                          [done]
| Section                menus :      0 entries                          [done]
| Section               spells :      0 entries                          [done]
| Section               newbie :      1 entries                          [done]
| Section               titles :      0 entries                          [done]
| Section              advance :      0 entries                          [done]
| Section                house :      0 entries                          [done]
| Section               colors :      0 entries                          [done]
| Section                spawn :      0 entries                          [done]
| Section                 html :      0 entries                          [done]
| Section                 race :      0 entries                          [done]
| Section              weather :      0 entries                          [done]
| Section            harditems :      0 entries                          [done]
| Section              command :      0 entries                          [done]
| Section             msgboard :      0 entries                          [done]
| Section                carve :      0 entries                          [done]
| Section            creatures :      0 entries                          [done]
| Section                 maps :      5 entries                          [done]
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

And this is my maps.dfn

Code: Select all

// v.03
// Last updated 9/21/2005 - giwo
// This file contains the filenames and X/Y Block sizes for Ultima Online maps.
// This file is current for Client versions 5.0.0a and above, please use maps.old if your client version is 4.x or below.


[MAP 0]	// Felucca
{
MAP=map0.mul
STATICS=statics0.mul
STAIDX=staidx0.mul
MAPDIFF=mapdif0.mul
MAPDIFFLIST=mapdifl0.mul
STATICSDIFF=stadif0.mul
STATICSDIFFLIST=stadifl0.mul
STATICSDIFFINDEX=stadifi0.mul
X=7168
Y=4096
}

[MAP 1]	// Trammel
{
MAP=map0.mul
STATICS=statics0.mul
STAIDX=staidx0.mul
MAPDIFF=mapdif1.mul
MAPDIFFLIST=mapdifl1.mul
STATICSDIFF=stadif1.mul
STATICSDIFFLIST=stadifl1.mul
STATICSDIFFINDEX=stadifi1.mul
X=7168
Y=4096
}

[MAP 2]	// Ilshenar
{
MAP=map2.mul
STATICS=statics2.mul
STAIDX=staidx2.mul
MAPDIFF=mapdif2.mul
MAPDIFFLIST=mapdifl2.mul
STATICSDIFF=stadif2.mul
STATICSDIFFLIST=stadifl2.mul
STATICSDIFFINDEX=stadifi2.mul
X=2304
Y=1600
}

[MAP 3]	// Malas
{
MAP=map3.mul
STATICS=statics3.mul
STAIDX=staidx3.mul
X=2560
Y=2048
}

[MAP 4]	// Tokuno
{
MAP=map4.mul
STATICS=statics4.mul
STAIDX=staidx4.mul
X=1448
Y=1448
}

intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

and my uox.ini

Code: Select all

// UOX Initialization File. V258
//================================

[system]
{
SERVERNAME=Ubuntu Test Server
PORT=2593
NETRCVTIMEOUT=0
NETSNDTIMEOUT=3
NETRETRYCOUNT=0
CONSOLELOG=1
CRASHPROTECTION=1
COMMANDPREFIX='
ANNOUNCEWORLDSAVES=1
JOINPARTMSGS=1
BACKUPSENABLED=0
BACKUPSAVERATIO=5
SAVESTIMER=300
ACCOUNTISOLATION=1
UOGENABLED=0
}


[play server list]
{
SERVERLIST=Online Server,
SERVERLIST=LAN Server,
SERVERLIST=Offline Server,
}


[skill & stats]
{
SKILLLEVEL=5
SKILLCAP=7000
SKILLDELAY=5
STATCAP=325
MAXSTEALTHMOVEMENTS=10
MAXSTAMINAMOVEMENTS=15
SNOOPISCRIME=0
ARMORAFFECTMANAREGEN=1
}

[timers]
{
CORPSEDECAYTIMER=900
WEATHERTIMER=60
SHOPSPAWNTIMER=300
DECAYTIMER=300
INVISIBILITYTIMER=60
OBJECTUSETIMER=1
GATETIMER=30
POISONTIMER=180
LOGINTIMEOUT=300
HITPOINTREGENTIMER=8
STAMINAREGENTIMER=3
MANAREGENTIMER=5
BASEFISHINGTIMER=10
RANDOMFISHINGTIMER=5
SPIRITSPEAKTIMER=30
PETOFFLINECHECKTIMER=600
}

[directories]
{
DIRECTORY=/home/uox3/projects/uox3/source/
DATADIRECTORY=/home/uox3/projects/uox3/source/muldata/
DEFSDIRECTORY=/home/uox3/projects/uox3/source/dfndata/
BOOKSDIRECTORY=/home/uox3/projects/uox3/source/books/
ACTSDIRECTORY=/home/uox3/projects/uox3/source/accounts/
SCRIPTSDIRECTORY=/home/uox3/projects/uox3/source/js/
BACKUPDIRECTORY=/home/uox3/projects/uox3/source/archives/
MSGBOARDDIRECTORY=/home/uox3/projects/uox3/source/msgboards/
SHAREDDIRECTORY=/home/uox3/projects/uox3/source/shared/
ACCESSDIRECTORY=/home/uox3/projects/uox3/source/accounts/
HTMLDIRECTORY=/home/uox3/projects/uox3/source/html/
LOGSDIRECTORY=/home/uox3/projects/uox3/source/logs/
DICTIONARYDIRECTORY=/home/uox3/projects/uox3/source/dictionaries/
}

[settings]
{
LOOTDECAYSWITHCORPSE=1
GUARDSACTIVE=1
DEATHANIMATION=1
AMBIENTSOUNDS=5
AMBIENTFOOTSTEPS=0
INTERNALACCOUNTCREATION=0
SHOWOFFLINEPCS=1
ROGUESENABLED=1
PLAYERPERSECUTION=0
ACCOUNTFLUSH=0
HTMLSTATUSENABLED=-1
SELLBYNAME=0
SELLMAXITEMS=5
TRADESYSTEM=0
RANKSYSTEM=1
CUTSCROLLREQUIREMENTS=1
NPCTRAININGENABLED=1
HIDEWILEMOUNTED=1
WEIGHTPERSTR=3.5
POLYDURATION=90
CLIENTFEATURES=33019
SERVERFEATURES=488
OVERLOADPACKETS=1
ADVANCEDPATHFINDING=1
LOOTINGISCRIME=1
BASICTOOLTIPSONLY=0
}

[speedup]
{
CHECKITEMS=1.5
CHECKBOATS=0.75
CHECKNPCAI=1
CHECKSPAWNREGIONS=30
NPCMOVEMENTSPEED=0.7
NPCRUNNINGSPEED=0.2
NPCFLEEINGSPEED=0.4
}

[message boards]
{
POSTINGLEVEL=0
REMOVALLEVEL=0
}

[escorts]
{
ESCORTENABLED=1
ESCORTINITEXPIRE=900
ESCORTACTIVEEXPIRE=600
ESCORTDONEEXPIRE=600
}

[worldlight]
{
DUNGEONLEVEL=3
BRIGHTLEVEL=0
DARKLEVEL=5
SECONDSPERUOMINUTE=5
}

[tracking]
{
BASERANGE=10
BASETIMER=30
MAXTARGETS=20
MSGREDISPLAYTIME=30
}

[reputation]
{
MURDERDECAYTIMER=60
MAXKILLS=4
CRIMINALTIMER=120
}

[resources]
{
MINECHECK=2
OREPERAREA=10
ORERESPAWNTIMER=600
ORERESPAWNAREA=10
LOGSPERAREA=3
LOGSRESPAWNTIMER=600
LOGSRESPAWNAREA=10
}

[hunger]
{
HUNGERRATE=6000
HUNGERDMGVAL=2
PETHUNGEROFFLINE=1
PETOFFLINETIMEOUT=5
}

[combat]
{
MAXRANGE=10
ARCHERRANGE=7
SPELLMAXRANGE=10
DISPLAYHITMSG=1
MONSTERSVSANIMALS=1
ANIMALATTACKCHANCE=15
ANIMALSGUARDED=0
NPCDAMAGERATE=2
NPCBASEFLEEAT=20
NPCBASEREATTACKAT=40
ATTACKSTAMINA=-2
SHOOTONANIMALBACK=0
}

[start locations]
{
LOCATION=Yew,Center,545,982,0
LOCATION=Minoc,Tavern,2477,411,15
LOCATION=Britain,Sweet Dreams Inn,1495,1629,10
LOCATION=Moonglow,Docks,4406,1045,0
LOCATION=Trinsic,West Gate,1832,2779,0
LOCATION=Magincia,Docks,3675,2259,20
LOCATION=Jhelom,Docks,1492,3696,0
LOCATION=Skara Brae,Docks,639,2236,0
LOCATION=Vesper,Ironwood Inn,2771,977,0
}

[startup]
{
STARTGOLD=1000
STARTPRIVS=0
}

[gumps]
{
TITLECOLOUR=0
LEFTTEXTCOLOUR=0
RIGHTTEXTCOLOUR=0
BUTTONCANCEL=4017
BUTTONLEFT=4014
BUTTONRIGHT=4005
BACKGROUNDPIC=2600
}

[towns]
{
POLLTIME=3600
MAYORTIME=36000
TAXPERIOD=1800
GUARDSPAID=3600
}
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

For the DFN and .JS files I imagine it could have something to do with carriage returns in windows versus carriage returns in Linux? *shrug* Not sure about the MUL files though.
-= Ho Eyo He Hum =-
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

Carriage returns where?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

In the DFN/JS files? They're all text-only, and I thought there were some differences between windows and linux in how carriage returns at the end of lines are handled? Am I wrong? It was just a guess. =P
-= Ho Eyo He Hum =-
Mindless Automaton
UOX3 Apprentice
Posts: 189
Joined: Wed May 10, 2006 3:48 am
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Mindless Automaton »

Its something like a linux text file ends in a line feed & Windows ends in carriage return & line feed.

There are shell commands you can do in linux to strip the carriage return, but I can't remember what I used in the past.

dos2unix I think.
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
intodesi2
UOX3 Neophyte
Posts: 32
Joined: Wed Nov 19, 2008 9:45 am
Has thanked: 0
Been thanked: 0

Post by intodesi2 »

Yeah i found the dostolinux command, but the easy way is to just do it all the right way :p which I had a hard time doing lmao

ftp in ascii to your server.. the conversion is automatic :)

so that makes this problem solved. well except, its having a hard time reading lines from one of the dictionaries.. the zro one i beleive.
Post Reply