1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  | #!/usr/bin/python  
 |  # -*- coding: GBK -*-  
 |  #  
 |  ##@package  
 |  #  
 |  # @todo: ¿ç·þ  
 |  #  
 |  # @author: Alee  
 |  # @date 2018-12-14 ÏÂÎç03:45:18  
 |  # @version 1.0  
 |  #  
 |  # @note:   
 |  #  
 |  #---------------------------------------------------------------------  
 |  import ShareDefine  
 |  import GameWorld  
 |  import OpenFunc  
 |  import PlayerHorse  
 |    
 |    
 |  #---------------------------------------------------------------------  
 |  #Â߼ʵÏÖ  
 |    
 |  ## GMÃüÁîÖ´ÐÐÈë¿Ú  
 |  #  @param curPlayer µ±Ç°Íæ¼Ò  
 |  #  @param msgList ²ÎÊýÁÐ±í  
 |  #  @return None  
 |  #  @remarks º¯ÊýÏêϸ˵Ã÷.  
 |  def OnExec(curPlayer, msgList):  
 |      if not msgList:  
 |          GameWorld.DebugAnswer(curPlayer, "¿ç·þµØÍ¼ID Ïß· ×ø±êX ×ø±êY")  
 |          return  
 |        
 |      if len(msgList) != 4:  
 |          return  
 |      mapID = msgList[0]  
 |      dataMapID = msgList[0]  
 |      copyMapID = msgList[1]  
 |      posX = msgList[2]  
 |      posY = msgList[3]  
 |        
 |      curPlayer.SendMergeRegisterPlayer(mapID, dataMapID, copyMapID, posX, posY)  
 |      curPlayer.SetExAttr5(1)  
 |      return  
 |    
 |    
 |  
  |