Would you like to react to this message? Create an account in a few clicks or log in to continue.
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.

+3
Outerlimitro
haziqjumpen
Janice
7 posters

    GUIDE: make your bot use a skill

    Janice
    Janice
    Moderator
    Moderator


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

    GUIDE: make your bot use a skill Empty GUIDE: make your bot use a skill

    Post by Janice 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.
    avatar
    haziqjumpen
    Novice
    Novice


    Posts : 34
    Join date : 2010-02-06

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

    did i have to copy that code?
    Outerlimitro
    Outerlimitro
    Admin
    Admin


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

    Post by Outerlimitro 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.
    Kidz
    Kidz
    Super Novice
    Super Novice


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

    ok...thx alot...
    Janice
    Janice
    Moderator
    Moderator


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

    thanks admin..
    its much more simple
    Outerlimitro
    Outerlimitro
    Admin
    Admin


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

    your welcome. @master kidz n' janice. GUIDE: make your bot use a skill 336146
    avatar
    SinX 93


    Posts : 6
    Join date : 2010-04-04

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

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


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

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

    Code:
    tables/skills.txt
    avatar
    mushimaru99
    Novice
    Novice


    Posts : 10
    Join date : 2010-04-08

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

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


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

    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

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

    Code:
    itemsMaxWeight 48
    itemsMaxWeight_sellOrStore 48

    Sponsored content


    GUIDE: make your bot use a skill Empty Re: GUIDE: make your bot use a skill

    Post by Sponsored content


      Current date/time is 3/29/2024, 3:18 am