mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 06:33:26 +02:00
OTCv8 3.0 rev 2
This commit is contained in:
@@ -104,7 +104,7 @@ CaveBot.Editor.setup = function()
|
||||
title="Go to position",
|
||||
description="Go to position (x,y,z)",
|
||||
multiline=false,
|
||||
validation="^\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,\\s*([0-9]+),?\\s*([0-9]?)$"
|
||||
validation="^\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,\\s*([0-9]+)$"
|
||||
})
|
||||
registerAction("use", {
|
||||
value=function() return posx() .. "," .. posy() .. "," .. posz() end,
|
||||
|
@@ -0,0 +1,23 @@
|
||||
goto:1033,1044,7
|
||||
goto:1031,1038,7
|
||||
goto:1030,1038,7
|
||||
goto:1157,985,7
|
||||
goto:1161,981,7
|
||||
goto:1033,1042,7
|
||||
goto:1034,1038,7
|
||||
goto:1169,985,7
|
||||
goto:1175,985,7
|
||||
goto:1176,983,7
|
||||
goto:756,846,7
|
||||
goto:756,846,7
|
||||
config:{"walk":100,"walk2":false}
|
||||
extensions:[[
|
||||
{
|
||||
"Depositer": [
|
||||
|
||||
],
|
||||
"Supply": [
|
||||
|
||||
]
|
||||
}
|
||||
]]
|
@@ -0,0 +1,13 @@
|
||||
goto:84,112,6
|
||||
goto:95,108,6
|
||||
config:{"mapClickDelay":100,"walkDelay":10,"ping":250,"ignoreFields":false,"useDelay":400,"mapClick":false}
|
||||
extensions:[[
|
||||
{
|
||||
"Depositer": [
|
||||
|
||||
],
|
||||
"Supply": [
|
||||
|
||||
]
|
||||
}
|
||||
]]
|
@@ -0,0 +1,104 @@
|
||||
goto:93,129,7
|
||||
goto:96,123,7
|
||||
goto:96,117,7
|
||||
goto:101,114,7
|
||||
goto:95,111,6
|
||||
goto:89,111,6
|
||||
goto:83,108,6
|
||||
goto:80,102,6
|
||||
goto:80,96,6
|
||||
goto:85,90,6
|
||||
goto:88,92,6
|
||||
goto:91,86,7
|
||||
goto:97,85,7
|
||||
goto:103,84,7
|
||||
function:[[
|
||||
|
||||
TargetBot.enableLuring()
|
||||
|
||||
return true
|
||||
|
||||
|
||||
]]
|
||||
goto:109,79,7
|
||||
goto:112,79,7
|
||||
goto:112,79,8
|
||||
function:[[
|
||||
|
||||
TargetBot.disableLuring()
|
||||
|
||||
return true
|
||||
|
||||
|
||||
]]
|
||||
goto:112,79,7
|
||||
goto:106,84,8
|
||||
goto:100,80,8
|
||||
goto:100,74,8
|
||||
goto:99,80,8
|
||||
goto:105,83,8
|
||||
function:[[
|
||||
TargetBot.setOff()
|
||||
return true
|
||||
]]
|
||||
goto:111,82,8
|
||||
goto:112,79,8
|
||||
goto:106,82,7
|
||||
goto:100,85,7
|
||||
goto:94,85,7
|
||||
goto:91,91,7
|
||||
goto:89,92,7
|
||||
goto:83,90,6
|
||||
function:[[
|
||||
TargetBot.setOff()
|
||||
return true
|
||||
]]
|
||||
goto:77,94,6
|
||||
goto:75,95,6
|
||||
goto:69,96,7
|
||||
goto:63,100,7
|
||||
goto:61,102,7
|
||||
goto:62,96,8
|
||||
use:61,102,8
|
||||
goto:62,101,8
|
||||
goto:68,99,7
|
||||
goto:74,95,7
|
||||
goto:75,95,7
|
||||
goto:79,101,6
|
||||
goto:81,107,6
|
||||
goto:87,109,6
|
||||
goto:93,112,6
|
||||
function:[[
|
||||
|
||||
TargetBot.disableLuring()
|
||||
|
||||
return true
|
||||
|
||||
|
||||
]]
|
||||
goto:99,116,6
|
||||
use:102,114,6
|
||||
goto:101,115,6
|
||||
use:100,116,5
|
||||
goto:101,115,5
|
||||
goto:100,116,4
|
||||
goto:102,114,5
|
||||
goto:101,114,6
|
||||
goto:96,120,7
|
||||
goto:95,126,7
|
||||
function:[[
|
||||
g_game.safeLogout()
|
||||
delay(1000)
|
||||
return "retry"
|
||||
]]
|
||||
config:{"useDelay":400,"mapClickDelay":100,"walkDelay":20,"ping":150,"ignoreFields":false,"skipBlocked":true,"mapClick":false}
|
||||
extensions:[[
|
||||
{
|
||||
"Depositer": [
|
||||
|
||||
],
|
||||
"Supply": [
|
||||
|
||||
]
|
||||
}
|
||||
]]
|
128
modules/game_bot/default_configs/cavebot_1.3/storage.json
Normal file
128
modules/game_bot/default_configs/cavebot_1.3/storage.json
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"hpitem1": {
|
||||
"max": 90,
|
||||
"title": "HP%",
|
||||
"subType": 0,
|
||||
"item": 266,
|
||||
"min": 51,
|
||||
"on": false
|
||||
},
|
||||
"foodItems": [
|
||||
{
|
||||
"id": 3582,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 3577,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"autoEquip": [
|
||||
{
|
||||
"item1": 3052,
|
||||
"title": "Auto Equip",
|
||||
"item2": 3089,
|
||||
"on": false,
|
||||
"slot": 9
|
||||
},
|
||||
{
|
||||
"item1": 0,
|
||||
"title": "Auto Equip",
|
||||
"item2": 0,
|
||||
"on": false,
|
||||
"slot": 0
|
||||
},
|
||||
{
|
||||
"item1": 0,
|
||||
"title": "Auto Equip",
|
||||
"item2": 0,
|
||||
"on": false,
|
||||
"slot": 0
|
||||
},
|
||||
{
|
||||
"item1": 0,
|
||||
"title": "Auto Equip",
|
||||
"item2": 0,
|
||||
"on": false,
|
||||
"slot": 0
|
||||
}
|
||||
],
|
||||
"ingame_hotkeys": "singlehotkey(\"f1\", function()\nlocal shaders = {\"stars\", \"gold\", \"rainbow\", \"sweden\", \"brazil\", \"line\", \"3line\", \"circle\", \"outline\"}\nlocal p = 0\nfor i, c in pairs(getSpectators()) do\n c:setOutfitShader(shaders[1 + p % 10])\n p = p + 1\nend\nend)\n\nsinglehotkey(\"1\", function()\n for _, s in ipairs(getSpectators()) do\n if s:canShoot(3) then\n info(s:getName())\n else\n warn(s:getName())\n end\n end\nend)",
|
||||
"healing2": {
|
||||
"max": 50,
|
||||
"title": "HP%",
|
||||
"on": false,
|
||||
"min": 1,
|
||||
"text": "exura vita"
|
||||
},
|
||||
"ingame_macros": "",
|
||||
"hasteSpell": "utani hur",
|
||||
"manaitem2": {
|
||||
"max": 50,
|
||||
"title": "MP%",
|
||||
"subType": 0,
|
||||
"item": 3157,
|
||||
"min": 0,
|
||||
"on": false
|
||||
},
|
||||
"_configs": {
|
||||
"cavebot_configs": {
|
||||
"selected": "test_src",
|
||||
"enabled": false
|
||||
},
|
||||
"targetbot_configs": {
|
||||
"enabled": false,
|
||||
"selected": "config_name"
|
||||
}
|
||||
},
|
||||
"healing1": {
|
||||
"max": 100,
|
||||
"title": "HP%",
|
||||
"on": false,
|
||||
"min": 51,
|
||||
"text": "exura"
|
||||
},
|
||||
"dropItems": [
|
||||
{
|
||||
"id": 283,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 284,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"id": 285,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"_macros": {
|
||||
"": false
|
||||
},
|
||||
"manaitem1": {
|
||||
"max": 90,
|
||||
"title": "MP%",
|
||||
"subType": 0,
|
||||
"item": 268,
|
||||
"min": 51,
|
||||
"on": false
|
||||
},
|
||||
"hpitem2": {
|
||||
"max": 50,
|
||||
"title": "HP%",
|
||||
"subType": 0,
|
||||
"item": 3160,
|
||||
"min": 0,
|
||||
"on": false
|
||||
},
|
||||
"manaShield": "utamo vita",
|
||||
"autoTradeMessage": "I'm using OTClientV8!",
|
||||
"antiParalyze": "utani hur",
|
||||
"manaTrain": {
|
||||
"max": 100,
|
||||
"title": "MP%",
|
||||
"on": false,
|
||||
"min": 80,
|
||||
"text": "utevo lux"
|
||||
}
|
||||
}
|
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"looting": {
|
||||
"items": [
|
||||
|
||||
],
|
||||
"maxDanger": 10,
|
||||
"minCapacity": 100,
|
||||
"containers": [
|
||||
{
|
||||
"count": 1,
|
||||
"id": 2853
|
||||
}
|
||||
],
|
||||
"everyItem": true
|
||||
},
|
||||
"targeting": [
|
||||
{
|
||||
"useSpellAttack": false,
|
||||
"useRuneAttack": false,
|
||||
"minMana": 200,
|
||||
"avoidAttacks": false,
|
||||
"groupAttackTargets": 2,
|
||||
"groupAttackSpell": "",
|
||||
"danger": 1,
|
||||
"runeAttackDelay": 2000,
|
||||
"lureCavebot": true,
|
||||
"dontLoot": false,
|
||||
"useGroupAttackRune": false,
|
||||
"groupRuneAttackRadius": 1,
|
||||
"groupAttackIgnorePlayers": true,
|
||||
"maxDistance": 10,
|
||||
"groupAttackIgnoreParty": false,
|
||||
"lureCount": 5,
|
||||
"useGroupAttack": false,
|
||||
"groupRuneAttackTargets": 2,
|
||||
"attackSpell": "",
|
||||
"groupAttackRune": 0,
|
||||
"groupAttackRadius": 1,
|
||||
"keepDistanceRange": 1,
|
||||
"groupRuneAttackDelay": 5000,
|
||||
"priority": 1,
|
||||
"attackRune": 0,
|
||||
"groupAttackDelay": 5000,
|
||||
"minManaGroup": 1500,
|
||||
"lure": true,
|
||||
"keepDistance": false,
|
||||
"attackSpellDelay": 2500,
|
||||
"chase": true,
|
||||
"name": "cat, w?lf, snake, troll",
|
||||
"regex": "^cat$|^w.?lf$|^snake$|^troll$"
|
||||
}
|
||||
]
|
||||
}
|
@@ -2,7 +2,7 @@ if player:getBlessings() == 0 then
|
||||
say("!bless")
|
||||
schedule(2000, function()
|
||||
if player:getBlessings() == 0 then
|
||||
error("!! Blessings not bought !!")
|
||||
warn("!! Blessings not bought !!")
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
Reference in New Issue
Block a user