Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Mabinogi
You last visited: Today at 18:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Using AI3/AHK to make Weaving Bot

Discussion on Using AI3/AHK to make Weaving Bot within the Mabinogi forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
Using AI3/AHK to make Weaving Bot

Does anyone know how to get around the fact that Auto It3 and Autohotkey doesn't send input to the Mabinogi window anymore?

I made a C++ program to find the Mabinogi window and send keystrokes in it, and it wouldn't work. But it works in other programs and games. And then I decided to save a lot of time, and use these two programs. Both which don't seem to work at all. I know people are able to do this, and I'm wondering what method they are using to generate key clicks and such.

Are they using AI3/AHK or just C++/Java? And how?
Kisuna is offline  
Old 11/30/2011, 06:45   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 912
Received Thanks: 112
Try using the Native API instead of the Win32 API. Dunno if it will work any better, but worth a shot?
kotarou3 is offline  
Old 11/30/2011, 10:50   #3
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by Kisuna View Post
Does anyone know how to get around the fact that Auto It3 and Autohotkey doesn't send input to the Mabinogi window anymore?
Why say it's a fact that they dont send input to mabinogi, then say you know people can do it?
The "fact" is that Autohotkey works fine. If you can code C++ I think it will be easy for you. AHK works really good for me. I use AHK for weaving, wool & web gathering, wine making, and wood chopping. I've also used it to abuse some events, the fashion show, and train skills.
Quote:
Originally Posted by Kisuna View Post
I'm wondering what method they are using to generate key clicks and such.
I'm using AHK, that's what it does....Hell that's all it does...

I'm betting u missed somthing basic. If you make an exe you probably need to run it as admin. Did you remember to activate the mabinogi window? There are some macros here on EPVP you can use as an example.
VanHef is offline  
Old 12/01/2011, 06:16   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
Quote:
Originally Posted by VanHef View Post
I'm betting u missed somthing basic. If you make an exe you probably need to run it as admin. Did you remember to activate the mabinogi window? There are some macros here on EPVP you can use as an example.
Yes and yes.

I've tried every method available with AHK to send the keystrokes to my Mabinogi window (on the wiki). I've spent a considerable amount of time working on it. As I've said, I've got it to work in other games.

Not sure if this has anything to do with it but I'm running 64-bit.
Kisuna is offline  
Old 12/01/2011, 06:58   #5
 
tylian1's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 352
Received Thanks: 115
AutoHotKey never seemed to work for me.
AutoIt3, on the other hand works wonders.

Either way, you could get both to work by using a .
tylian1 is offline  
Old 12/01/2011, 07:57   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
I'm going to screw around with AutoIt3 more.

And if you feel like being naughty, I might just screw around with you <3.
Kisuna is offline  
Old 12/01/2011, 09:12   #7
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by tylian1 View Post
AutoHotKey never seemed to work for me.
AutoIt3, on the other hand works wonders.

Either way, you could get both to work by using a .
Wow...Now I know Tyl knows what he's talking about, but they both work fine for me, and never needed a bypass so Im really not sure whats with that suggestion.

Quote:
Originally Posted by Kisuna View Post
Yes and yes.
I've tried every method available with AHK to send the keystrokes to my Mabinogi window (on the wiki). I've spent a considerable amount of time working on it. As I've said, I've got it to work in other games.
Not sure if this has anything to do with it but I'm running 64-bit.
I use both AHK and AutoIT on XP 32bit, Vista and 7 64 bit, so that's not a problem. Every method available? Considerable ammount of time? Wiki?
Here's a simple AHK macro to rotate the screen while holding alt and pressing space, just to show how easy it is to send keystrokes and mouse moves and clicks to mabi. It will loops until the spacebar is pressed:

IfWinExist Mabinogi
{
WinActivate
WinGetPos , X, Y, Width, Height, Mabinogi
Loop
{
Send , {Alt down}
MouseClickDrag , R, Width/2, (Height/10)*8, (Width/2)+10, (Height/10)*8
Send , {space}
GetKeyState , Quitter, Space
if Quitter=D
{
Send , {Alt up}
Exit
}
else
Sleep , 300
Send , {Alt up}
}
}
else
MsgBox , Mabi not running

