alright, but its not working though :/ it wont cast any ue's
Printable View
(Converted)PHP Code:
local AmountCurrent = Self.MonstersAroundFloor(4, 0, "Lizard High Guard", "Lizard Chosen")
local AmountDown = Self.MonstersAroundFloor(4, 2, "Lizard High Guard", "Lizard Chosen")
if AmountCurrent >= AmountDown then
DownAmount = AmountCurrent - AmountDown
else
DownAmount = AmountDown - AmountCurrent
end
if DownAmount > 4 then
gotolabel("GoToDepo")
end
i convert in on new library but its still dont work :(
man, i just tried to convert one scrit from ibot and some alarms just bumped out and nothing....
can you help me ?
First off this is some warnings i get:
Warning: Access to unknown global variable: pzzone
Warning: Access to unknown global variable: fasle
Warning: Access to unknown global variable: ScreenshotOnAdvance
Setup:
--]] READ SCRIPT REQUIRMENTS BEFORE RUNNING IT'S THE MOST IMPORTANT PART [[--
-- _________ _____ _ __
-- / ____/ (_) / ___/__________(_)___ / /______
-- / __/ / / / \__ \/ ___/ ___/ / __ \/ __/ ___/
-- / /___/ / / ___/ / /__/ / / / /_/ / /_(__ )
-- /_____/_/_/ /____/\___/_/ /_/ .___/\__/____/
-- /_/
--]] HOT LINKS: (Highly recommended read before turning on the script) [--
--[[ F.A.Q & User Manual ]]-- http://www.eliscripts.com/f-a-q
--[[ Found a bug? ]]-- http://www.eliscripts.com/report-a-bug
--[[ Request a new copy]]-- http://www.eliscripts.com/request-a-new-copy
--]]
SoftBootsRefiller = true -- (true/false)
PvP_Server = false -- (true/false)
Mount = true -- (true/false)
SreenshotOnAdvance = true -- (true/false)
NormalBoots = 'boots of haste' -- Name of yours normal boots
LureMode = true
PlayerAlert = false -- Player On Screen Alert on Resp
--]]Tools Settings:
RopeToUse = "squeezing gear of girlpower" -- Name of rope
ShovelToUse = "squeezing gear of girlpower" -- Name of shovel
PickToUse = "squeezing gear of girlpower" -- Name of pick
-- Extra Settings:
TakeSuppliesFromDepot = true -- Take Supplies From Depot?
FishBodies = false -- Fishing water elementals
HasteAfterKill = true
CapToDropGold = 200 -- Cap To Stop Looting Gold.
--]]Spells Settings:
CastUE = true -- Cast Ue Spell?
CreatureToUe = 4 -- Amount Of Creatures To Cast.
HppcToUe = 90 -- Hp % To Cast Ue.
UseSdRunes = true -- Shoot Sd Runes?
CreatureToSd = 3 -- Amount of Creatures To Shoot.
UseMaxStrike = true -- Use Uiltamte Strike?
UseStrongStrike = true -- Use Strong Strike?
--]] West Spawn:
West = true
--]] West Side Extra Spawns:
Ship1 = false -- 2 hydromancers
Ship2 = false -- 2 hydromancers, 1 mantassin, 2 constrictors
Ship3 = false -- 2 mantassins, 1 pincher
Ship4 = false -- 2 mantassins, 2 pinchers
Ship5 = false -- 1 hydromancer, 1 mantassin, 1 pincher
Ship6 = false -- 1 hydromancer, 2 pincher, 2 constricotr
Ship7 = false -- 3 predators, 2 constrictors
--]] East Spawn:
East = true
--]] East Spawn Extra Spawns
Ship8 = false -- 1 pincher
Ship9 = false -- 1 constrictor, 3 predators
Ship10 = false -- 2 mantassins, 3 predators
Ship11 = false -- 2 mantassins, 2 hydromancers
Ship12 = false -- 4 constrictors
Ship13 = false -- 1 pincher, 1 hydromancer
Ship14 = false -- 2 predators, 1 hydromancer
Ship15 = false -- 2 hydromancers, 1 predator
--]] Customize your Backpacks Settings:
MainBP = "backpack of holding" -- Backpack that you use as the main
LootBP = "jewelled Backpack" -- Backpack with items (rares, stackable)
GoldBP = "brocade Backpack" -- Backapck with gold
SuppBP = "zaoan chess box" -- Backpack with supplies
--]] Customize Depot Backpack Settings:
MainDpBp = "Blue Backpack" -- Main depot backpack
StackItems = "expedition Backpack" -- Backpacks with stack items
LootRares = "fur Backpack" -- Backpack with rares
ExtraItemBP = "green backpack" -- Extra Item Backpack in Depot with Great Mana Potions / Thunderstorm Runes / Sudden Death Runes
--]] Customize your Supplies Settings:
MpName = "great mana potion"
MpToBuy = 400 -- Amount of wanted Mana Potions
SdToBuy = 100 -- Amount of Great Health Potions
TsrToBuy = 300 -- Amount of Ultimate Health Potions
MpToLeave = 200 -- Amount of Mana Potions to Leave
SdToLeave = 10 -- Amount of Great Health Potions to Leave
TsrToLeave = 100 -- Amount of Ultimate Health Potions to Leave
CapCheck = -1 -- Cap To Leave Spawn.
---------------------------------------------------------- DON'T TOUCH ANYTHING BELOW
MpID = itemid(MpName)
MpPrice = itemcost(MpName)
function ChangeState(set,...)
local monster = {...}
for i,j in ipairs(monster) do
local typ = getsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped")
if set == nil or typ == nil or monster == nil then
return false
end
if set == "yes" or set == true or set == "on" then
setsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "yes")
elseif set == "no" or set == false or set == "off" then
setsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "no")
end
end
end
Haste = false
UseAreaRune = true
StaminaCheck = 845 -- How many stamina to end hunt?
CreatureToRune = 2 -- Creature To Shoot Rune.
MobsToLure = 2 -- Amount of mobs to start attacking
UWC = true -- Use With Crosshairs or Use On Target.
HasteResp = false -- Haste at whole spawn.
LootGold = true -- False Will Stop Looting Gold.
SWWM = true --- Stand with weak monsters
FastLooting = false -- True = after meele kill, false = after all dead
Code:10:22:49 error in Library file windConverter.lua:
["to = math.max(from,..."]:windConverterWrapper_settings.l:68 bad argument #1 to 'max' (number expected, got nil)
stack traceback:
["to = math.max(from, to)"]:windConverterWrapper_settings.l:68 in function ["local function conv..."]:windConverterWrapper_settings.l:61
["newvalue = s.newvalue(value, s.name)"]:windConverterWrapper_settings.l:1181 in function ["function convertSet..."]:windConverterWrapper_settings.l:1105
[string ""]:3009 in function [string ""]:2971
[string ""]:3654 in function [string ""]:3640
[string ""]:1959 in function [string ""]:1860
[string ""]:2134 in function [string ""]:2046
[string ""]:2335 in function [string ""]:2331
[string ""]:2182 in function [string ""]:2046
[string ""]:2335 in function [string ""]:2331
[string ""]:2351 in function [string ""]:1796
[string ""]:2420 in function [string ""]:2398
[string ""]:2529 in function [string ""]:2500
My persistent opens all backpacks, closes all backpacks and repeat.... please helpQuote:
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(LootBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(GoldBP, MainBP, true)
resizewindows()
converted from iBot
Not sure if this is a good place to post this, but it came from a converted Demon Script. This action will absolutely stop an entire script from working. Once I disable it, script works fine.
and im receiving;Quote:
auto(800, 1000)
if (useStake == ("yes"))
then
if (maround_ib(7) == 0)
then
if ($lootbodies == 0)
then
pausewalking(10000)
stake(4, nil, true)
wait(2000)
end
end
end
error in Action script checkSup5:
["if ((itemcount(idMpToCount, 'all') <= m..."]:Action: 285:24 attempt to compare number with nil
Quote:
local minCapAmount = (minCapacity)
if ((itemcount(idMpToCount, 'all') <= minMpAmount) or (itemcount(idHpToCount, 'all') <= minHpAmount) or (itemcount(idAmmoToCount, 'all') <= minAmmoAmount) or ($cap <= minCapAmount))
then
gotolabel("leave_hunt2")
end