Hello! Everyone. Thank You for Visiting Our Forum. Feel Free to Post Your Message. Admins/Moderators would like to Answer your Needs & Questions. Thank You & Have A Nice Day.

    GUIDE: make your bot use a skill

    Share

    Janice
    Moderator
    Moderator

    Posts : 158
    Join date : 2010-01-07
    Age : 25
    Location : Canada

    GUIDE: make your bot use a skill

    Post by Janice on 4/8/2010, 6:43 pm

    So.... I've been seeing questions/requests pertaining adding a specific skill for the bot to use when hunting (mi gao or whatever monster there)

    this is very straight forward.
    the bot will use a skill on that monster(s) only until the monster die.
    Code:
    attackSkillSlot <skill name>{
       lvl 10
       dist 7
       sp > 100
       monsters
    }
    what does each part say???
    ->attackSkillSlot >>> is always there. what you need to change is the <skill name>.

    ->lvl >>> the skill level you want your bot to use. the bot will always use the highest skill lvl available if the skill don't do up to lvl 10. so leave it as it is.

    ->dist >>> the farthest distance from monster to start using the skill.
    this one is best leave at 7 'cause most of the skill ranges from 0 to 10.

    ->sp >>> the minimun sp the bot have in order to use the skill. it can be a whole number or a percent(like 1%). but setting it too high or too low will stop the bot from using the skill unnecessarily. the best way is to double the minimun sp amount required by the skill. or leave it as a 100.

    ->monsters >>> comma-separated list of the name of monster which the skill will be used.
    ----
    let's use admin's soul breaker as an example:
    Code:
    attackSkillSlot Soul Breaker {
       lvl 10
       dist 6
       sp > 10
       monsters Anacondaq,Bigfoot,Yellow Plant,Black Mushroom,Caramel,Mantis,Increase Soil,Mi Gao
    }
    in here, the bot will use lvl 10 soul breaker on Anacondaq,Bigfoot,Yellow Plant,Black Mushroom,Caramel,Mantis,Increase Soil,Mi Gao if the monster is 6 blocks away or less and the bot have more than 10 sp.


    _________________


    haziqjumpen
    Novice
    Novice

    Posts : 34
    Join date : 2010-02-06

    Re: GUIDE: make your bot use a skill

    Post by haziqjumpen on 4/9/2010, 4:27 am

    did i have to copy that code?

    Outerlimitro
    Admin
    Admin

    Posts : 2507
    Join date : 2009-06-07
    Age : 26
    Location : California

    Re: GUIDE: make your bot use a skill

    Post by Outerlimitro on 4/9/2010, 10:00 am

    that is the sample made by janice on how to let your bot character use certain skills.

    this is the guide on how to add skill or to let your bot use skills.

    and that would be on
    Code:
    bot folder/control/config.txt

    and when you open your config.txt using notepad press CTRL F and paste this.

    Code:
    attackSkillSlot

    then enter and you would see this below.

    Code:
    attackSkillSlot <skill name>{
      lvl 10
      dist 7
      sp > 100
      monsters
    }

    that is where you could change or replace the skill of your bot.


    _________________

    ~OuterLimitRO 100k/100k/25% (Free to Play Server. No Donation.) Join Now!

    OuterLimitRO Season 3
    www.outerlimitro.org
    [Admin] killed Master! [Kenzkie] A million times. Roger That!

    Kidz
    Super Novice
    Super Novice

    Posts : 232
    Join date : 2010-03-05
    Age : 24
    Location : Anti-Malaysia

    Re: GUIDE: make your bot use a skill

    Post by Kidz on 4/9/2010, 1:10 pm

    ok...thx alot...

    Janice
    Moderator
    Moderator

    Posts : 158
    Join date : 2010-01-07
    Age : 25
    Location : Canada

    Re: GUIDE: make your bot use a skill

    Post by Janice on 4/9/2010, 8:53 pm

    thanks admin..
    its much more simple


    _________________


    Outerlimitro
    Admin
    Admin

    Posts : 2507
    Join date : 2009-06-07
    Age : 26
    Location : California

    Re: GUIDE: make your bot use a skill

    Post by Outerlimitro on 4/9/2010, 11:30 pm

    your welcome. @master kidz n' janice.


    _________________

    ~OuterLimitRO 100k/100k/25% (Free to Play Server. No Donation.) Join Now!

    OuterLimitRO Season 3
    www.outerlimitro.org
    [Admin] killed Master! [Kenzkie] A million times. Roger That!

    SinX 93

    Posts : 6
    Join date : 2010-04-04

    Re: GUIDE: make your bot use a skill

    Post by SinX 93 on 4/10/2010, 7:21 am

    is there anywhere we can find a full list of skill names?

    Janice
    Moderator
    Moderator

    Posts : 158
    Join date : 2010-01-07
    Age : 25
    Location : Canada

    Re: GUIDE: make your bot use a skill

    Post by Janice on 4/10/2010, 3:23 pm

    all skills are listed at tables/skills.txt of you bot folder

    Code:
    tables/skills.txt


    _________________


    mushimaru99
    Novice
    Novice

    Posts : 10
    Join date : 2010-04-08

    Re: GUIDE: make your bot use a skill

    Post by mushimaru99 on 4/13/2010, 7:27 pm

    hmm, how to make the bot go to storage when 48% weight?

    Rylai
    Novice
    Novice

    Posts : 55
    Join date : 2009-12-31
    Age : 23
    Location : philippines

    Re: GUIDE: make your bot use a skill

    Post by Rylai on 4/15/2010, 12:25 am

    Code:
    itemsMaxWeight 48
    itemsMaxWeight_sellOrStore 48

    Sponsored content

    Re: GUIDE: make your bot use a skill

    Post by Sponsored content Today at 2:09 am


      Current date/time is 12/6/2016, 2:09 am