Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • stCky: Palidinho is your OpenGL (was it OpenGL?) stuff open source anywhere?
      August 16, 2017, 09:07:22 PM
    • Travas:BUILD THE WALL
      August 15, 2017, 09:28:49 PM
    • Travas: i have ass cancer
      August 15, 2017, 09:23:29 PM
    • stCky: what are the fudge are you tryna ask?
      August 15, 2017, 08:21:35 PM
    • bader: what are the rsps community alive ?
      August 15, 2017, 05:46:16 PM
    • bader: yo guys
      August 15, 2017, 05:46:08 PM
    • Spacehost:[link] Updated our thread :)
      August 15, 2017, 09:40:34 AM
    • Adaro: The client is in Download section at Homepage
      August 15, 2017, 01:09:20 AM
    • FaTe_Of_GoDs: where do i get the client?????????????
      August 14, 2017, 05:23:14 PM
    • stCky: can anyone help me? I cant login to the shoutbox
      August 13, 2017, 05:45:15 PM
    • drubrkletern: appeal denied
      August 13, 2017, 02:35:27 PM
    • King_Trout:[link]
      August 13, 2017, 11:17:12 AM
    • Cole1497: no sorry
      August 13, 2017, 10:27:14 AM
    • ayz: yo can anyone explain something to me
      August 13, 2017, 08:08:51 AM
    • coolking12: Hi
      August 13, 2017, 04:16:06 AM
    • stCky: n+1
      August 11, 2017, 06:09:24 PM
    • PalidinoDH: How many more pages are going to show errors before this dude gets on and fixes shit
      August 11, 2017, 04:57:00 PM
    • stCky: it is made by the wonderful people at jetbrains
      August 10, 2017, 10:00:06 PM
    • Zoravon: what's the difference between that and eclipse?
      August 10, 2017, 05:59:52 PM
    • stCky: use an IDE like IntelliJ or shitclipse
      August 10, 2017, 05:33:01 PM

    Author Topic: Packing 508 maps/models into Caceh Crashes Client!  (Read 870 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinede dust89

    • Member
    • ****
    • Posts: 459
    • Thanks: +0/-0
      • View Profile
    Packing 508 maps/models into Caceh Crashes Client!
    « on: January 18, 2016, 12:28:01 AM »
    Hey guys,

    I have been trying to add 508+ maps into my PI Refactored client for 3 days now.. I have followed every tutorial there is and went through all the code as thoroughly as I can and I think I can conclude that the problem may be with Tom's Cache suite rather than the code and models themselves.

    The best and most efficient guide I followed on doing this was Galkon's Index Repacking snippet. I redid this one alone at least 5 times and I keep getting the same problem.

    https://www.rune-server.ee/runescape-development/rs2-client/snippets/323269-index-repacking.html

    I always end up with:

    Code: [Select]
    PANIC! RANDOMISED BLOCK!
    Error: loaderror Requesting maps 75

    I only end up with this error if I repack anything in my cache using Tom's suite, but I need to repack the following in order for it to work:
    model_index.dat
    flo.dat
    loc.dat
    loc.idx

    And I don't know if the files I'm using are corrupt, or if Tom's suite is just messing the thing up.

    My cache size is 63.3 megabytes and I was wondering if it just may be too big for the suite as I've seen other people say.

    Would anyone know what to do??

    EDIT: I just repacked my cache with my old files:
    model_index.dat
    flo.dat
    loc.dat
    loc.idx

    and it loaded the old data just fine, but I still ended up with:

    Code: [Select]
    PANIC! RANDOMISED BLOCK!
    This output is being generated because of this:

    Code: [Select]
    class32.aBoolean575 = byte0 != 0;
    if(class32.aBoolean575)
    System.out.println("PANIC! RANDOMISED BLOCK!");

    And because the names of the variables are not really helpful I am still searching through tons of files and methods trying to figure out what the problem is. Does anyone know why this is happening?

    Update: I have tried manually repacking the models by creating a command in client.java:

    Code: [Select]
                            if(inputString.equals("::repack"))
                            {
                            for(int i = 1; i < 5; i++)
                            {
                            repackCacheIndex(i);
                            }
                            }
    Now the models are packing but when I go to any place that has any models (any place that isnt all black)

    The client crashes and I end up with this:

    Code: [Select]
    Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 16433
    at ObjectDef.forID(ObjectDef.java:14)
    at ObjectManager.method189(ObjectManager.java:1334)
    at client.method54(client.java:2790)
    at client.loadingStages(client.java:2761)
    at client.mainGameProcessor(client.java:3238)
    at client.processGameLoop(client.java:2365)
    at RSApplet.run(RSApplet.java:101)
    at client.run(client.java:4829)
    at java.lang.Thread.run(Thread.java:745)

    I believe this may be happening because the models might be too high in number but in the guide that Galkon made, I followed the snippet to make my cache size unlimited so I don't know why I would get this error.

    Update: Still stuck. WTF!!!

    Update: I might just delete my whole fudgeing client rn. How tf is this possible
    « Last Edit: January 18, 2016, 05:24:47 AM by de dust89 »

    OfflineX-J-K-X

    • Member
    • ****
    • Posts: 1,951
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #1 on: January 18, 2016, 06:19:14 AM »
    I don't think the randomised block is too much of an issue. When I was adding higher data I got this too, but didn't cause any problems so I just ignored it.

    The out of bounds exception on the other hand, well it looks like your models haven't been added correctly if you're still getting that error. Make sure your models are being read properly. I had an issue where even though the models were cache packed, it was only reading up to a certain amount of objects and ignoring the new data that I had added.

    Offlinede dust89

    • Member
    • ****
    • Posts: 459
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #2 on: January 18, 2016, 07:37:26 AM »
    I don't think the randomised block is too much of an issue. When I was adding higher data I got this too, but didn't cause any problems so I just ignored it.

    The out of bounds exception on the other hand, well it looks like your models haven't been added correctly if you're still getting that error. Make sure your models are being read properly. I had an issue where even though the models were cache packed, it was only reading up to a certain amount of objects and ignoring the new data that I had added.

    I have literally done so much back and forth that I can't even remember the steps anymore... I'm so lost now. I just deleted everything opened up my backup clientfiles and I'm trying to restart but I always mess up once It gets to the cache packing part.. Can you help me out on that part because that's the part that gives me the errors.


    OfflineX-J-K-X

    • Member
    • ****
    • Posts: 1,951
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #3 on: January 18, 2016, 07:54:23 AM »
    I don't think the randomised block is too much of an issue. When I was adding higher data I got this too, but didn't cause any problems so I just ignored it.

    The out of bounds exception on the other hand, well it looks like your models haven't been added correctly if you're still getting that error. Make sure your models are being read properly. I had an issue where even though the models were cache packed, it was only reading up to a certain amount of objects and ignoring the new data that I had added.

    I have literally done so much back and forth that I can't even remember the steps anymore... I'm so lost now. I just deleted everything opened up my backup clientfiles and I'm trying to restart but I always mess up once It gets to the cache packing part.. Can you help me out on that part because that's the part that gives me the errors.

    There are some snippets around that actually cache pack the data for you. I think you'll find them on r-s.

    Also remember my last post, just because you pack them, doesn't mean your client will automatically use them. You need to make sure your client is reading the extra models you're adding.

    Offlinede dust89

    • Member
    • ****
    • Posts: 459
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #4 on: January 18, 2016, 07:56:43 AM »
    I don't think the randomised block is too much of an issue. When I was adding higher data I got this too, but didn't cause any problems so I just ignored it.

    The out of bounds exception on the other hand, well it looks like your models haven't been added correctly if you're still getting that error. Make sure your models are being read properly. I had an issue where even though the models were cache packed, it was only reading up to a certain amount of objects and ignoring the new data that I had added.



    I have literally done so much back and forth that I can't even remember the steps anymore... I'm so lost now. I just deleted everything opened up my backup clientfiles and I'm trying to restart but I always mess up once It gets to the cache packing part.. Can you help me out on that part because that's the part that gives me the errors.

    There are some snippets around that actually cache pack the data for you. I think you'll find them on r-s.

    Also remember my last post, just because you pack them, doesn't mean your client will automatically use them. You need to make sure your client is reading the extra models you're adding.

    Well I'm I am following tutorials, and I the furthest I have reached is loading the models but everything is black, and I read some comments related to that and they say I need to include the objects and flo.dat, ect. and when I do that I get that same error again..

    I also have read that I needed to change my model header and I did that as well, but that still didn't work =/

    can you add me on skype? previn.savaya

    update: anyone!!

    update: please?!?!

    update: Someone???

    Update: So no one knows how to do this now?

    WTF!!
    « Last Edit: January 22, 2016, 11:54:15 PM by de dust89 »

    Offlineprevin

    • Member
    • **
    • Posts: 7
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #5 on: January 27, 2016, 01:57:46 AM »
    bump

    Offline1210saad

    • Member
    • **
    • Posts: 6
    • Thanks: +0/-0
      • View Profile
    Re: Packing 508 maps/models into Caceh Crashes Client!
    « Reply #6 on: February 01, 2016, 12:33:44 PM »
    For me some of the maps load but are really glitchy while others don't and i get T3 error.

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal