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
Bak LVZ ImagePlacer Compresion (bak read)

 
Post new topic   Reply to topic Printable version
 View previous topic  Be owner of my zone? Post :: Post Continuum level /ini tool (beta 8-6-04)  View next topic  
Author Message
Ag
Guest


Offline

PostPosted: Tue Jan 04, 2005 9:57 pm    Post subject: Bak LVZ ImagePlacer Compresion (bak read) Reply to topic Reply with quote

I was using Bak’s LVZ Image placer, and I found that HIS lvz image placer compresses images tighter compared to the normal LVZ BUILDER, I was wondering if any one (or Bak) spent some time to edit the current lvz builder, because his, builds much tighter compared to others.
Back to top
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Tue Jan 04, 2005 10:30 pm    Post subject: Reply to topic Reply with quote

From zlib.h
Code: Show/Hide
ZEXTERN int ZEXPORT compress OF((Bytef *dest,   uLongf *destLen,
                                 const Bytef *source, uLong sourceLen));
/*
     Compresses the source buffer into the destination buffer.  sourceLen is
   the byte length of the source buffer. Upon entry, destLen is the total
   size of the destination buffer, which must be at least 0.1% larger than
   sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the
   compressed buffer.
     This function can be used to compress a whole file at once if the
   input file is mmap'ed.
     compress returns Z_OK if success, Z_MEM_ERROR if there was not
   enough memory, Z_BUF_ERROR if there was not enough room in the output
   buffer.
*/

ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,   uLongf *destLen,
                                  const Bytef *source, uLong sourceLen,
                                  int level));
/*
     Compresses the source buffer into the destination buffer. The level
   parameter has the same meaning as in deflateInit.  sourceLen is the byte
   length of the source buffer. Upon entry, destLen is the total size of the
   destination buffer, which must be at least 0.1% larger than sourceLen plus
   12 bytes. Upon exit, destLen is the actual size of the compressed buffer.

     compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
   memory, Z_BUF_ERROR if there was not enough room in the output buffer,
   Z_STREAM_ERROR if the level parameter is invalid.
*/

Code: Show/Hide
#define Z_NO_COMPRESSION         0
#define Z_BEST_SPEED             1
#define Z_BEST_COMPRESSION       9
#define Z_DEFAULT_COMPRESSION  (-1)
/* compression levels */


Mine orignally used compress, which is why mine wasn't the smallest. With compress2, can set compression level.
Back to top
View users profile Send private message Add User to Ignore List Send email
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Jan 05, 2005 6:22 pm    Post subject: Reply to topic Reply with quote

update your version of buildlevel to the newest version. CLIT (the current version anyways) actually uses buildlevel to make the lvz files (which is why at this point it's not platform independent).

Last edited by Bak on Wed Jan 05, 2005 8:43 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Wed Jan 05, 2005 7:45 pm    Post subject: Reply to topic Reply with quote

lol clit sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jan 05, 2005 8:53 pm    Post subject: Reply to topic Reply with quote

HAHAHAHA LOLOLOL HE SAID "CLIT" OMFG ROFLMAO LOLOLOL!

How old are you again, Assassin? icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jan 05, 2005 10:22 pm    Post subject: Reply to topic Reply with quote

My CLIT usually crashes when saving a .lvz sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Thu Jan 06, 2005 3:12 pm    Post subject: Reply to topic Reply with quote

LMAO, o and btw solo im not telling you sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Jan 06, 2005 3:17 pm    Post subject: Reply to topic Reply with quote

I'll take a wild guess and say that he's 15 years old. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu Jan 06, 2005 5:27 pm    Post subject: Reply to topic Reply with quote

what error does your CLIT give you? (open the java console if nothing pops up)
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Jan 06, 2005 6:41 pm    Post subject: Reply to topic Reply with quote

Bak wrote:
what error does your CLIT give you? (open the java console if nothing pops up)


No error actually. Just when I save the .lvz, it stays on "Saving blah.lvz" forever. new_let_it_all_out.gif And after this happens, I can't save anything else on CLIT unless I reboot the Java console. However, this happens sometimes and not all the time.
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu Jan 06, 2005 7:42 pm    Post subject: Reply to topic Reply with quote

open the java console. Chances are there's an exception raised. I would be very grateful if you could copy the exception from the java console and paste it here.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Jan 06, 2005 7:47 pm    Post subject: Reply to topic Reply with quote

I'll see to it. Will Edit this post when done.
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: Fri Jan 07, 2005 5:42 pm    Post subject: Reply to topic Reply with quote

Clit takes up a crazy amount of CPU Usage. I was using the .lvz placer and my computer was REALLY lagging up. So I checked my usage and CLIT was hovering around 99-100 for a while, since then I just use SSME
Back to top
View users profile Send private message Add User to Ignore List AIM Address MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Fri Jan 07, 2005 6:02 pm    Post subject: Reply to topic Reply with quote

My CLIT only has a 2% usage. sa_tongue.gif
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: Sat Jan 08, 2005 5:02 pm    Post subject: Reply to topic Reply with quote

Well I know that it happened to me and I asked 2K+ if he got the same thing and he said his hogged CPU Usage like mad as well.
Back to top
View users profile Send private message Add User to Ignore List AIM Address MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sat Jan 08, 2005 7:27 pm    Post subject: Reply to topic Reply with quote

Well, then I guess my CPU is special. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Jan 09, 2005 1:53 pm    Post subject: Reply to topic Reply with quote

Before it used to do that all the time... which was terrible. I traced it to a part of the code where the main window draws itself then tells the radar to refresh... and when the radar refreshes it would tell the main window to refresh.... you see where this is going. It's shown up occasionally when I have multiple maps open, but I've yet to figure out the cause. You could try to use the newest beta (just out last week), as the radar drawing is redone to speed up scrolling.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sun Jan 09, 2005 3:17 pm    Post subject: Reply to topic Reply with quote

Bak: As for the exception that was raised in CLIT, it seems to work fine now after me re-downloading it from your site. The Java console looked fine from what you asked, so I decided to reinstall it. Now it works fine. icon_razz.gif
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: 85 page(s) served in previous 5 minutes.

phpBB Created this page in 0.508291 seconds : 43 queries executed (78.7%): GZIP compression disabled