Server Help

ASSS Custom Projects - ?putmap

Dr Brain - Wed Mar 17, 2004 12:16 am
Post subject: ?putmap
Useful command to give to arena owners if you don't want to give them ?putfile (and who would?).

Probably has at least one bug, as I'm not sure just using the arena name for the path is the brightest thing to do.
Mine GO BOOM - Wed Mar 17, 2004 12:27 am
Post subject:
I would recommend making a CheckLVL function, so it would varify that the lvl uploaded would actually work. I've seen too many people lockup zones with ?setlevel screwing up.

And renaming it to ?setlevel would probably be nicer for admins moving over from subgame.
Anonymous - Thu Mar 18, 2004 4:17 am
Post subject:
Look in arena.conf for the correct name of the map, if it's not there then use arena->basename. (basename because subarenas can behave like pub with multiple spawns of the same arena sharing scores).

If you are going for a CheckLVL (which is a good idea), you should try and do ?putpartialmap or something, where it merges what is in the uploaded file with the current map (and an optional argument to overwrite tileset).
Mine GO BOOM - Thu Mar 18, 2004 9:30 am
Post subject:
-Smong- wrote:
?putpartialmap or something, where it merges what is in the uploaded file with the current map (and an optional argument to overwrite tileset).

Map files are not that huge.
Smong - Thu Mar 18, 2004 12:17 pm
Post subject:
I know a zone with a 460k map. Anyway, I was just thinking back to what Grelminar said about players being able to upload partial maps in an RPG, something like twtown.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group