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
}§&hc@smddlZddlZddlZddlZdd„Zd„Zd„Zd„Zd„Zd„Z    dS(    iÿÿÿÿNtcCs÷tj|dtjƒƒ|r3tj||ƒntj|dƒtj|dƒtj|dƒtj|dƒtj|dƒtj|dƒtj|dƒtj|d    ƒtj|d
ƒtj|d ƒtj|d ƒtj|d ƒdS(Ns ---------- %ssVÐÂÔö°ñµ¥¼ÙÊý¾Ý: Billboard ÀàÐÍ ·Ö×éÖµ1 ·Ö×éÖµ2 ÌõÊý ±È½ÏÖµ1¿ÉÑ¡²ÎÊý(±È½ÏÖµ2 ³£¹æÖµ1~5)s.ɾ³ý°ñµ¥¼ÙÊý¾Ý: Billboard ÀàÐÍ ·Ö×éÖµ1 ·Ö×éÖµ2sO°ñµ¥ÀàÐÍ:0-Õ½Á¦,1-Áú»ê,2-ÁéÑþ,4-µÈ¼¶,5-×øÆï,6-Áé³è,7-·ûÓ¡,8-ÍÑ»ú,9-¾³½ç,19-ÖúÕ½sv¿ª·þ»î¶¯°ñÀàÐÍ:11-Ç¿»¯,12-×øÆï,13-±¦Ê¯,14-³å¼¶,15-¾³½ç,16-Õ½Á¦,18-·ûÓ¡,20-Éñ±ø,21-³äÖµ,22-Áé³è,24-Áé¸ù,25-ÉýÐÇ,26-Ï´Á·s[ÔËÓª»î¶¯°ñÀàÐÍ:17-ÏɽçÊ¢µä,23-ÏɽçÊ¢µä2,33-bossƾ֤,36-bossƾ֤ÏÉÃË,38-ÏÉÏ»,39-¹Å±¦,40-Æï³ès$÷ÈÁ¦°ñµ¥ÀàÐÍ:30-×ܰñ,31-Öܰñ,32-ÈÕ°ñs&ÔËÓª»î¶¯°ñÀàÐÍ:150-³äÖµ(·Ö×éÖµ1ÅäÖÃID)sCÔËÓª»î¶¯°ñÀàÐÍ:158-bossƾ֤,160-ƾ֤ÏÉÃË,162-ÏÉÏ»,163-¹Å±¦,164-Æï³ès/¹ÅÉñÕ½³¡°ñÀàÐÍ:151-²ÎÓë°ñ,152-ÕÙ¼¯°ñ,153-»ý·Ö°ñs"Öð¹Íò½ç°ñÀàÐÍ:156-µ¥³¡°ñ,157-Öܰñs8¿ç·þ¾º¼¼³¡°ñµ¥:165,·Ö×éÖµ1-·ÖÇø,·Ö×éÖµ2-Èü¼¾,value2-¶ÎλsJ×¢:Èç¹ûûÓÐÌØÊâ˵Ã÷£¬±¾·þ°ñµ¥·Ö×éÖµ¾ùΪ0£¬¿ç·þ°ñµ¥·Ö×éÖµ1Ϊ·ÖÇøID,·Ö×é2Ϊ0(t    GameWorldt DebugAnswertGetCurrentDataTimeStr(t    curPlayerterrInfo((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyt__Helps cCsÃt|ƒ}|s t|ƒdS|d}|dkrGt||ƒdS|}|tjkrmt|dƒdS|tjkrtj|dƒdSt|ƒdkr²t||ƒn t    ||ƒdS(Nitps°ñµ¥ÀàÐͲ»´æÔÚ!s¿ç·þ°ñµ¥Ôݲ»´¦Àíi(
tlenRt __logFackDatat ShareDefinetBillboardTypeAllListtCrossBillboardTypeListRRt __delFackDatat __addFackData(RtgmListtparamLentvaluetbillboardIndex((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pytOnExec-s& 
 
    cCsÄ|d}t|ƒdkr&|dnd}t|ƒdkrH|dnd}t|ƒdkrj|dnd}t|ƒdkrŒ|dnd}t|ƒdkr®|dnd}t|ƒdkrÐ|dnd}t|ƒdkrò|dnd}    t|ƒd    kr|d    nd}
