Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Oct 2014
    Posts
    12
    Reputation
    10
    Rep Power
    0

    Safe spells for retro

    Hello.

    I've searched the forums but couldn't find the script that I'm looking for. I'm playing retro server and I need a hotkey that will change the players looking direction when there's another player infront of him. I do not know how to explain but I'm pretty sure that are you are familiar with CTRL + up/down/left/right buttons. Is there anyone who can help me with this? much appreciated.

  2. #2
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,468
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by mrpac View Post
    Hello.

    I've searched the forums but couldn't find the script that I'm looking for. I'm playing retro server and I need a hotkey that will change the players looking direction when there's another player infront of him. I do not know how to explain but I'm pretty sure that are you are familiar with CTRL + up/down/left/right buttons. Is there anyone who can help me with this? much appreciated.
    https://forums.tibiawindbot.com/show...p?151#post1049

    Read configuration.
    Helped you? REP+

  3. #3
    Free User
    Join Date
    Oct 2014
    Posts
    12
    Reputation
    10
    Rep Power
    0
    Thanks for you reply, but not what I was looking for, this wont cast spells if players are near, I want a script that casts spells but makes sure that it doesnt hit the players, if a player comes in front of me I want the bot to change the direction of which my player is facing

  4. #4
    Free User mandark's Avatar
    Join Date
    Mar 2014
    Posts
    78
    Reputation
    17
    Rep Power
    21
    auto(100)
    foreach creature p do
    local dirs = {'n', 'e', 's', 'w'}
    local lookPos = getdirpos($self.dir)
    if p.dist > 0 and p.isplayer then
    if p.posx == lookPos[1] and p.posy == lookPos[2] and p.posz == lookPos[3] then
    table.remove(dirs, table.find(dirs, $self.dir))
    turn(dirs[math.random(1, 3)]) waitping()
    end
    end
    end
    got from : https://forums.tibiawindbot.com/show...2-Spell-Attack

 

 

Posting Permissions

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