Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Minecraft Hacks & Cheats › Minecraft Help › Client Help

Client Help

Posts 1–14 of 14 · Page 1 of 1
Wampwire
Wampwire
Client Help
Ok. I am... Stuck. Out of options.
What ive done is created and hosted a text file with five characters in it. Nothing else. (0.1.4)
Ive got 2 classes in the client.
 
Update.java

Code:
public class Update {
	private static Blood main;
	private static URLReader urlr;
	public static String var1;
	
	public static void update() {
		if(main.CLIENT_VERSION == urlr.versionFromUrl) {
			var1 = "Client is up to date.";
		} else {
			var1 = "New update is available.";
		}
	}
}

 
URLReader.java

Code:
import java.net.*;
import java****.*;

public class URLReader {
	public static String versionFromUrl;
	public static void main(String[] args) throws Exception {
        URL versionurl = new URL("http://pastehtml.com/view/d7dry29db.txt");
        URLConnection vu = versionurl.openConnection();
        BufferedReader in = new BufferedReader(new InputStreamReader(vu.getInputStream()));
        String inputLine;
        while ((inputLine = in.readLine()) != null) {
        	versionFromUrl = in.readLine();
            System.out.println(inputLine);
        }
        in.close();
    }
}


I want java to read the 0.1.4 into a string called versionFromUrl, then the string goes through an if statement. If this string is equal to that string then set var1 to be blah, else, blahblah. However, no matter what I do, the outcome is always "New update available". No idea where I should call the URLReader void. Or even how, Im kinda useless at network programming :P Any help will be awesome
#1 · 13y ago
Wampwire
Wampwire
spent a good hour since I came back from a night out... I gave up. Screw this. Messed with all.. Scanners, BufferedReaders, parsing, regex.. I cant even seem to split a line into 2 strings without getting an outofbounds array exception.. Imma go sleep. Night mpgh.
#2 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
spent a good hour since I came back from a night out... I gave up. Screw this. Messed with all.. Scanners, BufferedReaders, parsing, regex.. I cant even seem to split a line into 2 strings without getting an outofbounds array exception.. Imma go sleep. Night mpgh.
I used Notches premium check in 1.2.5 i.e
Code:
   String parameters = "http://*******.com/blblbalbllal.txt";
 String result = openUrl(parameters);
then
Code:
if (resul*****ntains("Version 0.1.4"))
                {
System.out.println("Update was found!");
open a new gui with would you like to update.
}
if it cant find Version 0.1.4 in text
Code:
 if (!resul*****ntains("Version 0.1.4"))
             {
                System.out.println("Couldn't find an update");
                
                 return;
             }
Code:
  if (result == null)
             {
                 System.out.println("Failed to connect to internet");
                 return;
             }
#3 · edited 13y ago · 13y ago
Wampwire
Wampwire
Ill try that later, work around with it.. Thanks @hackroj .I couldnt think earlier
#4 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
Ill try that later, work around with it.. Thanks @hackroj .I couldnt think earlier
No problem,you will have to modify the code abit too if you are going to put it in start.java but i tested and it works fine.
#5 · 13y ago
Wampwire
Wampwire
well, Ive tried my method before yours. I can get the contents of the page to print out in the console, I just cant seem to figure out how to get the first line into a string so then I could use the if check. .-. Any ideas? @hackroj
#6 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
well, Ive tried my method before yours. I can get the contents of the page to print out in the console, I just cant seem to figure out how to get the first line into a string so then I could use the if check. .-. Any ideas? @hackroj
Hmm im not sure since i basicly just modified notches code but couldn't you use something similiar to the result string like since you put that versionurl is inputline this should work ?
Code:
if (inputLine.contains("Version 0.1.4"))
                {
(whatever you want it to do)
}


---------- Post added at 09:30 AM ---------- Previous post was at 08:59 AM ----------

Also to addon I use my3gb since i can upload txts on an acc and just edit the txt directly without reuploading and it makes everything easier also I was playing around with booleans and just made so if an update is availble it says so in the splash text and it creates a button the button sucks since i did it in 2 secs and it can just replace quit button.
#7 · 13y ago
Wampwire
Wampwire
You can see how I want my thing to be. If the value on the web page does not equal to the value in the client, then display that there is an update available. If not then the client is up to date. You can see at the bottom that I get the 0.1.4 from the client but I think the string includes the html comments (<!-- -->) aswell. Im not quite sure on how to make it so that the first line is the String and the rest just get ignored. I tried split string, but get errors :/ @hackroj
 
Main Menu
#8 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
You can see how I want my thing to be. If the value on the web page does not equal to the value in the client, then display that there is an update available. If not then the client is up to date. You can see at the bottom that I get the 0.1.4 from the client but I think the string includes the html comments (<!-- -->) aswell. Im not quite sure on how to make it so that the first line is the String and the rest just get ignored. I tried split string, but get errors :/ @hackroj
 
