For one, i havent released any new interfaces in a while, and most of you want the ancient curses interface so you will be happy with this snippet. :jelly:
The second fix is the pink border around the newer minimap icons that are found in penor's enhanced client, the main problem is there are too many sprites in the archive and if you pack them correctly it will corrupt your media.jag, this fix creates a new archive called mapfunctions2 which houses the newer icons.
On with the snippet, first, you need to download these files: [Only registered and activated users can see links. ]
Which contain archive4, and the interface.dat.
First, open tom's cache suite and load your cache, you need to go to
View/Edit Raw File System > main_file_cache.idx0 > replace #4
Be advised that if you have any of your own custom sprites packed to the cache, you will lose them.
The new interface.dat is optional, but if you are going to add it, make sure you take a look at this thread and do what is told on there as well. [Only registered and activated users can see links. ]
Next, go to View/Edit Jagex Archives > config.jag > replace data.dat with the interface.dat provided.
Repack Archive!
But we arent done yet! At this point the client isnt loading any sprites from the new archive and ancient curses config ids will freeze the client.
In client.java, find:
Code:
mapFunctions[l3] = new Sprite(streamLoader_2,"mapfunction", l3);
You should see:
Code:
for (int l3 = 0; l3 < 100; l3++)
mapFunctions[l3] = new Sprite(streamLoader_2,"mapfunction", l3);
Replace those 2 lines with this:
Code:
for (int l3 = 0; l3 < 100; l3++)
if(l3 < 75 ) {
mapFunctions[l3] = new Sprite(streamLoader_2,"mapfunction", l3);
} else {
mapFunctions[l3] = new Sprite(streamLoader_2,"mapfunctions2", (l3-76));
}
Next step, fixing the config ids for ancient curses.
Find:
Code:
public void method33(int i)
We are going to add a try-catch statement to this void, it is an alternative to the proper fix i couldnt manage to find.
Forgot to mention, the new interface file contains my incomplete clan chat interface, it is not functional but is built enough where you can use it as a display.
Oh and if anyone needs interface IDs:
21172 - equip your character...
21346 - godwars killcount
Bandos 0 - 21353
Sara 0 - 21352
Arma 0 - 21354
Zamorak 0 - 21355
21356 - Ancient Curses
21701 - Clan Chat
All of the other interfaces that are updated use their original ID
Hmm. Getting Out of Bounds exception on Unpacking Media
Code:
Map Amount: 1226
Error: loaderror Unpacking media 112
java.lang.ArrayIndexOutOfBoundsException: 288
at Stream.readSignedByte(Stream.java:164)
at Background.<init>(Background.java:36)
at client.startUp(client.java:7738)
at RSApplet.run(RSApplet.java:33)
at client.run(client.java:4930)
at java.lang.Thread.run(Unknown Source)