PDA

View Full Version : [Update] XenoBot v3.0.4 [Screenshot]



DarkstaR
02-01-2013, 02:08 AM
This update brings some highly desired and frequently requested functionality.

If you were having problems with dofile(), re-download and re-install the bot. It is fixed.

Changelog:

v3.0.4
Added furniture kit ID 17975. The pathfinder will now walk over it.
Added Self.Stamina() function to the Scripter.
Added Self.Soul() function to the Scripter.
Added screenshot() function to the Scripter.
Parameters
FileName: Name of the file, without extension or full path.
Returns: True if success, false if failed.
Notes: Minimized windows cannot be captured.
Usage: screenshot("level " .. Self.Level())
Added screenshot functionality to Alarms. The following alarms will take screenshots when they are triggered:
Creature Detected
Player Detected
Player Attack
Damage Taken
Low Health



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

Y2Quake
02-01-2013, 02:08 AM
YEEEEEEEEEEEEE
and im the first
thanks

soul4soul
02-01-2013, 02:11 AM
oooh self.soul()!!!!! i have some scripts all ready to go for that. Im happy.

RoZpr0
02-01-2013, 02:13 AM
Great job Darkstar ;] I have been talking with infernal about screenshots in xeno and here they are ^^ nicely surprised :)

Petit Ours
02-01-2013, 02:31 AM
Great :D Continue great work Nick !

Mac
02-01-2013, 02:54 AM
damn i bow toi you at this update. guess setting up advanced alarm triggers is just behind a corner ;)

moshis
02-01-2013, 03:03 AM
Awesome work! :D

Blanz420
02-01-2013, 03:13 AM
dope update, keep it upp.

PunktG
02-01-2013, 07:27 AM
thx :)

Gordo
02-01-2013, 08:01 AM
nice, finally screens ;]

Avani
02-01-2013, 08:39 AM
Thank you for this update!

One bug i found: I was using a (old) script all night, but when i updated the bot i got this error:



09:36 XenoScript Error:
Script: [Knight] Arena Quarter.lua
Error: failed to open file Forgee.lua
This is an error with user-input and should not be reported as a bug with XenoBot.

Tibtrak
02-01-2013, 08:40 AM
Thanks!

Tizet
02-01-2013, 09:50 AM
same problem


Thank you for this update!

One bug i found: I was using a (old) script all night, but when i updated the bot i got this error:



09:36 XenoScript Error:
Script: [Knight] Arena Quarter.lua
Error: failed to open file Forgee.lua
This is an error with user-input and should not be reported as a bug with XenoBot.

rikardo
02-01-2013, 09:59 AM
any1 can give me example how to use screenshot to take it at lvlup and mlvlup ?

and stamina when -14h left
thanks alot

Neant
02-01-2013, 10:00 AM
Holy moly... Awesome! :D

Flacks
02-01-2013, 10:49 AM
Great! :)

Tizet
02-01-2013, 10:51 AM
thx rydan :)

Stusse
02-01-2013, 11:04 AM
Finally! Great job darkstar!

Avani
02-01-2013, 11:11 AM
rikardo

I've made a screenshot taker on Level, Death and stamina. Check it out here:

http://forums.xenobot.net/showthread.php?10790-Screenshot-taker-by-Avani&p=128342&viewfull=1#post128342

rikardo
02-01-2013, 12:04 PM
Avani
thanks alot :)

Hendy
02-01-2013, 12:27 PM
Beaut! Thanks DarkstaR!

Xokker
02-01-2013, 12:56 PM
great news! i missed the screenshot thingy =D

Johgan
02-01-2013, 01:28 PM
Self.Stamina() at last! Thank you!

DarkstaR
02-01-2013, 03:32 PM
If you were having problems with dofile(), re-download and re-install the bot. It is fixed.

Xparn
02-01-2013, 08:35 PM
One question, when you update the bot, can you simple download the New setup.exe file and just install or do i have UN-install previous versions before i install the new?

Fixi
02-01-2013, 09:01 PM
Just install the new version over the old one, no need for any uninstalling :D

Nostrax
02-02-2013, 10:19 AM
Wonderfull! :o

Spasse
02-02-2013, 05:36 PM
It does not work for me. It is still saying xenoscript error. And I have downloaded the the bot. :confused:

krille09
02-02-2013, 07:46 PM
Great awesome news DarkstaR ! :D

Forces
02-02-2013, 08:52 PM
awesome update,

i want to use the stamina, it works fine if i do -

if (Self.Stamina < 840) then
goto...........

but if i do like below it doesnt work

Stam = 2500

--------------------------------
elseif (labelName == "Checksup") then
if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Stamina < Stam) then
print("No Supplies - Logging Off")
gotoLabel("Logoff")
else
print("Going To Cave")
gotoLabel("GoToCave")
end

Error: attempt to compare function with number

Forces
02-02-2013, 09:08 PM
never mind i was missing ()

Stam = 2500

--------------------------------
elseif (labelName == "Checksup") then
if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Stamina() < Stam) then
print("No Supplies - Logging Off")
gotoLabel("Logoff")
else
print("Going To Cave")
gotoLabel("GoToCave")
end

Beo
02-04-2013, 12:06 AM
Minus what I said before

Good job! :)

NeeP
02-04-2013, 08:21 AM
It does not work for me. It is still saying xenoscript error. And I have downloaded the the bot. :confused:

Try download again. My windows said I have to deinstall the previous xenobot version so I did. So maybe you just also need to de install first. Try it :)

DarkstaR
02-04-2013, 03:00 PM
It does not work for me. It is still saying xenoscript error. And I have downloaded the the bot. :confused:

Need a specific error to diagnose your problem.

Apoc
02-04-2013, 05:03 PM
I have been very inactive lately (in the game and in this forum), so ... great !!! I was looking forward for the screenshot function ...

freddek85
02-04-2013, 05:31 PM
Help!

My Looter is fucked up.

in the version 3.0.3 it works great but not in this one (3.0.4)

it don't loot monster before killing another if a have the "Loot First" option. :(

it just spamm following a new monster and trying to loot the dead one at the same time, it's anoying...


Thanks!

Freddek85!

DarkstaR
02-04-2013, 05:49 PM
Nothing changed with the looter. You messed up one of your scripts or something.

freddek85
02-04-2013, 06:14 PM
Nothing changed with the looter. You messed up one of your scripts or something.

Okay, But i havnt do anything to my script, its the same as before, when i used it in 3.0.3

:/

Flummer
02-05-2013, 05:59 AM
only me having problem with bot? :o i go to bed and when wakeup the bot like pressed the logut botton and the window "are you sure you want to leave tibia?" is open. and that really messing with my backpack opener and looter :/

Forces
02-05-2013, 07:57 AM
im gettting the same problem as FLummer, had it in version 3.0.3 aswell

DarkstaR
02-05-2013, 02:42 PM
Can you guys both provide your scripts?

Eotar
02-05-2013, 07:54 PM
Awesome! Thank you!:rolleyes:

Flummer
02-05-2013, 11:35 PM
Can you guys both provide your scripts?

Dunno really what you mean but my script can be found at:
http://forums.xenobot.net/showthread.php?8377-Flummer-s-free-Scripts&p=94982&viewfull=1#post94982

P.s my english sucks :P

Golocky
02-07-2013, 04:50 AM
it isnt working :S, the bot keep saying to begin operation just right click on your character or in any blank space

http://i49.tinypic.com/24mw5f8.png

DarkstaR
02-07-2013, 02:39 PM
Looks like it's fine to me? lol

Marconi15
02-07-2013, 02:52 PM
Lol.. This is nice

Golocky
02-07-2013, 02:59 PM
Looks like it's fine to me? lol

but I set the walker and doesnt walk =/

DarkstaR
02-07-2013, 03:02 PM
Well that screenshot doesn't really show much and you're not explaining shit. I'll need much more information to make a diagnosis.

Golocky
02-07-2013, 03:05 PM
as you see it the walker is marked and the bot its not paused

http://i47.tinypic.com/2q1ytdi.png

DarkstaR
02-07-2013, 03:14 PM
Enable diagnostic information and post the walker section of your xbst.

Golocky
02-07-2013, 03:17 PM
Enable diagnostic information and post the walker section of your xbst.

how do I get or do that diagnostic information?

NeeP
02-07-2013, 03:19 PM
how do I get or do that diagnostic information?

Open xenobot menu (rightclick yourself) -> Pathfinder -> tick "Show Diagnostic Information"

