Some minor changes to further support the OTP protocol
This commit is contained in:
parent
ddabfcf3fc
commit
ba8605b93f
2 changed files with 2 additions and 2 deletions
|
@ -961,7 +961,7 @@ class OTPClientRepository(ClientRepositoryBase):
|
|||
avNames[1] = di.getString()
|
||||
avNames[2] = di.getString()
|
||||
avNames[3] = di.getString()
|
||||
avDNA = di.getString()
|
||||
avDNA = di.getBlob()
|
||||
avPosition = di.getUint8()
|
||||
aname = di.getUint8()
|
||||
potAv = PotentialAvatar(avNum, avNames, avDNA, avPosition, aname)
|
||||
|
|
|
@ -24,7 +24,7 @@ class LoginTTAccount(LoginBase.LoginBase):
|
|||
datagram.addString(cr.serverVersion)
|
||||
datagram.addUint32(cr.hashVal)
|
||||
self.__addTokenType(datagram)
|
||||
datagram.addString(cr.wantMagicWords)
|
||||
datagram.addString('YES' if cr.wantMagicWords else 'NO')
|
||||
else:
|
||||
datagram.addUint16(CLIENT_LOGIN_2)
|
||||
self.__addPlayToken(datagram)
|
||||
|
|
Loading…
Reference in a new issue