From f57b645c7029588aab1e2c10029b15ec5477e51a Mon Sep 17 00:00:00 2001
From: cehua_hzl <648597270@qq.com>
Date: 星期二, 28 八月 2018 19:55:09 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxx_server

---
 ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/HackCheater/Cheater_PYCode/PYCode_2.txt |  100 +++++++++++++++++++++++++-------------------------
 1 files changed, 50 insertions(+), 50 deletions(-)

diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/HackCheater/Cheater_PYCode/PYCode_2.txt b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/HackCheater/Cheater_PYCode/PYCode_2.txt
index 8608996..b3066ad 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/HackCheater/Cheater_PYCode/PYCode_2.txt
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/HackCheater/Cheater_PYCode/PYCode_2.txt
@@ -1,51 +1,51 @@
-#用3引号包含,注意缩进
-("""
-def GetCodeStrExecResult(curPlayer, inMsg):
-    import md5
-    import math
-    key = "God is monster."
-
-    md5Msg = md5.md5(inMsg).hexdigest()
-
-    minChar = md5Msg[2]
-    randChar = md5Msg[10]
-    
-    curPower = (ord(minChar) + ord(randChar))%64 + 64
-
-    curJob = 11
-    curSex = 22
-    
-    if hasattr(curPlayer, 'GetJob'):
-        curJob = curPlayer.GetJob()
-    elif hasattr(curPlayer, 'Job'):
-        curJob = curPlayer.Job()
-        
-    if hasattr(curPlayer, 'GetSex'):
-        curSex = curPlayer.GetSex()
-    elif hasattr(curPlayer, 'Sex'):
-        curSex = curPlayer.Sex()
-    
-    tmpNum = curJob*2%3
-    
-    floatNum = 0.126543
-    if tmpNum == 0:
-        floatNum = float(curJob*4)/7
-    elif tmpNum == 1:
-        floatNum = float(curJob*curSex + 1)/7
-    
-    floatNum = round(floatNum, 6)
-    calValue = math.pow(2, curPower) + floatNum
-    
-    resultStr = md5.md5(md5.md5('%s%s'%(calValue, floatNum)).hexdigest() + key + md5Msg).hexdigest()
-    
-    numStr = ''
-    for i in [13, 6, 17]:
-        numStr += str(ord(resultStr[i]))
-    
-    tmpNum = 0
-    for j in [7, 12, 19]:
-    	tmpNum += ord(resultStr[i])
-    
-    return tmpNum + int(numStr)
-"""
+#用3引号包含,注意缩进
+("""
+def GetCodeStrExecResult(curPlayer, inMsg):
+    import md5
+    import math
+    key = "God is monster."
+
+    md5Msg = md5.md5(inMsg).hexdigest()
+
+    minChar = md5Msg[2]
+    randChar = md5Msg[10]
+    
+    curPower = (ord(minChar) + ord(randChar))%64 + 64
+
+    curJob = 11
+    curSex = 22
+    
+    if hasattr(curPlayer, 'GetJob'):
+        curJob = curPlayer.GetJob()
+    elif hasattr(curPlayer, 'Job'):
+        curJob = curPlayer.Job()
+        
+    if hasattr(curPlayer, 'GetSex'):
+        curSex = curPlayer.GetSex()
+    elif hasattr(curPlayer, 'Sex'):
+        curSex = curPlayer.Sex()
+    
+    tmpNum = curJob*2%3
+    
+    floatNum = 0.126543
+    if tmpNum == 0:
+        floatNum = float(curJob*4)/7
+    elif tmpNum == 1:
+        floatNum = float(curJob*curSex + 1)/7
+    
+    floatNum = round(floatNum, 6)
+    calValue = math.pow(2, curPower) + floatNum
+    
+    resultStr = md5.md5(md5.md5('%s%s'%(calValue, floatNum)).hexdigest() + key + md5Msg).hexdigest()
+    
+    numStr = ''
+    for i in [13, 6, 17]:
+        numStr += str(ord(resultStr[i]))
+    
+    tmpNum = 0
+    for j in [7, 12, 19]:
+    	tmpNum += ord(resultStr[i])
+    
+    return tmpNum + int(numStr)
+"""
 )
\ No newline at end of file

--
Gitblit v1.8.0