I've got my weaver... Good luck with your's
VanHef is offline  
Old 12/01/2011, 10:16   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
It honestly doesn't work for me on mabi. I click off of Mabinogi and it spams the **** out of my desktop, but when I click on mabi nothing happens.
Kisuna is offline  
Old 12/01/2011, 17:21   #9
 
tylian1's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 352
Received Thanks: 115
AutoIt3 works for me without a Bypass.

AutoHotKey, I honestly just guessed about the bypass, it could very well be the way Mabinogi doesn't play nice with Keyboard hooks that makes it so it doesn't work, too..

Eh. xD
tylian1 is offline  
Old 12/01/2011, 21:18   #10
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by tylian1 View Post
AutoHotKey, I honestly just guessed about the bypass, it could very well be the way Mabinogi doesn't play nice with Keyboard hooks that makes it so it doesn't work, too..
Why say it then? This sounds like another guess. Im not guessing, AHK works. I've used on about 10 PC's, from tablets and notebooks to heavy duty gaming rigs. If AHK doesn't work for you, it's most likely your code is the problem, not AHK.
VanHef is offline  
Old 12/01/2011, 21:39   #11
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
Well I used your code so...
Kisuna is offline  
Old 12/02/2011, 00:49   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 373
Received Thanks: 115
AHK is some pretty grotesque code, it's just a ripoff of AI3. AI3 works completely fine, no problems at all. I've made a few programs using AI3 for Mabi. Must be your code.
Blade3575 is offline  
Old 12/02/2011, 11:39   #13
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 6
Wow, that's funny, I just copied and pasted it from this thread onto other machines and it worked perfect. I don't have to use SendPlay or ControlSend. Bottom line here is that both AHK and AI3 work for other people with no secret tricks needed. When you get them working, your own program will probably work too
VanHef is offline  
Old 12/03/2011, 02:25   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 17
Quote:
Originally Posted by VanHef View Post
Wow, that's funny, I just copied and pasted it from this thread onto other machines and it worked perfect. I don't have to use SendPlay or ControlSend. Bottom line here is that both AHK and AI3 work for other people with no secret tricks needed. When you get them working, your own program will probably work too
I got AI3 working, thanks.

But a pro tip, just because something works on your machine doesn't mean it works for everyone else. Clearly I'm not the only person who can't get AHK to function.
Kisuna is offline  
Old 12/06/2011, 00:13   #15
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by Kisuna View Post
I got AI3 working
Good to hear you got it working
A "pro tip"? Really? A real tip that might help other people, would be to tell people what you were doing wrong, but of course that's not as cool as giving "pro tips".
Quote:
Originally Posted by Kisuna View Post
Clearly I'm not the only person who can't get AHK to function.
You couldnt get AutoIT to function a few days ago either, so what does that prove, other than the fact that you didnt try very hard? My grandma can't get AHK to function either, but that speaks more to my grandma's ignorance than a shortcoming of AHK.
Finally figuring out how to make something work doesn't put you in a position to give "pro tips".
Just because you can't make things work, doesn't mean they dont work. You should have learned that because you just found out with AutoIT.
VanHef is offline  
Reply


Similar Threads Similar Threads
[Request]Can any body make vsro file make server tutorial
09/13/2011 - SRO Private Server - 4 Replies
tutorial : http://www.youtube.com/watch?v=DKOXygNCCOo&fea ture=player_embedded sorry its torkish and my bad english
Weaving .Dll or other program?
03/08/2010 - Mabinogi - 25 Replies
Well, I'm going to be needing something to help me through rank 8 of weaving, and have been looking for a .dll or other program that will gaurantee making finest silks/fabrics. I haven't had any luck so far, so I've come to request one, or have someone clarify if such a thing even exists. Thanks~
[request]weaving mod
10/29/2009 - Mabinogi - 1 Replies
I heard that you could shift the result freely. For example, you make a thin threads but the experience you gain is like finest silk. Is there more mods for weaving? If so, mind posting it.



All times are GMT +1. The time now is 18:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.