| | |
| | |
|
| | | def OnCrossServerToServerPack(self, db, pack):
|
| | |
|
| | | if CommonDefine.IsDebug():
|
| | | import binascii
|
| | | mylog.debug('buf = %s'%binascii.b2a_hex(pack.getBuffer()))
|
| | | #if CommonDefine.IsDebug():
|
| | | # import binascii
|
| | | # mylog.debug('buf = %s'%binascii.b2a_hex(pack.getBuffer()))
|
| | |
|
| | | try:
|
| | | recvPack = MergeServerRecvProtocol.tagLPStringData()
|
| | |
| | | the_page = response.read()
|
| | |
|
| | | if the_page != "1":
|
| | | mylog.debug('checktoken fail:%s-%s'%(token, the_page))
|
| | | mylog.info('checktoken fail:%s-%s'%(token, the_page))
|
| | | self.sendFailString(CommonDefine.dgPlayerLogin, pack, disPswCheckError)
|
| | | return True
|
| | | except:
|