I dont know where that is.. can you tell me where?
is it in the main flo.au3 ? I see a function called Bot() where do I put
Sleep(1000) inside ther?
I dont know where that is.. can you tell me where?
is it in the main flo.au3 ? I see a function called Bot() where do I put
Sleep(1000) inside ther?
Last edited by Axe Rogue; 03-15-2008 at 11:27 AM.
Firstly, thanks a bunch for this new bot! I've been looking all over for a free programmable bot as compared to using Pirox.
Now I a few posts back I read about the bot not being able to actually target and attack players. But I was thinking, and I don't know much about AutoIt, but is there a way to create a loop function so that once you say reach an area you loop pressing the "tab" key to search for targets and pressing the spam attack key. If its not to impossible couldn't it be added to strafe a little?
For instance I play a horde druid and when I respawn at stonehearth I usually just defend there. Occasionally an ally would come along but they usually don't hit me and so I don't attack back. This causes the problem of not being on the charts which I get around by letting the bowyers hit me and lifeblooming as well as rejuvs. But not every class could heal but most have some kind of spam attack. By having a loop at the end of my waypoints wouldn't it be able to tab (select enemy) and than spam designate key (2 - moonfire).
Would something like this work? (Do you have to wrap it in <exec></exec>?)
Do
send ("{tab}")
Send ("2")
$i = $i + 1
until $i = 100
Simple, stupid, but at least it looks like your helping.
@Synthesis: currently not possible to write code in the xml file.
But you can write your own auto-it function and just call it via xml-file.
Still, I'm looking into the auto-attack thing, but as written before, don't expect that to happen in the near future.
@axcess: The bot waits 5 minuten for the afk-debuff to clear (and exit to down)
If after 5 minuten still no loggin, then something is wrong
@fyi: lets see....
line 321 after
"Switch G_CurrentStatus
Case 0 ; town"
so i guess it does relog, but then from there it gets stuck in that loop. i think its because when it logs back in the black square is missing even though /flo on is already active. i think when the bot logs back in you should make it send a command to type, "/flo on" unless it already does that?
then it starts to repeat againCode:[06:59:55] [1606246] AFK-DEBUFF detected... logging out and waiting 5 mins [07:05:35] [1946315] logging back in [07:06:35] [2006331] loggin finished - starting bot again [07:06:39] [2009791] AdLib_Func() NS: 0 [07:06:39] [2009791] reset_movement_keys() [07:06:39] [2010244] SCREENSHOT [07:06:40] [2011135] Bot()-COLOR: 0 [07:06:40] [2011135] _GetBaseOffset() [07:06:42] [2013319] JoinBG() [07:06:42] [2013319] GetZone() [07:06:42] [2013320] No Known Zone - can't join BG - try relogging and start bot again
thanks again for all your help Flo! this is really a great botCode:[07:06:48] [2019217] Bot()-COLOR: 0 [07:06:48] [2019217] _GetBaseOffset() [07:06:49] [2019826] JoinBG() [07:06:49] [2019826] GetZone() [07:06:49] [2019854] No Known Zone - can't join BG - try relogging and start bot again
Last edited by axcess; 03-15-2008 at 01:02 PM.
yea, that's a know bug - look in the readme. Not quite sure how to fix that yet, probably just make a "/console reloadui" after logging in.
ZoneID is not written in the RAM correctly after relogging, no idea why that is...
is there a way that i can add that in myself?
yop, look for the relog function "/flo on" should be called somewhere.. just search for it..
and just before it insert something like this:
Sleep(1000)
SendIt("{ENTER}")
SendIt("/console reloadui")
SendIt("{ENTER}")
Sleep(60000)
.....
@synthesis: everything within the <Exec> tag is a function call... ergo WP(...) is a function, SendIt() is a function etc...
Just write anywhere in the script
Func whatever()
....
EndFunc
and in the xml file "<Exec>whatever()</Exec>
Sorry to write once again, but forgot about my problem Flo?
Okay, rather weird :S
Would have loved to give your bot a shot
Quick tip for a mistake in the custom waypoint README file
"TurnToHeading(Heading)
Heading: New Heading in Radian. West = pi/2, south = pi, east = 3*pi/2, north = 0"
Radians work differently, its E=0, N= pi/2, W=pi, S=3*pi/2
correct me if im wrong
yop, usually it works differently, but somehow the rotation is calculated as described in the readme. Eigther Blizzard (or me ^^) made a mistake, but that's how it works.
edit: Italy for 2 weeks in a few hours... so no forum-responses for about 2 weeks. But laptop with me... learning and thinking about programming ^^
Have fun in alterac.. and keep it "casual"... no one want's to get a ban..
Last edited by Flos; 03-15-2008 at 05:49 PM.