And for the walker section of your xbst you need to open your xbst file with notepad and copy everything from walker like
<panel name="Walker">

Golocky
02-07-2013, 03:25 PM
here is the screenshot, start before the depositGold()

http://i48.tinypic.com/o8aslh.png


<panel name="Walker">
<control name="WaypointList">
<item text="start:" tag="255"/>
<item text="Node (33098, 32090, 10)" tag="0"/>
<item text="Node (33115, 32111, 10)" tag="0"/>
<item text="Node (33119, 32129, 10)" tag="0"/>
<item text="Node (33139, 32121, 10)" tag="0"/>
<item text="Node (33129, 32106, 10)" tag="0"/>
<item text="Node (33127, 32090, 10)" tag="0"/>
<item text="Node (33136, 32068, 10)" tag="0"/>
<item text="Node (33138, 32021, 10)" tag="0"/>
<item text="Node (33140, 32009, 10)" tag="0"/>
<item text="Node (33133, 32046, 10)" tag="0"/>
<item text="Node (33139, 32075, 10)" tag="0"/>
<item text="Node (33100, 32089, 10)" tag="0"/>
<item text="checkManas():" tag="255"/>
<item text="deposit:" tag="255"/>
<item text="Node (33096, 32089, 10)" tag="0"/>
<item text="Rope (33093, 32090, 10)" tag="3"/>
<item text="Rope (33084, 32088, 9)" tag="3"/>
<item text="Ladder (33072, 32086, 8)" tag="2"/>
<item text="Ladder (33073, 32086, 7)" tag="2"/>
<item text="Stand (33071, 32089, 6)" tag="1"/>
<item text="Stand (33051, 32099, 7)" tag="1"/>
<item text="Self.UseItemFromGround(33052, 32099, 7)" tag="254"/>
<item text="Stand (33051, 32099, 7)" tag="1"/>
<item text="Self.UseItemFromGround(33052, 32099, 7)" tag="254"/>
<item text="Stand (33053, 32095, 6)" tag="1"/>
<item text="Stand (33053, 32095, 6)" tag="1"/>
<item text="Stand (33053, 32095, 6)" tag="1"/>
<item text="sellItems(17846, true):" tag="255"/>
<item text="sellItems(17810, false):" tag="255"/>
<item text="sellItems(17859, false):" tag="255"/>
<item text="sellItems(17813, false):" tag="255"/>
<item text="sellItems(17812, false):" tag="255"/>
<item text="Stand (33051, 32099, 6)" tag="1"/>
<item text="Self.UseItemFromGround(33052, 32099, 6)" tag="254"/>
<item text="Stand (33051, 32099, 6)" tag="1"/>
<item text="Self.UseItemFromGround(33052, 32099, 6)" tag="254"/>
<item text="goBank:" tag="255"/>
<item text="Node (33048, 32096, 7)" tag="0"/>
<item text="Ladder (33032, 32096, 7)" tag="2"/>
<item text="Stand (33009, 32100, 6)" tag="1"/>
<item text="Ladder (33004, 32095, 7)" tag="2"/>
<item text="Stand (33019, 32053, 6)" tag="1"/> ///////start here////////
<item text="depositGold():" tag="255"/>
<item text="wGold((150-Self.ItemCount(268))*50):" tag="255"/>
<item text="wGold((40-Self.ItemCount(236))*100):" tag="255"/>
<item text="Stand (33020, 32059, 6)" tag="1"/>
<item text="Stand (33019, 32053, 7)" tag="1"/>
<item text="Stand (33014, 32048, 7)" tag="1"/>
<item text="depositItems():" tag="255"/>
<item text="Stand (33019, 32052, 7)" tag="1"/>
<item text="Stand (33020, 32059, 7)" tag="1"/>
<item text="Backpacks:" tag="255"/>
<item text="Node (33012, 32054, 6)" tag="0"/>
<item text="Node (32997, 32073, 6)" tag="0"/>
<item text="Stand (32971, 32085, 6)" tag="1"/>
<item text="buyItems(268, 150, true):" tag="255"/>
<item text="buyItems(236, 40, false):" tag="255"/>
<item text="Stand (32973, 32082, 6)" tag="1"/>
<item text="checkManas2():" tag="255"/>
<item text="Node (32998, 32087, 6)" tag="0"/>
<item text="Stand (33004, 32095, 6)" tag="1"/>
<item text="Ladder (33009, 32100, 7)" tag="2"/>
<item text="Stand (33032, 32096, 6)" tag="1"/>
<item text="Node (33047, 32096, 7)" tag="0"/>
<item text="Stand (33071, 32089, 7)" tag="1"/>
<item text="Stand (33073, 32086, 6)" tag="1"/>
<item text="Stand (33072, 32086, 7)" tag="1"/>
<item text="Stand (33084, 32088, 8)" tag="1"/>
<item text="Stand (33093, 32090, 9)" tag="1"/>
</control>
</panel>

