|
|
If you can't edit your cache with Tom's Cache editor but need fast new Login Sprite[as an Example] try this:
client.java
search for
and replaceCode:void loadTitleScreen
withCode:titleBox = new Background(titleStreamLoader, "titlebox", 0);
andCode:titleBox = new Sprite("Login/TITLEBOX");
withCode:titleBox = new Background(titleStreamLoader, "titlebox", 0);
Then search for allCode:titleButton = new Sprite("Login/TITLEBUTTON");
and replace all withCode:titleBox.drawBackground
andCode:titleBox.drawSprite
and also replace all withCode:titleButton.drawBackground
finally search forCode:titleButton.drawSprite
and replace them withCode:private Background titleBox; public Sprite titleBox1; private Background titleButton;
Hope this helped it's not the best way but yeah.Code:private Sprite titleBox; public Sprite titleBox1; private Sprite titleButton;
Don't forget to add your new sprites to cache/Sprite/Login/
thanks

this is more of a snippet + common sense but gj

pretty common but gj.

Why the fuck would you want to change images load from the media archive into loading external sprites.
This really doesn't even make sence because if you really wanted to edit it you still have to update the cache for everyone else. But thanks for this. GJ.
The point is not to eliminate the need for players to update their cache.
The point is to allow for the changing of the title box without the need to edit the image archives in one's cache.
Which is incredibly useful to me, since my cache becomes corrupted upon trying to change certain image archives.
This.
I don't see this as long as a tutorial. Also, the client is a renamed client. There isn't a client that is PI or Project Insanity. (Yes, it may have come from a PI server source download, but it is just a Renamed Client with a modified cache)
OT: This looks alright. I prefer things loading from my cache however.
| « Home Teleport by Minimap | [Tutorial] Adding Animation to Cape models based on Skillcapes » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |