Author |
Message |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: 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. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me
putmap.c - 2.14 KB
File downloaded or viewed 50 time(s)
|
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: 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.
|
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: 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).
|
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: 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.
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: 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.
|
|
Back to top |
|
 |
|