Some questions about client

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.
User avatar
APXEOLOG
Posts: 1300
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Some questions about client

Post by APXEOLOG »

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.

Return to “How do I?”