why some maps will not work on local server?

General talk about the map making process.
Post Reply
User avatar
N5X
Private First Class
Private First Class
Posts: 9
Joined: Sun Dec 12, 2010 9:32 pm

why some maps will not work on local server?

Post by N5X »

while playing on "delerious city" a-delusion.no-ip.org:4120
i did a "save world". i tried it on my local machine because it was an interesting map, but it refuses to load, i keep getting a bunch of errors and it dumps out.

Code: Select all

bash-3.1$ ./bzlocal
using spam time of 10
using spam warn amount of 3
using time limit of 3600 seconds
-t is meaningless when using a custom world, ignoring
home/jed/.bzf/delerious_city.bzw: error: could not find bzflag world file
home/jed/.bzf/delerious_city.bzw: error: unexpected EOF
home/jed/.bzf/delerious_city.bzw: error: world file failed to load.
base was not defined for Red Team
ERROR: A world was not specified
bash-3.1$
i know what the base not defined error is, but what is the unexpected EOF error?
User avatar
SkillDude
Private First Class
Private First Class
Posts: 336
Joined: Sun Apr 01, 2007 4:50 pm
Location: United States

Re: why some maps will not work on local server?

Post by SkillDude »

home/jed/.bzf/delerious_city.bzw: error: could not find bzflag world file
home/jed/.bzf/delerious_city.bzw: error: unexpected EOF
home/jed/.bzf/delerious_city.bzw: error: world file failed to load.
Usually this error appears when you didn't specify the path correctly. I am merely guessing that you need a / before home, but other than that, unless you mistyped the name of the bzw or forgot to put the correct directories, it should load. It's not that it doesn't work on your local machine, you just didn't specify it correctly. Double check it, and let us know if you still encounter the problem.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: why some maps will not work on local server?

Post by optic delusion »

This may be an issue with the way KTL caches his world, versus your bzfs copy. Drawinfo map items do not cache properly unless you have some recent changes that were made in SVN, specifically for this map. Getting and compiling the latest updates to source might get this /saveworld map to work for you, but I would not bet on it. You might also try loading your local cache as a .bwc. Good luck.
The changes were made to correct the way bzfs creates world caches, not the saveworld function, which are two separate things.

UPDATE: Getting the SVN changes won't help with a /saveworld of delirious city. I tried it.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
KTL
Private First Class
Private First Class
Posts: 11
Joined: Mon Oct 23, 2006 5:25 pm
Location: Belgium

Re: why some maps will not work on local server?

Post by KTL »

Max upload filesize is 1 MB here, the zipped map is 3.5 MB :)

For now, look around at http://users.telenet.be/dpf/bzflag/,
the delirious_city_2011-01-30.bzw.zip is the one currently running on the server.
I will put the pieces properly on the forum later, if they are good enough.
(the current fractals still have some non-obvious esthetical bugs that annoy me)
i still plan on making much nicer fractals if i get the time
(i hope to get results with voronoi diagrams and delaunay triangulations).

have fun ...
Post Reply