PDA

View Full Version : [Update] XenoBot v3.0.1



DarkstaR
12-28-2012, 03:49 AM
This update brings a lot of improvements to the 3.0.0 update, adds some new functionality, and fixes some bugs. If you have not seen the 3.0.0 update thread, it is imperative that you read it (http://forums.xenobot.net/showthread.php?9538).

Changelog:


v3.0.1
Fixed many Scripter issues which surfaced with v3.0.0
Fixed some crashes and debugs which surfaced with v3.0.0
Fixed the Channel Scripter class, it should work properly now.
Added the new furniture kit item ID's to the Pathfinder (17972 and 17977).
Added Self.OpenMainBackpack() to the Scripter. It will open your main backpack and return its instance.
Added the Walker class to the Scripter.
Walker.Stop(): The same as setWalkerEnabled(false).
Walker.Start(): The same as setWalkerEnabled(true).
Walker.Delay(time): The same as delayWalker(time).
Walker.Goto(label): The same as gotoLabel(label).
Walker.ConditionalGoto(condition, labeltrue[, labelelse])
Functionality: Calls Walker.Goto() on either labeltrue or labelelse, depending on the state of condition.
Parameters:
condition: A true or non-true value.
labeltrue: The label we will go to if condition has a value of true.
labelelse: If supplied (it is optional), the label we will go to if condition is not true.
Example Usage: Walker.ConditionalGoto(Self.Cap() < 100, "deposit", "hunt")
Added the Looter class to the Scripter.
Looter.Stop(): The same as setLooterEnabled(false).
Looter.Start(): the same as setLooterEnabled(true).
Added the Targeting class to the Scripter.
Targeting.Stop(): The same as setTargetingEnabled(false).
Targeting.Start(): the same as setTargetingEnabled(true).
Added the Cavebot class to the Scripter.
Cavebot.Stop(): Calls Walker.Stop(), Looter.Stop(), and Targeting.Stop().
Cavebot.Start(): Calls Walker.Start(), Looter.Start(), and Targeting.Start().

--------------------------------------
------- [[ Lua examples: ]] -------
--------------------------------------


------------[[ New function descriptions ]]------------

Walker.Delay(1000) -- is the same as: delayWalker(1000)
Walker.Goto("boobs") -- is the same as: gotoLabel("boobs")
Walker.Stop() -- is the same as: setWalkerEnabled(false)
Walker.Start() -- is the same as: setWalkerEnabled(true)

Walker.ConditionalGoto(Self.ItemCount("mana potion") < 50, "LeaveHunt", "ContinueHunt")
--[[ Is the same as:
if (Self.ItemCount("mana potion") < 50) then
gotoLabel("LeaveHunt")
else
gotoLabel("ContinueHunt")
end
]]--

Walker.ConditionalGoto(Self.ItemCount("mana potion") < 50, "LeaveHunt")
--[[ Is the same as:
if (Self.ItemCount("mana potion") < 50) then
gotoLabel("LeaveHunt")
end
]]--

Self.OpenMainBackpack() -- Opens your main backpack and returns the Container instance it opened as.



------------[[ New function examples ]]------------

-- Method 1 for checking mana pots, health pots, and capacity, before deciding what to do --
Walker.ConditionalGoto(Self.ItemCount("mana potion") < 50, "LeaveHunt")
Walker.ConditionalGoto(Self.ItemCount("ultimate health potion") < 50, "LeaveHunt")
Walker.ConditionalGoto(Self.Cap() < 100, "LeaveHunt", "ContinueHunt")

-- Method 2 for checking mana pots, health pots, and capacity, before deciding what to do --
local MustDeposit = Self.ItemCount("mana potion") < 50 or Self.ItemCount("ultimate health potion") < 50 or Self.Cap() < 100
Walker.ConditionalGoto(MustDeposit , "LeaveHunt", "ContinueHunt")

-- Opens your main backpack, followed by the blue and orange backpacks inside of it. --
Self.OpenMainBackpack():OpenChildren("blue backpack", "orange backpack")




------------[[ v3.0.0 information (incase you missed the thread) ]]------------
-- interchangeable name/ids example --
Self.UseItemWithMe("mana potion") -- same as: Self.UseItemWithMe(268)
Self.Equip("stonecutter axe", "weapon") -- same as: Self.Equip(3319, "weapon")
Self.UseItemWithTarget("sudden death rune") -- same as: Self.UseItemWithTarget(3155)
Self.DropItems(Self.Position().x, Self.Position().y, Self.Position().z, 284, 285, "label")
Self.DepositItems(17809, "cheese cutter", {17818, 0}, {"earflap", 0} )
Self.WithdrawItems(0, {268, 0, 100}, {"power bolt", 0, 1500}, {"strong mana potion", 0, 300})


-- static calls example --
Container.Minimize("blue backpack") -- same as: Container.GetByName("blue backpack"):Minimize()
Container.OpenChildren("blue backpack", 8860, 2871) -- same as: Container.GetByName("blue backpack"):OpenChildren(8860, 2871)
Creature.isTarget('Demon') -- same as: Creature.GetByName('Demon'):isTarget()

-- module example --
function DoFish(module) --our fisher callback
local WATER_FISH = {4597, 4598, 4599, 4600, 4601, 4602}
for x = -7, 7, 1 do
for y = -5, 5, 1 do
local position = Self.Position()
local item = Map.GetTopUseItem(position.x + x, position.y + y, position.z)
if(table.contains(WATER_FISH, item.id))then
Self.UseItemWithGround(3483, position.x + x, position.y + y, position.z)
module:Delay(1000) --delay myself for 1 second
end
end
end
end
local fisher = Module.New('auto-fisher', DoFish) -- create an autofisher module
fisher:Stop() -- stops the fisher
fisher:Start() -- starts the fisher
Module.Stop('auto-fisher') -- also stops the fisher
Module.Start('auto-fisher') -- also starts the fisher

For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19

Neant
12-28-2012, 03:55 AM
I'll try it out when I get home. :)

martinpwnage
12-28-2012, 04:17 AM
Intresting, have to try some of those new classes ^^

jonman715
12-28-2012, 04:46 AM
nice, it will walk over the new furniture packages now?

KingDavey
12-28-2012, 05:46 AM
bro i just want to give you free head for those functions, you rock man loveyou:eek:

martinpwnage
12-28-2012, 05:56 AM
nice, it will walk over the new furniture packages now?

yes, it should.

kennysside
12-28-2012, 06:59 AM
hehe... boobs.

PunktG
12-28-2012, 08:12 AM
Added the new furniture kit item ID's to the Pathfinder (17972 and 17977).

thx mate :)