t|ƒd
kr6|d
nd} t|ƒd krX|d nd} d} d}d }d}tjƒ}|j|||ƒ}|jƒ}|jƒ}t|||ƒ}tjd ƒ}x¶t    |ƒD]¨}|d|}d||f}t
d||ƒ}t
d||ƒ}|}|}|}|}t j ||||||||    ||||| t d|
d| d| ƒqÞW|jƒt|||ƒ}tj|d||fƒdS(Niiiiiiiiii    i
Rs¼ÙÃû×Ös%s%stvalue3tvalue4tvalue5s²åÈë¼Ù°ñµ¥(%s): %s Ìõ(Rt    DBDataMgrtGetBillboardMgrt GetBillboardtGetCountt GetMaxCounttminRt    GbkToCodetxrangetmaxtPlayerBillboardtUpdateBillboardtFalsetSortDatat__GetBillTypeSignR(RRt billboardTypet groupValue1t groupValue2tcountt    cmpValue1t    cmpValue2tvalue1tvalue2RRRtid2ttype2tname2t    cmpValue3t billboardMgrt billboardObjt curDataCountt maxDataCounttFakeNametit dataPlayerIDtdataPlayerNamet dataCmpValue1t dataCmpValue2tdataIDtname1tcmpValuet billTypeSign((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyRHsJ
""""""""""   
c Cs%|d}t|ƒdkr&|dnd}t|ƒdkrH|dnd}tjƒ}|j|||ƒ}|jƒ}|jƒ}d}    x\t|ƒddd…D]A}
|j|
ƒ} | jƒ|kr§|j    |
ƒ|    d7}    q§q§Wt
|||ƒ} t j |d| |    |jƒfƒdS(Niiiiÿÿÿÿsɾ³ý¼Ù°ñµ¥(%s): %s Ìõ, Ê£: %s( RRRRRRtrangetAttGetIDt DeleteByIndexR$RR( RRR%R&R'R1R2R3R4tdelCounttindextbillDataR>((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyR ws 
""     #cCs@d|}|r#d||f}n|r<d||f}n|S(Ns%ss%s-%s((R%R&R'R>((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyR$Œs 
c    CsUt|ƒdkr×tj|dƒtjƒ}x¢tjD]—}|j|ƒ}x|D]w\}}}|j|||ƒ}|j    ƒ}|j
ƒ}    |sœqTnt |||ƒ}
tj|d|
||    fƒqTWq8WdS|d} t|ƒdkrý|dnd}t|ƒdkr|dnd}tjƒ}|j| ||ƒ}|j ƒ|j    ƒ}|j
ƒ}    |j ƒ} t | ||ƒ}
tj|d|
||    fƒx«t|ƒD]} |j| ƒ}|jƒ}| j|dƒ}gtddƒD]}t|d    |ƒƒ^qó}tjd
| |||jƒ|jƒ|f|jƒƒq°WdS( Nis°ñµ¥Êý¾ÝÌõÊý×ÜÀÀs°ñµ¥Êý¾Ý(%s)ÌõÊý: %s/%siiis °ñµ¥Êý¾Ý(%s)ÌõÊý: %s/%s Ïê¼ûÈÕÖ¾i    s
GetValue%ss2%s,rank=%s,ID=%s,CmpValue=%s,CmpValue2=%s,Value=%s(RRRRRR
R tGetBillboardGroupListRRRR$t SortDelayDotGetIDOrderDictR?R@RAtgettgetattrtDebugLogt GetCmpValuet GetCmpValue2t GetPlayerID(RRR1tbTypet    groupListR&R'R2R3R4R>R%t idOrderDictRDtbbDataR;tranktnumt    valueList((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyR    ”sB   %
"" 
    2    3(
RR R
RRRRR R$R    (((smD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\Billboard.pyt<module>s             /