Make sure you commented repack methods
|
Hello, title pretty self explanatory. Whilst the cache is downloading the client screen is completely black, with no writing or progress etc.
Wondering if anyone can help me fix this i would REALLY, appreciate it. Thank you.
(I've tried using drawtext methods used elsewhere and i have no luck, just want something like a progress bar or even 1-100% etc. )
Discord: Reece#2007
Last edited by Reece3221; 01-23-2018 at 11:55 PM. Reason: Adding Contact Details
Make sure you commented repack methods
Tried it, no luck. Here's my client.java and cachedownloader.java
https://paste.ee/p/Xgijj
Solved.
Share a fix with us please? I think you edited this code, but how??
Code:/** DOWNLOADING LOADING IMAGES **/ try { for(int i = 1; i <= 3; i++) { if(!new File(signlink.findcachedir() + "load"+i+".png").exists()) { HttpDownloadUtility.downloadFile("http://LINK.net/client/load"+i+".png", signlink.findcachedir()); } loadingSprites[i - 1] = Toolkit.getDefaultToolkit().getImage(signlink.findcachedir() + "load"+i+".png"); } super.graphics.drawImage(loadingSprites[0], 0, 0, null); super.graphics.drawImage(loadingSprites[1], 5, clientHeight - 35, null); } catch(Exception e) { e.printStackTrace(); }
Yes i did everything right, the only thing i need to do is just make loading background load not right from the cache, but from the url... And also i don't know how, but i need to fix that messed text..
https://www.rune-server.ee/runescape...ml#post5513525
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |