Howdy pardner!

These here forums are read-only. Click here to go to the new forums, where you can actually post and stuff!

Sorry for the inconvenience

-Andrew

On one of my projects, I need to authenticate classicube accounts. So I tried using the api for logging in, however I've been running into some problems. The api consistently returns an error concerning the token that I get from sending a GET request to the api. I'm using the 'session' cookie as well when I send the requests, so I honestly have no idea what's causing the error.

Code: http://pastebin.com/r4c8eSk4

123DontMessWitMe Special Tue Oct 21 at 16:43:13 (2014)

What kind of "project" are you making that requires a players login information. This sounds VERY sketchy to me.

If you know MineChat, it's going to be exactly like that, except it's going to be for classic and on the pc. If you don't know MineChat, MineChat is an ios app that lets users connect to premium servers and just chat instead of actually playing.

I was reluctant to say what it was I'm making due to possible stealing of ideas, even though I know that probably wouldn't happen.

123DontMessWitMe Special Tue Oct 21 at 16:59:31 (2014)

most people use IRC to chat without playing nowadays

(Automerge)

anyways, I'm of no help when it comes to this, so I'll go back to work

Well, this is how I did it in Java (taken from my android client):

http://www.github.com/xtreme8000/Mineshaft/blob/master/src/com/bytebit/classicbyte/LoginManager.java

++ByteBit posted:++

Well, this is how I did it in Java (taken from my android client):

http://www.github.com/xtreme8000/Mineshaft/blob/master/src/com/bytebit/classicbyte/LoginManager.java

I appreciate it, but I'm using a different method and I've already tried using your method in c#, it did not work.

My project ClassicBot May be able to help you, If you dont want to use it and build it yourself, you can take a look at the authentication library I made for ClassiCube, Here. It includes caching of the page to cut down on requests.

++umby24 posted:++

My project ClassicBot May be able to help you, If you dont want to use it and build it yourself, you can take a look at the authentication library I made for ClassiCube, Here. It includes caching of the page to cut down on requests.

Thank you a lot, this worked.

🛑 This thread has been set to read-only due to inactivity. 🛑