Connection login error (client)
Im not used to work with emulators so i don't know anything. I'm working with Tiger Emulator, so its RELEASE63-201410151001-47842918, I'm getting this:
https://gyazo.com/dd6f395013310a589a0d0fb7dd7b16a5
Code:
Code:
this.tryLogin = function()
{
self.HabboUser.tryLogin(Habbo.encoding.readString(Buffer), function(exist){
if(exist)
{
if(typeof Socket.HabboUser == 'undefined') return Socket.destroy();
var Authentication = Object.create(Habbo.ServerMessage);
Authentication.Header(Habbo.messages.outgoing.sendAuthentication);
Socket.write(Authentication.get());
var InitialRoom = Object.create(Habbo.ServerMessage);
InitialRoom.Header(Habbo.messages.outgoing.HomeRoomMessageComposer);
InitialRoom.WriteInt32(0);
InitialRoom.WriteInt32(0);
Socket.write(InitialRoom.get());
var FavoriteRooms = Object.create(Habbo.ServerMessage);
FavoriteRooms.Header(Habbo.messages.outgoing.sendFavoriteRooms);
FavoriteRooms.WriteInt32(30); // Max room favorites
FavoriteRooms.WriteInt32(0); // Length user rooms favorites
Socket.write(FavoriteRooms.get()); // Make for of favorites rooms
var HabboClub = Object.create(Habbo.ServerMessage);
HabboClub.Header(Habbo.messages.outgoing.serializeClub);
HabboClub.WriteString("club_habbo");
HabboClub.WriteInt32(0);
HabboClub.WriteInt32(0);
HabboClub.WriteInt32(0);
HabboClub.WriteInt32(0);
HabboClub.WriteBool(true);
HabboClub.WriteBool(true);
HabboClub.WriteInt32(0);
HabboClub.WriteInt32(0);
HabboClub.WriteInt32(495);
Socket.write(HabboClub.get());
var Fuserights = Object.create(Habbo.ServerMessage);
Fuserights.Header(Habbo.messages.outgoing.fuseRights);
Fuserights.WriteInt32(2);
Fuserights.WriteInt32(5);
Fuserights.WriteBool(true);
Socket.write(Fuserights.get());
Socket.write(self.HabboUser.updateExtraBalance());
Socket.write(self.HabboUser.updateMoneyBalance());
var HabboProfile = Object.create(Habbo.ServerMessage)
HabboProfile.Header(Habbo.messages.outgoing.HabboProfileInfo);
HabboProfile.WriteInt32(Socket.HabboUser.id);
HabboProfile.WriteString(Socket.HabboUser.username);
HabboProfile.WriteString(Socket.HabboUser.look);
HabboProfile.WriteString(Socket.HabboUser.gender.toUpperCase());
HabboProfile.WriteString(Socket.HabboUser.motto);
HabboProfile.WriteString('Tiger Emulator');
HabboProfile.WriteBool(false);
HabboProfile.WriteInt32(3);
HabboProfile.WriteInt32(3);
HabboProfile.WriteInt32(3);
HabboProfile.WriteBool(true);
HabboProfile.WriteString(Socket.HabboUser.last_online);
HabboProfile.WriteBool(false);
HabboProfile.WriteBool(false);
Socket.write(HabboProfile.get());
var ClientInterface = Object.create(Habbo.ServerMessage);
ClientInterface.Header(Habbo.messages.outgoing.ClientInterface);
ClientInterface.WriteInt32(13);
ClientInterface.WriteString("NEW_UI");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("TRADE");
ClientInterface.WriteString("requirement.unfulfilled.citizenship_level_3");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("CAMERA");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("EXPERIMENTAL_CHAT_BETA");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("CITIZEN");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("NAVIGATOR_PHASE_ONE_2014");
ClientInterface.WriteString("");
ClientInterface.WriteBool(false);
ClientInterface.WriteString("USE_GUIDE_TOOL");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("BUILDER_AT_WORK");
ClientInterface.WriteString("");
ClientInterface.WriteBool(false);
ClientInterface.WriteString("JUDGE_CHAT_REVIEWS");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("NAVIGATOR_PHASE_TWO_2014");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("CALL_ON_HELPERS");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
ClientInterface.WriteString("VOTE_IN_COMPETITIONS");
ClientInterface.WriteString("");
ClientInterface.WriteBool(false);
ClientInterface.WriteString("EXPERIMENTAL_TOOLBAR");
ClientInterface.WriteString("");
ClientInterface.WriteBool(true);
Socket.write(ClientInterface.get());
delete Authentication, InitialRoom, FavoriteRooms, HabboClub, Fuserights, HabboProfile, ClientInterface;
}
else
{
Message = Object.create(Habbo.ServerMessage);
Message.Header(Habbo.messages.outgoing.connectionLoginError);
Message.WriteInt32(-3);
Socket.write(Message.get());
}
});
Any help?