Thread: [ELVARG] Infernal Cape / OSRS Textures Not Working

Results 1 to 9 of 9
  1. #1 [ELVARG] Infernal Cape / OSRS Textures Not Working 
    Registered Member
    Join Date
    Jul 2017
    Posts
    57
    Thanks given
    24
    Thanks received
    10
    Rep Power
    14
    I just want to preface my post to say that I have already tried looking on google, and the forum search. I found some pretty good threads and resources and implemented what I thought was what I needed for my client to get the Infernal cape texture to load (it was previously white). Using this snippet/modification found here: [Only registered and activated users can see links. ]

    I dumped the texture archive from a client with working infernal cape and repacked them to my client.


    After adding that, my client would null and crash if I logged in while wearing the Infernal cape, or if I tried to equip it. The interface model did not become textured and instead appeared buggy or glitched.

    I then moved on and implemented this in my client as well. [Only registered and activated users can see links. ]

    With this the models in my inventory appeared to become textured.



    However when I equip the cape, there is no crash, but the cape has a black background with the lower edge appearing to be texturizing.


    Below are the classes from my client. Any help would be appreciated I did a lot of back and forth tweaking to try and get it to work, and then back to replacing the classes and starting over.

    Client.java inside of writeBackgroundTexture

    Code:
    			if (Rasterizer3D.textureLastUsed[58] >= j) {
    				IndexedImage background_1 = Rasterizer3D.textures[58];
    				int l = background_1.width * background_1.height - 1;
    				int k1 = background_1.width * tickDelta * 2;
    				byte abyte1[] = background_1.palettePixels;
    				byte abyte4[] = aByteArray912;
    				for (int j2 = 0; j2 <= l; j2++)
    					abyte4[j2] = abyte1[j2 - k1 & l];
    
    				background_1.palettePixels = abyte4;
    				aByteArray912 = abyte1;
    				Rasterizer3D.requestTextureUpdate(58);
    			}
    applyTexturing method from ItemDefinition.java
    Code:
    	public static void applyTexturing(Model model, int id) {
    		switch (id) {
    
    			case 21295:
    			case 21284:
    				model.setTexture(127, 58);
    				break;
    
    			case 12771:
    				model.setTexture(40);
    				break;
    		}
    	}
    Entire ItemDefinition class:
    Code:
    https://pastebin.com/yWgtPaaM
    Model class:
    Code:
    https://pastebin.com/CpKF08J4
    Rasterizer3D class:
    Code:
    https://pastebin.com/Qq4AXD0G


    Thanks for reading.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    60
    Discord
    View profile
    Rep Power
    0
    Add in the osrs texture support
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2017
    Posts
    57
    Thanks given
    24
    Thanks received
    10
    Rep Power
    14
    Quote Originally Posted by Emre View Post
    Add in the osrs texture support
    I think I did, well I added this: [Only registered and activated users can see links. ]

    I renamed the setTexture for the Model class to the naming of Elvarg's client.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    60
    Discord
    View profile
    Rep Power
    0
    Quote Originally Posted by HeyPewds View Post
    I think I did, well I added this: [Only registered and activated users can see links. ]

    I renamed the setTexture for the Model class to the naming of Elvarg's client.
    No that's not it
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2017
    Posts
    57
    Thanks given
    24
    Thanks received
    10
    Rep Power
    14
    Got this fixed, believe it or not my client code was fine. The damn texture archive wasn't reading the new textures. Odd, the one thing that isn't readily available to download and the ones on google didn't work. Had to dump it from a server in the adverts.



    Want to extend my thanks to Devkotlin on here as he spent some time making sure it wasn't my client messed up.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    sell me the infernal cape code?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2017
    Posts
    310
    Thanks given
    36
    Thanks received
    75
    Rep Power
    3
    ^

    Don't buy it.. MistPS already has it. Get it for free instead
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Oct 2017
    Posts
    643
    Thanks given
    6
    Thanks received
    116
    Rep Power
    161
    Quote Originally Posted by 12345pk View Post
    sell me the infernal cape code?
    its release use source elvarg or mist-ps
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. Thankful user:


  10. #9  
    Registered Member
    Dragon's Avatar
    Join Date
    Mar 2015
    Posts
    1,060
    Thanks given
    135
    Thanks received
    197
    Discord
    View profile
    Rep Power
    240
    check mist-ps
    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. OSRSPK/Elvarg Infernal cape textures
    By wolfenzi in forum Snippets
    Replies: 9
    Last Post: 08-01-2019, 05:24 PM
  2. HD Floor textures not working
    By SeVeN in forum Help
    Replies: 3
    Last Post: 10-20-2016, 02:03 AM
  3. OSRS Clipping - No errors but not working
    By V i c t o r in forum Help
    Replies: 20
    Last Post: 07-12-2016, 11:51 AM
  4. cape works and does not work to :s
    By pernix_guard in forum Help
    Replies: 5
    Last Post: 12-14-2013, 10:43 AM
  5. Replies: 10
    Last Post: 05-19-2013, 12:09 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
  •