Custom Client Launcher [v005] (Use when Auth server is down)

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

Moderator: Phades

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby mvgulik » Tue Sep 17, 2013 6:43 am

Cranny wrote:Now again, it does not work, says: "Subscript used with non-Array available".

It means that the used "www.havenandhearth.com/portal/sec/login" page is out-of-commission at the moment.
See it as a alternative "Target Log-in page not available."
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby Cranny » Tue Sep 17, 2013 2:41 pm

borka wrote:Cranny are you able to login with clients run.bat (without CCLauncher) ?


Hey Borka :D

Yes I can log with the regular run.bat file as I did before having the CCL, and CCL is still not working.
Cranny
 
Posts: 400
Joined: Fri Mar 02, 2012 1:55 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby Cranny » Tue Sep 17, 2013 2:48 pm

mvgulik wrote:
Cranny wrote:Now again, it does not work, says: "Subscript used with non-Array available".

It means that the used "www.havenandhearth.com/portal/sec/login" page is out-of-commission at the moment.
See it as a alternative "Target Log-in page not available."


Im sorry I dont understand very well what you are telling me. :(
"out-of-comission at the moment" means it is temporarily out of work?.
I am just to wait the "Target Login-in page" works again to be able to use the CCL?.
This will happen with me doing nothing?. Has passed 12 hours since failed for me and still not working.
Cranny
 
Posts: 400
Joined: Fri Mar 02, 2012 1:55 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby mvgulik » Tue Sep 17, 2013 6:32 pm

Cranny wrote:Im sorry I dont understand very well what you are telling me.
"out-of-comission at the moment" means it is temporarily out of work?.

Your close.
http://en.wiktionary.org/wiki/out_of_commission
http://idioms.thefreedictionary.com/out+of+commission


I am just to wait the "Target Login-in page" works again to be able to use the CCL?.

yep.

This will happen with me doing nothing?.

Yes.

Has passed 12 hours since failed for me and still not working.

I have no knowledge about how long it usually takes for that page to be back online. It might even need a game server restart for all I know. But ... I don't know.

... So keep trying one's per day, I would say. ...
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby Cranny » Tue Sep 17, 2013 7:39 pm

Hey :D
Thx vm mvgulik, I imagined it was an idiomatic expresion I did not know, but never had seen before this dictionaries with several words tied up meaning one thing, so I learned more and have now a new source to reffer to. :D

Regading CCL I will wait then. Just need some patience.
Last time it happened the same, I checked every day until I forgot and let 3 or 4 days pass and magically it worked!.
I love CCLauncher, I dont need to remember to the top of my mind all the passwords and be writting them each time.
I also find that when I use CCL my screen does not move so much and I dont need to be pressing the "home key" to recenter my screen so much as when I start with Enders alone. Maybe this is not accurate, and has been just a coincidence, but I think it works for me.

Thx again, very kind of you to take of your time and explain to me. :D
Cranny
 
Posts: 400
Joined: Fri Mar 02, 2012 1:55 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby bg1928 » Wed Sep 25, 2013 5:43 am

VB.NET VS 2012
Code: Select all
Imports System.Text.Encoding
Imports System.Text.RegularExpressions
Module Module1
    Class GetInfo
        Dim mode, id, pw As String
        Dim WinHttp
        Sub New(ByVal GetID, ByVal GetPW)
            WinHttp = CreateObject("WinHttp.WinHttpRequest.5.1")
            id = GetID
            pw = GetPW
            mode = "Direct"
        End Sub
        Sub SetMode(ByVal GetMode As String)
            mode = GetMode
        End Sub
        Function fetch()
            If mode = "Direct" Then
                WinHttp.open("POST", "http://www.havenandhearth.com/portal/sec/login?r=/portal/autohaven&username=" & id & "&password=" & pw, False)
                WinHttp.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5")
                WinHttp.SetRequestHeader("Content-Type", "Application/x-www-form-urlencoded")
                WinHttp.Send()
                Dim str = UTF8.GetString(WinHttp.ResponseBody)
                Dim chk As Regex = New Regex("<h1>(.*?)</h1>")
                Dim chkm As Match = chk.Match(str)
                If chkm.Groups(1).Value = "Invalid login" Then
                    MsgBox("id pw error", MsgBoxStyle.Information)
                    End
                Else
                    Dim Regex As Regex = New Regex("""haven.authuser"" value=""(.*?)""")
                    Dim match As Match = Regex.Match(str)
                    id = match.Groups(1).Value
                    Dim Regex2 As Regex = New Regex("""haven.authck"" value=""(.*?)""")
                    Dim match2 As Match = Regex2.Match(str)
                    pw = match2.Groups(1).Value
                    Process.Start("javaw", "-Dhaven.authuser=""" & id & """ -Dhaven.authck=""" & pw & """ -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res")
                    Return 0
                End If
            Else
                MsgBox("idk this mode", MsgBoxStyle.Critical, "HnH Launcher")
                End
            End If
        End Function
    End Class


    Sub Main()
        Dim Snoopy As GetInfo
        Dim Arr = Split(Command, " ")
        If Arr.Length >= 2 Then
            Snoopy = New GetInfo(Arr(0), Arr(1))
        Else
            MsgBox("Arg Error" & vbCrLf & "input ID PW with blank.", MsgBoxStyle.Information, "HnH Launcher")
            End
        End If
        If Arr.Length = 3 Then
            Snoopy.SetMode("Proxy")
        End If
        Snoopy.fetch()
        End
    End Sub
End Module


Image
아이디 = id 패스워드 = pw
bg1928
 
Posts: 1
Joined: Mon Nov 08, 2010 3:46 pm

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby Schro » Sat Sep 28, 2013 2:15 pm

So.. this client launcher is dread right?
didn't work for about a month now
Behold the power of ADHD and autism combined.(fml)
Schro
 
Posts: 35
Joined: Sat Jun 04, 2011 3:50 pm

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby mvgulik » Sun Sep 29, 2013 2:00 am

If you like ...

Technically there is noting wrong with the Custom Client Launcher's.
Its the webpage that is used by the Custom Client Launcher's that seems to have gone missing.
(I don't use the Custom Client Launcher's, so I generally relay on data provide in this topic about it working or not.)

Why this page is not available anymore is unknown to me.
- It can be because of a problem at the game-server side in relation to the used login page/URL.
- It can be because of some stuff was changed. A URL change for example, of which I'm not aware.
- It can also be because it was just scrapped.
Either way. The only one that can answer this is Loftar, as main code, and game-server, maintainer.

So, those that like to be sure need to ask Loftar about this. Preferably answered in this topic of course.

Note: I only keep a small eye on Custom Client Launcher as I'm capable of adjusting the code to some extent ... if needed. But I don't use Custom Client Launcher myself. The later part kinda removing any insensitive on my part to dig any deeper, like asking Loftar about this.
(Some time ago I did try to find a alternative way/URL for CCL to use, but was unsuccessful in that.)
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby borka » Tue Oct 01, 2013 12:18 pm

looks like bg1928 gave some VB.NET code to compile with MS Visual Studio 2012 above (?!?) anyone into VS2012 to do it and test?

And there's a slight hint in the code aswell: while CCL is trying to connect via https - bg1928 tries via http : so anyone using CCL might change it in au3 file to test ...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Custom Client Launcher [v005] (Use when Auth server is d

Postby mvgulik » Tue Oct 01, 2013 1:53 pm

borka wrote:while CCL is trying to connect via https - bg1928 tries via http : so anyone using CCL might change it in au3 file to test ...

As I get a "The query parameter `username' is required but not supplied", when trying the used URL in my web browser ... Suggesting CCL might/should be working again at the moment. (Should be working with both HTTP and HTTPS I think.)
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 1 guest