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..
one more thing, to make this profile easier to make, is there anyway you can make record_path.exe have a hot key to press the button? i get killed by horde because im stopping every second to record lol, its very difficult.
i looked around on autoit scripting, really couldnt find much on implementing hotkeys ><
havent programmed anyhting in years so id really appreciate your help
one more thing, to make this profile easier to make, is there anyway you can make record_path.exe have a hot key to press the button? i get killed by horde because im stopping every second to record lol, its very difficult.
i looked around on autoit scripting, really couldnt find much on implementing hotkeys ><
havent programmed anyhting in years so id really appreciate your help
hm.. trying to look into this... on top of my head I only can think of:
HotKeySet("SomeHotKey", "FunctionName") ;
Where FunctionName of course is the function that writes the WP(..)-stuff and SomeHotKey the usual weired auto-it-key-thing.
Don't have windows currently, so you have to figure this one out on your own for now.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 1
Posts: 10
Join Date: Aug 2007
03-15-2008
i added in those lines of code you gave me earlier into the 20080313_alpha_0_3\WOW\src\flo.au3 file, but when i try to run it i keep getting a problem...any guess why? the normal flo.exe works, but when i try to run the script in the src file it gives me errors.
i added in those lines of code you gave me earlier into the 20080313_alpha_0_3WOWsrcflo.au3 file, but when i try to run it i keep getting a problem...any guess why? the normal flo.exe works, but when i try to run the script in the src file it gives me errors.
Just went over the syntax again, there shouldn't be any errors if you just add those lines..
and ad. wine... computer is too old, can't even get wow to work with wine (1-2 fps ^^). Possible that it will not work, because it uses TLS (windows api-functions)...
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 3
Posts: 3
Join Date: Feb 2008
03-16-2008
Flos, would you know any specific reason why your bot would run outside the cave, in av, then right after exiting the cave it would run back in to the starting point before mounting because of some error and just keep trying to start again and again from the beginning, before it quits.
Damn.... I added a sleep(10000) under Case 0 ; town
and I still got th error when i left a BG...
([00:37:14] [698175] reset_movement_keys()
[00:37:15] [699163] _GetBaseOffset()
[00:37:15] [699179] failed reading address: 0x00000000
[00:37:15] [699179] Last Error: 299
[00:37:15] [699179] failed reading address: 0x00000000
[00:37:15] [699179] Last Error: 299
[00:37:25] [709197] STATUS: TOWN
[00:37:25] [709197] JoinBG()
[00:37:25] [709197] GetZone()
[00:37:25] [709197] failed reading address: 0x00000000
[00:37:25] [709197] Last Error: 299
Flos, would you know any specific reason why your bot would run outside the cave, in av, then right after exiting the cave it would run back in to the starting point before mounting because of some error and just keep trying to start again and again from the beginning, before it quits.
the reason why is because you for some reason have the coordinates for the inside of the cave set under <afterstart>
i suggest you look into it, its pretty easy to figure out, especially since you already did the <beforestart>
Here you guys, i made a new version of Record_path.exe to ease the recording, its set to SHIFT + F
No malicious code entered, and modified source included
MAKE SURE THAT IS NOT ONE OF YOUR IN GAME BINDINGS
all credit to flos of course
[Only registered and activated users can see links. ]
Flos, a strange bug ive noticed, it seems that if you open the program via shortcuts, it doesnt properly create the recording file, therefore losing all data, it must be executed directly, any idea?
Flos, a strange bug ive noticed, it seems that if you open the program via shortcuts, it doesnt properly create the recording file, therefore losing all data, it must be executed directly, any idea?
isn't AutoIt great? ^^ - With this "visual" etc. stuff I have almost no experience, you just have to play around with it.
@ fyi : hm.. _GetBaseOffset() is called correctly, no idea why the player-struct is still not found afterwards.
@doublede: change "ExtendedStatusDetection" to "1" in the ini file and look if its working now. If it's still not working than you probably have a bad xml-file.
and now I'm off to italy, have fun leeching honor ^^
Im really lazy atm, but i think it would be a GREAT idea to add the <Exec></Exec>
tag into that function, then you would be able to copy and paste the waypoint list in there, cause my lists are going nearly to 15 kb a piece, which is a ton to hand edit.
Heres a little VBScript to add the <Exec>X,Y,Z</Exec> to your files
just make a text file, rename it to whateveryouwant.VBS
then open it with notepad, and edit the bit that says CHANGETHISTOYOURFILENAME.TXT to whatever the name is, you have to do this in two different places in the code, then exectute it, rinse repeat.
Code:
Const ForReading = 1
Const ForWriting = 2
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile("CHANGETHISTOYOURFILENAME.TXT", ForReading)
Do Until objTextFile.AtEndOfStream
strNextLine = "<Exec>" + objTextFile.Readline + "</Exec>"
strNewFile = strNewFile & strNextLine & vbCrLf
Loop
objTextFile.Close
Set objTextFile = objFSO.OpenTextFile("CHANGETHISTOYOURFILENAME.TXT", ForWriting)
objTextFile.WriteLine strNewFile
objTextFile.Close