XenoBot Forums - Powered by vBulletin

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Anoyn's Scripts

  1. #21
    dean015's Avatar
    Join Date
    Nov 2015
    Posts
    119
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    @anoyn

    really nice script but since i started using it occasionally tibia client stops responding and ends up crashing, sometimes even when no creeps on screen

    iv never had tibia client crash befor but its happend twice using this script
    anyone else having this problem?
    thanks

  2. #22

    Join Date
    Dec 2015
    Posts
    2
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Im kinda new at this, sorry. But where do i put in the file to make it run?

  3. #23
    dean015's Avatar
    Join Date
    Nov 2015
    Posts
    119
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by billdahlberg View Post
    Im kinda new at this, sorry. But where do i put in the file to make it run?
    xenobot/scripts

  4. #24

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by dean015 View Post
    @anoyn

    really nice script but since i started using it occasionally tibia client stops responding and ends up crashing, sometimes even when no creeps on screen

    iv never had tibia client crash befor but its happend twice using this script
    anyone else having this problem?
    thanks
    I've never had a script crash tibia, I've only crashed when changing screen resolution or running 20mcs at 100% cpu usage.

  5. #25
    dean015's Avatar
    Join Date
    Nov 2015
    Posts
    119
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    I've never had a script crash tibia, I've only crashed when changing screen resolution or running 20mcs at 100% cpu usage.
    maybe its just my shitty laptop is it even possible for a script to crash the tibia client? since when it crashes xenobot is still running fine

    thanks for the reply

  6. #26

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by dean015 View Post
    maybe its just my shitty laptop is it even possible for a script to crash the tibia client? since when it crashes xenobot is still running fine

    thanks for the reply
    I'm not sure, if its a big problem make a thread about it. I haven't had the issue myself

  7. #27

    Join Date
    Feb 2016
    Posts
    26
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Im getting error stuck :/

  8. #28

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by neinrar View Post
    Im getting error stuck :/
    What script and what does the error say?

  9. #29
    l4z's Avatar
    Join Date
    Oct 2015
    Posts
    133
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Is this script fixing anything on new xenobot?
    Gona test it.

    edit:
    Imo definitly recomended to use but..
    What about this "cloud" "you are exhasted" isn't it bannable after longer time of botting?
    Last edited by l4z; 02-27-2016 at 07:36 PM.

  10. #30

    Join Date
    Feb 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    Spell Caster while Manually Playing
    This script will cast spells in order when you are attacking a creature.
    To be used if you are too lazy to cast spells yourself while manually playing.
    Can be enabled and disabled with a hotkey. (Default end)

    lua code:

    -- Automatic spell caster for manual targeting
    -- Version 1.0
    --[[ Made by
    ___ .__ __. ______ ____ ____ .__ __.
    / \ | \ | | / __ \ \ \ / / | \ | |
    / ^ \ | \| | | | | | \ \/ / | \| |
    / /_\ \ | . ` | | | | | \_ _/ | . ` |
    / _____ \ | |\ | | `--' | | | | |\ |
    /__/ \__\ |__| \__| \______/ |__| |__| \__|

    ]]
    --------------------------------------------
    --[[ ------------ CONFIG -------------- ]]--
    --------------------------------------------
    --Spells to cast in order from strongest to weakest
    strikeSpells = {
    "exori max frigo",
    "exori gran frigo",
    "exori frigo"
    }

    --Square range you can shoot your spells
    castRange = 3

    --will only cast if mana percent is this or above
    manaPercentToCast = 10

    --Whether you want automatic casts to be on when you start the script
    castingSpells = true

    enableHotkey = 35 -- 35 = END, 36 = HOME

    --------------------------------------------
    --[[ ----- Script -- No need to edit ---- ]]
    --------------------------------------------
    Module.New('saySpell', function(saySpell)
    if( castingSpells ) then
    local curTargetID = Self.TargetID()
    if( curTargetID ~= 0 ) then
    local enemyPos = Creature.New(curTargetID):Position()
    local manaPercent = math.floor(( Self.Mana() * 100 ) / Self.MaxMana())
    if( Self.DistanceFromPosition(enemyPos.x, enemyPos.y, enemyPos.z) <= castRange and
    Self.Position().z == enemyPos.z and manaPercent >= manaPercentToCast ) then
    for spellIndex = 1, #strikeSpells do
    if( Self.CanCastSpell(strikeSpells[spellIndex] ) ) then
    Self.Cast(strikeSpells[spellIndex] )
    break
    end
    end
    end
    end
    end
    end)

    if not Hotkeys.Register(enableHotkey) then
    print("Could not enable hotkey, check that enableHotkey (" .. enableHotkey .. ") is valid.")
    end

    function pressHandler(key, control, shift)
    if( castingSpells ) then
    print("Pausing Spell Caster")
    castingSpells = false
    else
    print("Starting Spell Caster")
    castingSpells = true
    end
    end
    Hotkeys.AddPressHandler(pressHandler)
    Just give s me an error when trying to use this script?

    07:30 XenoScript Error:
    Script: spells.lua
    Line #: 55
    Error: attempt to index global 'Hotkeys' (a nil value)
    This is an error with user-input and should not be reported as a bug with XenoBot.
    Last edited by Gluben; 03-25-2016 at 06:34 AM.

Posting Permissions

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