zAEBBE
12-28-2012, 09:55 AM
Good job! =)

Pepsi_901
12-28-2012, 10:09 AM
I like boobs ;3 keep up the good work!

Avani
12-28-2012, 12:50 PM
This script worked fine before 3.0 . And i know you changed the Self.ItemCount but i just cant wrap my head around what's wrong.



-------------------------------------------------------
------------Avani's special variables looter----------
-------------------------------------------------------

DestBP = "Jewelled Backpack" -- BP by name
MaxAmount = 4 -- Amount of items you want to loot max.
monstersToLoot = {"Dead Nightmare Scion","Dead Tiger","Dead Nightmare"} -- Monster you want to loot
itemsToLoot = {3577, 3582} -- Items you want to loot

---------------------------------------------------------
---------------------------------------------------------

local counter = 0
while (true) do
for i=0,# monstersToLoot do
local MainBp = Container.GetByName(monstersToLoot[i])
local DestinationBp = Container.GetByName(DestBP)
for spot = 0, MainBp:ItemCount() do
local item = MainBp:GetItemData(spot)
for x=0,# itemsToLoot do
if (item.id == itemsToLoot[x]) then
counter = 0
for y=0,# itemsToLoot do
counter = counter + Self.ItemCount(itemsToLoot[y])
end
if counter < MaxAmount then
MainBp:MoveItemToContainer(spot, DestinationBp:Index(), 0)
end
wait(500)
end
end
end
end

wait(200)
end

kubax36
12-28-2012, 01:39 PM
DarkstaR u are making nice updates last time. I miss just two things now - Safe list in player detected alarm, becouse if ek from other team is boting on same spawn as me the alarm is ringing all the time, if i turn it off i wont see if someone come to heal monsters for me and i will die. The second thing is to turn for ex. Player detected alarm on/off on label. Its needed becouse when i am going to refill its ringing and should be nice if it will ring only on spawn

