|  |  |  | 
|---|
|  |  |  | curPackHeadRegDict["CallFunc"](index, curPackData, tick) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | except Exception: | 
|---|
|  |  |  | Log("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | if GameWorld.GetGameWorld().GetDebugLevel(): | 
|---|
|  |  |  | raise Exception("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | GameWorld.RaiseException("python自定义封包解析失败\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | curPackHeadRegDict["CallFunc"](routeIndex, mapID, curPackData, tick) | 
|---|
|  |  |  | #Log("RecvMapPyPack: CallFunc curPackHead = %s"%curPackHead) | 
|---|
|  |  |  | except Exception: | 
|---|
|  |  |  | Log("RecvMapPyPack python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | if GameWorld.GetGameWorld().GetDebugLevel(): | 
|---|
|  |  |  | raise Exception("RecGamePyPack python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | GameWorld.RaiseException("RecvMapPyPack python自定义封包解析失败\r\n%s" % traceback.format_exc()) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #------------------------------------------------------------------------------- | 
|---|