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 ;)