Jump to content

OTClientBot v2.0.0 - beta 15b


Zelek

Recommended Posts

You can download it here: OTClientBot-v2.0.0-beta15b

Also please remember to install Visual C++ Redistributable for Visual Studio 2015 - 2019 x86 if you haven't already.

 

Added in beta 15b:

  • added possibility to change process name to look for while selecting the client
  • optimization improvements for targeting
  • updated lua version to 5.4.1

 

Known issues:

  • creatures and containers aren't read properly  -- fixed in beta 15a
  • onTalkMessage and onTextMessage events can cause the application to crash  -- fixed in beta 15b
  • "Check only targeting creatures" also counts creatures that are disabled  -- fixed in beta 15b

 

List of changes:

  • fixed a bug that occasionally caused targeting and cavebot to crash the application
  • fixed a bug that prevented reading text and talk messages that contains special characters
  • fixed a bug that prevented reading creature names that contains special characters
  • removed TalkMessage and TextMessage userdata from lua interface (all of the scripts that you have used with those will stop to work)
  • added two game events (usage example in the next point):
    • g_game.onTextMessage(number mode, string message)
    • g_game.onTalkMessage(string name, number level, number mode, string message, number channelId, Position creaturePos)
  • added new lua functions:
    • connect(string class, string event, function callback) -- connects specific event to the lua callback function:
      • auto(100)
        connect("g_game", "onTextMessage", onTextMessage)
        
        function onTextMessage(mode, message)
          print("mode: " .. mode .. ", message: " .. message)  
        end

         

    • disconnect(string class, string event) -- disconnects every callback from the specified event
  • updated "Anti Idle.lua" to respect above changes
Link to comment
Share on other sites

  • Zelek changed the title to OTClientBot v2.0.0 - beta 15b
  • Zelek unpinned this topic
×
×
  • Create New...