Log in

View Full Version : XenoSkipsScripts



DoktorJeckyll
12-04-2013, 03:23 AM
Yo all,i have a big fucking problem,now i have tried like 3000000000 scripts with Checker,and no one of them works,i mean the bot should check if i have potions or not but this shit skip and leave the fucking respawn,i fucking angry now cuz i have tried so many scripts,and no one of scripts that had potions checker works, can someone help me? u wanna money? i can pay....


Checker:

function onWalkerSelectLabel(labelName)
if (labelName == "Checker") then
delayWalker(1000)
setWalkerEnabled(false)
if (Self.ItemCount(238) <= MinMPots) or (Self.Cap() <= MinCap) then
setWalkerEnabled(true)
print("Leaving to resupply")
gotoLabel("leavecave")
else
setWalkerEnabled(true)
gotoLabel("keephunting")
end

2nd: elseif labelName == 'CheckSupplies' then
Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(50) < LeaveManas, 'Refill', 'ContinueHunt')
end
end
3:function onWalkerSelectLabel(labelName)
if (labelName == "Check") then
Walker.ConditionalGoto((Self.Cap() < MinCap) or (Self.ItemCount() <= MinHealth) or (Self.ItemCount(238) <= MinMana) or ((LogoutStamina) and (Self.Stamina() < 840)), "Start", "Leave")


That's all scripts from this forum

This shit just skip to Leave even if i had 300 potions when the bot should leave when 50....

Furpan
12-04-2013, 05:32 AM
The most basic stuff: Are you running the lua inside the "Scripter" ingame? Does your labels match(Check, Start, Leave)? Are your potions visible or is the capacity below min capacity? Does the variables MinMana etc exist?

DoktorJeckyll
12-04-2013, 07:26 AM
Yes everything is like u said,Lua inside the Scripter,Lables Check Start Leave,potions are visible,variablse exist,i tried XtrmJosh lua script,and when i run the Script then i make waypoints,and add lables,the bot kill all monsters then back to the check label,stand and leave with no fucking reason,everything is like u said,potions visible,theres nothing in capacity below capacity,i need only potions checker,only this shit then everything is alright,this shit just made me go off of my head,i tried everyshit,maybe theres something wrong that im do,im start,then execute my script everything is alright,then load my settings,then go to resp,enable walker,everything is alright,but after kill all monster bot back to Checker,then leave.

DoktorJeckyll
12-04-2013, 07:30 AM
Check XtrmJosh topic and look below,then u see a Lua script i just copy that script put that shit into Notepad then save,and everything works,the only things that doesn't work it's fucking Checker,that shit just skip to Leave,other label works perfectly.

hugo999
12-04-2013, 08:54 AM
Check XtrmJosh topic and look below,then u see a Lua script i just copy that script put that shit into Notepad then save,and everything works,the only things that doesn't work it's fucking Checker,that shit just skip to Leave,other label works perfectly.
Send lua and xbst file, I'll try to fix.

Or ty this (from my deeplings)


registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

function onWalkerSelectLabel(labelName)

local VarCheck = ((Self.ItemCount(config.MANA_NAME) > config.MANA_EXIT) and (Self.ItemCount(config.HEALTH1_NAME) > config.HEALTH1_EXIT) and (Self.ItemCount(config.HEALTH2_NAME) > config.HEALTH2_EXIT) and (Self.Cap() > config.CAP_EXIT))

if (labelName == "Checker1") then
Walker.ConditionalGoto(VarCheck, "GoHunt", "ToDP")

elseif (labelName == "EastCheck") then
Walker.ConditionalGoto(VarCheck, "EastCave", "EastOut")

elseif (labelName == "WestCheck") then
Walker.ConditionalGoto(VarCheck, "WestCave", "WestOut")
end
end


You must change labelNames.

DoktorJeckyll
12-04-2013, 10:54 AM
I got error,attempt to index global config when i enable the walker,wait i upload the files and if u can change that script ,i want only potions and ammo checker then nothing else,this shit really piss me off.

DoktorJeckyll
12-04-2013, 11:22 AM
Theres links:http://www.speedyshare.com/UBepV/Mage-Banuta-1.6.lua
And:http://www.speedyshare.com/SNpQg/Mage-Banuta-1.6.xbst

This is Hendy's Banuta For Mage Scripts,just check and se what going on cuz this Script doesn't work,this is the same script as mine but i deleted all of my luas so take this ,cuz i wanna use this ,but the Checker won't work ;< change something or test on your Tibia

hugo999
12-04-2013, 03:52 PM
try download 2.0 version:
https://www.dropbox.com/sh/z7ugl6tybt8hobt/J17vF3RG5N

DoktorJeckyll
12-04-2013, 11:38 PM
Thank you bro....