You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
Merge pull request #97 from simoleo89/fix/handshake-uniqueid-before-sso
fix(handshake): send UniqueID before the SSO ticket
This commit is contained in:
@@ -45,8 +45,10 @@ export class CommunicationManager implements ICommunicationManager
|
|||||||
const machineId = await this._machineIdPromise;
|
const machineId = await this._machineIdPromise;
|
||||||
|
|
||||||
this._connection.send(new ClientHelloMessageComposer(null, null, null, null));
|
this._connection.send(new ClientHelloMessageComposer(null, null, null, null));
|
||||||
this._connection.send(new SSOTicketMessageComposer(GetConfiguration().getValue('sso.ticket', null), GetTickerTime()));
|
// Send the machine fingerprint (UniqueID) BEFORE the SSO ticket so the server
|
||||||
|
// has the machineId available when it processes the login in Habbo.connect().
|
||||||
this._connection.send(new UniqueIDMessageComposer(machineId, '', ''));
|
this._connection.send(new UniqueIDMessageComposer(machineId, '', ''));
|
||||||
|
this._connection.send(new SSOTicketMessageComposer(GetConfiguration().getValue('sso.ticket', null), GetTickerTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
|
|||||||
Reference in New Issue
Block a user