Jump to content

vBrenth

Members
  • Content Count

    388
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by vBrenth


  1. Really weird, because i can't give my player with some of normal commands.

     

    ~> for player

    storage: true
    guildstorage: true
    changegm: true
    changeleader: true

     

    ~> for game master (g: 80)

    blevel: true

    jlevel: true

     

    /*

    Player groups configuration file
    ---------------------------------

    This file defines "player groups" and their privileges.

    Each group has its id and name, lists of available commands and other
    permissions, and a list of other groups it inherits from.


    Group settings
    --------------
    <id>
    Unique group number. The only required field.

    <name>
    Any string. If empty, defaults to "Group <id>". It is used in several @who
    commands.

    <level>
    Equivalent of GM level, which was used in revisions before r15572. You can
    set it to any number, but usually it's between 0 (default) and 99. Members of
    groups with lower level can not perform some actions/commands (like @kick) on
    members of groups with higher level. It is what script command getgmlevel()
    returns. Group level can also be used to override trade restrictions
    (db/item_trade.txt).

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

    <log_commands>
    Boolean value. If true then all commands used by the group will be logged to
    atcommandlog. If setting is omitted in a group definition, false is assumed.
    Requires 'log_commands' to be enabled in 'conf/logs.conf'.

    <permissions>
    A group of settings
     <permission> : <bool>
    If a permission is not included, false is assumed.
    For a full list of available permissions, see: doc/permissions.txt

    <inherit>
    A list of group names that given group will inherit commands and permissions
    from. Group names are case-sensitive.

    Inheritance results
    -------------------
    Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and
    recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed.

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

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

    Syntax
    ------
    This config file uses libconfig syntax:
    http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
    */

    groups: (
    {
     id: 0 /* group 0 is the default group for every new account */
     name: "Player"
     level: 0
     inherit: ( /*empty list*/ )
     commands: {
       rates: true
       mobinfo: true
       iteminfo: true
       whodrops: true
       storage: true
       guildstorage: true
       changegm: true
       changeleader: true
       autotrade: true
       jailtime: true
       hominfo: true
       homstats: true
       showexp: true
       showzeny: true
       whereis: true
       refresh: true
       noask: true
       noks: true
       autoloot: true
       alootid: true
       autoloottype: true
       autotrade: true
       request: true
       go: true
       breakguild: true
       who: true
       time: true
     }
     permissions: {
       /* without this basic permissions regular players could not
       trade or party */
       can_trade: true
       can_party: true
     }
    },
    {
     id: 80
     name: "Game Master"
     inherit: ( "Player" )
     level: 80
     commands: {
       /* informational commands */
       jobchange: true
       allskill: true
       commands: true
       charcommands: true
       help: true
       uptime: true
       whereis: true
       version: true
       where: true
       jumpto: true
       who2: true
       who3: true
       whomap: true
       whomap2: true
       whomap3: true
       users: true
       broadcast: true
       localbroadcast: true
       killmonster2: true
       cleanarea: true
       cleanmap: true
       disguise: [true, true]
       undisguise: [true, true]
       size: [true, true]
       raise: true
       raisemap: true
       day: true
       night: true
       skillon: true
       skilloff: true
       pvpon: true
       pvpoff: true
       gvgon: true
       gvgoff: true
       allowks: true
       me: true
       marry: true
       divorce: true
       refreshall: true
       hide: true
       follow: true
       disguise: true
       fakename: true
       option: true
       speed: true
       warp: true
       kill: true
       recall: true
       ban: true
       jailfor: true
       mute: true
       storagelist: true
       cartlist: true
       itemlist: true
       stats: true
       /* feature commands */
       channel: true
     }
     log_commands: true
     permissions: {
       receive_requests: true
       view_equipment: true
       any_warp: true
       join_chat: true
       kick_chat: true
       hide_session: true
       who_display_aid: true
       hack_info: true
       any_warp: true
       view_hpmeter: false
     }
    },

    {
     id: 99
     name: "Admin"
     level: 99
     inherit: ( "Player", "Game Master" )
     commands: {
       /* not necessary due to all_commands: true */
       item: [true, true]
       zeny: [true, true]
       monster: true
       monstersmall: true
       monsterbig: true
       accinfo: true
       jail: true
       kick: true
       block: true
       tonpc: true
       hidenpc: true
       shownpc: true
       loadnpc: true
       unloadnpc: true
       npcmove: true
       addwarp: true
     }
     log_commands: true
     permissions: {
       can_trade: true
       can_trade_bound: true
       can_party: true
       all_skill: false
       all_equipment: false
       skill_unconditional: true
       use_check: true
       use_changemaptype: true
       all_commands: true
       hchsys_admin: true
     }
    }
    )

     


  2.  

    Hmmm, how can i set a delay on msg spam, w/o touching the Party/Guild chat delay @ battle.conf ....

     

    [*]Changes a channel's options (for now, channel message delay and announce-when-someone-joins)

    [*]@channel setopt <#channel name> <option name> <option value>

     

    Not working - read this

     

    I have two questions:

     

    -The Max option for MessageDelay is 10. Is there a way to make it higher?

     

    -Upon rebooting, MessageDelay is set back to 0 on #trade. I need that channel to have delay at all times. How can I do that?


  3. Its weird cant make the custom shop work? Am i missing some packets? Just trying to use the test one

     

    use this for testing purpose

    prontera,153,201,3  trader  Vote Shop  532,{

     OnInit:

     tradertype(NST_CUSTOM);

     sellitem 12263,20;

     sellitem 7619,30;

     sellitem 7620,30;

     sellitem 13960,150;

     sellitem 13607,200;

     sellitem 5372,150;

     sellitem 5360,150;

     sellitem 5137,200;

     sellitem 5389,250;

     sellitem 5580,250;

     sellitem 5132,250;

     end;

     

    /* allows currency to be */

    OnCountFunds:

     setcurrency(countitem(3004));

     end;

     

    /* receives @price (total cost) */

    OnPayFunds:

     if( countitem(3004) < @price )

       end;

     delitem 3004,@price;

     purchaseok();

     end;

    }

    its working however i really want to make a 1 npc using this script with category can someone help us ?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.