Jump to content

Zelek

Administrators
  • Posts

    669
  • Joined

  • Last visited

  • Days Won

    75

Posts posted by Zelek

  1. Cast wave if all monsters within given range are in front of the character and different spell otherwise:

    local player = g_game.getLocalPlayer()
    local checkRange = 4
    local spellWave = "ten times kamehameha"
    local spellArea = "genki dama"
    
    if g_game.isAttacking() then
        if #g_game.getMonstersInFront() == #g_game.getMonstersAround(1) and #g_game.getMonstersAround(1) > 0 and #g_game.getMonstersAround(checkRange) == #g_game.getMonstersAround(1) then
            g_game.talk(spellWave)
            sleep(900, 1100)
        elseif #g_game.getMonstersAround(checkRange) >= 1 then
            g_game.talk(spellArea)
            sleep(900, 1100)
        end
    end
    
    auto(100)

     

  2. Fishing:

    local player = g_game.getLocalPlayer()
    local pos = player:getPosition()
    local offsetX = -3 -- how many sqms to the west/east
    local offsetY = 0 -- how many sqms to the north/south
    local fishingRodID = 3483
    pos.x = pos.x + offsetX
    pos.y = pos.y + offsetY
    g_game.useItemOnPosition(fishingRodID, pos)
    auto(2000)

     

  3. 13 hours ago, aline said:
    
    with all due respect to his work, but the other version was much simpler to use.
    I'm trying to open the client is crashing.
    5 min passes and the client closes.
    the cure does not return from sayaians is not working because the cure within the game and as other spells are by commands f1 to f12, we cannot perform spells by their names

    I'll add an option to send keystrokes as in the previous version.

    Also you are encouraged to send crash logs to this topic: 

     

    10 hours ago, Markesant said:

    At first look the new version looks impressive, can see that a lot of work has gone through. But in the current state is absolutely unusable, the amount of crashes make you waste more time troubleshooting the bot than using it.

    First of all, this is a beta version and every bit of feedback is appreciated and crashes are more than expected from my end.

     

    10 hours ago, Markesant said:

    -I really like the implementation of the alert window with the toggles on the different alerts, but some of them are not working properly (or couldn't make them work) like the messages, or player attacking. one improvement could be adding some color depending on the status of the toggle, centering the words in the state box and uppercasing the yes/no status.

    Some of the functions of the bot may not work on specific clients because of the protocol and/or other differences between the servers. In that case I'll be adding few more functions to replace already implemented alerts with scripts that could be customized to fit the server.

     

    10 hours ago, Markesant said:

    -the split on the targeting window seems a little over the top, the previous versions was so much cleaner and easier to use than this one, this seems more like a war bot than just a cavebot targeting system, imo this much detail on targeting preferences is overkill and shows the importance of an easy to use UI.

    I highly disagree on this one, I've added a lot of features to the targeting and it was needed to create a separate panel for it.

    For example you can now set the bot to follow or run away from the creature, as well as set different options based on specific creature count and more.
    Just mess around with it and you will see how much advanced it is to the prior system.

     

    10 hours ago, Markesant said:

    -I would add an additional Cavebot enable toggle on the waypoints screen, add a toggle directly to each of the healing rules in order to not have to edit said rule every time you'd like to get something running(something like the scripts toggle on the previous version).

    I like the suggestion of moving the checkbox into the grid view. You can add a hotkey script to quickly activate/deactive the cavebot and adding more controls to the UI doesn't feel like necessary for me right now.

     

    10 hours ago, Markesant said:

    -The script section is fine, but it would be nice to have already saved scripts show in the right column (maybe is already a feature, haven't use this window too much)

    It does it already if saved in the default locations.

     

    10 hours ago, Markesant said:

    -Finally the cavebot in it self feels a lot chunkier than the previous version, I've been using the STAND action to move from one point to the next, and it gets stuck (stays standing for a bit, know that's the purpose of that action) making it look way more suspicious, don't know if I'm supposed to use another action in this case. Also seem that the cabebot could not pick up from mid cave, meaning it always looks for the first waypoint when it starts. On this same topic maybe add  a different window only containing the actions and cardinal direction when adding waypoints, the always on top covers a big portion of the screen, and it may look useless if you don't count with dual monitor setup.

    You should be using stands pretty much only when changing floors or if you really need to ensure your character stands on a specific location.

    Use nodes otherwise. Also double clicking on the ID column of waypoints sets the current waypoint to the clicked one so you can start wherever you want.

     

    Also the bot has never crashed for me while I've tested it at DBL, can you provide more details about that?

  4. 1 hour ago, legend said:

    if possible reattack script and the script that keep my furie on 100 (rage on dbl)

     

    You can load the “Keep Target” script that is already included in the bot.

     

    Keep soul at 100:

    local player = g_game.getLocalPlayer()
    if player:getSoul() ~= 100 then
      g_game.talk("furie")
      sleep(900, 1100)
    end
    auto(100)

     

    • Like 1
  5. If you have encountered a client crash please attach the crashreport.log in the attachement to your new post.

    This file should be located in the client's directory if a crash occured.

     

    All posts without an attached crashreport.log will be deleted and user will be warned.

  6. Make sure to follow these steps to correctly launch the bot and minimize the issues that could occur:

    1. It's possible that your antivirus software could detect the bot as a virus. It's a false positive and bot should be added as an exception.
    2. Rename the client's name you would like to use to "otclient". (for example: dracona.exe -> otclient.exe)
    3. Run the desired client and wait until it fully loads.
    4. Launch bot and wait for a few seconds as it tends to crash the client on a startup occasionally.
    5. If in the title of the bot's window you can't see your character's name or "Logged off" then the DLL injection failed. Try for a few more times and if it continues to not inject try reinstalling the bot to another location (for example desktop).
    6. If there is an error window with "Initialization failed" message, please try again for a few times and if it doesn't work report to the forum in the Bug Report section specifying the client you tried.
    7. Any crash should be reported to this thread created for the crash reports exclusively.
    8. The bot should work with both openGL and DirectX clients, but it's better to use DirectX client if possible.
×
×
  • Create New...