Search found 10 matches

by kornflake
Wed Jan 13, 2010 2:38 am
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Ok I'll try investigate this issue in more depth when I have more time and will let you know.
by kornflake
Tue Jan 12, 2010 3:33 am
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

That didn't help (well maybe I should update it in more places to make it work). One thing I noticed though is that even on windows it did that type of going around in circles and if I'm not mistaken it had something to do with the fact that I moved the game's window (I just restarted MicroMacro in ...
by kornflake
Mon Jan 11, 2010 1:31 pm
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

I did already try that option with the same result unfortunately. What I can say is that positions seem to be correct (I used the waypoint file created under WINE in windows and it worked), so that means that angles are created fine as well (unless the math module passing through wine was damaged, w...
by kornflake
Mon Jan 11, 2010 2:01 am
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Yes I got to this code and saw the 3 seconds limit. It is possibly because of the slower execution of code due to WINE emulation, so I'm gonna try to raise this up to 7 seconds and see if I get any difference. Update: Ok, it didn't help at all. One thing I noticed is that the character keeps rotatin...
by kornflake
Mon Jan 11, 2010 12:08 am
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Well the problem as I said is that it does happen very often, almost every time it tries to reach a new waypoint. Also, I tried it on native windows and it seems to work pretty well so it is probably caused by WINE. Do you have any idea about what could cause this? What is it that it checks to deter...
by kornflake
Sun Jan 10, 2010 11:17 pm
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Ok, I've been trying it out and noticed how very often (almost on every step) it spits out a red error message saying something about the player getting stuck and attempting to unstuck it, then starts running in circle a couple times and jumps, but this happens in the middle of empty flat areas with...
by kornflake
Sun Jan 10, 2010 8:26 pm
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Ok I found a bit of an ugly hack solution but it seems to work. This uses the ReadConsoleInput group of APIs to read console input events. So I had it working by simply modifying the keyboard engine source files and no other modification was needed. I'm attaching here the new code so other people ca...
by kornflake
Sun Jan 10, 2010 12:50 pm
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

What functions? You mean GetKeyState? It is then possible that WINE uses internally the message queue to register what keys are pressed per-process. This could also explain why when I run it through WINE I don't get any error or "fixme" regarding these APIs. Anyway what I suggested was exa...
by kornflake
Sun Jan 10, 2010 1:58 am
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

Re: MicroMacro and WINE

Yes I know that's why I initially suggested using simply standard input. I can see that maybe the reason you use async keyboard access is to maintain some kind of parallel processing Lua side with co-routines considering Lua doesn't have good support for multi-threading. But I think a good compromis...
by kornflake
Sat Jan 09, 2010 5:10 pm
Forum: MicroMacro general & support
Topic: MicroMacro and WINE
Replies: 18
Views: 3581

MicroMacro and WINE

Hi, I'm trying to use MicroMacro on WINE (for rom) and it kind of works, actually seems to work fine (to the point that the character moves, attacks, levels up etc.). The only problem I have is the system used to retrieve user input, which seems not to work at all. I used autostart for the botting p...