Main Menu
Sorry then i have absolutly no idea.Can i ask why do you use the client and web to verify the version tho ? You could just make it if the txt has Update in it that the update is available appears.So basicly make a gui when you press yes it redirects you to the client download link. In my mind its much simpler like this because i can just make my link always the same and then when i go to my website i just edit the txt file to update and it gives you the gui and if i don't want it to update i just remove the update from the text.
#9 · 13y ago
Wampwire
Wampwire
Well, I honestly have no idea. I wanted something new, and I found the problem. The line string is parsing everything from the website including the comments, so Ill look to split them appart. Ill stick with what Ive got. im just experimenting with this client atm so ideas just pop in and out
#10 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
Well, I honestly have no idea. I wanted something new, and I found the problem. The line string is parsing everything from the website including the comments, so Ill look to split them appart. Ill stick with what Ive got. im just experimenting with this client atm so ideas just pop in and out
Oh i would prompt you to try my3gb again since well it doesnt use all that shit and its pretty simple

Like mine if you do view page source its simply 0.1.4 and no mumbo jumbo -lol
page source on my3gb :
Code:
0.1.4
Page source on pastehtml:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id='view_iframe'>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title></title>
		<link href="http://i.pastehtml.com/stylesheets/cache/all.css" media="screen" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
	window.google_analytics_uacct = "UA-83599-25";
</script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-83599-25']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>

	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
	<script>
		 google.load("jquery", "1.7.1");
  	</script>
<script src="http://i.pastehtml.com/javascripts/cache/all.js" type="text/javascript"></script>




	</head>
	<body>
		<div id="wrapper">
			<iframe src="/raw/d7dry29db.txt" frameBorder="0"></iframe>
		</div>
		<div id="controls">
			This page was viewed <b id="view_count">17</b> times and has <a target="_top" href="http://pastehtml.com/info/d7dry29db.txt#disqus_thread" class="disqus_comment_count" ></a>.
			<span class='st_twitter' displayText=''></span>
			<span class='st_facebook' displayText=''></span>
			<span class='st_googleplus' displayText=''></span>
				Sponsored by: <a href='http://search-logs.com/k/map%20of%20new%20york'>map of new york</a>
			<div id="hosted_on">Hosted on</div>
			<img alt="" class="rounded" src="http://i.pastehtml.com/images/design/iframe/rounded.png" />
			<a href="/" class="logo" target="_top"><img alt="PasteHTML.com" src="http://i.pastehtml.com/images/design/iframe/logo.png" /></a>
		</div>

		<script>
		
			// $("#view_count").smartupdater({
			// 	url : "/api/counts/d7dry29db",
			// 	minTimeout: 2000 // 5 seconds
			// 	}, function (data) {
			// 		$("#view_count").html(data);
			// 	}
			// );
		</script>
		<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
		<script type="text/javascript">stLight.options({publisher: "88ec1cfc-eb15-46e5-ae80-479238f71642"}); </script>
		<script type="text/javascript">
		    /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
		    var disqus_url="http://pastehtml.com/info/d7dry29db.txt";
			var disqus_shortname = 'pastehtmlpastehtml';

		    /* * * DON'T EDIT BELOW THIS LINE * * */
		    (function () {
		        var s = document.createElement('script'); s.async = true;
		        s.type = 'text/javascript';
		        s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
		        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
		    }());
		</script>
	</body>
</html>
#11 · 13y ago
Wampwire
Wampwire
@hackroj Nothing to worry anymore. I made the client download the contents of the web page and save it as a txt file and then read from it. If version = to the version in the txt, then set var1 to be client up to date. Thanks for your suggestions anyways ^_^
#12 · 13y ago
HA
hackroj
Quote Originally Posted by Wampwire View Post
@hackroj Nothing to worry anymore. I made the client download the contents of the web page and save it as a txt file and then read from it. If version = to the version in the txt, then set var1 to be client up to date. Thanks for your suggestions anyways ^_^
Smart just sry i couldnt help more lol i guess networking and guis were always my weakpoints.
#13 · 13y ago
Wampwire
Wampwire
Yeah same :P
#14 · 13y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

  • Feed The Beast Client [Help Needed]By XEraden in Minecraft Help
    2Last post 13y ago
  • MCP Hacked Client HelpBy blkjock in Minecraft Help
    3Last post 13y ago
  • packetix vpn client help..By mkti1[BANNED] in WarRock Korea Hacks
    0Last post 15y ago
  • {Help} Lt Client HelpBy justiniscool5 in Combat Arms Coding Help & Discussion
    2Last post 15y ago
  • INVALID VERSION CLIENT..HELPBy skeptron89 in CrossFire Help
    2Last post 15y ago

Tags for this Thread

#client#download#hacked#help#url