TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gary rizzo
NA
1
2k
WAKFU automated program
Aug 14 2012 2:45 PM
i'm currently implementing an automated program that picks up herb seeds in WAKFU. I have done a lot of research and am almost done. The only issue i have is with the mouse click. when i click the mouse on the "Harvest icon" it seems that the mouse ignores the harvest icon and presses on the ground, for which my character moves instead of harvesting
please reference this video i uploaded.
http://youtu.be/W69hKqtH9HE
The code for mouse clicking
public
void
MouseClickLeft
()
{
int
x
=
Cursor
.
Position
.
X
;
int
y
=
Cursor
.
Position
.
Y
;
mouse_event
(
MOUSEEVENTF_LEFTDOWN
,
x
,
y
,
0
,
0
);
mouse_event
(
MOUSEEVENTF_LEFTUP
,
x
,
y
,
0
,
0
);
}
public
void
MouseClickRight
()
{
int
x
=
Cursor
.
Position
.
X
;
int
y
=
Cursor
.
Position
.
Y
;
mouse_event
(
MOUSEEVENTF_RIGHTDOWN
,
x
,
y
,
0
,
0
);
mouse_event
(
MOUSEEVENTF_RIGHTUP
,
x
,
y
,
0
,
0
);
}
Point
point3
=
new
Point
(
points
[
0
].
X
+
60
,
points
[
0
].
Y
-
60
);
LinearSmoothMove
(
point3
,
delayt
);
MouseClickLeft
();
Please tell me if you need any more code.
Thanks!
Reply
Answers (
0
)
Putting a tab character in an output record.
Parallel Arrays & while loop