Game Client modified by Ender

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

Moderator: Phades

Re: Game Client modified by Ender

Postby Oddity » Wed May 22, 2013 8:57 pm

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
Oddity
 
Posts: 1979
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Postby boshaw » Wed May 22, 2013 10:09 pm

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
boshaw
 
Posts: 1590
Joined: Tue Jun 01, 2010 10:22 pm

Re: Game Client modified by Ender

Postby olgeigracexD » Wed May 22, 2013 11:40 pm

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
olgeigracexD
 
Posts: 76
Joined: Wed Sep 08, 2010 7:40 pm

Re: Game Client modified by Ender

Postby Oddity » Thu May 23, 2013 10:41 pm

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
User avatar
Oddity
 
Posts: 1979
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Postby Aceblackjack » Fri May 24, 2013 9:24 am

So if I download this client, I won't have to worry about patching any of this stuff in? I'm new.
Aceblackjack
 
Posts: 1
Joined: Fri May 24, 2013 8:47 am

Re: Game Client modified by Ender

Postby Arcanist » Fri May 24, 2013 10:03 am

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)
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Game Client modified by Ender

Postby mvgulik » Fri May 24, 2013 12:36 pm

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.)
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Game Client modified by Ender

Postby Oddity » Sat May 25, 2013 4:48 am

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
Oddity
 
Posts: 1979
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Game Client modified by Ender

Postby olgeigracexD » Sat May 25, 2013 5:01 am

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.
User avatar
olgeigracexD
 
Posts: 76
Joined: Wed Sep 08, 2010 7:40 pm

Re: Game Client modified by Ender

Postby mvgulik » Sat May 25, 2013 6:34 am

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.
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

PreviousNext

Return to The Wizards' Tower

Who is online

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