It is possible to add something like that in upcoming update? :)

DarkstaR
12-28-2012, 01:57 PM
@All: re-download and re-install for a fix with the UseLever function.




@DarkstaR (http://forums.xenobot.net/member.php?u=2) u are making nice updates last time. I miss just two things now - Safe list in player detected alarm, becouse if ek from other team is boting on same spawn as me the alarm is ringing all the time, if i turn it off i wont see if someone come to heal monsters for me and i will die. The second thing is to turn for ex. Player detected alarm on/off on label. Its needed becouse when i am going to refill its ringing and should be nice if it will ring only on spawn

It is possible to add something like that in upcoming update? :)

Might add it soon, once I get all issues with version 3 fixed.

Y2Quake
12-28-2012, 02:01 PM
ty ds.

soul4soul
12-28-2012, 03:05 PM
It makes somethings for in-liners much nicer. This update doesnt look like it requires me to make any changes most of these are masks of the old functions which is fine. Thanks for fixing the chat channels ill be testing that out in a bit.

I know its bad to ask here but can we please get Self.Soul()? I already have a script for mana training, 300 life rings, and 8k mushrooms.

GambaZ
12-28-2012, 06:25 PM
Downloading right now.
Thanks boss !

Pepsi_901
12-28-2012, 06:28 PM
Special areas should be prio 1 :x

Avani
12-28-2012, 06:31 PM
Container.Minimize(MainBp, GoldBp, LootBp)


Does not work. It only minimizes the MainBp. Is this intented to work like this or should i rewrite it to



Container.Minimize(MainBp)
Container.Minimize(LootBp)
Container.Minimize(GoldBp)

DarkstaR
12-28-2012, 06:32 PM
Container.Minimize(MainBp, GoldBp, LootBp)


Does not work. It only minimizes the MainBp. Is this intented to work like this or should i rewrite it to



Container.Minimize(MainBp)
Container.Minimize(LootBp)
Container.Minimize(GoldBp)


The latter. The former was never intended to be possible, and, without some crazy lua-hacks, isn't possible with the current system.

Avani
12-28-2012, 06:36 PM
The latter. The former was never intended to be possible, and, without some crazy lua-hacks, isn't possible with the current system.

Alright, thanks. Maybe it's an idea to built in some sort of wait(500, 900) in the Minimize function. Because without any wait() in between two minimize funtions the bot will just skip the second (and any after that) backpack.

DarkstaR
12-28-2012, 07:15 PM
I added optional minimize parameters to the backpack opening functions. If you want to use these parameters, re-download and re-install.

Examples

--Minimizes the main backpack, pirate bag, and BPoH. Keeps the jewelled backpack open.
Self.OpenMainBackpack(true):OpenChildren({"pirate bag", true}, "jewelled backpack", {"backpack of holding", true})

--Minimizes only the red backpack
Self.OpenMainBackpack():OpenChildren("golden backpack", "jewelled backpack", {"red backpack", true})

--Minimizes everything but the main backpack
Self.OpenMainBackpack():OpenChildren({"backpack of holding", true}, {"red backpack", true}, {"brocade backpack", true})

jaime
12-28-2012, 08:14 PM
fuck its so fucking good ill go try dude and when you gonna fix special areas xD you need watch my dead list in my Mage

Avani
12-28-2012, 08:15 PM
Nice thanks. With this you can make ResetBP a one-liner :)

Joey
12-28-2012, 10:28 PM
nvm..

ferao2013
12-28-2012, 10:34 PM
nevermind

Joey
12-28-2012, 11:26 PM
Self.Step doesnt seem to work anymore :/


Self.Step("EAST")

DarkstaR
12-28-2012, 11:53 PM
Self.Step doesnt seem to work anymore :/


Self.Step("EAST")

Self.Step("east"), bro.

Joey
12-29-2012, 12:10 AM
Self.Step("east"), bro.

I always typed it with capital letters and it worked great, but I'll try it anyhow. Thanks.


Edit: Changed it to small letters and it works great, now I just need to get on the Backpack reopener, cba to keep using Forgee's.

MrElle
12-29-2012, 12:27 AM
I might have missed something, I don't know, but how do I make the BP reset to work? I used Forgee's before - what should I change/replace to make it work?

