Server Help

LVZ/LVL Questions - Bak LVZ ImagePlacer Compresion (bak read)

Anonymous - Tue Jan 04, 2005 9:57 pm
Post subject: Bak LVZ ImagePlacer Compresion (bak read)
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.
Mine GO BOOM - Tue Jan 04, 2005 10:30 pm
Post subject:
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.
Bak - Wed Jan 05, 2005 6:22 pm
Post subject:
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).
Assassin2684 - Wed Jan 05, 2005 7:45 pm
Post subject:
lol clit sa_tongue.gif
Solo Ace - Wed Jan 05, 2005 8:53 pm
Post subject:
HAHAHAHA LOLOLOL HE SAID "CLIT" OMFG ROFLMAO LOLOLOL!

How old are you again, Assassin? icon_confused.gif
Purge - Wed Jan 05, 2005 10:22 pm
Post subject:
My CLIT usually crashes when saving a .lvz sa_tongue.gif
Assassin2684 - Thu Jan 06, 2005 3:12 pm
Post subject:
LMAO, o and btw solo im not telling you sa_tongue.gif
Purge - Thu Jan 06, 2005 3:17 pm
Post subject:
I'll take a wild guess and say that he's 15 years old. sa_tongue.gif
Bak - Thu Jan 06, 2005 5:27 pm
Post subject:
what error does your CLIT give you? (open the java console if nothing pops up)
Purge - Thu Jan 06, 2005 6:41 pm
Post subject:
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.
Bak - Thu Jan 06, 2005 7:42 pm
Post subject:
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.
Purge - Thu Jan 06, 2005 7:47 pm
Post subject:
I'll see to it. Will Edit this post when done.
Blindmonkey21 - Fri Jan 07, 2005 5:42 pm
Post subject:
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
Purge - Fri Jan 07, 2005 6:02 pm
Post subject:
My CLIT only has a 2% usage. sa_tongue.gif
Blindmonkey21 - Sat Jan 08, 2005 5:02 pm
Post subject:
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.
Purge - Sat Jan 08, 2005 7:27 pm
Post subject:
Well, then I guess my CPU is special. sa_tongue.gif
Bak - Sun Jan 09, 2005 1:53 pm
Post subject:
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.
Purge - Sun Jan 09, 2005 3:17 pm
Post subject:
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
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group