Thread: Server-Sided Clipping

Results 1 to 2 of 2
  1. #1 Server-Sided Clipping 
    Registered Member Ethan.'s Avatar
    Join Date
    Aug 2016
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hello, I've added a custom map to the client, it comes up fine (Client Side)
    but when I go to add clipping, I get this error.

    Code:
    java.util.zip.ZipException: Not in GZIP format
    	at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
    	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
    	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91)
    	at com.elvarg.util.CompressionUtil.gunzip(CompressionUtil.java:27)
    	at com.elvarg.util.FileUtil.getDecompressedBuffer(FileUtil.java:70)
    	at com.elvarg.world.collision.region.RegionClipping.loadRegion(RegionClipping.java:118)
    	at com.elvarg.world.collision.region.RegionClipping.addObject(RegionClipping.java:450)
    	at com.elvarg.world.collision.region.RegionClipping.addObject(RegionClipping.java:494)
    	at com.elvarg.world.entity.impl.object.ObjectHandler.spawnGlobalObject(ObjectHandler.java:41)
    	at com.elvarg.definitions.ObjectDefinition$1.load(ObjectDefinition.java:51)
    	at com.elvarg.util.JsonLoader.load(JsonLoader.java:53)
    	at com.elvarg.Elvarg.lambda$main$3(Elvarg.java:85)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    And yes the files are in Gzip format, ive tried exporting as a .dat (and then compressing them).
    I've also tried to export straight as gzip.
    Both don't work, when trying to add them server-side.

    Code:
           
     if (readUShort(in) != GZIP_MAGIC) {
                throw new ZipException("Not in GZIP format");
            }
    Code:
        public final static int GZIP_MAGIC = 0x8b1f;
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2014
    Posts
    65
    Thanks given
    32
    Thanks received
    10
    Rep Power
    0
    I fixed this by using toms suite and dumping the index 4 and using those .dat files instead of using RSPSi to dump.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Server sided clipping/pathfinding
    By Brandyn in forum Selling
    Replies: 21
    Last Post: 06-28-2011, 05:23 PM
  2. [PI][50$]Server Sided Clipped Following
    By Division in forum Requests
    Replies: 20
    Last Post: 02-27-2011, 09:45 AM
  3. [PI][30$]Server Sided Clipped Following
    By Division in forum Help
    Replies: 0
    Last Post: 02-23-2011, 09:08 AM
  4. [PI] 20$ - Server Sided Clipped Following
    By Division in forum Help
    Replies: 2
    Last Post: 01-28-2011, 04:40 PM
  5. Server-sided clipped combat following.
    By brkownz in forum Show-off
    Replies: 34
    Last Post: 12-12-2010, 08:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •