server wont initialize

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

server wont initialize

Post by zaroba »

Software:Universal Client
Version Number:server wont initialize
________________________________________________________________________
Location
server wont initialize
________________________________________________________________________
Description:
Having issues with Narnia.
It seems to spontaneously go down to other players.

It wont be found via 'find a world' yet the server console will still be running, usable by me, and even show player(s) on it. But those players say they aren't on the world and can't connect to the world.


Did it again last night, tried to restart it and now it wont initialize.
System tab Error Messages are reports 'Server accessing invalid building record'

Deleted everything in the events folder, renamed the PlayerRecords.dat, and still having the same error show up.
________________________________________________________________________
Steps to Replicate:
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

supposed to be:
"server accessing invalid billing record"

not building record
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

deleted the map, deleted the player records, deleted everything in the events folder, error message persists. loaded a backup, error still shows.
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

never mind
was a script issue
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

did u find out what the script issue was specifically?
Might be useful to know and maybe I can make the server deal with the situation better..
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

*bump*

It is suddenly happening on Eden now.
whenever somebody builds a new building, the server kicks everybody then needs to be closed and reopened before it allows anybody to join again. Nothing was changed in the script at all.

Just built something and the building appeared on the map then my client disconnected.
Nothing unusual in the server panel, the last 3 lines read:

New building added by ID 4. (Building ID = 18)
Buildings file maps/x128y128.bui saved (443 records)
Map file maps/x128y128.bui saved (329 packets)

Upon logging back in, the building still exists.

One thing I do notice though is the ID 18
buildetails: Closest building is record 18, TEST WorldBuilding 38.

however, according to stats: 444 buildings have been built.
and clearlostbuildings: 323 demolished buildings on record


Maybe trying to use id 18 which already exists in the record as a demolished building or something?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

Its normal for the server to reuse lower numbered building records - ID 18 will be an old demolished building.

Can't debug much further based on that info tho.. could you zip up the world somewhere and give me a link so i can run it through the debugger?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

thanks for the zip. I was able to replicate the lockup using the world.exe you had. Using latest code in debugger there was no problem (Similarly when i built a new release world.exe and ran it from the folder). So mmm.. seems to have been fixed (although im not sure what was causing it).

While on that area, i've also fixed up the default construction menu in 0.68.3 so you can use it with mouse.
Locked