Thread: [Galkons]Ancient curses interface through cache + fixed minimap icons

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 [Galkons]Ancient curses interface through cache + fixed minimap icons 
    Banned

    Join Date
    Jul 2008
    Posts
    3,532
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    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.

    Code:
    	public void method33(int i)
    	{
    	try {
    		int j = Varp.cache[i].anInt709;
    		if(j == 0)
    			return;
    		int k = variousSettings[i];
    		if(j == 1)
    		{
    			if(k == 1)
    				Texture.method372(0.90000000000000002D);
    			if(k == 2)
    				Texture.method372(0.80000000000000004D);
    			if(k == 3)
    				Texture.method372(0.69999999999999996D);
    			if(k == 4)
    				Texture.method372(0.59999999999999998D);
    			ItemDef.mruNodes1.unlinkAll();
    			welcomeScreenRaised = true;
    		}
    		if(j == 3)
    		{
    			boolean flag1 = musicEnabled;
    			if(k == 0)
    			{
    				adjustVolume(musicEnabled, 0);
    				musicEnabled = true;
    			}
    			if(k == 1)
    			{
    				adjustVolume(musicEnabled, -400);
    				musicEnabled = true;
    			}
    			if(k == 2)
    			{
    				adjustVolume(musicEnabled, -800);
    				musicEnabled = true;
    			}
    			if(k == 3)
    			{
    				adjustVolume(musicEnabled, -1200);
    				musicEnabled = true;
    			}
    			if(k == 4)
    				musicEnabled = false;
    			if(musicEnabled != flag1 && !lowMem)
    			{
    				if(musicEnabled)
    				{
    					nextSong = currentSong;
    					songChanging = true;
    					onDemandFetcher.method558(2, nextSong);
    				} else
    				{
    					stopMidi();
    				}
    				prevSong = 0;
    			}
    		}
    		if(j == 4)
    		{
    			if(k == 0)
    			{
    				aBoolean848 = true;
    				setWaveVolume(0);
    			}
    			if(k == 1)
    			{
    				aBoolean848 = true;
    				setWaveVolume(-400);
    			}
    			if(k == 2)
    			{
    				aBoolean848 = true;
    				setWaveVolume(-800);
    			}
    			if(k == 3)
    			{
    				aBoolean848 = true;
    				setWaveVolume(-1200);
    			}
    			if(k == 4)
    				aBoolean848 = false;
    		}
    		if(j == 5)
    			anInt1253 = k;
    		if(j == 6)
    			anInt1249 = k;
    		if(j == 8)
    		{
    			splitPrivateChat = k;
    			inputTaken = true;
    		}
    		if(j == 9)
    			anInt913 = k;
    	} catch (Exception _e) {
    	}
    	}

    Our finished result:




    Enjoy!
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2007
    Age
    28
    Posts
    1,954
    Thanks given
    114
    Thanks received
    608
    Rep Power
    1094
    ohhhhhhhh I see what you did there Nice job.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2008
    Posts
    3,532
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    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
    Reply With Quote  
     

  4. #4  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Age
    24
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    nice
    Reply With Quote  
     

  5. #5  
    なぜこのテキストは日本語で書かれている ?

    Kenneh's Avatar
    Join Date
    Dec 2009
    Age
    27
    Posts
    2,754
    Thanks given
    63
    Thanks received
    296
    Rep Power
    478
    Nice but i'm still waiting on lunar


    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Client God

    Join Date
    Aug 2009
    Posts
    3,130
    Thanks given
    3
    Thanks received
    614
    Rep Power
    896
    Good shit
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Aug 2010
    Posts
    740
    Thanks given
    32
    Thanks received
    51
    Rep Power
    35
    [SPOIL]
    Quote Originally Posted by Archon Server View Post
    What do you mean compile?
    Quote Originally Posted by Hughes View Post
    I don't know the program i need to open a CLASS file since every time i try to open one in notepad it brings up random symbols.

    Quote Originally Posted by Flux View Post
    Quote Originally Posted by Tyluur View Post
    your better
    my better
    [/SPOIL]
    Reply With Quote  
     

  9. #8  
    Registered Member
    MerzA's Avatar
    Join Date
    Jul 2008
    Age
    27
    Posts
    592
    Thanks given
    36
    Thanks received
    28
    Rep Power
    95
    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)
    Yes, I packed the files correctly.
    Reply With Quote  
     

  10. #9  
    Registered Member
    MerzA's Avatar
    Join Date
    Jul 2008
    Age
    27
    Posts
    592
    Thanks given
    36
    Thanks received
    28
    Rep Power
    95
    Nvm fixed. Sprites for regular prayer and Ancient curses aren't loading though...
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Jul 2008
    Posts
    3,532
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    Quote Originally Posted by MerzA View Post
    Nvm fixed. Sprites for regular prayer and Ancient curses aren't loading though...
    what client base are you on? because ive had no issues using any form of galkon's
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [Galkons/Renamed]100% Ancient Curses Interface
    By K4rn4ge in forum Tutorials
    Replies: 106
    Last Post: 08-11-2014, 09:31 PM
  2. Ancient Curses Interface[NON]
    By Sheddy in forum Tutorials
    Replies: 83
    Last Post: 01-31-2012, 02:49 AM
  3. Replies: 0
    Last Post: 10-18-2010, 05:53 PM
  4. ancient curses glow/head icons help! [317]
    By macceyboy97 in forum Help
    Replies: 0
    Last Post: 10-18-2010, 05:35 PM
  5. 100% Ancient Curses Interface help pls
    By shotyoulol in forum Help
    Replies: 5
    Last Post: 08-26-2010, 08:19 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •