Jump to content

Zelek

Administrators
  • Posts

    669
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Zelek

  1. If you have “target only shootable” selected and it targets that monster then I cant really do much about it, since the client sees it as shootable. I’ll try to fix the bug with ladder tho
  2. it targets monsters behind walls or whats the issue exactly? because the second sentence doesn’t make sense to me, if there is a distance monster then of course you have to set reach to get to it. I’ll take look at other things you have mentioned, thanks for the feedback
  3. Zelek

    Request Script

    if you replace wait with sleep it definitely should work
  4. Zelek

    Request Script

    local idsToFind = {3031, 3035} local tiles = g_map.getTiles() for _, tile in pairs(tiles) do local topItem = tile:getTopItem() if topItem then for _, id in pairs(idsToFind) do if topItem:getId() == id then playSound("alarm.wav") break end end end end auto(100) Remember to enable the "read map tiles" box in info & options tab. Also reading tiles is limited to the current floor you are at the moment. I'm looking into expanding this tho.
  5. could you check if applying those steps fixes the problem? Right-click on the shortcut and choose Properties Go to the Compatibility tab Under settings, check "Override high DPI scaling behavior. Scaling performed by:" and choose System from the drop-down Click OK.
  6. I’ll look into it tomorrow, didn’t consider that the UI may break at higher resolutions. Sorry for problems
  7. @BlokuJr How about describing what's wrong exactly? Since it works perfectly fine for me and pretty much everyone else
  8. Zelek

    Request Script

    It should work, yes. Also this script does not have an option to respond to the message, it will only play an alarm for 5 seconds and pause the bot when the word has been detected in any message.
  9. Zelek

    problem

    It was a scheduled maintenance to prepare for an update.
  10. I was working on the update and didn't have much time to do anything else.
  11. You are welcome to post a request in the proper topic and I'll make sure to make a script that fits your needs
  12. that's intended, you should use a script to extend the functionality. here are some quick examples: if g_game.isAttacking() then g_game.talk("spell1") sleep(900, 1250) end auto(100) if g_game.isAttacking() and #g_game.getMonstersAround(1) >= 1 then g_game.talk("spell1") sleep(900, 1250) end auto(100)
  13. You can download it here: OTClientBot-v2.0.0-beta13e Also please remember to install Visual C++ Redistributable for Visual Studio 2015 - 2019 x86 if you haven't already. It is advised to completly uninstall the previous bot version form your computer before installing the new one. Please make a backup of your scripts and cavebot files before doing so. Known issues: In targeting while setting the "stick" priority to higher than health/proximity may result in bot crashing and/or targeting not working correctly as a workaround please don't use a stick priority at all. -- fixed in beta13a Condition healer settings are not being loaded from save files -- fixed in beta 13b Bad lua scripts are crashing the bot instead of throwing an error -- fixed in beta 13b -- actually fixed in beta 13d Under rare circumstances the targeting can cause the bot to crash -- fixed in beta 13d "playersettings" folder is missing -- fixed in beta 13b In cavebot while using ladder/rope/pick etc the bot is trying to use the item from far away resulting in cavebot getting stuck -- fixed in beta 13b Bot can crash while saving hotkey scripts -- fixed in beta 13b Alerts don't work when loading save file from older versions -- fixed in beta 13c Lua functions don't work without explicitly setting default parameters where it applies -- fixed in beta 13c File->New doesn't reset looting tab -- fixed in beta 13c getOption and setOption functions will make bot non responding while using those functions in hotkeys -- fixed in beta 13d Tile:getTopItem() doesn't return the correct item if there are multiple items on the stack -- fixed in beta 13d Bot will crash after adding new persistent/cavebot script after deleting one while editor on the first column was open -- fixed in beta 13e Bot will crash if it can't find valid next waypoint while changing floors -- fixed in beta 13e List of changes: General bot has been rewritten from scratch and that's the main reason why there weren't any updates past month added automatic crash reporting bot stability has been increased tremendously and not a single crash has occured over a week of internal testing added lua console where you can execute scripts and print output into if for some reason the bot can't connect to the login server instead of closing the application it will pause all functionality and wait for the connection to come back with proper dialog displaying it 99% of scripts should be back compatible with the previous version, however it is possible that some may not work after loading a save file from an older version you may have to re-configure some options as the interface and available options are different UI changes various UI changes to increase quality of life and clarity of informations and options presented to the user added dark mode added new tab "Info & options" where you can see various information about the logged character including experience per hour, as well as quick toggles to enable/disable bot functions and more Healer you can now specify a value range for every condition moved the "enable" toggle into the table widget directly every change in the editor will be applied in real time Alerts fixed the whitelist not registering multiple names where it applies added spinboxes for easier editing where it applies Targeting fixed a bug where setting a creature action to "ignore" would not ignore it while using "all" as a creature name fixed a bug where creature count would be ignored or not working correctly every change in the editor will be applied in real time Cavebot fixed a bug where cavebot scripts would continue to work even with cavebot turned off added new waypoint types: Lure - character will continue to walk even while attacking Ladder waypoints are now editable directly in the table widget you can drag and drop the waypoints to move their position fixed a bug with high CPU usage while using an action waypoint with get/set option script fixed a bug where action script would not execute immediately Hotkeys fixed a bug that prevented some users from selecting a key combination Looting fixed a bug that ignored selected looting policy fixed a bug where containers inside a body weren't being open fixed a bug that caused some bodies to be skipped from looting fixed a bug where character was not trying to reach the body if it was killed from a distance you can now select containers from a dropdown box Lua interface fixed a bug where g_game.isFollowing() was not working correctly fixed a bug where text messages wasn't being captured from a distance (other channel/system message) added following functions to the LocalPlayer class: LocalPlayer:getCapacity LocalPlayer:getExperience added new functions: g_game.cancelAttack g_game.cancelFollow g_game.getFollowingCreature g_game.getBestAreaTurnDirection g_game.getCreaturesInArea g_map.getTiles added reading of map tiles with following functions (it must be enabled in the options first): Tile:getPosition Tile:getItems Tile:getCreatures Tile:isPathable Tile:isWalkable Tile:getTopItem Tile:getTopCreature added every alphanumerical key as well as space to the g_game.sendKey function I'll make my best to update the lua documentation available at the website as soon as possible, however if you have questions regarding certain new functions please make a new post about it in the proper category and I'll try to answer it with an example as soon as possible. Please keep in mind that this update is huge and I've most likely missed few things. Thank you for your support and hope that you enjoy.
  14. Zelek

    problem

    exactly what it says
  15. Zelek

    Looting

    select the rule you have added, check "enabled" under "add new rule" button and then press "edit rule"
  16. Zelek

    Looting

    @MintiDLL is not injected and bot doesn’t work at this state, please read the guide as how to run the bot correctly:
  17. Zelek

    Looting

    @Minti Please make sure that “enabled” under the “add new rule” checkbox is checked and then click „edit rule” or “add new rule” button. Again, it does work.
  18. Zelek

    Looting

    Both looting and healing works without an issue, you are just setting it up incorrectly.
  19. Zelek

    Request Script

    use condition healer
  20. @lediv I acknowledge the issue and it’s fixed in the candidate to the next release. I was just trying to help you to get around it.
  21. It will be fixed in the next release, but there is no ETA yet.
  22. @ledivare you using “All” as a monster name? If so try with exact name instead.
  23. Zelek

    Request Script

    Currently there is a bug that prevents some messages from being captured, it will be fixed in the next version and script that I posted before in this topic will work.
  24. Yeah seems like opengl client now works instead. I’m really baffled how they managed to break otclient performance even further below.
×
×
  • Create New...