Cam Position in Three Kingdoms

03/22/2009 19:43 Pwneres#1
Hey guys
I´m making a bot for [Only registered and activated users can see links. Click Here To Register...] and i want to make a walkscript. The x ynd y position are not the problem, but the camera position.
When i want the bot to go north , he must look north....
So how can i find the camera position with cheat engine ?
03/23/2009 20:25 Atheuz#2
Quote:
Originally Posted by Pwneres View Post
Hey guys
I´m making a bot for [Only registered and activated users can see links. Click Here To Register...] and i want to make a walkscript. The x ynd y position are not the problem, but the camera position.
When i want the bot to go north , he must look north....
So how can i find the camera position with cheat engine ?
I would rather suggest you getting the faceangle of your character instead. Not only does it show the correct angle on the top right, but also it will be easier to calculate the quadrants.
03/27/2009 14:09 Pwneres#3
For which values should i search to get the face angle ?
03/28/2009 19:24 Atheuz#4
Quote:
Originally Posted by Pwneres View Post
For which values should i search to get the face angle ?
[Only registered and activated users can see links. Click Here To Register...]

The Green arrow is the direction your character is facing, in this case North should be 0°. Now all you must do it to look for an increasement while rotating to the right, North can be 0 but doesn't have to. If you got the adress you just got to implent it into your formula for deciding if you have to rotate to north, south etc.

If, for some reason you don't want to, you can also make the bot Strafe (Thanks to the stupid game mechanics). Like that you could theoretically remove most of the code for calculating the waypoints etc, but its suspecious since you will walk backwards etc.
03/28/2009 21:17 Pwneres#5
Damn i can´t find it :(
Tried unknown initial value and then i searched increased while rotating , no success
Tried with North = 0 and East 180 and so on , no success :(
05/15/2009 08:17 nabari2323#6
Quote:
Originally Posted by Pwneres View Post
Hey guys
I´m making a bot for [Only registered and activated users can see links. Click Here To Register...] and i want to make a walkscript. The x ynd y position are not the problem, but the camera position.
When i want the bot to go north , he must look north....
So how can i find the camera position with cheat engine ?
can i ask you 2 send me the bot please.
thx
12/15/2009 11:35 WanderingToy#7
hey Pwneres.. r u still here with ur bot? can u share it pls?