~MrElle

MrElle
12-29-2012, 01:36 AM
Thanks Rydan! :)

Fleet
12-29-2012, 08:04 AM
Just to be sure before updating. Updating this will require an overhaul of my current scripts?
Paid scripts are alright, as they get updated. But I'm using some free-scripts, and some are old, for my moneymakers. These will become obsolete?

L!p3
12-29-2012, 01:16 PM
Dark, can you create a thread with all current functions & variables?

Thanks for the update.

soul4soul
12-29-2012, 03:30 PM
......

Joey
12-29-2012, 07:27 PM
Could you tell me an easy way to minimize bps? Thank you!

Bastiat
12-30-2012, 04:51 AM
Could you tell me an easy way to minimize bps? Thank you!

Container.GetFromIndex(0):Minimize()
Replace the number 0 with with the corresponding backpack you want to minimize (0 being first backpack opened, 1 second backpack opened, and so on).

Joshwa534
12-30-2012, 05:27 AM
Not bothering with this shit, lol.

soul4soul
12-30-2012, 03:28 PM
you shouldnt go by other peoples scripts unless your trying to learn. no offense to stusse but his scripts are all messed up. He is using that format because he use to use forgee's opendoor function (function openDoor(x, y, z, keyid)) now im not sure what he thinks he is using because that format doesnt match anything unless he has a custom function pasted into his lua which is possible. Self.UseItemWithGround(itemid, x, y, z) is working fine I use it in several scripts. I dont use it to unlock any doors but I use it to open holes, fish, and cut grass and dont have any problems.

Joshwa534
12-30-2012, 05:12 PM
Not bothering with this shit, lol.

Stusse
12-30-2012, 08:08 PM
?

Yes s4s ur right it was à connection for Forgee's function that did work actually. I wouldnt put in something that didnt even exist from the native library, such as key support for door function.

I dont believe ive actually put à function with Self.OpenDoor with key id. If so, please show me joshwa. Or as it was from stated in My thread that you thought I misspelled it, please say so instead of referring to something I havent written? It was as sfs said a function Forgee made but havent tested in a while.

About it, lol it is a quite old script that hasnt been updated nor tested in a while.

Peace

Joshwa534
12-30-2012, 08:53 PM
Not bothering with this shit, lol.

Asuna-Chan
12-31-2012, 04:00 AM
Could anyone be nice enough to tell me what xb can do? :D

xiaospike
12-31-2012, 05:07 AM
Could anyone be nice enough to tell me what xb can do? :D

I think the real question is what Xenobot cannot do...

simonas123
12-31-2012, 06:56 AM
xiaospike@ ---> Not showing gained profit, not have "auto follow". but without it xenobot IS AMAZING




^~^(^,.,-)^~^ VaMpIrE ^~^(-,.,^)^~^

Mannow
12-31-2012, 07:17 AM
Not bothering with this shit, lol.

Shut the fuck up.

Asuna-Chan
12-31-2012, 09:11 AM
I think the real question is what Xenobot cannot do...


Is it all script based? ._. your comment doesn't help D:

xiaospike
12-31-2012, 09:22 AM
Is it all script based? ._. your comment doesn't help D:

Mostly, yes.

Tripkip
12-31-2012, 06:15 PM
DarkstaR

So what ive noticed. When i was targetting a demon in edron demons, it keeps trying to walk over either 1 of these stones.
Yes im sure it does, kept having the message, Sorry not possible. Also, it kept standing in the waves of the demons insted of moving 1 step > wich was actually diagonal.
(got 3 sqm diagonal as targgeting). Except moving << to the stone or moving > there are no other possebillitys to mve to.

19:13 You see a stone. [ID 1778]
19:13 You see a stone. [ID 1772]

Pathfinder settings is set as walk on fire and walk over furniture so obviously it sees these stones as something thats walkable...

