Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Curious problem with large .LVL file

 
Post new topic   Reply to topic Printable version
 View previous topic  Continuum level /ini tool (beta 8-6-04) Post :: Post Tileset trouble.  View next topic  
Author Message
Mystery Meat
Newbie


Joined: Jan 18 2005
Posts: 3
Offline

PostPosted: Tue Jan 18, 2005 6:19 pm    Post subject: Curious problem with large .LVL file Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Blindmonkey21
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: Jul 08 2004
Posts: 252
Location: Arizona
Offline

PostPosted: Tue Jan 18, 2005 6:32 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address MSN Messenger
-Smong-
Guest


Offline

PostPosted: Tue Jan 18, 2005 6:53 pm    Post subject: Reply to topic Reply with quote

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

PostPosted: Tue Jan 18, 2005 7:07 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Wed Jan 19, 2005 2:04 pm    Post subject: Reply to topic Reply with quote

Explain more on this 'map runtime'? You mean like timed game? Or maybe dynamic map using doors and a bot?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Wed Jan 19, 2005 4:57 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mystery Meat
Newbie


Joined: Jan 18 2005
Posts: 3
Offline

PostPosted: Tue Jan 25, 2005 5:39 pm    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 366 page(s) served in previous 5 minutes.

phpBB Created this page in 0.490569 seconds : 32 queries executed (94.0%): GZIP compression disabled