OK論壇

 找回密碼
 註冊
查看: 959|回復: 0

CS_eA GM權限設定問題

 關閉 [複製鏈接]
  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

    發表於 2014-4-27 10:25:39 | 顯示全部樓層 |閱讀模式
    本帖最後由 v03586 於 2014-5-4 02:34 PM 編輯

    我使用CS_eA 版本

    GM level 權限設置都會卡住
    人物上線都不能動 NPC也不會顯示


    改過的group
    1. /*

    2. 角色群組組態設定
    3. ---------------------------------

    4. 用來定義角色所在的群組權限

    5. 每個群組都有一個ID、名稱,可以使用的指令會其他動作,都可以被繼承


    6. 群組設定
    7. --------------
    8. <id>
    9. 唯一的群組號碼

    10. <name>
    11. 可以是任何字元

    12. <level>
    13. 相當於GM等級,你可以輸入任何0~99之間的數字,這將會影響到@kick ... 等指令 及(db/item_trade.txt)內的設定
    14. (db/item_trade.txt).

    15. <commands>
    16. A group of settings
    17.         <command name> : <bool>
    18. or
    19.         <commandname> : [ <bool>, <bool> ]
    20. First boolean value is for atcommand, second one for charcommand. If set to
    21. true, group can use command. If only atcommand value is provided, false is
    22. assumed for charcommand. If a command name is not included, false is assumed for
    23. both atcommand and charcommand.
    24. For a full list of available commands, see: doc/atcommands.txt.
    25. Command names must not be aliases.

    26. <log_commands>
    27. 布林值,如果布林值為'真'(true),將會強制將該群組使用過的指令記錄到'atcommandlog'
    28. 相反的設定為'假'(false)則必須開啟'conf/log_athena.conf'記錄日誌

    29. <permissions>
    30. 權限

    31. 格式:
    32.         <permission> : <bool>
    33. 該群組包含了哪些權限(交易、檢視裝備...等等),詳細請參考'doc/permissions.txt'

    34. <inherit>
    35. 給于特定的群組繼承權限或指令

    36. 繼承結果
    37. -------------------
    38. 無論是多重的繼承 (Group 2 -> Group 1 and Group 3 -> Group 1) 及
    39. 層次的繼承 (Group 3 -> Group 2 -> Group 1) 都是被允許的

    40. Inheritance rules should not create cycles (eg Group 1 inherits from Group 2,
    41. and Group inherits from Group 1 at the same time). Configuration with cycles is
    42. considered faulty and can't be processed fully by server.

    43. Command or permission is inherited ONLY if it's not already defined for the
    44. group.
    45. If group inherits from multiple groups, and the same command or permission is
    46. defined for more than one of these groups, it's undefined which one will be
    47. inherited.

    48. 語法
    49. ------
    50. 與法設定方是可以參考以下:
    51. http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files


    52. 必須於 Rathena - r15572 後
    53. -------------------------------------
    54. http://rathena.org/board/index.php?showtopic=58877
    55. */

    56. groups: (
    57. {
    58.         /* 群組 0 為一般玩家 */
    59.         id: 0
    60.         name: "Player"
    61.         level: 0
    62.         inherit: ( /*空白清單*/ )
    63.         commands:
    64.         {
    65.                 /* 這個群組用戶還沒有可用指令 */
    66.         }
    67.         permissions:
    68.         {
    69.                 /* 如果沒有這些基本權限,該群組用戶將無法使用組隊、交易 功能 */

    70.                 can_trade: true                // 交易
    71.                 can_party: true                // 組隊
    72.         }
    73. },
    74. {
    75.         id: 1
    76.         name: "Super Player"
    77.         inherit: ( "Player" ) /* can do everything Players can and more */
    78.         level: 0
    79.         commands: {
    80.                 /* informational commands */
    81.                 autotrade: true
    82.                 mobinfo: true
    83.                 whodrops: true
    84.                 autoloot: true
    85.                 alootid: true
    86.                 autotrade: true
    87.                 mail: true
    88.                 mi: true
    89.                 load: true
    90.         }
    91.         permissions: {
    92.         }
    93. },
    94. {
    95.         id: 2
    96.         name: "Support"
    97.         inherit: ( "Super Player" )
    98.         level: 1
    99.         commands: {
    100.                 kami: true
    101.                 kamib: true
    102.                 kamic: true
    103.                 where: true
    104.                 jumpto: true
    105.                 who: true
    106.                 who2: true
    107.                 who3: true
    108.                 whomap: true
    109.                 whomap2: true
    110.                 whomap3: true
    111.                 users: true
    112.                 broadcast: true
    113.                 localbroadcast: true
    114.                 hide: true
    115.         }
    116.         log_commands: true
    117.         permissions: {
    118.                 receive_requests: true
    119.                 view_equipment: true
    120.         }
    121. },
    122. {
    123.         id: 3
    124.         name: "Web Manager"
    125.         inherit: ( "Support" )
    126.         level: 10
    127.         commands: {
    128.                 speed: true
    129.                 follow: true
    130.         }
    131.         log_commands: true
    132.         permissions: {
    133.                 any_warp: true
    134.         }
    135. },
    136. {
    137.         id: 4
    138.         name: "Event Manager"
    139.         inherit: ( "Web Manager" )
    140.         level: 20
    141.         commands: {
    142.                 size: true
    143.                 warp: true
    144.                 heal: true
    145.                 kick: true
    146.                 jail: true
    147.                 block: true
    148.                 unblock: true
    149.                 go: true
    150.         }
    151.         log_commands: true
    152.         permissions: {
    153.                 can_trade: false
    154.                 any_warp: true
    155.         }
    156. },




    157. {
    158.         id: 5
    159.         name: "Sub GM"
    160.         inherit: ( "Event Manager" )
    161.         level: 40
    162.         commands: {
    163.                 jobchange: true
    164.                 itemreset: true
    165.         }
    166.         log_commands: true
    167.         permissions: {
    168.                 can_trade: false
    169.                 any_warp: true
    170.         }
    171. },
    172. {
    173.         id: 6
    174.         name: "GM"
    175.         inherit: ( "Sub GM" )
    176.         level: 50
    177.         commands: {
    178.                 unjail: true
    179.                 dropall: true
    180.                 alive: true
    181.                 die: true
    182.                 recall: true
    183.                 partyrecall: true
    184.                 storeal: true
    185.                 marry: true
    186.                 divorce: true
    187.                 storage: true
    188.                 recall: true
    189.                 guildrecall: true
    190.                 partyrecall: true
    191.                 repairall: true
    192.                 request: true
    193.                 guildstorage: true
    194.                 agitstart: true
    195.                 agitend: true
    196.         }
    197.         log_commands: true
    198.         permissions: {
    199.                 can_trade: false
    200.                 any_warp: true
    201.         }
    202. },
    203. {
    204.         id: 7
    205.         name: "Super GM"
    206.         inherit: ( "GM" )
    207.         level: 60
    208.         commands: {
    209.                 lvup: true
    210.                 jlvup: true
    211.                 allskill: true
    212.                 monsterignore: true
    213.                 stpoint: true
    214.                 skpoint: true
    215.                 zeny: true
    216.                 gmotd: true
    217.                 partyspy: true
    218.                 guildspy: true
    219.                 itemlist: true
    220.                 cartlist: true
    221.                 storagelist: true
    222.                 stats: true
    223.                 delitem: true
    224.                 raisemap: true
    225.         }
    226.         log_commands: true
    227.         permissions: {
    228.                 can_trade: false
    229.                 any_warp: true
    230.         }
    231. },
    232. {
    233.         id: 8
    234.         name: "System GM Chief"
    235.         inherit: ( "Super GM" )
    236.         level: 70
    237.         commands: {
    238.                 monster: true
    239.                 killmonster2: true
    240.                 killmonster: true
    241.                 item: [true, true]
    242.                 zeny: [true, true]
    243.                 raise: true
    244.                 raisemap: true
    245.                 pvpon: true
    246.                 pvpoff: true
    247.                 gvgon: true
    248.                 gvgoff: true
    249.                 idsearch: true
    250.         }
    251.         log_commands: true
    252.         permissions: {
    253.                 can_trade: false
    254.                 any_warp: true
    255.         }
    256. },
    257. {
    258.         id: 9
    259.         name: "Super System GM"
    260.         inherit: ( "System GM Chief" )
    261.         level: 80
    262.         commands: {
    263.                 refine: true
    264.                 kill: true
    265.                 reloaditemdb: true
    266.                 reloadmobdb: true
    267.                 reloadquestdb: true
    268.                 reloadskilldb: true
    269.                 reloadscript: true
    270.                 kickall: true
    271.                 loadnpc: true
    272.                 unloadnpc: true
    273.                 hidenpc: true
    274.                 shownpc: true
    275.                
    276.         }
    277.         log_commands: true
    278.         permissions: {
    279.                 can_trade: false
    280.                 any_warp: true
    281.         }
    282. },
    283. {
    284.         id: 10
    285.         name: "Law Enforcement"
    286.         inherit: ( "Super System GM" )
    287.         level: 90
    288.         commands: {
    289.                 hide: true
    290.                 follow: true
    291.                 kick: true
    292.                 disguise: true
    293.                 fakename: true
    294.                 option: true
    295.                 speed: true
    296.                 warp: true
    297.                 kill: true
    298.                 recall: true
    299.                 ban: true
    300.                 block: true
    301.                 jail: true
    302.                 jailfor: true
    303.                 mute: true
    304.                 storagelist: true
    305.                 cartlist: true
    306.                 itemlist: true
    307.                 stats: true
    308.         }
    309.         log_commands: true
    310.         permissions: {
    311.                 join_chat: true
    312.                 kick_chat: true
    313.                 hide_session: true
    314.                 who_display_aid: true
    315.                 hack_info: true
    316.                 any_warp: true
    317.                 view_hpmeter: true
    318.         }
    319. },
    320. {
    321.         id: 99
    322.         name: "Admin"
    323.         level: 99
    324.         inherit: ( "Support", "Law Enforcement" )
    325.         commands: {
    326.                 /* not necessary due to all_commands: true */
    327.         }
    328.         log_commands: true
    329.         permissions: {
    330.                 can_trade: true
    331.                 can_party: true
    332.                 all_skill: false
    333.                 all_equipment: false
    334.                 skill_unconditional: false
    335.                 use_check: true
    336.                 use_changemaptype: true
    337.                 all_commands: true
    338.                 channel_admin: true
    339.         }
    340. }
    341. )

    複製代碼
    我資料庫level 隨變設定一個level 都會這樣卡住  ex: 40  . 50  60  等
    請問我哪邊有設定錯誤? 造成我上線人物會卡死、NPC無法顯示     只能強制關閉遊戲?

    回復

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2024-5-3 03:43 AM , Processed in 0.052504 second(s), 19 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表