Results 1 to 8 of 8

Thread: [Hotkeys] 2x Combo Leader and Hold target

  1. #1
    iBot User
    Join Date
    Feb 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    5

    [Hotkeys] 2x Combo Leader and Hold target

    NOT TESTED YET, posted because I need you guys to test for me DDDD

    Well I made some actions, didn't tested because i'm at work now and I don't have ibot here...

    anyway I'll post them soo you guys test for me, but test it far from much players because it's pvp actions and can lead you to red skull if any bug happens

    BEFORE TESTING:

    Create a targetting with name: Player, create a setting0 and a spell0 inside this targetting also configure if you want to follow that target or not etc

    First hotkey: COMBOLEADER via Serverlog
    detects any damage over 100 dealt by the leader and atacks the same target

    PHP Code:
    --COMBOLEADER BY SERVERLOG     COALAMCT!!!!
    -- 
    Set spell to use on the noob
    local spell 
    "Sudden death Rune"

    -- Add your masters here
    local ComboLeader 
    'Captain of Pain'
    local messagetofind "due to an attack by "..ComboLeader
    -- Delay Before attack
    local delay 
    500
    ----------------------------------------------------------
    --
    DONT MOVE YOU FAT FINGER TO EDIT ANYTHING UNDER THIS LINE
    setsettings
    ("Settings\\Targeting\\Monsters\\Player\\ListSettings\\Setting0\\ListSpell\\Spell0" spell)
    local msgs getmessages("Server Log")
    local qtd msgs.count-1
    local j
    ,infeliz
    local deletethis 
    " loses XXX hitpoints due to an attack by "
       
    if msgs[qtd].text:find(messagetofindthen
        j 
    string.len(msgs[qtd].text)-string.len(deletethis)-string.len(ComboLeader)-1
        infeliz 
    string.sub (msgs[qtd].textj)
        
    wait(delay)
        
    setsettings("Settings\Targeting\List\Monsters\Player"infeliz)    
        
    wait(1000)
        
    setsettings("Settings\Targeting\List\Monsters\"..infeliz, Player)    
       end 
    Second hotkey: COMBOLEADER via Guild Chat
    leader sends the target name and you will atack that target until he says "stop" or give another target
    PHP Code:
    --COMBOLEADER BY GUILD CHAT (leader send name and you pown that namesay stop to stop atacking)

    -- 
    Set spell to use on the noob
    local spell 
    "Sudden death Rune"
    local guildchatname "Endless Order"

    -- Add your masters here
    local ComboLeader 
    'Captain of Pain'
    -- Delay Before attack
    local delay 
    500
    ------------------------------------------------------------
    --
    DONT MOVE YOU FAT FINGER TO EDIT ANYTHING UNDER THIS LINE
    setsettings
    ("Settings\\Targeting\\Monsters\\Player\\ListSettings\\Setting0\\ListSpell\\Spell0" spell)
    local msgs getmessages(guildchatname)
    local qtd msgs.count-1
    local i
    ,infeliz
       
    if msgs[qtd].text:find(ComboLeaderthen
        i 
    13+string.len(ComboLeader)
        
    infeliz string.sub (msgs[qtd].texti)
        
    wait(delay)
        
    setsettings("Settings\Targeting\List\Monsters\Player"infeliz)    
        
    wait(1000)
        
    setsettings("Settings\Targeting\List\Monsters\"..infeliz, Player)
       elseif not msgs[qtd].text:find(stop) then
        setsettings("
    Settings\Targeting\List\Monsters\"..infeliz, Player)
          end 
    Third hotkey: A simple Hold Target
    He will save the name of any player you atack and hold it

    PHP Code:
    if target.id and target.isplayer == 1 then
    setsettings
    ("setsettings("Settings\Targeting\List\Monsters\Player", target.name)
    end 
    I expect to have just a few errors (less then 1 thousand), also expect to don't be flamed :/
    Last edited by coalamct; 08-06-2012 at 04:03 PM.

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Wait on test : )!

  3. #3
    Normal User Pv!'s Avatar
    Join Date
    Feb 2012
    Location
    Santiago Tangamandapio - MÚxico
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by Foriozek View Post
    Wait on test : )!
    Why u don't test?

    @topic: I'll test it asap bro.

  4. #4
    iBot User
    Join Date
    Jul 2012
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    So, do these actions work well?

  5. #5
    Normal User Falksalt's Avatar
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Can the hold target action be used on a creature/monster aswell? :-)
    Jordgubben: "Awh man, posting something on internet these day... Just trying to help, no need to make fun of me.."

  6. #6
    Normal User
    Join Date
    Apr 2012
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5
    coalamct u play on balera?
    Minha Órea de Scripts:

    Free Bulldozer Scripts



  7. #7
    Normal User
    Join Date
    May 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    your hotkey is not working here.

    I created a new hotkey

    PHP Code:
    local Leader 'Nemtor' -- combo leader   
    local SDHotkey 
    'F11' -- change to your SD hotkey  
    local msgs 
    getnewmessages("Party")  --where the leader will send the name of the victim
    local ptable 
    = {}  
    local pgot getcreatures("p")  
    local pqtd pgot.count   
    local qtd 
    msgs.count-1  

    for i=0,pqtd-do  
            if 
    msgs[qtd].text:find("]: "..pgot[i].name) and msgs[qtd].sender == Leader then  
    table
    .insert(ptablepgot[i].name)  
    end  
    end  
    if #ptable > 0 then  
       
    attack(ptable[1])  
       
    wait(200)  
       
    usehotkey(SDHotkey)  
       
    wait(2000)  
    end 

    but theres 1 problem: the debug is reporting an error, but the action is working... maybe you can help me to fix the error that the debug shows.

    ps: battle must be open, party channel must be open too.
    Last edited by seillaa; 09-08-2012 at 02:47 AM.

  8. #8
    Normal User
    Join Date
    Oct 2012
    Posts
    26
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    hold target dont work?

    if target.id > 0 and target.isplayer == 1 then
    setsettings("setsettings("Settings\Targeting\List\ Monsters\Player", target.name)
    end

Posting Permissions

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