Game Client modified by Ender

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

Moderator: Phades

User avatar
Oddity
Posts: 1983
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Post by Oddity »

Ok, it's probably been said before:

Can we pretty please get multi-login remembering for Ender's? I'm tempted to figure out how to do it myself, but in case someone already knows how to do it...
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
User avatar
boshaw
Posts: 1612
Joined: Tue Jun 01, 2010 10:22 pm

Re: Game Client modified by Ender

Post by boshaw »

Oddity wrote:Ok, it's probably been said before:

Can we pretty please get multi-login remembering for Ender's? I'm tempted to figure out how to do it myself, but in case someone already knows how to do it...


Do you mean something like this:
Image
User avatar
olgeigracexD
Posts: 76
Joined: Wed Sep 08, 2010 7:40 pm

Re: Game Client modified by Ender

Post by olgeigracexD »

I have something like that in my custom client. Whole source is not ready to publish yet, so i'm posting only a quickly refactored version of related classes on pastebin.

Here you are:
AccountsPanel - http://pastebin.com/tbHRDbhg
LoginScreen - http://pastebin.com/xTnTnWCC
Base64 - http://pastebin.com/Kx4uGqvN

BEWARE! If someone got your accounts.conf file, he would decode it easily and steal all passwords stored in it!
User avatar
Oddity
Posts: 1983
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Post by Oddity »

boshaw, yes that's good :)
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
Aceblackjack
Posts: 1
Joined: Fri May 24, 2013 8:47 am

Re: Game Client modified by Ender

Post by Aceblackjack »

So if I download this client, I won't have to worry about patching any of this stuff in? I'm new.
User avatar
Arcanist
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Game Client modified by Ender

Post by Arcanist »

olgeigracexD wrote:I have something like that in my custom client. Whole source is not ready to publish yet, so i'm posting only a quickly refactored version of related classes on pastebin.

Here you are:
AccountsPanel - http://pastebin.com/tbHRDbhg
LoginScreen - http://pastebin.com/xTnTnWCC
Base64 - http://pastebin.com/Kx4uGqvN

BEWARE! If someone got your accounts.conf file, he would decode it easily and steal all passwords stored in it!


How do we patch that into the current version of enders? (06.04.12)
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

Re: Game Client modified by Ender

Post by mvgulik »

boshaw wrote:
Oddity wrote:... Can we pretty please get multi-login remembering for Ender's? ...

Do you mean something like this:
[img]http://i.imgur.com/kxMPXVo.png[img]


*drool*

One other problem that comes to mind here is that the Default and/or Ender client tends to fail a lot when logging of a Character and/or User. Kinda cutting the fun of having a multi-login feature in half. (I'm not sure if the game-server plays a role here.)
User avatar
Oddity
Posts: 1983
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Post by Oddity »

Does anyone know the reason for Ender's sometimes hanging forever when you try to logout?
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
User avatar
olgeigracexD
Posts: 76
Joined: Wed Sep 08, 2010 7:40 pm

Re: Game Client modified by Ender

Post by olgeigracexD »

It's thread synchronization problem.

fixed method in Logout.java:

Code: Select all

edited


Not sure how to fix logging out when sleeping. It's inside res file i guess


Edit: Nah. Just adding "synchronized" in Session.java works fine here

Code: Select all

    public synchronized void close() {
            sworker.interrupt();
    }
Last edited by olgeigracexD on Sat May 25, 2013 6:42 am, edited 1 time in total.
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

Re: Game Client modified by Ender

Post by mvgulik »

olgeigracexD wrote:Not sure how to fix logging out when sleeping. It's inside res file i guess

If it is, its not in the Bed related gfx-res files them-self. As they don't contain a code layer.

Return to “The Wizards' Tower”