PDA

View Full Version : Knight SyntaxLuaLib.lua,sirmate.lua,library-ropiderz.lua and Forgee.lua.



slash234
12-20-2012, 11:40 PM
i have SyntaxLuaLib.lua,sirmate.lua,library-ropiderz.lua and Forgee.lua.

Maybe it's a silly question, but not really understand. I have a problem. Where placed forgee lua lua, sirmate ¿? It is placed in the folder: C: \ Documents and Settings \ Administrator \ My Documents \ XenoBot \ Scripts?? Together with the other script?? Someone answer me. when you start to run the bot, game, buy it all but does not open the neatly bp, only open main bp and the other did not open. I wonder if it has something to do with the library or the creator of the script is bad or wrong.

if you can illustrate how it will be grateful. ty,ty

Irax
12-21-2012, 12:13 AM
Just place them in that folder. C: \ Documents and Settings \ Administrator \ My Documents \ XenoBot \ Scripts

If you do not open the other bps put the scripts to see why it does not work

slash234
12-21-2012, 02:27 AM
Just place them in that folder. C: \ Documents and Settings \ Administrator \ My Documents \ XenoBot \ Scripts

If you do not open the other bps put the scripts to see why it does not work


Is it convenient to put the backpacks as stated in the "Script"?

dofile('Forgee.lua')
------------------------------------------------------------------------------------------
------- Pirates Yalahar By Tibtrak!-------------------------------------------------------
------------------------------------------------------------------------------------------
------- Customize your script ------------------------------------------------------------
------------------------------------------------------------------------------------------


---BP Setup---
GoldBp = "Brocade Backpack" -- Put the name of your backpack for gold
GoldBpID = 8860 -- Put the ID of your backpack for gold
LootBp = "Expedition Backpack" -- Put the name of your backpack for loot
LootBpID = 10324 -- Put the ID of your backpack for


---Potions & Cap Setup---
CapToRefill = 100 -- below this amount bot goes to refill
PotsToRefill = 60 -- below this amount bot goes to refill
ManasToBuy = 300 -- Amount of mana potions to buy
pots = 268 -- ID of manapotion (should not be changed)
HealthPotsID = 236 -- ID of healthpotion you want to buy
HealthPotsPrice = 100 -- Price of healthpotion
HealthPotsToBuy = 25 -- Amount of healthpotions to buy


------------------------------------------------------------------------------------------
------- Do Not Touch Below! :) -----------------------------------------------------------
------------------------------------------------------------------------------------------


registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
if (labelName == "CheckStatus") then
setBotEnabled(false)
if ((Self.ItemCount(pots) < PotsToRefill)) or (Self.Cap() < CapToRefill) then
setBotEnabled(true)
gotoLabel("ToTown")
else
setBotEnabled(true)
gotoLabel("Hunt")
end
elseif (labelName == "DepositGold") then
setBotEnabled(false)
delayWalker(10000)
Self.SayToNpc('hi')
wait(1000,2000)
Self.SayToNpc('deposit all')
wait(1000,2000)
Self.SayToNpc('yes')
wait(1000,2000)
local GoldToManas = ((ManasToBuy-Self.ItemCount(268))*50)
local GoldToHealth = ((HealthPotsToBuy-Self.ItemCount(HealthPotsID))*HealthPotsPrice)
local GoldToPots = (GoldToManas+GoldToHealth+500)
Self.SayToNpc("withdraw " .. GoldToPots)
wait(1000,2000)
Self.SayToNpc('yes')
setBotEnabled(true)
elseif (labelName == "ReopenBps") then
setBotEnabled(false)
closeBackpacks()
wait(1000,2000)
openBackpacks(GoldBpID, LootBpID)
wait(1000,2000)
setBotEnabled(true)
elseif (labelName == "DepositItems") then
setBotEnabled(false)
Self.DepositItems({5461, 0}, {6096, 0}, {5918, 0}, {6097, 0}, {6098, 0}, {6126, 0}, {6095, 0}, {10302, 0})
setBotEnabled(true)
elseif (labelName == "BuyPotions") then
setBotEnabled(false)
Self.SayToNpc({"Hi", "Trade"}, 65)
wait(1000,2000)
Self.ShopBuyItem(268,(ManasToBuy-Self.ItemCount(268)))
wait(1000,2000)
setBotEnabled(true)
elseif (labelName == "BuyHealthPotions") then
setBotEnabled(false)
Self.SayToNpc({"Hi", "Trade"}, 65)
wait(1000,2000)
Self.ShopBuyItem(HealthPotsID,(HealthPotsToBuy-Self.ItemCount(HealthPotsID)))
wait(1000,2000)
setBotEnabled(true)
elseif (labelName == "CheckHealthsShop") then
setBotEnabled(false)
if ((Self.ItemCount(HealthPotsID) < HealthPotsToBuy)) then
setBotEnabled(true)
gotoLabel("BuyHealthPotions")
else
setBotEnabled(true)
gotoLabel("GoOn")
end
elseif (labelName == "CheckManas") then
if (Self.ItemCount(pots) <= PotsToRefill) then
setWalkerEnabled(true)
gotoLabel("GoManas")
else
setWalkerEnabled(true)
gotoLabel("GoHunt")
end
end
end

