Author |
Message |
Mystery Meat Newbie
Joined: Jan 18 2005 Posts: 3 Offline
|
Posted: 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! |
|
Back to top |
|
 |
Blindmonkey21 Server Help Squatter

Age:36 Gender: Joined: Jul 08 2004 Posts: 252 Location: Arizona Offline
|
Posted: 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? |
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: 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. |
|
Back to top |
|
 |
Mystery Meat Newbie
Joined: Jan 18 2005 Posts: 3 Offline
|
Posted: 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! |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: 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? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: 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. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Mystery Meat Newbie
Joined: Jan 18 2005 Posts: 3 Offline
|
Posted: 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 . Check out SSCX Alpha West ?go battle. |
|
Back to top |
|
 |
|