when i open a second tibia client with xenomc and start the fenrock dls for rp from jxscript that client crashed and show me this error
[IMG=http://img854.imageshack.us/img854/9/bugkxa.png][/IMG]
Uploaded with ImageShack.us
Printable View
when i open a second tibia client with xenomc and start the fenrock dls for rp from jxscript that client crashed and show me this error
[IMG=http://img854.imageshack.us/img854/9/bugkxa.png][/IMG]
Uploaded with ImageShack.us
Would you like us to copy the whole script and post it here then?
But yea it looks to be working fine now.
I've had 2 crashes due the night, but I ain't mad about these so cba post things :p AND there seem to be a problem with 'use item on urself' in looter - which I use on magicians to drink looted potions :P all other things seem to be fine
Looting option 'Use on Self' doesn't work, char keeps corpse open until 15min idle kick.
HUD option 'Mana and Health percent' reads from the old support setting and not the new.
Ran outer Orc Fortress the whole night without any kicks... Thx for update
I just ran a bot for a while without any issues.
@DarkstaR - Well done. Still gotta give you props on this bot. Best one I've used in any game so far.
@DarkstaR
Using these scripts and tibia crash after a minute or so every time.
Code:<panel name="Self Healer">
<control name="SpellList">
<item spell="exura" mana="20" vcomp="0" vsign="1" vrandom="0" vvalue="80" enabled="1"/>
<item spell="exura" mana="20" vcomp="1" vsign="3" vrandom="0" vvalue="99" enabled="1"/>
</control>
<control name="ItemList">
<item id="266" vcomp="0" vsign="1" vrandom="0" vvalue="35" enabled="1"/>
</control>
</panel>
<panel name="Support">
<control name="HiHealSpell" value="Exura"/>
<control name="HiHealHealth" value="90"/>
<control name="HiHealRange" value="5"/>
<control name="HiHealMana" value="20"/>
<control name="HiHealEnable" value="0"/>
<control name="LoHealSpell" value="Exura Gran"/>
<control name="LoHealHealth" value="55"/>
<control name="LoHealPerc" value="5"/>
<control name="LoHealMana" value="70"/>
<control name="LoHealEnable" value="0"/>
<control name="PotHealID" value="266"/>
<control name="PotHealHealth" value="50"/>
<control name="PotHealRange" value="5"/>
<control name="PotHealEnable" value="0"/>
<control name="ManaRestoreID" value="268"/>
<control name="ManaRestoreMana" value="50"/>
<control name="ManaRestoreEnable" value="0"/>
</panel>
<panel name="Frag Helper">
<control name="HoldTarg" value="0"/>
<control name="ComboEnable" value="0"/>
</panel>
<panel name="Tools">
<control name="LightEnable" value="1"/>
<control name="XRayEnable" value="0"/>
<control name="ShowLookIDs" value="1"/>
<control name="ShowManaBar" value="0"/>
<control name="ShowBPInfo" value="0"/>
<control name="EnableAntiIdle" value="0"/>
<control name="EnableEatFood" value="1"/>
<control name="EnableAdvancedInfo" value="0"/>
</panel>
<panel name="Combo Options">
<control name="ComboSayLeader" value=""/>
<control name="ComboSayPhrase" value=""/>
<control name="ComboSayEnable" value="0"/>
<control name="ComboShotLeader" value=""/>
<control name="ComboShotType" value="0"/>
<control name="ComboShotEnable" value="0"/>
<control name="ComboExivaLeader" value=""/>
<control name="ComboExivaEnable" value="0"/>
<control name="ComboParaWatch" value="0"/>
<control name="ComboParaEnable" value="0"/>
<control name="ComboPartyWatch" value="0"/>
<control name="ComboPartyEnable" value="0"/>
<control name="ComboAttackSpell" value="Exevo Gran Mas Frigo"/>
<control name="ComboAttackSpellEnable" value="0"/>
<control name="ComboAttackRuneID" value="3155"/>
<control name="ComboAttackRuneEnable" value="0"/>
<control name="ComboFocusType" value="0"/>
</panel>
<panel name="HUD">
<control name="HUDItemList">
<item textColor="9" x="5" y="5" pos="4" checked="1"/>
<item textColor="8" x="5" y="5" pos="6" checked="1"/>
<item textColor="7" x="5" y="5" pos="0" checked="1"/>
<item textColor="6" x="5" y="5" pos="8" checked="1"/>
<item textColor="4" x="5" y="5" pos="10" checked="1"/>
<item textColor="13" x="5" y="5" pos="0" checked="1"/>
<item textColor="13" x="5" y="5" pos="2" checked="1"/>
<item textColor="0" x="0" y="0" pos="0" checked="1"/>
</control>
<control name="HPPercOnClick" value="0"/>
<control name="MPPercOnClick" value="0"/>
<control name="MPPercClickEnable" value="0"/>
<control name="MPPercClickEnable" value="0"/>
</panel>
<panel name="Recent Loot">
<control name="LootMonsterList">
</control>
<control name="DisplaySelectLoot" value="0"/>
<control name="HideNothingLoot" value="0"/>
</panel>
<panel name="Spell Timers">
<control name="ShowHasteTimer" value="1"/>
<control name="ShowManaTimer" value="1"/>
<control name="ShowInvisibleTimer" value="1"/>
<control name="ShowBuffTimers" value="1"/>
</panel>
<panel name="Kill Counters">
<control name="KillCounterBox">
</control>
<control name="DisplaySelectCounters" value="0"/>
<control name="DisplayCountRatios" value="0"/>
</panel>
<panel name="Battle Information">
<control name="ShowTakenDamage" value="1"/>
<control name="ShowDealtDamage" value="1"/>
<control name="ShowTarget" value="1"/>
<control name="ShowFollow" value="1"/>
<control name="ShowExiva" value="1"/>
</panel>
<panel name="Experience Information">
<control name="ShowHourlyExp" value="1"/>
<control name="ShowExpTogo" value="1"/>
<control name="ShowTimeLeft" value="1"/>
</panel>
<panel name="Condition Manager">
<control name="PoisonCureLimit" value="6"/>
<control name="PoisonCureMana" value="20"/>
<control name="PoisonCureEnable" value="0"/>
<control name="DeathCureLimit" value="10"/>
<control name="DeathCureMana" value="40"/>
<control name="DeathCureEnable" value="0"/>
<control name="PhysicalCureLimit" value="5"/>
<control name="PhysicalCureMana" value="30"/>
<control name="PhysicalCureEnable" value="0"/>
<control name="FireCureLimit" value="20"/>
<control name="FireCureMana" value="30"/>
<control name="FireCureEnable" value="0"/>
<control name="EnergyCureLimit" value="15"/>
<control name="EnergyCureMana" value="30"/>
<control name="EnergyCureEnable" value="0"/>
<control name="ParaCureEnable" value="0"/>
<control name="ParaCureMana" value="35"/>
<control name="ParaCureSpell" value="utevo lux"/>
<control name="HasteCastMana" value="155"/>
<control name="HasteCastSpell" value="exura"/>
<control name="HasteCastEnable" value="0"/>
<control name="InvisibleCastMana" value="50"/>
<control name="InvisibleCastEnable" value="0"/>
<control name="ShieldCastMana" value="50"/>
<control name="ShieldCastEnable" value="0"/>
<control name="RecoveryCastEnable" value="0"/>
<control name="RecoveryCastType" value="0"/>
<control name="RecoveryCastMana" value="50"/>
<control name="RecoveryCheckPzEnable" value="1"/>
</panel>
<panel name="Equipment Manager">
<control name="AmmoRefillID" value="1781"/>
<control name="AmmoRefillEnable" value="0"/>
<control name="WeaponRefillID" value="1781"/>
<control name="WeaponRefillEnable" value="0"/>
</panel>
<panel name="Targeting">
<control name="TargetingList">
<item type="Goblin" spl="exori vis" rne="3158" chs="0" atk="0" max="100" min="0" prio="2" prox="7" count="1"/>
<item type="Goblin Scavenger" spl="exori vis" rne="3158" chs="0" atk="0" max="100" min="0" prio="3" prox="7" count="1"/>
<item type="Goblin Assassin" spl="exori vis" rne="3158" chs="0" atk="0" max="100" min="0" prio="4" prox="7" count="1"/>
<item type="Bug" spl="exori vis" rne="3158" chs="0" atk="0" max="100" min="0" prio="2" prox="7" count="1"/>
</control>
</panel>
<panel name="Walker">
<control name="WaypointList">
<item text="Node (33109, 31841, 8)" tag="0"/>
<item text="Node (33101, 31833, 8)" tag="0"/>
<item text="Node (33094, 31838, 8)" tag="0"/>
<item text="Node (33087, 31838, 8)" tag="0"/>
<item text="Node (33074, 31839, 8)" tag="0"/>
<item text="Node (33067, 31834, 8)" tag="0"/>
<item text="Node (33057, 31832, 8)" tag="0"/>
<item text="Node (33049, 31836, 8)" tag="0"/>
<item text="Node (33049, 31836, 8)" tag="0"/>
<item text="Node (33049, 31845, 8)" tag="0"/>
<item text="Node (33051, 31853, 8)" tag="0"/>
<item text="Node (33057, 31859, 8)" tag="0"/>
<item text="Node (33059, 31864, 8)" tag="0"/>
<item text="Node (33067, 31864, 8)" tag="0"/>
<item text="Node (33075, 31868, 8)" tag="0"/>
<item text="Node (33085, 31871, 8)" tag="0"/>
<item text="Node (33092, 31877, 8)" tag="0"/>
<item text="Node (33104, 31880, 8)" tag="0"/>
<item text="Node (33108, 31872, 8)" tag="0"/>
<item text="Node (33109, 31865, 8)" tag="0"/>
<item text="Node (33103, 31857, 8)" tag="0"/>
<item text="Node (33092, 31844, 8)" tag="0"/>
<item text="Stand (33092, 31838, 8)" tag="1"/>
<item text="Stand (33092, 31837, 8)" tag="1"/>
<item text="Node (33090, 31830, 9)" tag="0"/>
<item text="Node (33086, 31821, 9)" tag="0"/>
<item text="Node (33065, 31844, 9)" tag="0"/>
<item text="Node (33062, 31851, 9)" tag="0"/>
<item text="Node (33066, 31854, 9)" tag="0"/>
<item text="Node (33077, 31854, 9)" tag="0"/>
<item text="Node (33086, 31856, 9)" tag="0"/>
<item text="Node (33095, 31852, 9)" tag="0"/>
<item text="Node (33104, 31849, 9)" tag="0"/>
<item text="Node (33100, 31837, 9)" tag="0"/>
<item text="Stand (33092, 31837, 9)" tag="1"/>
<item text="Rope (33092, 31837, 9)" tag="3"/>
</control>
</panel>
<panel name="Walker Options">
<control name="ropeOption" value="0"/>
<control name="shovelOption" value="0"/>
</panel>
<panel name="Looter">
<control name="LootList" first="1">
<item ID="1781" action="0"/>
</control>
</panel>
<panel name="Pathfinder">
<control name="walkOnFireEnable" value="0"/>
<control name="walkOnFurnitureEnable" value="0"/>
<control name="showDiagnoticEnable" value="0"/>
<control name="walkWithMapclicks" value="0"/>
</panel>
<panel name="Mount">
</panel>
<panel name="Special Areas">
<control name="AreaList">
</control>
</panel>
<panel name="Alarms">
<control name="disAlarm" value="0"/>
<control name="damAlarm" value="0"/>
<control name="lhpAlarm" value="0"/>
<control name="lhpAlarmPercent" value="50"/>
<control name="pmAlarm" value="0"/>
<control name="creatureAlarm" value="0"/>
<control name="attackAlarm" value="0"/>
<control name="playerAlarm" value="0"/>
<control name="playerAlarmLog" value="0"/>
<control name="stuckAlarm" value="0"/>
<control name="alarmPartyIgnore" value="0"/>
</panel>
<panel name="Scripter">
<control name="RunningScriptList">
<script name="Change weapon.lua"><![CDATA[bG9jYWwgc3dvcmRJRCA9IDMyNzEgCmxvY2FsIHN0b25lSUQgPSAxNzgxCgp3aGlsZSAxIGRvCglsb2NhbCBjb250ID0gQ29udGFpbmVyLkdldEZpcnN0KCkKCXdoaWxlIChjb250OmlzT3BlbigpKSBkbyAKCQlmb3Igc3BvdCA9IDAsIGNvbnQ6SXRlbUNvdW50KCkgZG8KCQkJbG9jYWwgaXRlbSA9IGNvbnQ6R2V0SXRlbURhdGEoc3BvdCkKCQkJaWYgKFNlbGYuV2VhcG9uKCkuaWQgPT0gc3dvcmRJRCBvciAoU2VsZi5XZWFwb24oKS5pZCA9PSBzdG9uZUlEIGFuZCBTZWxmLldlYXBvbigpLmNvdW50IDwgMykpIHRoZW4KCQkJCWlmIChpdGVtLmlkID09IHN0b25lSUQgYW5kIGl0ZW0uY291bnQgPiA1KSB0aGVuCgkJCQkJY29udDpNb3ZlSXRlbVRvRXF1aXBtZW50KHNwb3QsICJ3ZWFwb24iKQoJCQkJCWJyZWFrCgkJCQllbmQKCQkJZWxzZWlmIChTZWxmLldlYXBvbigpLmlkID09IDApIHRoZW4KCQkJCWlmIChpdGVtLmlkID09IHN3b3JkSUQpIHRoZW4KCQkJCQljb250Ok1vdmVJdGVtVG9FcXVpcG1lbnQoc3BvdCwgIndlYXBvbiIpCgkJCQkJYnJlYWsKCQkJCWVuZAoJCQllbmQKCQllbmQKCQljb250ID0gY29udDpHZXROZXh0KCkgCgllbmQKZW5k]]></script>
</control>
</panel>
<panel name="Advertising">
<control name="watchSellingWords" value="item, item2"/>
<control name="watchSellingEnable" value="0"/>
<control name="watchBuyingWords" value="item, item2"/>
<control name="watchBuyingEnable" value="0"/>
<control name="blockLinksEnable" value="0"/>
<control name="reduceSpamEnable" value="0"/>
</panel>
I have 4 bots running rookguard script IB - [N] RookAFK 1.4. No errors yet all around level 5.
Still waiting for preview patch ;P
<3333333333
you are so slow with update.. soon 3 days lost that i paid .. i dont think i will buy anymore xenobot, i dont want to wait allways 3-4 days for your update.
Alarms not able to open when I have this running.
----------Barbarian Script-----------
--------By Hypn0tic Ki11er---------
--------------Enjoy!!--------------
HuntInTower = true
SoftBoots = true --Whether you are using Soft Boots.
---------Checker Settings---------
LeaveNoSofts = false --Whether you want to leave if you don't have any soft boots left.
LeaveUponGoldAmount = true --Whether you want to leave upon reaching a certain gold amount (determined below).
GoldToLeave = 8000 --Amount of gold before you leave the cave.
MinCap = 50 --At what capacity do you want to leave the cave?
ManasToLeave = 85 --How many Mana Potions to leave the cave?
HealthsToLeave = 20 --How many Health Potions to leave the cave?
GoldID = 3031 --Gold ID
---Support---
WantedHPS = 30 --How many Health Potions do you want in your BP?
WantedMPS = 500 --How many Mana Potions do you want in your BP?
HealthCost = 100 --How much each Health Potion costs.
ManaCost = 50 --How much each Mana Potion costs.
HealthPotID = 236 --Health Potion ID.
ManaPotID = 268 --Mana Potion ID.
-----------------------------------------------
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
if (labelName == "ItitialCheck") then
setWalkerEnabled(false)
if ((Self.ItemCount(3549) == 0)) and ((Self.ItemCount(6529) == 0)) and ((SoftBoots == true)) or ((Self.ItemCount(ManaPotID) < WantedMPS)) or ((Self.ItemCount(HealthPotID) < WantedHPS)) or (LeaveUponGoldAmount == true) and ((Self.ItemCount(GoldID) <= 3000)) then
gotoLabel("ToDepot")
setWalkerEnabled(true)
else
gotoLabel("ToCamp")
setWalkerEnabled(true)
end
elseif (labelName == "ResetBP") then
resetBackpacks()
elseif (labelName == "Bank") then
setWalkerEnabled(false)
delayWalker(7000) --Stops walker so that the character doesn't move away from the NPC.
Self.SayToNpc("hi")
sleep(math.random(700, 1400)) --Sleep between everything the character says to avoid suspicion.
Self.SayToNpc("deposit all")
sleep(math.random(300, 1000)) --Sleep between everything the character says to avoid suspicion.
Self.SayToNpc("yes")
sleep(math.random(700, 1400)) --Sleep between everything the character says to avoid suspicion.
Self.WithdrawMoney((ManaCost*(WantedMPS-Self.ItemCount(ManaPotID))))
Self.WithdrawMoney((HealthCost*(WantedHPS-Self.ItemCount(HealthPotID))))
Self.WithdrawMoney(2000)
if (SoftBoots == true) then
Self.WithdrawMoney((10000*(Self.ItemCount(6530))))
wait(500)
else
wait(500)
end
sleep(math.random(800, 1500)) --Sleep between everything the character says to avoid suspicion.
setWalkerEnabled(true)
elseif (labelName == "Deposit") then
setWalkerEnabled(false)
Self.ReachDepot()
Self.DepositItems({5913, 0}, {7449, 0}, {7457, 0}, {7462, 0}, {3052, 0}, {7461, 0}, {7379, 0}, {7464, 0}, {7463, 0}, {3344, 0}, {5911, 0}, {7290, 0}, {819, 0}, {3574, 0}, {7387, 0}, {823, 0}, {7459, 0}, {3067, 0})
wait(1500,1900)
setWalkerEnabled(true)
elseif (labelName == "BuyPotions") then
setWalkerEnabled(false)
delayWalker(10000) --Stops walker so that the character doesn't move away from the NPC.
Self.SayToNpc("hi")
sleep(math.random(800, 1700)) --Sleep between everything the character says to avoid suspicion.
Self.SayToNpc({"Hi", "flasks", "yes", "yes", "yes", "Trade"}, 100)
sleep(math.random(800, 1700)) --Sleep between everything the character says to avoid suspicion.
Self.SayToNpc("trade")
sleep(math.random(2000, 2400)) --Sleep between everything the character says to avoid suspicion.
buyitems(ManaPotID, (WantedMPS-Self.ItemCount(ManaPotID)))
buyitems(HealthPotID, (WantedHPS-Self.ItemCount(HealthPotID)))
sleep(math.random(800, 1700)) --Sleep between everything the character says to avoid suspicion.
setWalkerEnabled(true)
elseif (labelName == "TowerCheck") then
if (HuntInTower == false) then
gotoLabel("KeepHunting2")
wait(500)
else
wait(500)
end
elseif (labelName == "TowerCheck2") then
if (HuntInTower == false) then
gotoLabel("KeepHunting")
wait(500)
else
wait(500)
end
elseif (labelName == "CheckSofts") then
delayWalker(1000)
setWalkerEnabled(false)
if ((Self.ItemCount(3549) == 0)) and ((Self.ItemCount(6529) == 0)) and ((SoftBoots == true)) then
gotoLabel("ToVenore")
setWalkerEnabled(true)
else
gotoLabel("ToCamp")
setWalkerEnabled(true)
end
elseif (labelName == "Checker") then
if ((Self.ItemCount(3549) == 0)) and ((Self.ItemCount(6529) == 0)) and ((LeaveNoSofts == true)) and (SoftBoots == true) or (Self.Cap() <= MinCap) or ((Self.ItemCount(ManaPotID) < ManasToLeave)) or ((Self.ItemCount(HealthPotID) < HealthsToLeave)) or (LeaveUponGoldAmount == true) and ((Self.ItemCount(GoldID) >= GoldToLeave)) then
wait(500)
gotoLabel("Leave")
else
wait(500)
end
elseif (labelName == "EndChecker") then
if ((Self.ItemCount(3549) == 0)) and ((Self.ItemCount(6529) == 0)) and ((LeaveNoSofts == true)) and((SoftBoots == true)) or (Self.Cap() <= MinCap) or ((Self.ItemCount(ManaPotID) < ManasToLeave)) or ((Self.ItemCount(HealthPotID) < HealthsToLeave)) or (LeaveUponGoldAmount == true) and ((Self.ItemCount(GoldID) >= GoldToLeave)) then
wait(500)
gotoLabel("Leave")
else
wait(500)
gotoLabel("KeepHunting")
end
elseif (labelName == "KeepHunting") then
if (Self.Feet().id ~= 3549) and (Self.Feet().id ~= 6529) and ((SoftBoots == true)) then
if ((Self.ItemCount(3549) == 0)) then
Self.Equip(6529, "feet")
else
Self.Equip(3549, "feet")
end
end
elseif (labelName == "KeepHunting2") then
if (Self.Feet().id ~= 3549) and (Self.Feet().id ~= 6529) and ((SoftBoots == true)) then
if ((Self.ItemCount(3549) == 0)) then
Self.Equip(6529, "feet")
else
Self.Equip(3549, "feet")
end
end
elseif (labelName == "Leave") then
Self.Equip(3079, "feet")
end
end
------------------------------------
----------OTHER FUNCTIONS-----------
----------DON'T MESS HERE-----------
------------------------------------
function buyitems(item, count)
count = tonumber(count) or 1
repeat
local amnt = math.min(count, 100)
if(Self.ShopBuyItem(item, amnt) == 0)then
return printf("ERROR: failed to buy item: %s", tostring(item))
end
wait(200,500)
count = (count - amnt)
until count <= 0
end
Map.GetUseItems = function (id)
if type(id) == "string" then
id = Item.GetID(id)
end
local pos = Self.Position()
local store = {}
for x = -7, 7 do
for y = -5, 5 do
if Map.GetTopUseItem(pos.x + x, pos.y + y, pos.z).id == id then
itemPos = {x = pos.x + x, y = pos.y + y, z = pos.z}
table.insert(store, itemPos)
end
end
end
return store
end
function closeBackpacks()
local displayName = "CloseBackpacks"
local tmpBP = Container.GetFirst()
local cascaded = {}
while tmpBP:isOpen() do
for spot = 0, tmpBP:ItemCount() do
local item = tmpBP:GetItemData(spot)
if item.id == tmpBP:ID() then
table.insert(cascaded, tmpBP:ID())
tmpBP = tmpBP:GetNext()
end
end
tmpBP = Container.GetFirst()
if not table.contains(cascaded, tmpBP:ID()) or tmpBP:ItemCount() == 0 then -- Backpack is main or last cascaded. Closing...
Self.UseItem(tmpBP:ID())
wait(500, 900)
end
if #cascaded > 0 then -- Any cascaded backpacks?
for i = 1, #cascaded do
if tmpBP:ID() == cascaded[i] then -- Found cascaded backpack.
if tmpBP:ItemCount() > 0 then -- Backpack contains atleast one item, check for another bp.
for spot = 0, tmpBP:ItemCount() do
local item = tmpBP:GetItemData(spot)
if item.id == tmpBP:ID() then -- Found anoter cascade bp, opening...
tmpBP:UseItem(spot, true)
break
end
end
end
end
end
end
wait(500, 900)
tmpBP = Container.GetFirst() -- Get a new bp to check.
if tmpBP:ID() == 0 then -- No more open backpacks.
print("All backpacks were successfully closed.")
end
end
return true
end
Self.ReachDepot = function (tries)
local tries = tries or 3
setWalkerEnabled(false)
local DepotIDs = {3497, 3498, 3499, 3500}
local DepotPos = {}
for i = 1, #DepotIDs do
local dps = Map.GetUseItems(DepotIDs[i])
for j = 1, #dps do
table.insert(DepotPos, dps[j])
end
end
local function gotoDepot()
local pos = Self.Position()
print("Depots found: " .. tostring(#DepotPos))
for i = 1, #DepotPos do
location = DepotPos[i]
Self.UseItemFromGround(location.x, location.y, location.z)
wait(1000, 2000)
if Self.DistanceFromPosition(pos.x, pos.y, pos.z) >= 1 then
wait(5000, 6000)
if Self.DistanceFromPosition(location.x, location.y, location.z) == 1 then
setWalkerEnabled(true)
return true
end
else
print("Something is blocking the path. Trying next depot.")
end
end
return false
end
repeat
reachedDP = gotoDepot()
if reachedDP then
return true
end
tries = tries - 1
sleep(100)
print("Attempt to reach depot was unsuccessfull. " .. tries .. " tries left.")
until tries <= 0
return false
end
function openBackpacks(...)
local displayName = "OpenBackpacks"
local backpacks = {...}
Self.UseItem(Self.Backpack().id) -- Open main backpack.
print("Opening main backpack.")
wait(500, 900)
main = Container.GetFirst()
if #backpacks > 0 then
for i = 1, #backpacks do
if type(backpacks[i]) == 'table' then -- Is parent container specified?
tmpBP = Container.GetByName(backpacks[i][1])
for spot = 0, tmpBP:ItemCount() do
item = tmpBP:GetItemData(spot)
if item.id == backpacks[i][2] then
tmpBP:UseItem(spot)
print("Opening backpack from list. " .. backpacks[i][1] .. ", " .. backpacks[i][2])
wait(500, 800)
end
end
else -- If there is no parent specified we will use the main bp.
for spot = 0, main:ItemCount() do
item = main:GetItemData(spot)
if item.id == backpacks[i] then
main:UseItem(spot)
print("Opening backpack from list, " .. backpacks[i])
wait(500, 800)
end
end
end
end
local indexes = Container.GetIndexes()
for i = 1, #indexes do
if type(backpacks[i]) == "table" then
if Container.GetFromIndex(indexes[i]):ID() ~= backpacks[i][1] then
return false
end
else
if Container.GetFromIndex(indexes[i]):ID() ~= backpacks[i] then
return false
end
end
end
return true
end
end
function getOpenBackpacks()
local indexes = Container.GetIndexes() -- Find index for all open backpacks
local open = {} -- Create a place to store our open backpacks
for i = 1, #indexes do -- Search all open backpacks
tmpBP = Container.GetFromIndex(indexes[i])
table.insert(open, tmpBP:ID()) -- Store this backpack
end
return open -- Return found backpacks
end
function resetBackpacks(tries)
setWalkerEnabled(false)
local open = getOpenBackpacks() -- Save a list of open backpacks
local tries = 3 -- Give the script 3 tries to achieve a successful reset.
repeat
closeBackpacks() -- Close all backpacks
wait(600, 800) -- wait a little bit
local reopen = openBackpacks(unpack(open)) -- I store the return from openBackpacks, true if successfull, false otherwise
if tries == 0 then -- Check how many tries function has left
print("BackpackReset failed!") -- Tell the user reset has failed
return false
end
tries = tries - 1 -- One try has been spent
until reopen -- If reopen is true it means all backpacks were opened successfully and function is done
print("BackpackReset was successfull!") -- Tell user reset was successful
setWalkerEnabled(true)
return true
end
Awesome! Thank you!
client is crashing while having two tibia open, and only the first client that I opened crashed :( anyone else getting it too?
hey yo, im crashing pretty often, but only on brimstone bugs surface. botting on 2 servers same time and it just happens randomly every 10 minutes orso, i also crashed in farmine depot though, cant really give more details since ive got no clu whats up and need to go out, is there any log i could check whats wrong?
forgot, i bot 6 clients atm, only those 2 i mentioned crash
Fuck yah Darkstar, good job g, fastest update out of all the other bots, shows who really knows there shit.
Can't wait til you release the preview version, I'm in dire need of it..!
Hmm, botting on 3 clients! Grims/ banuta -1 and edron demons, grims has been online for over 1hour witouth any problems!
THe only thing ive noticed so far is, that in Banuta, THe targetted creature isnt actually targetted, let me demonstrate it with this picture below
While on grims/demons its just fine. Might be the client, or the script. im not sure just wanted to report it!
https://www.dropbox.com/s/aue1vmi2t2npxb3/bug.png <--- for some reason the imagelink didnt work so check link below
https://www.dropbox.com/s/aue1vmi2t2npxb3/bug.png
Edit, restarted the Client, and the Glitch is gone... Still no clue how it was possible or why it happend or if it was harmfull!
edit 2: after a while the glitch came back, the creature doesnt seem targetted, and the letters scrambled again just as in the image!
Thank you @DarkstaR!
Guys, if you post a LUA or a XBST file please wrap it into code functions
Example:
Code:PASTE CODE HERE
So is it safe to bot 100% AFK? I dont wanna die just because the bot crashes
@DarkstaR hahahha thanks to you I can make fun of people in my guild, they use ibot and cant bot yet. I can, so all the spawns are free hahaha great work, thumbs up! :)
Great job Darkstar, way ahead of the others :D
You sent this 03:09 AM today , so i got a question with the preview will the realese be Today or tommorow? just wondering cause that normaly happens to me aswell saying "tommorow" just cause i havent gone to bed yet ;P (hope you see my point and respond). Take your time just want a response ;P
:) gl for all :D
well this sucks i got one computer that the bot dosent do nothing when injected into the client and on this one tibia crashes guess ill wait till the bot is 100% updated