DEVS: Are you interested in a brand-new client?

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: DEVS: Are you interested in a brand-new client?

Postby themendios » Sun Feb 13, 2011 10:44 am

marvi wrote:
themendios wrote:Okay I need a little help understanding your auth process sorry! Shouldn't need hand-holding once I get past this part, I don't know why it's taking so much effort, probably because I'm not incredibly comfortable with SSL and am afraid I'm messing that part up.

If I have the SSL set up and handshake complete (according to reflection), if I understand your code correctly I should send a [0][length of username][username utf-8] byte array and get back a 2-byte header that starts with [0] right? Then eventually get a token etc.

I'm sending successfully but then never get anything back, not even the 2-byte header. I don't know what I'm not getting on your code I've been through it 20 times.


Some time ago, having the same issue I [almost] blindly rewrote original Java code. :]

Here the authentication code snippet which works for me: link. Hope this helps.

Very very nice ty. I was afraid after cutting out 768 line numbers (argh) it wouldn't work but it does.

I see a few differences where you basically shortcut the SSL (no client cert, blank targethost) somehow they add up to it working, I'm happy!

Also loftar I'm not that wet behind the ears to forget to flush! haha
themendios
 
Posts: 49
Joined: Mon Feb 07, 2011 6:32 pm

Re: DEVS: Are you interested in a brand-new client?

Postby SeanPan » Tue Feb 15, 2011 11:00 am

Update on progress please.
User avatar
SeanPan
 
Posts: 218
Joined: Wed Feb 09, 2011 7:11 am

Re: DEVS: Are you interested in a brand-new client?

Postby themendios » Tue Feb 15, 2011 6:17 pm

SeanPan wrote:Update on progress please.

Feverishly coding a control library, game engine, sprite manager and reverse engineering the netcode. Couple thousand lines of code thus far but mostly an implementation library from scratch. Been fun!

If that means anything to you. If not, "working on it".
themendios
 
Posts: 49
Joined: Mon Feb 07, 2011 6:32 pm

Re: DEVS: Are you interested in a brand-new client?

Postby dra6o0n » Tue Feb 15, 2011 6:55 pm

When they made the client open sourced, it's also when they screwed over the community by allowing the tools to used by the wrong people to create bots and other little cheating clients.
dra6o0n
 
Posts: 481
Joined: Tue Aug 24, 2010 3:11 am

Re: DEVS: Are you interested in a brand-new client?

Postby sabinati » Tue Feb 15, 2011 6:58 pm

dra6o0n wrote:When they made the client open sourced, it's also when they screwed over the community by allowing the tools to used by the wrong people to create bots and other little cheating clients.


lol, nobody was able to modify the client or use macro tools before they did that? :roll:
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: DEVS: Are you interested in a brand-new client?

Postby themendios » Tue Feb 15, 2011 7:27 pm

dra6o0n wrote:When they made the client open sourced, it's also when they screwed over the community by allowing the tools to used by the wrong people to create bots and other little cheating clients.

It's Java. It's open source whether you want it to be or not.

Minecraft is not open source but it's in Java, I hooked into it quite easily even though it's obfuscated. Now at this point he's got teams of people deobfuscating the code and releasing 'mods' and whole APIs.

Regarding anti-cheat, if I put some kind of limit or pattern recognition to commands I can hook all network commands into a compiled C++ dll and then there's no botting. But then all network traffic is going into a black box since it already is (the server). Honestly on the server side there needs to be some kind of minor pattern recognition (like if all commands are coming in in intervals of 100ms + latency) and either a challenge or disconnect.

I was actually a little concerned at first that if I wrote this someone would modify and use it to bot/macro but honestly if they had the will/talent they could have done it in Java (and in fact the code would be quite similar).
themendios
 
Posts: 49
Joined: Mon Feb 07, 2011 6:32 pm

Re: DEVS: Are you interested in a brand-new client?

Postby sabinati » Tue Feb 15, 2011 7:44 pm

themendios wrote:honestly if they had the will/talent they could have done it in Java (and in fact the code would be quite similar).


they did viewtopic.php?f=5&t=14662
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: DEVS: Are you interested in a brand-new client?

Postby themendios » Tue Feb 15, 2011 7:51 pm

sabinati wrote:
themendios wrote:honestly if they had the will/talent they could have done it in Java (and in fact the code would be quite similar).


they did viewtopic.php?f=5&t=14662

I have that client after hunting it down, it's nothing special. except it actually scales AND has nightvision(my only problem with Ender's since my laptop + grime filter = can't see). Unless I'm missing the ctrl+[f]ree LP command?

Seriously tho I doubt my code is any easier to read than loftar's, I just LIKE making 5 layers of abstraction when I'm in OOP mode.
themendios
 
Posts: 49
Joined: Mon Feb 07, 2011 6:32 pm

Re: DEVS: Are you interested in a brand-new client?

Postby sabinati » Tue Feb 15, 2011 7:58 pm

that client has a scripting engine
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: DEVS: Are you interested in a brand-new client?

Postby themendios » Tue Feb 15, 2011 7:59 pm

sabinati wrote:that client has a scripting engine

Ah I didn't know that. Not that I care, I haven't macroed since it ruined Asheron's Call for me (hey I'm lvl 500, uh wtf do I do now?)
themendios
 
Posts: 49
Joined: Mon Feb 07, 2011 6:32 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 0 guests