Some questions about client

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Some questions about client

Postby APXEOLOG » Wed Jun 02, 2010 4:03 pm

Hi guys. Could you tell me what bytes would msg.blob contains before it would be sent.
Code: Select all
//Bootstrap.java

AuthClient auth = new AuthClient(authserver, "TestUserName");

...

//AuthClient.java

public void binduser(String username) throws IOException {
   Message msg = new Message(CMD_USR);
   msg.addstring2(username);
   sendmsg(msg); // What does msg.blob contain here?
   Message rpl = recvmsg();
   if(rpl.type != 0)
       throw(new IOException("Unhandled reply " + rpl.type + " when binding username"));
    }
W10 Meme Plot | W9 Mantis Garden | W8 Core | W7 Ofir | W6 the City of Dis | W5 Vitterstad | W4 A.D. | W3 Mirniy
jorb wrote:All your characters will be deleted, and I will level every village any one of them were ever members of.
User avatar
APXEOLOG
 
Posts: 1296
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Return to How do I?

Who is online

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