Lua scripts


What is lua and how to start?



Lua is powerful interface to call registry functions using user lua custom scripts.
Documentation with all registred functions you can find in Rifbot folder inside file called Rifbot Lib.lua
Check up for already created scripts and start with something basic like a healing.



How to add script?



1. Go to MyDocuments\Rifbot\Scripts\.. 
2. Create a Notepad file and paste code. 
3. Set name: Script.lua, type: All Files and save.



There are some examples?



There are many examples with explanation how it works. Visit my github and try to learn something.


bring me to lua examples


235 comments:

  1. hi, how to make logout when player on screen or move character to house (when i stay in entrance house) when player on screen?

    ReplyDelete
    Replies
    1. Hello!

      This is already done using Rifbot pannel functions inside Runemaker section.
      You can also checkup for Options-> Lua script -> Player Logout.lua

      Delete
    2. ok, thanks i didnt see this before :P
      could you make script in free time for making runes?
      when player dont have blank then he go few SQM to house for blanks and go back to place where he made runes xd

      Delete
    3. and 1 more needed, when player on screen then bot get stop. when player leave screen then bot is run again

      Delete
    4. Pause bot on player added to above list.

      Delete
  2. Hello,
    Rafal do You have any suggestions about player log out when player is about 2-3 sqm above the screen (he can;t see us?)
    I saw some bots got this, and he log out even I dont see him on screen.
    It would be very helpful :)

    Thank you for your job and looking for your forward

    ReplyDelete
    Replies
    1. Hello!

      Battle list is structure that store players with range:

      for x = {-8, 9}
      for y = {-6, 7}

      Your position in tibia is {x = 0, y = 0} then you can detect players..

      1 square away form screen for left side.
      2 squares away from screen for right side.
      1 square away from screen for north side.
      2 squares away from screen for south side

      Delete
  3. Hello. I'd love to know, is it possible to make a script that would attack a monster with a rune (id)?
    Thanks

    ReplyDelete
    Replies
    1. All scripts are now on Github, click link in main post and search for: Kill Monsters.lua

      Delete
  4. Hello. Does the rifbot put blank runes on hand to make them?
    Does the rune maker work in nostalrius?
    Thanks

    ReplyDelete
    Replies
    1. Runemaker was tested on all servers and works fine.
      Putting runes to hand work on Nostalrius.

      You can always check it for yourself using trial.
      If you need trail send me an email.

      Delete
  5. Thanks for all those scripts on Gifthub.

    Is there any possibility for you, in your free time, to do a script that would open 3..4. backpacks at relogin? Or when the runes in the acutal backpack thati s opened are used (so empty bp), it would go to the next one?
    Thanks.

    ReplyDelete
    Replies
    1. And one problem i'm occuring is that whenever my character logs out and logs in (happens like 30% of logouts=> relogin) it opens the backpack then closes it directly.. Any idea how to solve it?
      Thanks.

      Delete
    2. Here you go!

      Added reconnect for backpack on Github: https://github.com/Ascerr/Lua-Scripts/blob/master/Reconnect%20Backpacks.lua

      In next update I'll increase delay for reopen backpack.

      Delete
  6. hi sir, i need scrip for use logout when i look players on floor -1

    ReplyDelete
    Replies
    1. Hello!
      It's already done a month ago, just change config
      https://github.com/Ascerr/Lua-Scripts/blob/master/Multifloor%20Player%20Logout.lua

      Delete
  7. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Use English, then more people will understand it.
      Put flower under monk default and do not touch character that summon this monster.

      Delete
  8. Witam jest mozliwosc stworzenia skryptu na alarm gdy gracz ma mniej niz X capa?

    ReplyDelete
    Replies
    1. Use English, then more people will understand it.
      Added your script to my GitHub, search for Capity Alert.lua

      Delete
  9. Hello!
    Love your product sir! Thanks a lot for saving my time.
    I got a question. Do you know maybe how to make script which is sending message to me from other character with information about players on the screen? I mean names. Its useful when u're hunted.

    ReplyDelete
    Replies
    1. Thanks!
      https://github.com/Ascerr/Lua-Scripts/blob/master/PM%20With%20Players%20On%20Screen.lua

      Delete
  10. Hello its something weird with The bot now. I cant use uhs on realesta and few ppl cant use mf

    ReplyDelete
    Replies
    1. Open Rifbot using administrator, if not help add this rights to your windows account in control panel

      Delete
  11. Hello!
    Can You make something like logout when x player is offline ?
    Thanks

    ReplyDelete
    Replies
    1. Check this:
      https://github.com/Ascerr/Lua-Scripts/blob/master/VIP%20control.lua

      Delete
  12. Hey
    I am trying to use LUA script "EAT FROM GROUND" from github.
    Unfortunately it is not working.
    It seems to be bugged. Im getting error:
    LUA error: EAT FROM GROUND.LUA line 7: unexpected symbol near "<"

    Can you help me? I would love a script that eats from ground (house door)

    ReplyDelete
    Replies
    1. Hey!
      Code is fine, you must wrong copied or make changes.
      Error show line: 7 then compare your code with code on Github

      Delete
  13. Hello,
    First of all i must say: Well done with this bot!

    I wonder if you can make a script that log out the char for "X" minutes in a "X" period of time.

    Example: Log out during 5 minute every Random hours (randomize the time: 1 time at 18:00 other at 20:23.... and so on)
    That would be a good idea so people cant be sure that we are runemaking becouse of the "Last Login" in the websites.

    ReplyDelete
    Replies
    1. Thanks dude!

      I create script for you, before execute turn off PlayerLogout and Relogin from Rifbot panel functions this is already inside lua script.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Random%20Logout.lua

      Delete
    2. Thank you very much Ascer, you are doing a really good job!

      Delete
  14. Rafal,

    Last time I noticed so many crashes...
    I think its because of logout when player is on screen, now i use multifloor logout.
    https://tinypic.pl/7swqxqk265xq


    Do You have any suggestions, what to do ?

    ReplyDelete
    Replies
    1. Soon comming update to version 1.44 with many changes.
      I could pass you a beta version just send me email.

      Delete
  15. Might be worth checking out if u can make slime script instead becasue if u use enable trainer on bot you get deleted because it sends packages to client (also can u you make so it random makes runes between like 95-99 % mana? also spears pick up option after 3-5 spears so it dont look like bot

    ReplyDelete
    Replies
    1. All these scripts are already done! Search for:

      Slime Training.lua
      Small Stone Picker.lua
      Runemaker.lua (to get random mana change MANA_ABOVE to math.random(400, 600) in line 20)

      Delete
  16. can make if player on screen put on energy ring?

    ReplyDelete
    Replies
    1. Added your request here: https://github.com/Ascerr/Lua-Scripts/blob/master/Players%20Detected%20-%20Ering.lua

      Delete
  17. Hi Ascer!
    Can you make something like users lua scripts, it will be possible to share scripts to another users and maybe this will help you with increasing users community and share their releases.
    Have a nice day.

    ReplyDelete
    Replies
    1. Hello!
      I think about it but after some research this is unuseful since per 15 requests there is one script share. It's brutal true about today users community.

      Delete
  18. Riftbot not working? autolt error line 5416 error: Variable used without being declared

    ReplyDelete
  19. I have the same problem Variable used without being declared

    ReplyDelete
  20. Problem fixed download a new version.

    ReplyDelete
  21. how to make it fishing on medivia unlimited and drop on ground if no more cap?

    ReplyDelete
    Replies
    1. First of all you need a instant rod (if even exists besause normal "wooden fishing rod" can be easy retracted to water by fish).

      Next make valid config for script https://github.com/Ascerr/Lua-Scripts/blob/master/Fishing.lua

      After that you can create a module do drop item under yourself when reach x capity.

      Delete
    2. ok thank you, can you help me with a script to drop x fish from bp to ground? i cant find this in lua scripts.

      Delete
    3. I've added to lua scripts on Github: https://github.com/Ascerr/Lua-Scripts/blob/master/Drop%20Fish%20when%20Cap.lua

      Delete
  22. Any Script for mana potions?

    ReplyDelete
    Replies
    1. Hey!
      If you need mana burn or runemaker for mana points checker there is a solution: https://github.com/Ascerr/Lua-Scripts/blob/master/Runemaker.lua

      Delete
  23. where do we paste bugs in future? medivia lighthack crashing the openGL client always when turned on.

    ReplyDelete
    Replies
    1. Hello!
      Bugs post under last changelog in Home section.
      Fixed problem with lighthack, you don't need to download just run Rifbot and check.

      Delete
  24. Hello,
    Is there any way to make a lua script for combo ue? X player says X on chat char uses Y spell.
    X: exevo gran mas vis -> char uses spell Y

    ReplyDelete
    Replies
    1. Default Speak Proxy is not available in Rifbot. You can use Error or Private Message Proxy, McShortkeys if you play on mc or Module script to cast spell when char name or target id have hpperc < x%

      Delete
  25. Hello, First of all thanks for the great work. I wonder if there's a way to create a script to auto convert Gold (100gps) into 1 Plat.

    Thanks

    ReplyDelete
    Replies
    1. Thanks mate!

      Here you go!

      https://github.com/Ascerr/Lua-Scripts/blob/master/Gold%20Changer.lua

      Delete
  26. please make a script bot open next backpack for manafluid drinker exemple i put 30 backpacks into the same backpack one after one and he open it when they are no any manafluid to drink

    ReplyDelete
    Replies
    1. Done!

      Set config for valid backpack and mana fluid id.
      One backpack per backpack and 19 fluids

      https://github.com/Ascerr/Lua-Scripts/blob/master/Open%20Backpack%20for%20MF.lua

      Delete
    2. great job man thanks !! they are any script for drinking manafluids under me? exemple i'm buying 500 mf under me and he drink it because i don't found anything like that for moment

      Delete
  27. Hello,

    Would you be able to create a script to auto exori con/exori hur the target with a X delay? for example exori hur target every 1000ms

    ReplyDelete
    Replies
    1. Here you go!

      https://github.com/Ascerr/Lua-Scripts/blob/master/SpellMax.lua

      Delete
  28. Hello, great bot, can u post here script to make rune when no player on scren, and stop when see some1 on scren, when player go away, then bot make runes agein, also added to this multiflour logout, when bot detect on -1 or +2 us position autologout, and back in 5min :)

    ReplyDelete
    Replies
    1. Hey!

      Thanks for opinion.

      Runemaker - Player Stop.lua --> https://github.com/Ascerr/Lua-Scripts/blob/master/Runemaker%20-%20Player%20Stop.lua

      Multifloor Player Logout.lua --> https://github.com/Ascerr/Lua-Scripts/blob/master/Multifloor%20Player%20Logout.lua

      Delete
  29. Epic bot dude! Congratulations!

    I wonder if you can make a script to auto open bag when looting. the auto looting is amazing but it doesnt open the bag on corpse.

    Thanks!

    ReplyDelete
    Replies
    1. Thanks for great words!

      It's your script, read config to make sure if all is ok.
      https://github.com/Ascerr/Lua-Scripts/blob/master/Cropse%20Bag%20Opener.lua

      Delete
    2. Good job dude, but problem is that it only open if the bag is the first bp and i tried to make the rest as second,third... but it only work when you have only 1 bp opened.

      Delete
  30. I have a question if the bot works on "real tibi"

    ReplyDelete
    Replies
    1. Nope, inside "About" section you can read supported servers: Mastercores, Realesta Rpg + War, Medivia, Nostalrius, Classictibia, Waropolis, Classicus, Kasteria and RealOTS

      Delete
  31. I got sugestion, can u add function when we run bot, then randomize name aplication in Windows System? I think its better to stay safe :)

    ReplyDelete
    Replies
    1. Definetly no!

      I don't support game clients with build-in spyware program like a BattleEye.
      These games grab tons of inforamtion from your pc and should be removed immidetly.

      Delete
    2. I just mean about Medivia, becouse i hear they have automatic detection system :P My rl friend, who use another bot, got ban with that lol XD

      Delete
    3. Medivia detecting system don't works like spyware BattleEye. They read information about Medivia_OGL.exe not about all your Windows process.

      Delete
  32. Hello, i use Multifloor script, with runemaker in bot deafult, how make it, when we have no blank rune, bot logout and no back to game after that? Last question how to set runemaker, when we dont have blank runes, and dont On logout/spell caster, bot try make runes, how to avoid that, just to dont make nothing? Thx for help :)

    ReplyDelete
    Replies
    1. Re1: Use script Multifloor + VIP + No Runes Logout.lua, when you will out of blank runes bot will logout and won't back to game.

      Re2: This out of logic. If you don't have blanks then..
      a) cast spell to increase magic level.
      b) logout to avoid beeing killed by other players.

      Delete
  33. I need script clouse clent game after done runemaking is possible to create that?

    ReplyDelete
    Replies
    1. Done runemaking? I guess you mean out of blank runes.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Close%20Game%20If%20No%20Runes.lua

      Delete
  34. Hello Ascer,

    This script:

    https://github.com/Ascerr/Lua-Scripts/blob/master/Cropse%20Bag%20Opener.lua

    Doesnt work properly, problem is that it only open if the bag is the first bp and i tried to make the rest as second,third... but it only work when you have only 1 bp opened.

    Could you fix it?

    Thanks

    ReplyDelete
  35. great job man thanks !! they are any script for drinking manafluids under me? exemple i'm buying 500 mf under me and he drink it because i don't found anything like that for moment

    ReplyDelete
    Replies
    1. Hey,

      Thanks for great words!

      It's not possible to dring mana fluids directly from ground.
      You can just pickup fluids under you to backpack and next set in Rifbot pannel auto drinking above X mana percent.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Pickup%20MF%20under%20you.lua

      Delete
  36. Hello! Good job on the bot and also on the help of making scripts possible.

    I have 2 questions and if it's possible to make 2 different scripts.

    I would like to know if it's possible to add automatically assassin stars to the left/right hand when less than X.

    I also would like to use the "STEP" function but i would like to use it like a "dash" in the numpad 4,8,6,2 (Left,North,Right,South)

    Thanks dude,

    Keep up the good work.

    ReplyDelete
    Replies
    1. Hey,

      Re1: I changed Refill Ammo.lua to works also with both hands and arrow slot.
      https://github.com/Ascerr/Lua-Scripts/blob/master/Refil Ammo.lua

      Re2: It's not possible because time between shortkeys is equal to 100ms.

      Delete
  37. Hello Ascer,

    Is there a way to use Keyboard (F1-2-3-4...etc) instead of healing or exori con mobs? becouse there are many times that the bot instead of saying exura vita or exori con or exura gran it says random words..

    Thanks

    ReplyDelete
    Replies
    1. Hello,

      Here you go!

      https://github.com/Ascerr/Lua-Scripts/blob/master/Healing%20-%20Key%20simulate.lua

      Delete
  38. Hello Ascer,

    I wonder if you can create a script for when 0 Soul stop doing runes (example: adori gran flam )but keep doing Exura vita (for example)

    ReplyDelete
    Replies
    1. Hey,

      I make an error proxy checker to cast spell when "soul points" appear inside message. Make sure that this keyword is valid.

      https://github.com/Ascerr/Lua-Scripts/blob/master/No%20Soul%20Cast%20Spell.lua

      Delete
  39. Hello, is possible make script when we login, auto use/open box near us position?

    ReplyDelete
    Replies
    1. Hello,

      It's just want you want. Opening ground container after relogin to game.
      Container will open as first index what is bug already and will be solved in next update.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Open%20Ground%20Container.lua

      Delete
    2. Works perfect, thank you! :)

      Delete
  40. hallo do you have srcipt to follow someone , but with keeping a few distance frames?

    ReplyDelete
    Replies
    1. Sorry, this is not possible in Rifbot.

      Delete
  41. zaraz nie wytrzymam... powiedz prosze jak to działa, że gdy spada mi życie to zamiast mnie uhać to odnawia mane , robi exhaust na manapocie , i życie sobie spada i spadam aż wkonuc padam po raz drugi ponieważ bot preferuje mane od życia

    ReplyDelete
    Replies
    1. Use english next time to help more players.

      If you using checkbox UH and MF in this same time, bot first will restore your mana then restore your health.

      How to solve it?

      Set lower percent for MF and higher for UH

      Delete
  42. Hello playing darkot, how do i add so i heal with great mana potions/ultimate mana potions.

    ReplyDelete
    Replies
    1. Hello,

      If you want it manually just use shortkey: MEUSE id

      For automatic usage change id in this script to restore your mana.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Auto%20Potion.lua

      Delete
    2. Ye i know, but how do i get the id of items? Can i use the bot to see id's.

      Delete
    3. Default in Rifbot is checked function LookItemID inside Tools section. Then look on item in game (left + right mouse click). Later check message inside InformationBox (down of Rifbot pannel).

      When it doesn't work then use lua script to read item id from your arrow slot.
      https://github.com/Ascerr/Lua-Scripts/blob/master/Check%20Id.lua

      Delete
  43. can u tell me how to put waypoints in bot? or some example in lua? thx

    ReplyDelete
    Replies
    1. This is not possible and never will be since cavebot destroy server.

      Delete
  44. can u tell what script bot is using when "HoldPos"? thx

    ReplyDelete
    Replies
    1. Rifbot: HoldPos use function Self.Step to reach ground square. You can check how it works example here: https://github.com/Ascerr/Lua-Scripts/blob/master/Step%20Back%20on%20DMG%20taken.lua

      Delete
  45. Hello, please update bot to new Medivia Client ;)

    ReplyDelete
    Replies
    1. Update was is ready, download manually.

      Delete
  46. Having issues with Nostalrius client -
    "Riftbot is outdated for Endless_OpenGL.exe!
    Make sure you use the last version of RiftBot, Game client and you open bot as administrator."

    What to do?

    ReplyDelete
    Replies
    1. Rifbot support Endless server until 24th of May, leter i just change addresses for new server Fearless 8.0.

      1. Download the last game client from Nostarlius website
      2. Run Rifbot as administrator.

      Delete
  47. Replies
    1. Updated, just inject Rifbot for new client.

      Delete
  48. Hello, can u post script alarm when some1 write to us in default chanel?

    ReplyDelete
  49. Please add support for old-ultra.net it's a server that uses tibianic (cracked) client encrypted with xor key on their server i got the server side source codes if you need to check it out

    ReplyDelete
  50. Good morning, friend Ascerr, let me congratulate you, since your automation program is very good, but, on the other hand, I want to ask you a question due to the scripts "Step Back in DMG taken.lua" It does not work correctly for me, I have tried attacking my character from another maker and nothing happens the character stays in place until he dies, and the scripts "PM With Players On Screen.lua" Send the messages constantly every second, I need to send it to me just a couple of times without spamming, if I put false the option of the messages only the message arrives if the player arrives only once but if he alaje and returns he does not send me the message again

    ReplyDelete
  51. friend please contact with me on my mail edmundos1337@gmail.com i want to ask something thank you very much ! :)

    ReplyDelete
  52. is there a chance to create a .lua script to drop fishes from backpack somewhere else than character position?

    ReplyDelete
    Replies
    1. You can modify script to drop fish when no cap on what you want.
      https://github.com/Ascerr/Lua-Scripts/blob/master/Drop%20Fish%20when%20Cap.lua

      Delete
  53. Hello, I got a question regarding the player step in the "Runemaking section" I have that enabled but it wont step in any direction anyway?
    Player Step (X) [7] - [5]
    Why wont it work? I am standing south-east of my door to my house :S

    ReplyDelete
    Replies
    1. Re-download Rifbot in version 1.53 i fixed it.

      Delete
  54. It doesn't open any corpses for me, is there any LUA file for this?

    ReplyDelete
    Replies
    1. Rifbot is against cavebot in Retro tibia servers. You can use AutoLoot in panel to collect items form already opened cropses.

      Delete
  55. hello Sir, something is wrong with the slime trainer script. It was working fine before the client update, but now it only change the mother slime as a demon but doesnt hit the slimes.
    please fix it . much love

    ReplyDelete
    Replies
    1. As I mointed in Last post on Home website not all functions are updated i think soon i update it 100% keep eye on main page rifbot.eu

      Delete
  56. Hi,

    is there an option to turn on Alert when "Deafault Message? Or Stop Bot + Alert when Defalt message appears. GM's are checking bots with Default Messages + Platinum coin drop on the ground lately.

    ReplyDelete
    Replies
    1. At this moment is not possible to check default messages in Rifbot. I think about adding this future updates.

      Delete
  57. Trojan Nymeria.... :( (keylogger)!!!


    Scan : https://virusscan.jotti.org/pl-PL/filescanjob/fiqwdu7pn4

    ReplyDelete
    Replies
    1. It's false positive scan, you can read more about this in FAQ section on my website. You need to know that there is no much difference between keylogger and Rifbot for anty-virus software. Both programs need access process memory to read data information (as admin). Keylogger read your account passwords and send it to the server. 99% of keyloggers are "extra added" to someone software so never download anything from unofficial website.

      Delete
  58. Can I post request here? If not, please lemme know. But I wanna post script request,

    Could someone make a lua script that pauses the bot if you get more mana than 200? But if you have under 200 it will keep making runes. Because they have a mp test and gives you full mana, so then it will start spamming runes and that will be obvious.

    ReplyDelete
    Replies
    1. Added your script: https://github.com/Ascerr/Lua-Scripts/blob/master/Stop%20Bot%20on%20Mana.lua

      Delete
  59. Is there a gm detected pause bot or answer for retrocores? If not can i request IT? Have a nice day

    ReplyDelete
    Replies
    1. There is no default message checker in Rifbot, GM also is not visible for client memory if he use invisible mode. If you want to protect your character before full mana test use this lua script: https://github.com/Ascerr/Lua-Scripts/blob/master/Stop%20Bot%20on%20Mana.lua

      Delete
  60. Hi,

    there is already an option to do runes and drop into house, would be there a script to do runes and but back in bp? Would be great.

    ReplyDelete
    Replies
    1. You can use these similar scrips https://github.com/Ascerr/Lua-Scripts/blob/master/Drop%20Rune%20Bp's%20to%20House.lua

      https://github.com/Ascerr/Lua-Scripts/blob/master/Pickup%20Blanks%20Drop%20GFBs.lua

      Delete
    2. True but it is working only for a while because you can throw only few items on same smq.After that you can throw it anymore on the smq.

      Delete
    3. So we need script to load one backpack from house to equipment or main backpack when proxy message detect no more magic item to cast this spell message. It's possible via Rifbot but not easy to code due personal preferences.

      Delete
  61. Hey Rafał,
    could you please add similar script to "stop when mana above value" but with health? Like stop bot when hp below 10 or something for auto-healer tests on retrocores.
    Cheers

    ReplyDelete
    Replies
    1. Done.

      https://github.com/Ascerr/Lua-Scripts/blob/master/Stop%20Bot%20on%20Health.lua

      Delete
  62. jest skrypt ktory by pisal jakies tekst gdy zobaczy na ekranie innego gracza? (spoza listy friend)

    ReplyDelete
    Replies
    1. Dodałem script, czytaj config i pozmieniaj sobie respond message jak coś

      https://github.com/Ascerr/Lua-Scripts/blob/master/On%20Player%20Say%20Text.lua

      Delete
  63. could make an automatic message script in a given time

    ReplyDelete
  64. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Yoyo,
      Somehow I managed to create it by myself :o, so if anyone will need sm like that for training purpose on ek, here it is :

      --[[
      Script Name: Exit Client when player detected
      Description: Script will close the tibia client when player not added in firend list will be detected.
      Author: Johny, made by mixing Ascer's scripts
      ]]

      local PATH = "C:\\batch.bat" -- path to file with batch.bat to run kill process.
      local FRIENDS = {"Friend", "Friend2"}

      -- DONT'T EDIT BELOW THIS LINE

      function createBatchFile(pid)
      file = io.open(PATH, 'w')
      file:write("taskkill /F /PID " .. pid)
      return file:close()
      end

      local list = table.lower(FRIENDS)

      Module.New("Stop Bot on Player", function ()
      local players = Creature.iPlayers(7, false) -- get players on screen only
      for i = 1, #players do
      local player = players[i]
      if not table.find(list, string.lower(player.name)) then
      local client = Rifbot.getClientInfo()
      createBatchFile(client.pid)
      os.execute(PATH)
      end
      end
      Rifbot.setEnabled(true) -- enable bot not players found
      end)

      Delete
    2. I have no idea what you try to tell me. This script above exit game client when player appear on screen.

      Delete
  65. Is it available function for checking default messages? If any appear or if message="hello" do something..

    ReplyDelete
  66. when are u going to add this. Now is it useless on retrocores.

    ReplyDelete
    Replies
    1. This won't solve way admins ban afk runemakers. They find other way to do it. Due a fact Retrocores are not much friendly with botters bans are need to keep server stabilization between players without bot, semi-botters and full botters.

      Delete
  67. Could you add alert if someone wrote a message on Default? GMs check if player is afk this way

    ReplyDelete
    Replies
    1. Read my above message i respond for similar question.

      Delete
  68. Hello

    I managed to redo a script that plays alarm when mana is below 200. It's good if you running in main char and dont want to waste mana generation, avoiding ban for repetitive actions in retrocores. Good luck ingame.

    --[[
    Script Name: X mana Alarm
    Description: Play sound if your mana is below 280.
    Author: Lapinha (Source : Ascer)
    ]]


    local MANA = 200
    local ALARM_NAME = "Low Mana.mp3"

    Module.New("Low Mana", function (mod)
    if Self.Mana() >= MANA then
    Rifbot.PlaySound(ALARM_NAME)
    end
    mod:Delay(200, 500)
    end)


    ReplyDelete
  69. Hello. First of all i want to congratz you for the great jog. I have been using this script named Bed_Regeneration.lua . I was woundering if it's possible to do it whit multiple chars on same account. Can you help me whit that? Happy new year :D

    ReplyDelete
    Replies
    1. It's possible but complicated to create due switch character process. If you have free time to play with try use Rifbot.PressKey() to menage characters.

      Delete
  70. How can i pick a bp from my house's ground if i know the id and the position? i only want to know the function, i can do the script by myself

    ReplyDelete
    Replies
    1. All functions are available in file Rifbot Lib.lua

      Depent on your need try this functions

      Self.PickupItem(x, y, z, itemid, count, contNr, contSlot, delay)
      Self.EquipItemFromGround(slot, x, y, z, itemid, count, delay)

      Delete
    2. thanks done
      one more question step back on damage works? i cant make it work

      Delete
  71. hallo,
    1.
    i have problem during cavebot.
    during cavebot
    the character stands still and does not move.
    the character is one place further.

    i need script which go (north,south,west,east-no matter where) every 30 second

    2.
    alls options work good except uh,mf,lf ;/ (i start as admin and all)

    PL
    1.
    podczas bocenia postać zacina się i widać ją jedną kratkę dalej. wtedy muszę ręcznie ruszyć postacią by dalej chodziła.
    potrzebuje skrypt, żeby co 30 sekund poszedł kratkę w prawo,lewo,gore,dol, obojętnie gdzie.
    2
    wszystkie funkcje działają dobrze oprócz UH,MF,LF. uruchamiałem jako administrator i nie pomogło.


    ReplyDelete
    Replies
    1. W Rifbocie nie ma cavebota, func skillTrainer z możliwością follow jest głównie do skillowania. Ekran może ci się zacinać jak postać daje follow na potworka a ty chcesz manualnie isc. Ruszyć postać z miejsca możesz poprzez Lua scripty np. Self.Step(dir) albo shortkeys: Step 0. Jeżeli nie działa ci używanie uh, mf, lf z panelu po zaznaczeniu checkboxa to nie ma innej opcji jak brak dostępu do dllek czyli brak admina.

      Delete
    2. Dzieki za odpowiedz.
      Co mozna zrobic, zeby byl dostep do dll? troche zielony jestem.
      Ogolnie uzywam cave na innym bocie, rifbota uzywam tylko do leczenia i na razie rozwiazalem ten problem skryptami, ktore chodza bardzo dobrze i jestem zadowolony.

      Delete
    3. i gdzie znajde ten skrypt Self.Step bo nie widze go w spisie, ktory jest na gorze.

      Delete
    4. Uruchomienie bota jako admin daje dotęp do plików dll kernel32
      Self.Step(dir) to func która umożliwia poruszanie się w danym kierunku.

      Zrób sobie script lua i jakiś prosty modul do tego np.

      Module.New("Step", function(mod)
      local dir = math.random(0, 7)
      Self.Step(dir)
      mod:Delay(2000, 4000)
      end)

      Delete
  72. Czy jest jakakolwiek możliwość ogarnięcia magic wall timera, oraz używania run z krzyżyka (magic wall) pod hotkey? Z góry dzięki za odpowiedź

    ReplyDelete
    Replies
    1. Mw timera się da zrobić na Rifbocie a używanie run z krzyżyka możesz zastąpić shortkeyem: mouseuse 3155

      Shortkey używa przedmiotu z krzyżyka pod kurosurem myszki.

      Delete
  73. Is there anyway to be get dash on this bot? Like on magebot?

    ReplyDelete
    Replies
    1. This is not possible with Rifbot.
      Maybe it possible to add but i don't have idea how.

      Delete
    2. Is it possible to get something like this converting into a script?

      if [$key.04] {set $mousedash 1}
      auto 1 dontlist | if [$mousedash == 1 && $key.04] {dash} | if [$mousedash && $standtime > 2000] {set $mousedash 0}

      Delete
    3. This code is Elfbot president or shortkey. Rifbot have lua scripts that works with module delay 200ms

      Delete
  74. hi, maybe the spylevel +/- floor option?

    ReplyDelete
  75. What does the mwalltarget do? It just keep saying "Go upstairs" I go upstair and keep saying "go downstairs" I have target on him and nothing happens. He runs away and does nothing :S

    ReplyDelete
    Replies
    1. As you can read in Shortkeys.txt file: Keep magic wall with target position.
      Trun on target on player and hold this shortkey then if target move character throw magic wall into player position.

      Delete
    2. Tried and nothing is working.

      Delete
  76. Where can I post request and add the codes and etc. I currently editing some and looking for some help. But I can't find anywhere on github where to make a request?

    ReplyDelete
  77. You can post code here and i could help you figureout what is wrong.

    ReplyDelete
    Replies
    1. I don't have a code at the moment.. I am trying to fix a code, that put up a SSA if a sudden death rune hits you. So in case of a SD combo it will pick up a SSA if first SD hits.

      Delete

  78. bot error when opening 2 mc the last one that opens falls

    ReplyDelete
  79. The Food Eater doesn't work on Retrocores, food: fish
    No error, he doesn't eat

    ReplyDelete
    Replies
    1. Open Rifbot as Administrator or add this rights to your Windows user account.

      Delete
  80. Replies
    1. Open game client normally (not as admin) and Rifbot as admin

      Delete
  81. Hey Rafal, i need script when player on screen or monster go to house and if its safe back with ALANA SIO. thanks

    ReplyDelete
    Replies
    1. This script should works for you: https://github.com/Ascerr/Lua-Scripts/blob/master/Multifloor%20Creature%20Step.lua

      Edit lines below to get script compatibile with many chars:

      line 96 add wait and step (we need double) to go through characters to house.

      wait(200)
      Self.Step(dir)

      line 156 repleace Self.Step(dir) to alana sio

      Self.Say("alana sio")

      Delete
    2. ok but i got 4 character in one sqm and just one character enter the house when player detected

      Delete
  82. Could someone perhaps make a script that detects players that are on the floor below?
    For example I'm standing on the roof of a house and if it detects a player on screen on the floor below me it logs out.

    Thanks!

    ReplyDelete
    Replies
    1. Check this script: https://github.com/Ascerr/Lua-Scripts/blob/master/Multifloor%20Player%20Logout.lua

      Delete
  83. Hi, I have programming knowledge, c ++, javascript etc. I can advise you to do a complete script with cavebot, depositor etc in lua script?

    ReplyDelete
    Replies
    1. The problem is that i don't want to add any kind of cavebot to Rifbot. Botting on spawn areas are destructive for manual players and server policy. A lot of playes ask about this but I don't go deal with this due historical data.

      Delete
  84. Can you fix this bug that the bot always turn on Auto SSA? I have even deleted the lua script but keep coming back and turns on.. Please!

    ReplyDelete
    Replies
    1. It's not bug this is shortkeys {ctrl+F1}. Open Shortkeys.txt file and find line: 0x11+0x70;Auto SSA. Later set 0x11+0x70;

      Delete
  85. Hey Rafal,i got problem with this script (https://github.com/Ascerr/Lua-Scripts/blob/master/Multifloor%20Creature%20Step.lua) when player detected only 1 char go to house rest stay fron of door

    ReplyDelete
    Replies
    1. You need to push x2 step if you want go through char. Add after line 96 this:
      wait(200)
      Self.Step(dir)

      Delete
  86. Hi, can you do script, that do logout at specific time (09:55:00), and login after few minutes?

    ReplyDelete
    Replies
    1. Done dude (?)

      https://github.com/Ascerr/Lua-Scripts/blob/master/Logout%20at%20time.lua

      Delete
  87. Hi, I would like to know how come its so hard to bypass the serial key using either ollydbg or cheatengine? thanks

    ReplyDelete
    Replies
    1. I spent a lot of time for support my clients via emails. Time when you just update adresses for tibiaclient gone and otclient required continuous job on functions, structures, packets and security (anti-bot). There is no many players can do this works for himself and much less for more customers as license. You should try create your custom bot then you will see that it's worth to buy license.

      Delete
    2. didn't mean to offend you or your work in any way, I will try to make my own, good luck with your bot as im sure its great

      Delete
  88. Its possible to make a HUD script that shows in red(or whatever colour ) whenever a important loot drop?

    Its very hard to keep track of loot while you hunting on tomb with GFBS.

    That would be very hand!

    Thank you in advance

    ReplyDelete
    Replies
    1. This is not possible in Rifbot.

      Delete
    2. Can u think of any alternative?
      Maybe a alarm, every time a good loot drop?

      Delete
    3. We need to get look message code, this required a dll inject to catch each green message. Rifbot don't inject any dll so if you kill x7 mobs at once i can catch 2-3 of 7 messages using memory what is useless.

      Delete