DarkstaR
12-31-2012, 06:40 PM
@DarkstaR (http://forums.xenobot.net/member.php?u=2)

So what ive noticed. When i was targetting a demon in edron demons, it keeps trying to walk over either 1 of these stones.
Yes im sure it does, kept having the message, Sorry not possible. Also, it kept standing in the waves of the demons insted of moving 1 step > wich was actually diagonal.
(got 3 sqm diagonal as targgeting). Except moving << to the stone or moving > there are no other possebillitys to mve to.

19:13 You see a stone. [ID 1778]
19:13 You see a stone. [ID 1772]

Pathfinder settings is set as walk on fire and walk over furniture so obviously it sees these stones as something thats walkable...


Does diagnostic information show them as walkable?

Tripkip
12-31-2012, 06:52 PM
Im refilling, after that ill check it out and let you know!

DarkstaR
12-31-2012, 06:57 PM
Im refilling, after that ill check it out and let you know!

Alright. Because I was botting in Edron demons and didn't see a problem.

Abuse
12-31-2012, 07:13 PM
Alright. Because I was botting in Edron demons and didn't see a problem.

I've been botting the same spawn, with the earlier versions, 3.0.0 and 3.0.1 and i've never seen a problem there...

Tripkip Is it in the South-West tower? If it is, and your standing still thats intended. No room to run in that small space

Tripkip
12-31-2012, 07:16 PM
Alright. Because I was botting in Edron demons and didn't see a problem.

It shows as Blocking... yet it keeps trying to walk over, or maybe it trys to go trough the demon? either way it wont move away from waves of the demon, even when i move it manually it moves right back in front of the demon

Abuse
12-31-2012, 07:22 PM
It shows as Blocking... yet it keeps trying to walk over, or maybe it trys to go trough the demon? either way it wont move away from waves of the demon, even when i move it manually it moves right back in front of the demon

Yeah, it was made like that on purpose. When we tried to have it run it would go down stairs or just sit there and 'try' to move in its place. This is why it was made 'hardcore' for that tower.

Tripkip
12-31-2012, 07:23 PM
I've been botting the same spawn, with the earlier versions, 3.0.0 and 3.0.1 and i've never seen a problem there...

Tripkip Is it in the South-West tower? If it is, and your standing still thats intended. No room to run in that small space

yes it is in the soutwest tower, but I dont think its intented to try and bump into a demon/stone aslong as its killing it. no Human would do it, and therefore it seems detecable to me, just as walking into a stalker for about 10 minutes. So yes Im not a complete retard and I do understand it has no space to run, but does that mean it should bump into a creature for aslong as its killing it?

Abuse
12-31-2012, 07:26 PM
yes it is in the soutwest tower, but I dont think its intented to try and bump into a demon/stone aslong as its killing it. no Human would do it, and therefore it seems detecable to me, just as walking into a stalker for about 10 minutes. So yes Im not a complete retard and I do understand it has no space to run, but does that mean it should bump into a creature for aslong as its killing it?

This part I don't know. Im just the tester :P

Tripkip
12-31-2012, 07:32 PM
This part I don't know. Im just the tester :P

Bumping into something thats unwalkable, isnt the fault of the script, unless the targetting ofcourse was standing diagonal.
its a flawl/bug in xenobot I geuss. If something is unwalkable, and therefore you cannot reach the desired "stance" this should be returned and it shouldnt try to walk trough.
DarkstaR am I right? or am I talking complete nonsense here :P?

Joshwa534
12-31-2012, 07:34 PM
yes it is in the soutwest tower, but I dont think its intented to try and bump into a demon/stone aslong as its killing it. no Human would do it, and therefore it seems detecable to me, just as walking into a stalker for about 10 minutes. So yes Im not a complete retard and I do understand it has no space to run, but does that mean it should bump into a creature for aslong as its killing it?

THEORY:
This is because the character is still trying to find a way to continue staying diagonal from the target. It might just be a targeting issue but I don't think its something to worry about. I've seen a very similar scenario when you're at say Lizard Chosens and the special areas cause you to stay within a perimeter but next thing you know you're stuck in the corner of the cave with 3 Lizard Chosens bashing you. So basically the cave wall is against your back and the 3 Chosens have you trapped, there's nothing your character can do yet since the targeting is set to 3-4SQM diagonal, it still try to find a path to move away from those Chosens. Like I said though, I don't see this being an issue and its definitely not detectable.. rubber banding, or "banding" is in a lot of games. It can be caused from several things, take for example you go out manual hunting and you just start trying to talk face first into a dragon nonstop for 30 seconds. Doesn't mean you're botting, just means your son has his fingers on your arrow keys (happened to me plenty in the past). Its just Tibia's "bounce-back" or whatever you want to call it, the bot is only trying to find a way to stay diagonal, I think. Its been seen before in other bots in the past as well.

DarkstaR might clarify/confirm this and could probably write it out easier.

Tripkip
12-31-2012, 07:40 PM
THEORY:
This is because the character is still trying to find a way to continue staying diagonal from the target. It might just be a targeting issue but I don't think its something to worry about. I've seen a very similar scenario when you're at say Lizard Chosens and the special areas cause you to stay within a perimeter but next thing you know you're stuck in the corner of the cave with 3 Lizard Chosens bashing you. So basically the cave wall is against your back and the 3 Chosens have you trapped, there's nothing your character can do yet since the targeting is set to 3-4SQM diagonal, it still try to find a path to move away from those Chosens. Like I said though, I don't see this being an issue and its definitely not detectable.. rubber banding, or "banding" is in a lot of games. It can be caused from several things, take for example you go out manual hunting and you just start trying to talk face first into a dragon nonstop for 30 seconds. Doesn't mean you're botting, just means your son has his fingers on your arrow keys (happened to me plenty in the past). Its just Tibia's "bounce-back" or whatever you want to call it, the bot is only trying to find a way to stay diagonal, I think. Its been seen before in other bots in the past as well.

DarkstaR might clarify/confirm this and could probably write it out easier.

Alright that clears it up for me... tho I get you're explenation, I just doubt thats its undetecable... Might be able to get fixed tho?

Joshwa534
12-31-2012, 07:49 PM
Alright that clears it up for me... tho I get you're explenation, I just doubt thats its undetecable... Might be able to get fixed tho?

I'll leave DarkstaR to answer that

DarkstaR
12-31-2012, 08:00 PM
The bot will never try to step on anything that it see's as blocking. If it cannot find a path, it chills in place. Make sure that part of the script isn't trying to use an item or rune which you don't have - that could be causing the same message.

Joshwa534
12-31-2012, 08:16 PM
The bot will never try to step on anything that it see's as blocking. If it cannot find a path, it chills in place. Make sure that part of the script isn't trying to use an item or rune which you don't have - that could be causing the same message.

So if you've set targeting to keep your character at least 3 squares away and you get trapped, the character will stop trying to get 3 squares away from the target? Just curious how it works in this situation, if that is the case then there most be another issue and we'll look into all possibilities. Tripkip

Thank you,
Joshwa534

DarkstaR
12-31-2012, 08:17 PM
So if you've set targeting to keep your character at least 3 squares away and you get trapped, the character will stop trying to get 3 squares away from the target? Just curious how it works in this situation, if that is the case then there most be another issue and we'll look into all possibilities. @Tripkip (http://forums.xenobot.net/member.php?u=9768)

Thank you,
Joshwa534

It will keep pathing until it finds a path.

Joshwa534
12-31-2012, 08:19 PM
It will keep pathing until it finds a path.

Thank you =]

Tripkip
01-01-2013, 04:28 AM
Thank you =]

