Version 0.999 BETA - a lot of bug fixes, improvments and more advanced bot

This commit is contained in:
OTCv8
2019-10-31 05:46:22 +01:00
parent 017fa290b4
commit 06b08af1df
36 changed files with 1513 additions and 415 deletions

View File

@@ -531,9 +531,13 @@ function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
end
end
if g_game.getFeature(GameBot) and useThing then
if g_game.getFeature(GameBot) and useThing and useThing:isItem() then
menu:addSeparator()
menu:addOption("ID: " .. useThing:getId())
if useThing:getSubType() > 1 then
menu:addOption("ID: " .. useThing:getId() .. " SubType: " .. useThing:getSubType())
else
menu:addOption("ID: " .. useThing:getId())
end
end
menu:display(menuPosition)

View File

@@ -4,7 +4,7 @@ Module
author: OTClient team
website: https://github.com/edubart/otclient
sandboxed: true
scripts: [ widgets/uigamemap, widgets/uiitem, gameinterface ]
scripts: [ widgets/uigamemap, gameinterface ]
load-later:
- game_hotkeys
- game_questlog
@@ -32,6 +32,8 @@ Module
- game_unjustifiedpoints
- game_walking
- game_shop
- game_itemselector
- game_textedit
- game_bot
@onLoad: init()
@onUnload: terminate()