ASSS Questions - All In One "Map/Settings/Lvz/Module" Files Bak - Fri Dec 31, 2004 9:43 pm Post subject: All In One "Map/Settings/Lvz/Module" Files
It would be nice to be able to distribute a subarena with a single file. This would have to include the map, the settings, the lvz, the F1 help, and possilby the modules for your subarena. That way, when you want your friendly ASSS server to use your arena all you would have to send them would be one file and they could place it perhaps in the maps directory and it would all work, rather than the usual 5+ files and explanation of what to do.
The server would automatically update this file if anyone were to *putfile or *putmap a map or lvz or change the settings. The client would get the files as if they were seperate files, maintaining backwards compatability. You could even have a changelog embedded in it to show who updated what:
The advantage of this is that it would provide a quick way for outsiders to contribute to ASSS zones, as well as allow people to easily make a subarena "public", so any ASSS zone could pick it up (elim, for example).
After I made my football plugin public, one of the biggest problems was that lots of zones initially expressed interest in it, but were confused over the many files that had to be in exactly the right spot (bot plugin, map, lvz, settings). It took until two weeks ago for a zone to actually do everything correctly.
I guess some of the logging is done by the server... but an arena log might still be useful for comparing different versions of a file with the same name(to see what changes actually exist).
Dr Brain - Sat Jan 01, 2005 11:39 am Post subject:
One could make a module to do this fairly easily. Just have a .zip file that you use ?putarena on or something.
Only problem is the module namespaces. If two modules have the same name, hell follows.
Config, settings, lvz, region, and lvl are all doable because they can all go into the subarena's directory.
All one would need to make the changelog idea work is add a callback in putfile and putzip.
D1st0rt - Sun Jan 02, 2005 1:19 am Post subject:
I could have put your football stuff together, a lot of people here could have if they had wanted to, it just seems that a lot of small zones have incompetent staff in regard to complex things.
Anonymous - Mon Jan 03, 2005 9:03 am Post subject:
You could easily write a small script that looked at a log file and pulled bits out (per arena, per command, etc). I expect Cypher could do this with his vb skills.