Hmm it isnt using any runes, But I think I might know the "problem". In the targetting prioritys we got fire elementals (FE) set higher then the demon itself, because it can get u trapped between the demon,FE and special area. So to avoid standing in the waves, we let the fe's be killed first. If a fire elemental is summoned behind the demon, and therefore unreachable, it will try to target the FE? and thats whats causing, the sorry not possible? Cant think of anything else, altho it shouldnt try to attack a monster thats unreachable, unless it see's the demon as "walkable"

DarkstaR

Joshwa534
01-01-2013, 04:35 AM
Hmm it isnt using any runes, But I think I might know the "problem". In the targetting prioritys we got fire elementals (FE) set higher then the demon itself, because it can get u trapped between the demon,FE and special area. So to avoid standing in the waves, we let the fe's be killed first. If a fire elemental is summoned behind the demon, and therefore unreachable, it will try to target the FE? and thats whats causing, the sorry not possible? Cant think of anything else, altho it shouldnt try to attack a monster thats unreachable, unless it see's the demon as "walkable"

DarkstaR

You're exactly right on everything you just said. We put fire elementals as a higher priority than demons because they will cause you to get trapped in a few areas that will have you facing a demon head on instead of running away from it. Although.. you're using this with a paladin or druid, is it not able to shoot the fire elemental from where its standing?

