Results 1 to 7 of 7

Thread: Sync Spell with Bolt / Arrow for Paladin!

  1. #1
    Premium User iwoq's Avatar
    Join Date
    Mar 2012
    Location
    Derby
    Posts
    154
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    11
    Rep Power
    5

    Sync Spell with Bolt / Arrow for Paladin!

    Sync Spell with Bolt / Arrow for Paladin!

    Hello i need action for sync spell. Because like i remember bot dont have this function so if someone want make it for me. I want back there but i need to know it is Thanks!
    *************************
    Walukasz Scripts by IwOQ and Server for Bot

  2. #2
    Focus Group Gryllz's Avatar
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    3,481
    Mentioned
    89 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    236 Post(s)
    Reputation
    342
    Rep Power
    10
    @iwoq
    According to replies, soder's action should work, read this thread:

    http://www.tibiaibot.com/forum/showt...hronize+spells

    Also I suppose ibot+ might contain this function as inbuilt, but I haven't any rp to check it out.

  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    @iwoq

    The new targeting lua functions being under testing at the moment (for all spells) so it will be made other (better) way now, you can use this action (simple but working pretty fine, that's only an example, anyway I just wanted to show you a way hot to do it bassed on server log messges):

    Lua Code:
    local serverlog_lines = getnewmessages("Server Log") 
    local serverlog_q = serverlog_lines.count - 1 
     
    for i = 0, serverlog_q do 
        if (serverlog_lines[serverlog_q - i].text:find("due to your attack")) then
            if target.id ~= 0 and target.dist < 5 and cooldown('exori san') <= 50 then
                   cast('exori san')
                   wait(1850,1950)
                   elseif target.id ~= 0 and target.dist >= 5 and cooldown('exori con') <= 50 then
                   cast('exori san')
                   cast('exori con')
                   wait(1850,1950)
              end
        end 
    end

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    getnewmessages used to be really slow. Is it faster now? Otherwise I'd suggest to check arrow slot if an arrow was shot.

  5. #5
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by soder View Post
    getnewmessages used to be really slow. Is it faster now? Otherwise I'd suggest to check arrow slot if an arrow was shot.
    Now it's a lot faster and better ; ) anyway that's still poor way to do that kind of action, Jonatas working now on LUA functions for spells, already tested some of them, works epic and so simple ;P

  6. #6
    Premium User iwoq's Avatar
    Join Date
    Mar 2012
    Location
    Derby
    Posts
    154
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    11
    Rep Power
    5
    so i will wait when it work 100% also thank a lot of i want back to to this community again!
    *************************
    Walukasz Scripts by IwOQ and Server for Bot

  7. #7
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by iwoq View Post
    so i will wait when it work 100% also thank a lot of i want back to to this community again!
    so it's already done with newest iBot+

Posting Permissions

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