Keep getting disconnected after replacing spawn.dfn/worldfiles
Keep getting disconnected after replacing spawn.dfn/worldfiles
Hi there
I keep getting a pretty strange problem when I try to replace the default spawn.dfn with the community one.
The UOX-Server starts properly and first time I connect, everthing seems to be fine and the spawns seem to work. As soon as I disconnect and try to connect once again I'm getting disconnected instantly.
Same problem when I try to replace the worldfiles.
I tried the files downloaded from the ZIP-Files dos2unixed and without dos2unixed and also the files from github UOX3-Resources, nothing seems to work, always the same behaviour.
Any suggestions whats wrong?
UOX3 from develop branch is running on Debian 10.8.0.
Razor 1.0.14.9
UO-Client 4.0.11c
I keep getting a pretty strange problem when I try to replace the default spawn.dfn with the community one.
The UOX-Server starts properly and first time I connect, everthing seems to be fine and the spawns seem to work. As soon as I disconnect and try to connect once again I'm getting disconnected instantly.
Same problem when I try to replace the worldfiles.
I tried the files downloaded from the ZIP-Files dos2unixed and without dos2unixed and also the files from github UOX3-Resources, nothing seems to work, always the same behaviour.
Any suggestions whats wrong?
UOX3 from develop branch is running on Debian 10.8.0.
Razor 1.0.14.9
UO-Client 4.0.11c
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Hm, not the experience I'm seeing in Ubuntu, although it's running in WSL2 and using a much newer client version. I'll see if I can dig up a 4.x client to see how it behaves. Meanwhile, a couple of questions:
- When you try to reconnect, does the disconnect still happen if you create a new character, or only if you try to login with an existing character?
- When did you pull from develop/what version of UOX3 are you running?
- Can you share your uox.ini setup? Might be something in there to help reproduce the issue, which will make it easier to resolve
-= Ho Eyo He Hum =-
Hey XuriXuri wrote: ↑Fri Apr 23, 2021 10:37 am Hm, not the experience I'm seeing in Ubuntu, although it's running in WSL2 and using a much newer client version. I'll see if I can dig up a 4.x client to see how it behaves. Meanwhile, a couple of questions:
- When you try to reconnect, does the disconnect still happen if you create a new character, or only if you try to login with an existing character?
- When did you pull from develop/what version of UOX3 are you running?
- Can you share your uox.ini setup? Might be something in there to help reproduce the issue, which will make it easier to resolve
Thank you for helping me out!
- When I create a new character it's the same. First time no problems at all, afterwards keep getting disconnected.
- Ultima Offline eXperiment 3 v0.99.4b (Linux64) I pulled it on March 10th as you can see in this post https://www.uox3.org/forums/viewtopic.php?f=1&t=2595
Code: Select all
// UOX Initialization File. V258
//================================
[system]
{
SERVERNAME=KCs UOX3 Test
PORT=2593
NETRCVTIMEOUT=0
NETSNDTIMEOUT=3
NETRETRYCOUNT=0
CONSOLELOG=1
COMMANDPREFIX='
ANNOUNCEWORLDSAVES=1
JOINPARTMSGS=1
BACKUPSENABLED=0
BACKUPSAVERATIO=5
SAVESTIMER=300
ACCOUNTISOLATION=1
UOGENABLED=0
RANDOMSTARTINGLOCATION=0
ASSISTANTNEGOTIATION=0
KICKONASSISTANTSILENCE=0
CLASSICUOMAPTRACKER=0
}
[clientsupport]
{
CLIENTSUPPORT4000=1
CLIENTSUPPORT5000=0
CLIENTSUPPORT6000=0
CLIENTSUPPORT6050=0
CLIENTSUPPORT7000=0
CLIENTSUPPORT7090=0
CLIENTSUPPORT70160=0
CLIENTSUPPORT70240=0
CLIENTSUPPORT70300=0
CLIENTSUPPORT70331=1
CLIENTSUPPORT704565=1
CLIENTSUPPORT70610=1
}
[play server list]
{
SERVERLIST=KCs UOX3 Test,192.168.0.249,2593
}
[skill & stats]
{
SKILLLEVEL=5
SKILLCAP=7000
SKILLDELAY=5
STATCAP=325
EXTENDEDSTARTINGSTATS=1
EXTENDEDSTARTINGSKILLS=1
MAXSTEALTHMOVEMENTS=10
MAXSTAMINAMOVEMENTS=15
SNOOPISCRIME=0
ARMORAFFECTMANAREGEN=1
}
[timers]
{
CORPSEDECAYTIMER=900
WEATHERTIMER=60
SHOPSPAWNTIMER=300
DECAYTIMER=300
DECAYTIMERINHOUSE=3600
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=./
DATADIRECTORY=/srv/uofiles/
DEFSDIRECTORY=./dfndata/
BOOKSDIRECTORY=./books/
ACTSDIRECTORY=./accounts/
SCRIPTSDIRECTORY=./js/
BACKUPDIRECTORY=./archives/
MSGBOARDDIRECTORY=./msgboards/
SHAREDDIRECTORY=./shared/
ACCESSDIRECTORY=./accounts/
HTMLDIRECTORY=./html/
LOGSDIRECTORY=./logs/
DICTIONARYDIRECTORY=./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=1021183
SERVERFEATURES=4584
OVERLOADPACKETS=1
ADVANCEDPATHFINDING=1
LOOTINGISCRIME=1
BASICTOOLTIPSONLY=0
GLOBALITEMDECAY=1
SCRIPTITEMSDECAYABLE=1
BASEITEMSDECAYABLE=0
PAPERDOLLGUILDBUTTON=1
FISHINGSTAMINALOSS=2
ITEMSDETECTSPEECH=0
MAXPLAYERPACKITEMS=125
MAXPLAYERBANKITEMS=125
}
[speedup]
{
CHECKITEMS=1.5
CHECKBOATS=0.65
CHECKNPCAI=1
CHECKSPAWNREGIONS=30
NPCMOVEMENTSPEED=0.6
NPCRUNNINGSPEED=0.3
NPCFLEEINGSPEED=0.4
NPCSPELLCASTSPEED=1
GLOBALATTACKSPEED=1
}
[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=1
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
DISPLAYDAMAGENUMBERS=1
MONSTERSVSANIMALS=1
ANIMALATTACKCHANCE=15
ANIMALSGUARDED=0
NPCDAMAGERATE=2
NPCBASEFLEEAT=20
NPCBASEREATTACKAT=40
ATTACKSTAMINA=-2
ATTACKSPEEDFROMSTAMINA=1
SHOOTONANIMALBACK=0
COMBATEXPLODEDELAY=2
WEAPONDAMAGECHANCE=17
WEAPONDAMAGEMIN=0
WEAPONDAMAGEMAX=1
ARMORDAMAGECHANCE=33
ARMORDAMAGEMIN=0
ARMORDAMAGEMAX=1
}
[start locations]
{
LOCATION=Yew,Center,545,982,0,0,0,1075072
LOCATION=Minoc,Tavern,2477,411,15,0,0,1075073
LOCATION=Britain,Sweet Dreams Inn,1495,1629,10,0,0,1075074
LOCATION=Moonglow,Docks,4406,1045,0,0,0,1075075
LOCATION=Trinsic,West Gate,1832,2779,0,0,0,1075076
LOCATION=Magincia,Docks,3675,2259,26,0,0,1075077
LOCATION=Jhelom,Docks,1492,3696,0,0,0,1075078
LOCATION=Skara Brae,Docks,639,2236,0,0,0,1075079
LOCATION=Vesper,Ironwood Inn,2771,977,0,0,0,1075080
}
[startup]
{
STARTGOLD=1000
STARTPRIVS=0
}
[gumps]
{
TITLECOLOUR=0
LEFTTEXTCOLOUR=0
RIGHTTEXTCOLOUR=0
BUTTONCANCEL=4017
BUTTONLEFT=4014
BUTTONRIGHT=4005
BACKGROUNDPIC=2600
}
[houses]
{
TRACKHOUSESPERACCOUNT=1
CANOWNANDCOOWNHOUSES=1
COOWNHOUSESONSAMEACCOUNT=1
ITEMDECAYINHOUSES=1
PROTECTPRIVATEHOUSES=1
MAXHOUSESOWNABLE=1
MAXHOUSESCOOWNABLE=10
}
[towns]
{
POLLTIME=3600
MAYORTIME=36000
TAXPERIOD=1800
GUARDSPAID=3600
}
[disabled assistant features]
{
AF_FILTERWEATHER=0
AF_FILTERLIGHT=0
AF_SMARTTARGET=0
AF_RANGEDTARGET=0
AF_AUTOOPENDOORS=0
AF_DEQUIPONCAST=0
AF_AUTOPOTIONEQUIP=0
AF_POISONEDCHECKS=0
AF_LOOPEDMACROS=0
AF_USEONCEAGENT=0
AF_RESTOCKAGENT=0
AF_SELLAGENT=0
AF_BUYAGENT=0
AF_POTIONHOTKEYS=0
AF_RANDOMTARGETS=0
AF_CLOSESTTARGETS=0
AF_OVERHEADHEALTH=0
AF_AUTOLOOTAGENT=0
AF_BONECUTTERAGENT=0
AF_JSCRIPTMACROS=0
AF_AUTOREMOUNT=0
AF_ALL=0
}
But now I get the error map0.mul(/) failed twice at startup.
But I guess it's because the map0.mul is referenced twice in the maps.4xclients.old
Code: Select all
// v.02
// Last updated 10/5/2005 - giwo
// This file contains the filenames and X/Y Block sizes for Ultima Online maps.
// Note that this file is directly related to UOX3.ini MAPCOUNT (IE a MAPCOUNT of 5 will load MAP 0 through MAP 4)
// This file is current for Client versions below 5.0.0a, please use maps.dfn if your client version is 5.0.0a or above.
[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=6144
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=6144
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
}
EOF
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Thanks, that's helpful info!
I'm going to setup a 4.x client as mentioned and dig around a bit, but in the mean time it would be great if you could pull the latest version from develop (been a number of updates there since March 10th), build that, just startup a fresh server with the community spawn files and nothing else but datapath and IP changed as needed, and see if the problem persists there.
For the issue you mentioned with mul files missing on startup, with that old client version I expect there would be some missing, but as long as the main ones are there it should be ok. map0.mul is listed twice in the maps.4xclients.old file because there was no map1.mul at the time! Trammel used the exact same file
I'm going to setup a 4.x client as mentioned and dig around a bit, but in the mean time it would be great if you could pull the latest version from develop (been a number of updates there since March 10th), build that, just startup a fresh server with the community spawn files and nothing else but datapath and IP changed as needed, and see if the problem persists there.
For the issue you mentioned with mul files missing on startup, with that old client version I expect there would be some missing, but as long as the main ones are there it should be ok. map0.mul is listed twice in the maps.4xclients.old file because there was no map1.mul at the time! Trammel used the exact same file
-= Ho Eyo He Hum =-
Alright I'll try it like you said.
But I'm still concerned about the map0.mul failing at startup since I changed to maps.4xclients.old.
This didn't happen with the former maps.dfs.
But I'm still concerned about the map0.mul failing at startup since I changed to maps.4xclients.old.
This didn't happen with the former maps.dfs.
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Is UOX3 loading the map file from the 4.0.x client? It's a different size than what is used with later clients, so if server uses some other datafiles that are newer, that could cause that issue.
-= Ho Eyo He Hum =-
Yep, it's the same file as from the 4.0.x client although I copypasted it since my server is on a separate machine.
Well I've now pulled and built the latest develop version but keep getting the same behaviour as soon as I replace the spawn.dfn.Xuri wrote: ↑Fri Apr 23, 2021 11:47 am Thanks, that's helpful info!
I'm going to setup a 4.x client as mentioned and dig around a bit, but in the mean time it would be great if you could pull the latest version from develop (been a number of updates there since March 10th), build that, just startup a fresh server with the community spawn files and nothing else but datapath and IP changed as needed, and see if the problem persists there.
For the issue you mentioned with mul files missing on startup, with that old client version I expect there would be some missing, but as long as the main ones are there it should be ok. map0.mul is listed twice in the maps.4xclients.old file because there was no map1.mul at the time! Trammel used the exact same file![]()
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Sorry for taking a while getting back to you! I haven't been able to find a version of 4.x client to install, though I tried with 5.x, which seemed to work ok, as long as I remember to set CLIENTSUPPORT5000 to 1 in UOX.INI (and set the other ones to 0).
Could you double-check that you've got CLIENTSUPPORT4000=1 in your uox.ini?
Could you double-check that you've got CLIENTSUPPORT4000=1 in your uox.ini?
-= Ho Eyo He Hum =-
Well, I am absolutely sure that I've set CLIENTSUPPORT4000=1, otherwise it wouldn't have worked even for the first time, I guess. But I definitely didn't set the other ones to 0). I'll try that asap and post an update.Xuri wrote: ↑Fri Apr 23, 2021 5:08 pm Sorry for taking a while getting back to you! I haven't been able to find a version of 4.x client to install, though I tried with 5.x, which seemed to work ok, as long as I remember to set CLIENTSUPPORT5000 to 1 in UOX.INI (and set the other ones to 0).
Could you double-check that you've got CLIENTSUPPORT4000=1 in your uox.ini?
Otherwise is there a way to get a newer client version? I just have the ancient Ultima Online Third Dawn disc I bought maybe 20 years ago
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Absolutely! Straight from the source, the very latest setup file, which auto-downloads the latest version after you install it:
https://downloads.eamythic.com/uo/insta ... 0_24_0.exe
https://downloads.eamythic.com/uo/insta ... 0_24_0.exe
-= Ho Eyo He Hum =-
Great, thank you very much, I'll give it a try!Xuri wrote: ↑Fri Apr 23, 2021 6:06 pm Absolutely! Straight from the source, the very latest setup file, which auto-downloads the latest version after you install it:
https://downloads.eamythic.com/uo/insta ... 0_24_0.exe
Hey Xurikcmc wrote: ↑Fri Apr 23, 2021 5:52 pmWell, I am absolutely sure that I've set CLIENTSUPPORT4000=1, otherwise it wouldn't have worked even for the first time, I guess. But I definitely didn't set the other ones to 0). I'll try that asap and post an update.Xuri wrote: ↑Fri Apr 23, 2021 5:08 pm Sorry for taking a while getting back to you! I haven't been able to find a version of 4.x client to install, though I tried with 5.x, which seemed to work ok, as long as I remember to set CLIENTSUPPORT5000 to 1 in UOX.INI (and set the other ones to 0).
Could you double-check that you've got CLIENTSUPPORT4000=1 in your uox.ini?
Otherwise is there a way to get a newer client version? I just have the ancient Ultima Online Third Dawn disc I bought maybe 20 years ago![]()
Once again you were absolutely right. I had to set the other CLIENTSUPPORT to 0 afterwards everything worked as expected.
I also downloaded the latest client, which worked from the get go as well!
Thank you very much! I really appreciate your support and what you're doing here for the whole community!