View Full Version : Need help with bp reseter.
shinchan
07-03-2013, 05:50 PM
Ok so I have avani's hud and I need to change my scripts so that I only reset my gold backpack. this is how my bp reset on some scripts look like:
example #1:
elseif label == "resetBP" then
setWalkerEnabled(false)
Self.CloseContainers() wait(500,750)
wait(500, 900)
while Self.OpenMainBackpack():OpenChildren(prodBP, goldBP) do
wait(500,750)
end
if #Container.GetIndexes() < 3 then
example #2:
elseif (labelName == "bpOpen") then
setWalkerEnabled(false)
Self.CloseContainers()
repeat
wait(900)
until (Self.UseItemFromEquipment("backpack") > 0)
wait (1000)
Container.GetFirst():OpenChildren(Item.GetID(GoldB P), Item.GetID(LootBP))
setWalkerEnabled(true)
end
Can anyone tell me how to change that to a way that i wouldnt reset all my bps, only my gold bp?
thanks in advance
Maximum Adam
07-03-2013, 07:06 PM
shinchan You can use this:
elseif (labelName == "resetbp") then
Walker.Stop()
Container.Close(GoldBP)
wait(1000)
Container.GetFirst():OpenChildren(GoldBP)
wait(1000)
Container.GetByName(GoldBP):Minimize()
Walker.Start()
end
shinchan
07-03-2013, 08:03 PM
i tried this before Maximum Adam it comes up with the same error:
6:58 XenoScript Error:
Script: CorymVenore.lua
Line #: 44
Chunk: C:?Users?Administrador?Documents?XenoBot?Scripts?C orymVenore.lua
Error: '<eof>' expected near 'elseif'
This is an error with user-input and should not be reported as a bug with XenoBot.
Maximum Adam
07-03-2013, 08:07 PM
i tried this before Maximum Adam it comes up with the same error:
6:58 XenoScript Error:
Script: CorymVenore.lua
Line #: 44
Chunk: C:?Users?Administrador?Documents?XenoBot?Scripts?C orymVenore.lua
Error: '<eof>' expected near 'elseif'
This is an error with user-input and should not be reported as a bug with XenoBot.
Weird, it works for me, must be something else in your lua setting it off
Is this a paid script you are using? Because it would be easier if I was looking at the whole code.
shinchan
07-04-2013, 12:35 AM
Weird, it works for me, must be something else in your lua setting it off
Is this a paid script you are using? Because it would be easier if I was looking at the whole code.
yep its a paid venore corym script..
Maximum Adam
07-04-2013, 12:41 AM
yep its a paid venore script..
Yea, don't think I have that one. I have Avani 's
shinchan
07-04-2013, 12:49 AM
Yea, don't think I have that one. I have Avani 's
ill try to have a mate look at it today, hopefully he will be able to help. but ty for ur effort Maximum Adam
edit: it worked for example #2, Im trying to figure out why it doesnt work for example #1..
edit2: ha! im so silly.. i figured what was wrong, the the "g" from goldBP had to be in lower case.
Maximum Adam
07-04-2013, 01:00 AM
ill try to have a mate look at it today, hopefully he will be able to help. but ty for ur effort Maximum Adam
Any time :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.