Tripkip
01-01-2013, 12:00 PM
You're exactly right on everything you just said. We put fire elementals as a higher priority than demons because they will cause you to get trapped in a few areas that will have you facing a demon head on instead of running away from it. Although.. you're using this with a paladin or druid, is it not able to shoot the fire elemental from where its standing?

Yep I indeed hunt this with ED and soon RP! havent checked the rp yet. But I think the sorry not possible is caused by, the small amount of time it does try to attack fe, trys to reach it, and then finds out it cant, and goes back to the demon. So yes it might actually be able to shoot the fe but the bot blocks u from doing it because you cannot reach the monster. Anyways I might have a solution as I posted in your thread!

Make the whole area in that east tower special area, except the tile north of the stairs. This way demon + fe can hit you (if demon is standing in front of you), and it wont try to walk anywhere because its blocked by special area?

Eotar
01-01-2013, 03:36 PM
With the verison 3 of xenobot, will the new classes overwrite some of the old ones?

Excuse my unawareness.

KingDavey
01-04-2013, 02:22 AM
Okay bro i have encountered a problem, probably due to operator error, but here she goes:
This works fine,




--ALARM SETTINGS--
------------------------------------------------------------------------------------------------------------------------------------
--Manas
local mA = 50000 --How mana manas to sound the alarm.
local mT = "mana potion" --What type of mana potion are you using.
--Healths
local oA = 10 --How mana "other" items to sound the alarm. (Can be anything, runes, potions, supplys.)
local oT = "ultimate health potion" --What type of item is this. (Can be anything, runes, potions, supplys.)
--Capacity
local cA = 50 --How much cap to sound the alarm.
------------------------------------------------------------------------------------------------------------------------------------
--Do not touch below--

while true do
if Self.ItemCount(mT) < mA or Self.ItemCount(oT) < oA or Self.Cap < cA then
alert()
wait(5000)
end
wait(300,500)
end

--Do not touch above--

--[[
Signed,
KingDavey
]]


But this, i am getting a nice little error.


--ALARM SETTINGS--
------------------------------------------------------------------------------------------------------------------------------------
--Manas
local mA = 50 --How mana manas to sound the alarm.
local mT = "mana potion" --What type of mana potion are you using.
--Healths
local oA = 10 --How mana "other" items to sound the alarm. (Can be anything, runes, potions, supplys.)
local oT = "ultimate health potion" --What type of item is this. (Can be anything, runes, potions, supplys.)
--Capacity
local cA = 50 --How much cap to sound the alarm.
------------------------------------------------------------------------------------------------------------------------------------
--Do not touch below--

while true do
if Self.ItemCount(mT) < mA or Self.ItemCount(oT) < oA or Self.Cap < cA then
alert()
wait(5000)
end
wait(300,500)
end

--Do not touch above--

--[[
Signed,
KingDavey
]]




All i did was change the mana amount, this is the error.


20:18 XenoScript Error:
Script: Alerts.lua
Line #: 15
Chunk: ...?Users?DVJasper?Documents?XenoBot?Scripts?Alert s.lua
Error: attempt to compare function with number
This is an error with user-input and should not be reported as a bug with XenoBot.

What am i doing wrong? Thanks for your reply.
Also, how i do that code lua box? [CODE][/CODE=lua] shit like that is what i was trying, i dunno how lol.

sirmate
01-04-2013, 10:37 AM
What am i doing wrong? Thanks for your reply.

It's cleary says what you are doing wrong: Error: attempt to compare function with number.
You don't call Self.Cap function and then match, instead you try to compare it (Self.Cap function) with number and that's why you are getting such error.

KingDavey
01-04-2013, 11:05 AM
It's cleary says what you are doing wrong: Error: attempt to compare function with number.
You don't call Self.Cap function and then match, instead you try to compare it (Self.Cap function) with number and that's why you are getting such error.

Got it so i left out the parenthesis, thanks bro.

kubax36
01-05-2013, 01:21 AM
one of my friend still have problems with levers, i even sent for him install file what i used to install it on my comp

PunktG
01-06-2013, 11:26 AM
i need say this version work for me best :)