Server Help

LVZ/LVL Questions - Curious problem with large .LVL file

Mystery Meat - Tue Jan 18, 2005 6:19 pm
Post subject: Curious problem with large .LVL file
Greetings,

I have been playing with the .LVL special tiles (i.e. anti-thor, anti-mine, etc.). In an arena with multiple dueling boxes (like DZA or Chaos/?go duel), I was toying with the idea of blanketing some of the boxes with the anti-mine tiles, and allowing mines in the other boxes. While it makes the .LVL file pretty large (~1.1MB), it's not quite as offensive as some of the .LVZ packages we see these days.

Anyway, I noticed that ASSS threw this warning message:

W <mapnewsdl> compressed map/lvz is bigger than 256k: maps/test.lvl
D <mapnewsdl> {test} [Mystery Meat] sending map/lvz 0 (359649 bytes) (transfer 0x80c2250)

and Continuum crashes with the error "File write error" after the transfer completes.

If I manually place the .lvl in my zone directory, it works fine. I get the same error message if I try the transfer on a subgame2 server as well.

I was wondering if anyone could enlighten me as to why the compressed map can not be larger than 256k, and would love it if any of ya'll had a workaround!

Thanks!
Blindmonkey21 - Tue Jan 18, 2005 6:32 pm
Post subject:
Hey, how are you able to use the tiles? I haven't been able to find a map editor, is there just one I don't know of yet?
Anonymous - Tue Jan 18, 2005 6:53 pm
Post subject:
If you are using ASSS you can modifying game.c so that either the no weapons region attribute only ignores mines, or you can add a new region attribute by hand that ignores mines. Doing it this way will reduce the size of the map.

@Blindmonkey21
There is a forum here called Misc User Apps, if you looked in there you will see all sorts of goodies.
Mystery Meat - Tue Jan 18, 2005 7:07 pm
Post subject:
Thanks for your replies.

Blindmonkey21: I wrote a custom tool after examining the LVL file format description on the ASSS wiki.

Smong: Unfortunately the zone this will be in is running subgame, and is unlikely to be moved to ASSS for a long while (certainly not simply for this arena). I did notice the support for disabling weapons using ELVL regions, and that definately would be a nice work around. :/

On a related note, do you know how Powerball modifies their map runtime? Is it something to do with LVZ objects? If so, that would be a sweet workaround for this problem..

Thanks!
Smong - Wed Jan 19, 2005 2:04 pm
Post subject:
Explain more on this 'map runtime'? You mean like timed game? Or maybe dynamic map using doors and a bot?
Dr Brain - Wed Jan 19, 2005 4:57 pm
Post subject:
That's a continuum/protocol problem that we found in Hyperspace.

If the map is too large compressed, Cont dies in the manner you saw. As a result, grel added the warning you noticed.

You have no choice but to remove tiles from the map and reduce the filesize.

This bug will show up in both ASSS and Subgame2.

The ASSS regions may stop people from firing weapons, but they do not stop people from taking damage inside the region.
Mystery Meat - Tue Jan 25, 2005 5:39 pm
Post subject:
Smong: Well, I'm a dumbass. Doors and bot.

Dr. Brain: I did eventually reduce tiles to stop it from crashing... we are riding just a few kilobytes under the limit icon_wink.gif. Check out SSCX Alpha West ?go battle.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group