Irax
12-21-2012, 07:14 PM
---BP Setup---
GoldBp = "Brocade Backpack" -- Put the name of your backpack for gold
GoldBpID = 8860 -- Put the ID of your backpack for gold
LootBp = "Expedition Backpack" -- Put the name of your backpack for loot
LootBpID = 10324 -- Put the ID of your backpack for

GoldBpID = 8860 ---- here must be the id of your backpack where you will put the money

LootBpID = 10324---- Here the id of your backpack where you will put your loot

Example If your backpack is the Golden Backpack, you'll have to change the Id - 2871

GoldBpID = 2871


---BP Setup---
GoldBp = "Golden Backpack" -- Put the name of your backpack for gold
GoldBpID = 2871 -- Put the ID of your backpack for gold
LootBp = "Expedition Backpack" -- Put the name of your backpack for loot
LootBpID = 10324 -- Put the ID of your backpack for

slash234
12-22-2012, 04:26 AM
---BP Setup---
GoldBp = "Brocade Backpack" -- Put the name of your backpack for gold
GoldBpID = 8860 -- Put the ID of your backpack for gold
LootBp = "Expedition Backpack" -- Put the name of your backpack for loot
LootBpID = 10324 -- Put the ID of your backpack for

GoldBpID = 8860 ---- here must be the id of your backpack where you will put the money

LootBpID = 10324---- Here the id of your backpack where you will put your loot

Example If your backpack is the Golden Backpack, you'll have to change the Id - 2871

GoldBpID = 2871


---BP Setup---
GoldBp = "Golden Backpack" -- Put the name of your backpack for gold
GoldBpID = 2871 -- Put the ID of your backpack for gold
LootBp = "Expedition Backpack" -- Put the name of your backpack for loot
LootBpID = 10324 -- Put the ID of your backpack for


I can put this in any script that I want?


---BP Setup---
GoldBp = "Golden Backpack" -- Put the name of your backpack for gold
GoldBpID = 2871 -- Put the ID of your backpack for gold
LootBp = "blue backpack" -- Put the name of your backpack for loot
LootBpID = 2869 -- Put the ID of your backpack for


---Potions & Cap Setup---
CapToRefill = 100 -- below this amount bot goes to refill
PotsToRefill = 60 -- below this amount bot goes to refill
ManasToBuy = 300 -- Amount of mana potions to buy
pots = 268 -- ID of manapotion (should not be changed)
HealthPotsID = 236 -- ID of healthpotion you want to buy
HealthPotsPrice = 100 -- Price of healthpotion
HealthPotsToBuy = 5 -- Amount of healthpotions to buy

Irax
12-22-2012, 05:31 AM
no ...

slash234
12-22-2012, 07:06 AM
ok tnx for help =) . i am new in xenobot