Golocky
02-07-2013, 03:29 PM
NeeP do your bot works properly?

NeeP
02-07-2013, 03:38 PM
yyea im botting 7 clients without any problems untill now :)

DarkstaR
02-07-2013, 03:39 PM
yyea im botting 7 clients without any problems untill now :)

So you're saying when you installed this update, 7 clients stopped working?

NeeP
02-07-2013, 03:40 PM
So you're saying when you installed this update, 7 clients stopped working?

Nah lol, I don't have any problems. Just answering his questions if I got problems, too. Just my screenshot folder getting spammed xD need to use less alarms I guess :s

DarkstaR
02-07-2013, 03:41 PM
Nah lol, I don't have any problems. Just answering his questions if I got problems, too

"Until now" would imply that "I was having no problems before now, but I have them now." Just clarifying.

NeeP
02-07-2013, 03:42 PM
Then blame my english skills xD. I didn't intend to say I had flaws before or right after this update.

Golocky
02-07-2013, 03:45 PM
I have been using xeno for 6 months, and never had any problem :S just this one, which is driving me crazy

Golocky
02-07-2013, 03:59 PM
its working fine now, I had to unistall tibia and xenobot and install then again, thank you for your time

Nosekim
02-12-2013, 07:18 PM
where can i find all variables of xenobot?

szulak
02-12-2013, 07:36 PM
where can i find all variables of xenobot?

C:\Program Files (x86)\XenoBot\Data\XenoLuaLib.lua

Nosekim
02-12-2013, 07:39 PM
thx bro ;)
there i found all functions, what about all existent vaariables?
any place i can foud it?

Nosekim
02-12-2013, 08:00 PM
like all self class, client class, monsters etc....

Bastiat
02-14-2013, 03:16 AM
I like the idea of screenshots when leveling up but is it possible to disable or toggle on/off the alarm screenshots? I use the alarms when I'm working on something else on my computer.. but certainly don't want 3.69MB Bitmap screenshots everytime someone attacks me or I fall under low health.. the screenshots folder reached 542MB in like 3 days.. :eek:

I'm also concerned it might put unecessary strain on the CPU just at a time I need everything running smoothly (my laptop overheats quite easily)..

NeeP
02-14-2013, 07:19 AM
I like the idea of screenshots when leveling up but is it possible to disable or toggle on/off the alarm screenshots? I use the alarms when I'm working on something else on my computer.. but certainly don't want 3.69MB Bitmap screenshots everytime someone attacks me or I fall under low health.. the screenshots folder reached 542MB in like 3 days.. :eek:

I'm also concerned it might put unecessary strain on the CPU just at a time I need everything running smoothly (my laptop overheats quite easily)..

Signed

p0pas
02-15-2013, 02:55 PM
just curious when is gonna be next up? Weeks or months? Gratz for great work Dark! Keep it up!

Forces
02-17-2013, 10:15 PM
Can you guys both provide your scripts?


hey darkstar only seems to happen when i use this script. its from a well known scripter and no one else has reported the issue

http://forums.xenobot.net/showthread.php?8821-Joshwa534-amp-Xiaospike-s-100-AFK-Scripts&p=109223&viewfull=1#post109223

kbzin
02-18-2013, 02:50 PM
hey darkstar only seems to happen when i use this script. its from a well known scripter and no one else has reported the issue

http://forums.xenobot.net/showthread.php?8821-Joshwa534-amp-Xiaospike-s-100-AFK-Scripts&p=109223&viewfull=1#post109223

Got that problem too. I think its happening when trying to minimize backpacks maybe. One of the scripts is trying to minimize bps after reseting. Sometimes it works. Sometimes don't and when i look at tibia it says if i want to close.