PHP Code:
2:83: Unexpected Symbol `$` in source.
In every action.
Printable View
PHP Code:
2:83: Unexpected Symbol `$` in source.
In every action.
For example BUG setup
PHP Code:
-- [[RP - Goroma Serpent Spawns v1.1 by BUgWT]]
-- ____ __ __ ______
-- /\ _`\ /\ \ __/\ \/\__ _\
-- \ \ \L\ \ __ __ __ \ \ \/\ \ \ \/_/\ \/
-- \ \ _ <'/\ \/\ \ /'_ `\\ \ \ \ \ \ \ \ \ \
-- \ \ \L\ \ \ \_\ \/\ \L\ \\ \ \_/ \_\ \ \ \ \
-- \ \____/\ \____/\ \____ \\ `\___x___/ \ \_\
-- \/___/ \/___/ \/___L\ \'\/__//__/ \/_/
-- /\____/
-- \_/__/
--
--
-- Setup:
--________________ Settings ___________________
WORLD_TYPE = 1 -- [1 = PvP/PvPe] [[0 = NonPvP]
SoftbootsRefill = true
PlayeronScreenAlert = false
UseMount = false
RopetoUse = "whacking driller of fate"
PicktoUse = "whacking driller of fate"
LootGold = true
CapToDropGP = 300
CapToLeave = 200
KeepHasted = false
UseRusty = true
--_______________ Attack Setup _______________
HPToExoriCon = 10 -- [Hp % of the monster to exori con. This is to prevent "exori san" on someone]
AntiLure= true
AntiLureAmount = 5
--_____________ Backpack Setup ______________
MainBPname = "Backpack of Holding"
LootBPname = "blue Backpack"
GoldBPname = "golden Backpack"
SupplyBPname = "Zaoan chess box"
--______________ Depot Setup ________________
MainDepotname = "Brown Backpack"
LootDepotname = "Purple Backpack"
AddonDepotname = "Beach Backpack"
ExtraDepotBackpack = "Green Backpack" -- [Backpack for Assassin Stars or Bolts]
--________________ Others ___________________
ManaName = "strong mana potion"
ManaBuy = 700
Mana_Check = 70
AmmoName = "prismatic bolt"
AmmoBuy = 1500
AmmoCheck = 70
--_______________ Hunting Setup ________________
-- [[Main Floor Options]]
NorthTunnel = true
DeepNorthTunnel = true
NorthEastTunnel = false
DeepNorthEastTunnel = false
EastTunnel = false
DeepEastTunnel = false
WestTunnel = true
DeepWestTunnel = true
NorthWestTunnel = true
DeepNorthWestTunnel = true
-- [[Below Floor Options]]
EastFloorDown = false-- [-1]
DeepEastFloorDown = false
WestFloorDown = false -- [-1]
DeepWestFloorDown = false
--___________ Extras (Don't touch) ______________
PotID = itemid(ManaName)
PotPrice = itemcost(ManaName)
AmmoID = itemid(AmmoName)
AmmoPrice = itemcost(AmmoName)
OpenAreasifLow = true
HptoOpen = 15
function __itemcount(ITEM_ID, LOCATION)
local ITEM_ID = type(ITEM_ID) ~= "number" and itemid(ITEM_ID) or ITEM_ID
local ITEM_COUNT = itemcount(ITEM_ID, LOCATION)
if ($rhand.id == ITEM_ID) then
ITEM_COUNT = ITEM_COUNT + $rhand.count
elseif ($belt.id == ITEM_ID) then
ITEM_COUNT = ITEM_COUNT + $belt.count
end
return ITEM_COUNT
end
Error:
PHP Code:
ERROR: SetupScript_ib:>> :102:9: Unexpected Symbol `$` in source.
another one
action:
error:PHP Code:
init start
-- SCRIPT_VERSION = 1.0.0
REFILLER_IB = {
['refiller0'] = { id = 3052, hprange = {0, 99999, false}, mprange = {0, 90, true}, spamrate = {500, 1000}, enabled = true, amount = {0, 0}, callbackName = 'If no ring' },
}
local refillerFunctions = {
['no condition'] = function() return true end,
['if no ring'] = function() return $finger.id == 0 end,
['if drunken'] = function() return $drunk end,
['if not amulet'] = function() return $neck.id == 0 end,
['if no boots'] = function() return $feet.id == 0 end,
['if no manashield'] = function() return (not $manashielded or $mshieldtime < 20000) end,
['if visible'] = function() return ($outfit.id > 0 or $invistime < 15000) end,
}
local itemsInUse = {{3092, 3095}, {3091, 3094}, {3093, 3096}, {3052, 3089}, {3098, 3100}, {3097, 3099}, {3051, 3088}, {3053, 3090}, {3049, 3086}, {9593, 9593}, {9393, 9392}, {3007, 3007}, {6299, 6300}, {9585, 9585}, {3048, 3048}, {3050, 3087}, {3245, 3245}, {3006, 3006}, {349, 349}, {3004, 3004}, {6529, 3549}, {9394, 9392}, {12669, 12670}}
local slots = {
{$rhand, 'rhand'},
{$head, 'head'},
{$neck, 'neck'},
{$back, 'back'},
{$chest, 'chest'},
{$lhand, 'lhand'},
{$rhand, 'rhand'},
{$legs, 'legs'},
{$feet, 'feet'},
{$finger, 'finger'},
{$belt, 'belt'},
}
for _, j in pairs(REFILLER_IB) do
local info = iteminfo(j.id)
j.slotname = slots[info.clothslot+1][2]
j.slot = slots[info.clothslot+1][1]
local temp = table.find(itemsInUse, info.id, 1)
if temp then
j.idinuse = itemsInUse[temp][2]
else
j.idinuse = info.id
end
j.amount[1] = math.max(1, j.amount[1])
j.amount[2] = math.max(1, j.amount[2])
j.amountRandom = math.random(unpack(j.amount))
if (j.slot == $rhand or j.slot == $belt) then
setsetting('Cavebot/AutoRefillAmmo', 'yes')
end
end
itemsInUse, slots = nil, nil -- just to clean up
init end
auto(200)
for _, j in pairs(REFILLER_IB) do
local hpToCheck = tern(j.hprange[3], $hppc, $hp)
local mpToCheck = tern(j.mprange[3], $mppc, $mp)
if j.enabled and hpToCheck >= j.hprange[1] and hpToCheck <= j.hprange[2] and mpToCheck >= j.mprange[1] and mpToCheck <= j.mprange[2] and (j.slot.id ~= j.idinuse or j.slot.count <= j.amountRandom) and refillerFunctions[j.callbackName:lower()]() then
equipitem(j.id, j.slotname, 'backpack') wait(unpack(j.spamrate))
j.amountRandom = math.random(unpack(j.amount))
return
end
end
PHP Code:
ERROR: Refiller_ib:>> :9:38: Unexpected Symbol `$` in source.
I have this error in all scripts.
ERROR: SetupScript_ib:>> :102:9: Unexpected Symbol `$` in source.
I get the same thing on all scripts almost, ERROR: SetupScript_ib:>> :102:9: Unexpected Symbol `$` in source.
Its having problems with $ symbol after converting from ibot --> windbot.
2 scripts i got to work, the rest wont attack with action scripts or avalanche etc
@Lucas Terra
All scripts with $ debug are when for example I had in setup
club = true as variable.
He just should not convert those from setup I guess
I converted BlakW's frost dragon script with SDs. It worked out perfectly except for the paralyze healing part, I thought it might be worth reporting here.
Hello,
i found a Problem but idk if ist only my converted script or bug.
At depositing items it start to put items into the Depot backpacks, but didnt put all and then opening next backpack. Tried to run this some times but always starting to open next loot bp.
i am in coryms and there u Need more loot bps inside so it just putting items in Depot backpacks but stop after some items and open next loot bp ;o
maybe u find something about that
Yours, Marco ;)
it is moving items but not all: for example i have " 7 Ratanas " it just deposit like 3 ;o
seems like it skip this Action when "x time" played
this is it ...
this is AFTER :
reachgrounditem("depot")
wait(1000,2000)
openitem("depot")
wait(700,900)
while (windowcount("Depot Chest") == 0)
do
openitem(3502, "locker")
wait(700,900)
end
wait(1500, 2000)
while (windowcount(mainDpBp) == 0)
do
openitem(mainDpBp, "Depot Chest")
wait(700,900)
end
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], stackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii= true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], nonStackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], stackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], nonStackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
openitem(lootBp, lootBp, false)
wait(1500, 2000)
lastonto = 0
local itemsStacks = stackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsStacks)
do
_nextiii = true
while itemcount(itemsStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsStacks[i], stackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
lastonto = 0
local itemsNonStacks = nonStackItemsToDeposit
local _nextiii = true
for i,j in pairs(itemsNonStacks)
do
_nextiii = true
while itemcount(itemsNonStacks[i]) > 0 and _nextiii
do
_nextiii = moveitemsonto(itemsNonStacks[i], nonStackDpBp, lastonto, nil, "all", 100)
wait(400,500)
end
end
wait(1500, 2000)
this is BEFORE:
reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);;while (windowcount("Depot Chest") == 0);do; openitem(3502, "locker"); wait(700,900);end;;wait(1500, 2000);;while (windowcount(mainDpBp) == 0);do; openitem(mainDpBp, "Depot Chest"); wait(700,900);end;;wait(1500, 2000);;;lastonto = 0;local itemsStacks = stackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsStacks) ;do; _nextiii = true; while itemcount(itemsStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto); wait(400,500); end;end;;lastonto = 0;local itemsNonStacks = nonStackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsNonStacks) ;do; _nextiii= true; while itemcount(itemsNonStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto); wait(400,500); end;end;;;openitem(lootBp, lootBp, false);wait(1500, 2000);;lastonto = 0;local itemsStacks = stackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsStacks) ;do; _nextiii = true; while itemcount(itemsStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto); wait(400,500); end;end;;lastonto = 0;local itemsNonStacks = nonStackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsNonStacks) ;do; _nextiii = true; while itemcount(itemsNonStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto); wait(400,500); end;end;;openitem(lootBp, lootBp, false);wait(1500, 2000);;lastonto = 0;local itemsStacks = stackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsStacks) ;do; _nextiii = true; while itemcount(itemsStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsStacks[i], "all", stackDpBp, 100, lastonto); wait(400,500); end;end;;lastonto = 0;local itemsNonStacks = nonStackItemsToDeposit;local _nextiii = true;for i,j in pairs(itemsNonStacks) ;do; _nextiii = true; while itemcount(itemsNonStacks[i]) > 0 and _nextiii ; do; _nextiii = moveitemsonto(itemsNonStacks[i], "all", nonStackDpBp, 100, lastonto); wait(400,500); end;end;;wait(1500, 2000)
sorry idk how to put it better ;S
maybe something with this "Nil" shit idk what it is
Attachment 1111
Who knows, how can I repair my "time counter" and where I can change my suppiles list (bot bought all suppiles but I can't change it (it's doesn't work after conver lizard city script)
Thx for help :o
RoxZin xD are you sure? Can I add new suppiles list If bot used old list from IBOT ?
none of my deposit actions converted are working at all :/
tried alot of scripts and all have the same problem
Edit: tryied to re-convert original files, and all is working :D
I have a setting where I can chose the bot to only run for example north west cave and west cave, but the settings doesn't work correctly. Even tho I put true on the sections I want to hunt, it still runs to the other sections where it says false
When i converted it got me 2 major errors but one is with HUD so it doesn matter i can change HUD any time or run without it
1.
error in Persistent script Alerts:
["if ((ManaPotionAlert > 0) and (wincount(SupB..."]:Alerts:2 attempt to call global 'wincount' (a nil value)
2.
error in HUD script Loot Counter:
["['usage'] = serveruse..."]:windConverterWrapper_main.lua:318 attempt to index local 'i' (a number value)
stack traceback:
[" local ITEM_LOOTED = getitems_ib(itemid(ITEM.NAME))"]:Loot Counter:125 in user script
Then this happened
error in Persistent script Force Refill:
["if ($trapped == false) and ($standtime..."]:Force Refill:2 attempt to call global 'wincount' (a nil value)
This is the "force Refill" persistent script:
auto(800, 1000)
if ($trapped == false) and ($standtime <= 3000) and (wincount(MainBP) >= 1) and (wincount(SupBP) >= 1) and ((itemcount(ManaName, "all") <= ManaLeave) or (itemcount(HealthName, "all") <= HealthLeave) or ($stamina <= 850)) then
if ($posz == 9) then
setsetting("Persistent/Scripts/Reopen Backpacks/Enabled", "no")
if (HasteOnRefill) then
setsetting("Persistent/Scripts/Auto Haste/Enabled", "yes")
else
setsetting("Persistent/Scripts/Auto Haste/Enabled", "no")
end
settargeting("no")
setlooting("no")
stopattack()
if ($posx >= 31943) then
gotolabel("leave_east")
elseif ($posx < 31943) then
if ($posy < 31388) then
gotolabel("w262")
elseif ($posy >= 31388) then
gotolabel("leave_south_west")
end
end
elseif ($posz == 8) then
setsetting("Persistent/Scripts/Reopen Backpacks/Enabled", "no")
if (HasteOnRefill) then
setsetting("Persistent/Scripts/Auto Haste/Enabled", "yes")
else
setsetting("Persistent/Scripts/Auto Haste/Enabled", "no")
end
settargeting("no")
setlooting("no")
stopattack()
gotolabel("go_refill")
end
end
And when i run the script it doesnt open the backpacks
error in Persistent script Reopen Backpacks:
["if (maround(7) == 0) and ($pzone =..."]:Reopen Backpacks:2 attempt to call global 'wincount' (a nil value)
error in Action script deposit_items:
[" while (wincount(MainBP) ~= 1) do"]:Action: 7:22 attempt to call global 'wincount' (a nil value)
error in Action script taking_items:
[" while (wincount(MainBP) ~= 1) do"]:Action: 8:15 attempt to call global 'wincount' (a nil value)
This is the "reopen backpacks" persistent script
auto(800, 1000)
if (maround(7) == 0) and ($pzone == false) and (getsetting("Cavebot/Enabled") == "yes") and ((wincount(MainBP) ~= 1) or (wincount(SupBP) ~= 1) or (wincount(LootBP) ~= 1) or (wincount(GoldBP) ~= 1) or (wincount("all") < 4)) then
setsetting("Looting/OpenNextBP", "no")
setcavebot("no")
setlooting("no")
pausewalking(12000)
while (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) or (getcontainer_ib(SupBP).open == false) or (getcontainer_ib(SupBP).index ~= 1) or (getcontainer_ib(LootBP).open == false) or (getcontainer_ib(LootBP).index ~= 2) or (getcontainer_ib(GoldBP).open == false) or (getcontainer_ib(GoldBP).index ~= 3) do
closewindows()
wait(700, 900)
while (wincount(MainBP) ~= 1) do
openitem(MainBP, "back")
wait(700, 900)
resizewindows()
wait(700, 900)
end
if (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) then
closewindows()
wait(700, 900)
end
while (wincount(SupBP) ~= 1) do
if (getcontainer_ib(MainBP).open) and (getcontainer_ib(MainBP).index == 0) then
openitem(SupBP, MainBP, true)
wait(700, 900)
else
closewindows()
wait(700, 900)
break
end
resizewindows()
wait(700, 900)
end
if (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) then
closewindows()
wait(700, 900)
end
while (wincount(LootBP) ~= 1) do
if (getcontainer_ib(MainBP).open) and (getcontainer_ib(MainBP).index == 0) then
openitem(LootBP, MainBP, true)
wait(700, 900)
while (getcontainer_ib(LootBP).maxslots - getcontainer_ib(LootBP).usedslots == 0) and (itemcount(LootBP,LootBP) > 0) do
openitem(LootBP, LootBP, false)
wait(700, 900)
end
else
closewindows()
wait(700, 900)
break
end
resizewindows()
wait(700, 900)
end
if (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) then
closewindows()
wait(700, 900)
end
while (wincount(GoldBP) ~= 1) do
if (getcontainer_ib(MainBP).open) and (getcontainer_ib(MainBP).index == 0) then
openitem(GoldBP, MainBP, true)
wait(700, 900)
while (getcontainer_ib(GoldBP).maxslots - getcontainer_ib(GoldBP).usedslots == 0) and (itemcount(GoldBP,GoldBP) > 0) do
openitem(GoldBP, GoldBP, false)
wait(700, 900)
end
else
closewindows()
wait(700, 900)
break
end
resizewindows()
wait(700, 900)
end
resizewindows()
end
setcavebot("yes")
setlooting("yes")
setsetting("Looting/OpenNextBP", "yes")
pausewalking(0)
end
And this is the action script "deposit_item"
local ITEMS = {"Frosty Heart", "Black Pearl", "Small Diamond", "Small Sapphire", "Strong Mana Potion", "Spider Silk", "Strong Health Potion", "Green Mushroom", "Health Potion", "Life Crystal", "Crystal Sword", "Glacier Mask", "Ice Rapier", "Shard", "Strange Helmet", "Crystal Necklace", "Crystal Ring", "Knight Legs", "Time Ring", "Knight Armor", "Platinum Amulet", "Sapphire Hammer", "Jewelled Backpack", "Ice Cube", "Diamond Sceptre", "Glacier Shoes", "Mystic Turban", "Pair of Earmuffs", "Spellbook of Enlightenment", "Tower Shield", "Royal Helmet", "Dragon Slayer", "Dragon Scale Mail", "Golden Mug", "Glacier Kilt", "Hailstorm Rod", 7446}
local CITY_BP = "fur backpack"
local LABEL = "w005"
setsetting("Alerts/CharacterStuck/UserValue", 200000)
setsetting("Persistent/Scripts/Reopen Backpacks/Enabled", "no")
setsetting("Looting/OpenNextBP", "no")
while (isitemontile(3499, $posx, $posy-1, $posz) == false) and (isitemontile(3497, $posx, $posy+1, $posz) == false) and (isitemontile(3498, $posx-1, $posy, $posz) == false) and (isitemontile(3500, $posx+1, $posy, $posz) == false) do
reachgrounditem("depot")
wait(1000, 2000)
end
closewindows()
wait(700, 900)
while (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) or (getcontainer_ib(LootBP).open == false) or (getcontainer_ib(LootBP).index ~= 1) do
closewindows()
wait(700, 900)
while (wincount(MainBP) ~= 1) do
openitem(MainBP, "back")
wait(700, 900)
resizewindows()
wait(700, 900)
end
if (getcontainer_ib(MainBP).open == false) or (getcontainer_ib(MainBP).index ~= 0) then
closewindows()
wait(700, 900)
end
while (wincount(LootBP) ~= 1) do
if (getcontainer_ib(MainBP).open) and (getcontainer_ib(MainBP).index == 0) then
openitem(LootBP, MainBP, true)
wait(700, 900)
while (itemcount(LootBP, LootBP) == 1) and (getcontainer_ib(LootBP).usedslots == 1) do
openitem(LootBP, LootBP, false)
wait(700, 900)
end
else
closewindows()
wait(700, 900)
break
end
resizewindows()
wait(700, 900)
end
resizewindows()
end
if (getcontainer_ib(LootBP).usedslots > 0) then
if (isitemontile(3499, $posx, $posy-1, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx,$posy-1,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3497, $posx, $posy+1, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx,$posy+1,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3498, $posx-1, $posy, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx-1,$posy,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3500, $posx+1, $posy, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx+1,$posy,$posz)
wait(1000, 2000)
end
end
while (wincount("locker") == 0) do
openitem("depot", "browse field", false)
wait(900, 1200)
end
if (wincount("locker") > 0) and (wincount("browse field") > 0) then
closewindows("browse field", true)
wait(900, 1200)
end
while (wincount("Depot Chest") == 0) do
openitem(3502, "locker", false)
wait(900, 1200)
end
while (wincount(MainBPDP) == 0) do
openitem(MainBPDP, "Depot Chest", false)
wait(900, 1200)
end
local LAST_NONSTACK_BP = 0
local STACKBPDP_COUNT = itemcount(StackBPDP, MainBPDP)
local LOOTBPDP_COUNT = itemcount(LootBPDP, MainBPDP)
local MAINBPDP_COUNT = itemcount(MainBPDP, MainBPDP)
while (true) do
local LOOTBP_COUNT = itemcount(LootBP, LootBP)
while (LOOTBP_COUNT == 1) and (getcontainer_ib(LootBP).usedslots == 1) do
openitem(LootBP, LootBP, false)
wait(900, 1200)
end
for _, ITEM in ipairs(ITEMS) do
local ITEM_COUNT = itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP)
local STACKABLE = iteminfo(ITEM).isCumulative
if (ITEM_COUNT > 0) then
if (STACKABLE) then
local LAST_STACK_BP = 0
while (ITEM_COUNT > 0) and (STACKBPDP_COUNT > LAST_STACK_BP) do
local ITEM_COUNT1 = itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP)
moveitemsonto(ITEM, StackBPDP, LAST_STACK_BP, nil, "all", 100)
local ITEM_COUNT2 = itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP)
if (ITEM_COUNT1 == ITEM_COUNT2) and (ITEM_COUNT2 > 0) then
LAST_STACK_BP = LAST_STACK_BP + 1
end
ITEM_COUNT = ITEM_COUNT2
wait(700, 900)
end
elseif (STACKABLE == false) then
while (ITEM_COUNT > 0) and (LOOTBPDP_COUNT > LAST_NONSTACK_BP) do
local ITEM_COUNT1 = itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP)
moveitemsonto(ITEM, LootBPDP, LAST_NONSTACK_BP, nil, "all", 100)
if (itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP) > 0) then
moveitemsonto(ITEM, LootBPDP, LAST_NONSTACK_BP, nil, "all", 100)
end
local ITEM_COUNT2 = itemcount(ITEM, LootBP) + itemcount(ITEM, MainBP)
if (ITEM_COUNT1 == ITEM_COUNT2) and (ITEM_COUNT2 > 0) then
if (LAST_NONSTACK_BP+1 >= LOOTBPDP_COUNT) then
if (MAINBPDP_COUNT > 0) then
openitem(MainBPDP, MainBPDP, false)
wait(700, 900)
STACKBPDP_COUNT = itemcount(StackBPDP, MainBPDP)
LOOTBPDP_COUNT = itemcount(LootBPDP, MainBPDP)
MAINBPDP_COUNT = itemcount(MainBPDP, MainBPDP)
LAST_NONSTACK_BP = 0
elseif (string.lower(LootBPDP) == CITY_BP) and (MainBPDP2 ~= false) and (LootBPDP2 ~= false) and (MainBPDP2 ~= "false") and (LootBPDP2 ~= "false") then
if (isitemontile(3499, $posx, $posy-1, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx,$posy-1,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3497, $posx, $posy+1, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx,$posy+1,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3498, $posx-1, $posy, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx-1,$posy,$posz)
wait(1000, 2000)
end
elseif (isitemontile(3500, $posx+1, $posy, $posz)) then
while (windowcount("browse field") == 0) do
browsefield($posx+1,$posy,$posz)
wait(1000, 2000)
end
end
while (wincount("locker") == 0) do
openitem("depot", "browse field", false)
wait(900, 1200)
end
if (wincount("locker") > 0) and (wincount("browse field") > 0) then
closewindows("browse field", true)
wait(900, 1200)
end
while (wincount("Depot Chest") == 0) do
openitem(3502, "locker", false)
wait(900, 1200)
end
if (itemcount(MainBPDP2, 3502) > 0) then
while (wincount(MainBPDP2) == 0) do
openitem(MainBPDP2, "Depot Chest", false)
wait(900, 1200)
resizewindows()
wait(900, 1200)
end
while (itemcount(LootBPDP, MainBPDP) > 0) do
depotdeposit_ib(LootBPDP2, LootBPDP)
wait(900, 1200)
end
BPS_TO_BUY = getcontainer_ib(MainBPDP).maxslots - getcontainer_ib(MainBPDP).usedslots
gotolabel("go_buy_bps")
return
end
end
else
LAST_NONSTACK_BP = LAST_NONSTACK_BP + 1
end
end
ITEM_COUNT = ITEM_COUNT2
wait(700, 900)
end
end
end
end
if (LOOTBP_COUNT > 0) then
openitem(LootBP, LootBP, false)
wait(900, 1200)
else
break
end
end
end
if (RuneBPDP == false) and (ManaBPDP == false) and (FoodBPDP == false) then
gotolabel(LABEL)
end
Hello :) I have problem with convert healing. could somebody check it? Thanks. I added two screens and healing log. what's wrong? :( Attachment 1116Attachment 1117
Quote:
auto(40, 60)
if maround(4, "Lizard Zaogun", "Lizard High Guard", "Lizard Legionnaire", "Lizard Dragon Priest") <= 3 then
if $hppc < 60 and $mp >= 160 then
cast("exura vita") wait(80, 120)
elseif $hppc >= 60 and $hppc < 78 and $mp >= 70 then
cast("exura gran") wait(80, 120)
elseif $hppc >= 78 and $hppc < 89 and $mp >= 20 then
cast("exura") wait(80, 120)
elseif $hppc >= 90 and $mp >= 20 and $paralyzed then
cast("exura") wait(80, 120)
end
else
if HighHealing then
if $hppc < 70 and $mp >= 160 then
cast("exura vita") wait(80, 120)
elseif $hppc >= 70 and $hppc < 85 and $mp >= 70 then
cast("exura gran") wait(80, 120)
elseif $hppc >= 88 and $mp >= 70 and $paralyzed then
cast("exura gran") wait(80, 120)
end
else
if $hppc < 65 and $mp >= 160 then
cast("exura vita") wait(80, 120)
elseif $hppc >= 65 and $hppc < 83 and $mp >= 70 then
cast("exura gran") wait(80, 120)
elseif $hppc >= 83 and $mp >= 70 and $paralyzed then
cast("exura gran") wait(80, 120)
end
end
end
Converted Goroma serpents from BlakW and i got this on conversion log.
Warning: Setting "Settings\\Alerts\\Message\\HealCreature\\PlaySoun d" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\HealCreature\\FlashCli ent" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\HealCreature\\Screensh ot" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\YourAttack\\PlaySo und" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\YourAttack\\FlashClien t" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\YourAttack\\Screenshot " has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Message\\YourAttack\\Disconnect " has no WindBot equivalent!
Warning: Setting "Settings\\Cavebot\\Settings\\Priority" has no WindBot equivalent!
Warning: Setting "Settings\\Alerts\\Player\\OnScreen\\FlashClie nt" has no WindBot equivalent!
And when u have to use pick on goroma had this error and my character stop healing and die
error in Action script w206b:
["$pickid(31928, 32670, 32670)"]:Action: 158:1 attempt to call global '$pickid' (a number value)
if no eqiped item in slot, take it from prepared bp
with ibot all works fine legs, helmet, shield, armor .etc
after conversion armor one stops working, else still work
in setings
armorEQ = "plate armor"
weaponEQ = "serpent sword"
Before conversion
Code:if armor == 0 then
moveitems(armorEQ, "armor", eqBPDP,1)
end
if weapon == 0 then
moveitems(weaponEQ, "weapon", eqBPDP,1)
end
After conversion
Code:if $chest.id == 0 then
moveitems(armorEQ, "armor", eqBPDP,1)
end
if $rhand.id == 0 then
moveitems(weaponEQ, "weapon", eqBPDP,1)
end
When converting a script it wont show how much supplies u used if u use sirmates MMH since the supplies doesnt go to the supplies tab (I guess that's why atleast)
I have the same error ($pickid) on the BugWT Goroma Script, but mine doesnt mess up anything it hunts fine, heals fine. sometimes it doesnt deposit anything (doesnt open the loot backpack)
if you fix this error let me know please is because every hunt it show up
Thank you in advance :)
Boa noite, tentei fazer uma conversão de um script ibot e me ocorreram esses erros.
Notice: 'Setup' script converted to a persistent script: 'SetupScript_ib'
Warning: Access to unknown global variable: a
Warning: Access to unknown global variable: field
Quando cliquei na persistente me ocorreu isso.
error in Persistent script Start:
["local a = gett($posx,$posy+1,$posz)"]:SetupScript_ib:43 attempt to call global 'gett' (a nil value)
stack traceback:
["vDados = verificarDado()"]:Start:3 in user script -- esse erro ocorre em mais 3 persistentes.
Eu chamo ela no meu código assim
Funciona perfeitamente no ibot, todo meu código.PHP Code:
vDados = verificarDado()