Results 1 to 5 of 5
  1. #1
    grim91860
    grim91860 is offline
    Guest
    Join Date
    2012 Apr
    Posts
    3
    Thanks Thanks Given 
    2
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Smile Paladin bot uopilot script, could use assistance.

    This is my first post so let me start by welcoming myself. <---- Welcome good sir!
    This was my first attempt at writing a script.

    This script is for a paladin but obviously can be altered for other classes.

    This was written with:
    -Send key
    -800x600 resolution
    -only blessings from buff lady in regen (so if you have extra buffs on and vanguard doesn't cast thats why)
    - Basic attack on skill slot 1, Shield smash on skill slot 2, Recover on skill slot 3, Divine Strike on skill slot 4, Vanguard on skill slot 5, Transference on skill slot 6, Mana pots on skill slot 7, Challenge on skill slot 8, Perseverance on hotbar slot 2 (c+2 hotkey)
    - After script is running aika window must be foreground (I.E -Selected as fore-window) or the camera wont rotate.
    -Default keybindings

    I am posting this script in seek of assistance. I know this could be cleaner and done many different ways but as i'm not too keen on scripting this is what worked for me.
    My problem here are anomalies.
    This script will run indefinitely in the area you choose with one minor problem.
    The problem I will deem ghost targets. This is where a target is acquired but said target does not exist.
    These ghost targets will send me into and endless loop and a new target will not be acquired leaving the character spamming skills on a target that is acquired but does not exist.

    Flaming is prohibited but constructive criticism is welcome.
    Thank you in advance to any who read whether or not you can assist me as any view could lead me to a solution.
    Cheers m8s, Chive on.

    Update: script will now retarget after 30 seconds of shield smash not being applied to target.
    also Script will now take you to regen to get buffs from liola I was only able to do this with portal scrolls.
    Make sure to change "target nearest ally" Keybinding to "V"
    Bag placement is critical or port to regen wont work, see picture. I dont care if you know this account, obviously I wouldn't bot on an account I was afraid of losing.
    I will leave original script and post below it as I am sure some of you don't care for the regen buffs.



    :main
    send tab //Acquire target
    send aaaaaaaaaaaa // Rotate camera
    if 300, 47 2700634 //
    gosub atak
    end_if


    :Buff
    if_not 778, 210 16579730 or [780, 266 16579795] //
    send 5 // Cast vanguard (Skill slot 5)
    wait 3s //
    end_if
    gosub main

    :Hp
    if 150, 42 3222577 //if chars HP bar isn't flashing red
    send 6
    double_right 530, 515 // Casts perserverance (Put perserverance on hotkey slot 2, This is directly above skill slot 2 if you have your bars expanded)
    send 3 // Cast recover (Skill slot 3)
    wait 3s
    end_if




    :mp
    if 94, 51 4340521
    send 7 // Mana pot on skill slot 7
    end_if


    :atak //Attack target
    if 300, 47 2700634
    send 1
    else
    gosub main

    end_if
    if 94, 51 4340521
    gosub mp
    end_if
    if_not 778, 210 16579730 or [780, 266 16579795]
    gosub buff
    else
    gosub atak2

    :atak2
    if 539, 552 14474612
    send 2 ////Cast Shield smash on slot 2
    wait 500
    end_if
    gosub atak3

    :atak3
    if 300, 47 2700634
    send 4 //Cast divine strike on slot 4
    wait 3s
    end_if
    gosub atak4



    :atak4
    send 8 // Cast challenge
    end_if
    if 150, 42 3222577
    gosub hp
    else
    gosub atak
    end_if


    __________________________________________________ ________________________
    ~~~~~~~~Updated Script~~~~~~~~~~~~~~~


    :main
    set timer 0
    send tab //Acquire target
    send aaaaaaaaaaaa // Rotate camera
    if 300, 47 2700634 //
    gosub atak
    end_if


    :Buff
    if_not 780, 266 16579795 //
    send 5 // Cast vanguard (Skill slot 5)
    wait 3s //
    end_if
    if_not 788, 220 8052882 and [788, 244 1791866]
    gosub regenbuffs
    end_if
    gosub main

    :Hp
    if 150, 42 3222577 //if chars HP bar isn't flashing red
    send 6
    double_right 530, 515 // Casts perserverance (Put perserverance on hotkey slot 2, This is directly above skill slot 2 if you have your bars expanded)
    send 3 // Cast recover (Skill slot 3)
    wait 3s
    end_if




    :mp
    if 94, 51 4340521
    send 7 // Mana pot on skill slot 7
    end_if


    :atak //Attack target
    if 300, 47 2700634
    send 1
    else
    gosub main

    end_if
    if 94, 51 4340521
    gosub mp
    end_if
    if_not 778, 210 16579730 or [780, 266 16579795]
    gosub buff
    else
    gosub atak2
    end_if

    :atak2
    if 539, 552 14474612
    send 2 ////Cast Shield smash on slot 2
    wait 500
    end_if
    gosub atak3

    :atak3
    if 300, 47 2700634
    send 4 //Cast divine strike on slot 4
    wait 3s
    end_if
    gosub atak4



    :atak4
    send 8 // Cast challenge
    if [timer > 30000]
    gosub main
    end_if
    if 150, 42 3222577
    gosub hp
    else
    gosub atak
    end_if

    :regenbuffs
    wait 2s
    send i
    move 530, 290
    wait 2s
    right 530, 290
    wait 2s
    move 344,287
    wait 2s
    left 344,287
    wait 2s
    move 400,408
    wait 2s
    left 400,408
    wait 10s
    gosub gett

    :gett
    if_not 401, 28 65280
    send aaaaaaaa
    send v
    end_if
    if 401, 28 65280
    send 1
    wait 5s
    move 400, 482
    wait 1s
    left 400, 482
    end_if
    if 787, 219 10743728
    gosub portback
    else
    gosub gett
    end_if

    :portback
    send i
    wait 2s
    move 528, 296
    wait 2s
    right 528, 296
    wait 2s
    move 489, 216
    wait 2s
    left 489, 216
    wait 2s
    move 367, 326 // This is where you port to, set to celestine caverns maurader
    wait 2s
    left 367, 326 // This is where you port to, set to celestine caverns maurader
    wait 2s
    move 363, 308
    wait 2s
    left 363, 308
    wait 2s
    move 399, 403
    wait 2s
    left 399, 403
    wait 10s
    gosub main
    Last edited by grim91860; 2012-04-16 at 11:59 AM. Reason: Forgot too inform on default keybindings.

  2. #2
    ViGiLaNcE
    ViGiLaNcE is offline
    Member-in-training ViGiLaNcE's Avatar
    Join Date
    2010 Nov
    Location
    #Tibérica
    Posts
    145
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    41
    Thanked in
    17 Posts
    Rep Power
    0
    Script very good, congratulations tested and approved
    Last edited by ViGiLaNcE; 2012-04-16 at 07:39 AM.

  3. The Following User Says Thank You to ViGiLaNcE For This Useful Post:


  4. #3
    grim91860
    grim91860 is offline
    Guest
    Join Date
    2012 Apr
    Posts
    3
    Thanks Thanks Given 
    2
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Uopilot v2.17, latest aika client, win 7 64bit. Upon writing this I remedied my own problem, I didn't realize the conditions in which timers could be used. I will update thread after I write in porting to town for buffs

    ---------- Post added at 02:21 AM ---------- Previous post was at 02:11 AM ----------

    Thank you for the approval, I will update with fix for ghost target and buffs in the next hour or so

  5. #4
    Iguinho90
    Iguinho90 is offline
    Member-in-training
    Join Date
    2012 Jan
    Posts
    177
    Thanks Thanks Given 
    19
    Thanks Thanks Received 
    33
    Thanked in
    23 Posts
    Rep Power
    0
    Good script , very nice post
    If i help you give thanks , your finger will not explode

  6. The Following User Says Thank You to Iguinho90 For This Useful Post:


  7. #5
    grim91860
    grim91860 is offline
    Guest
    Join Date
    2012 Apr
    Posts
    3
    Thanks Thanks Given 
    2
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Thank you Iguinho90.
    To anyone who uses this or tests this please leave me feedback some sort of feedback.
    I Have been running this script for the past 12hrs with no problems but im sure there are some conditional problems as nothing is perfect.
    If you run into a problem let me know as I am far from done with this script. Good day to you all, happy grinding.

Similar Threads

  1. [Tutorial] AIKA Bot para Caça/Up com UoPilot + VÍDEO + Script
    By topera in forum Português
    Replies: 39
    Last Post: 2012-09-03, 10:34 PM
  2. [Bot] Aika Paladin Auto Grinding Script
    By Grooguz in forum Aika Bots, Hacks, Cheats
    Replies: 5
    Last Post: 2012-05-02, 08:49 AM
  3. [Tutorial] AIKA Bot Drop/Up with UoPilot + VIDEO + Script
    By topera in forum Aika Bots, Hacks, Cheats
    Replies: 28
    Last Post: 2012-05-02, 04:31 AM
  4. [Request] Script Uopilot
    By Iguinho90 in forum Aika Online
    Replies: 16
    Last Post: 2012-04-05, 05:19 PM
  5. [Tutorial] Script UoPilot to swap soup karena and certified
    By ViGiLaNcE in forum Aika Bots, Hacks, Cheats
    Replies: 10
    Last Post: 2012-04-03, 07:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •