Thread: Need help with 508 Data

Results 1 to 3 of 3
  1. #1 Need help with 508 Data 
    Carpet Developer


    Join Date
    Sep 2010
    Posts
    790
    Thanks given
    48
    Thanks received
    145
    Rep Power
    403
    Well I Cache packed 508 maps and objects, and fixed most of the errors. Now someone said i need to update my model header? Idk how todo that. Im loading 474 data except 508 maps and objects. what classes should be edited. Could someone edit my model.java? Or is their more needed?

    Here is my model.java
    [Only registered and activated users can see links. ]

    I now get an error about the outofbounds


    Anyone?
    Reply With Quote  
     

  2. #2  
    Carpet Developer


    Join Date
    Sep 2010
    Posts
    790
    Thanks given
    48
    Thanks received
    145
    Rep Power
    403
    Anyone?....
    Reply With Quote  
     

  3. #3  
    Carpet Developer


    Join Date
    Sep 2010
    Posts
    790
    Thanks given
    48
    Thanks received
    145
    Rep Power
    403
    Ok so after tampering with objectdef.java. now i just get this.
    I changed buffer.currentOffset = streamIndices[i + 50000];//what
    } catch(Exception e) {
    e.printStackTrace();
    }

    and
    public static void unpackConfig(StreamLoader streamLoader)
    {
    buffer = new Stream(streamLoader.getDataForName("loc.dat"));
    Stream buffer = new Stream(streamLoader.getDataForName("loc.idx"));
    int totalObjects = buffer.readUnsignedWord();
    System.out.println("508 Object Amount: " + totalObjects);
    streamIndices = new int[totalObjects + 50000]; //what

    now i just get blank maps with no objects?
    [Only registered and activated users can see links. ]
    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. Replies: 9
    Last Post: 01-06-2011, 09:09 PM
  2. 525 data
    By Genc in forum Show-off
    Replies: 27
    Last Post: 08-21-2010, 09:30 PM
  3. Replies: 13
    Last Post: 07-14-2010, 09:32 PM
  4. 508 map data
    By marciano in forum Requests
    Replies: 7
    Last Post: 03-21-2010, 10:53 PM
  5. Map data
    By Bruno in forum Requests
    Replies: 12
    Last Post: 08-01-2009, 06:21 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
  •