| 1. |
Solve : Attempting to find hash? |
|
Answer» I'm trying to FIND the hash of my favourite minecraft server so I can automatically switch to it if it changes IP addresses without having to look through the server list and find it, but I'm running into a bit of an issue. When I go to http://www.minecraft.net/servers.jsp and look at the source, I see the server details like this:<BR>Code: [Select]<a href="play.jsp?server=79be7a5abc334f8ae4bcbcd235cd4141"><b>Neko-san. Nyan!</b></a> 8/50 Tried using PHP with cURL?How exactly kpac? There is no switch between --pass and --post301. I'm using the command line "Win32 2000/XP on i386 curl executable" version. you need to be logged in to join or even get links to multiplayer games. (if you log out and view the page you don't get links either). why can't you use view source from within the browser to acquire the link/hash?Quote from: BC_Programmer on May 24, 2011, 08:53:03 PM you need to be logged in to join or even get links to multiplayer games. (if you log out and view the page you don't get links either).So true BC, I completely forgot about that. I already answered that question in my first post however, I wish to do this all automatically. I run a bot for the server, which automatically rejoins except when the server IP changes. I tried using my cookie from internet explorer, but that didn't give desired results, so how would I log in with cURL and download the file? I tried using --user USERNAME:PASSWORD, but that ALSO didn't work. I tried to OBTAIN a cURL cookie by using Code: [Select]curl --cookie-jar newcookie.txt --data "username=USERNAME^&password=PASSWORD^&use_secure=false" http://www.minecraft.net/login.jsp but it tells me my username or password is incorrect, I've checked that they're right.Quote from: Helpmeh on May 24, 2011, 09:05:53 PM So true BC, I completely forgot about that. I already answered that question in my first post however, I wish to do this all automatically. I run a bot for the server, which automatically rejoins except when the server IP changes. youve put that secure=false, surely this needs to be set to true?Nope. I checked the POST data when I submit the form and that's what it is.I would try Denmark.... Sorry Helpmeh....couldn't resist. Quote from: patio on June 07, 2011, 05:37:12 PM I would try Denmark....*sigh* No actual advice though? It doesn't even technically need it to be batch...it just needs to put the hash in a file for the bot.Nobody has an answer...*sigh* BUMP |
|