fixed.
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: fixed.
I assume you are talking about Shaiya. If this is the case, the reason for the skills not working is pretty much because I didn't like the game too much. The PVP was fun for about a day, but other than that, it's a boring game. If you just examine the script, you can probably figure out how to make skills work. I don't currently have the game installed, so I cannot really work on it too well, but I can advise and support you.
Re: fixed.
yeah i guess it would be these then that do not work:
key_skill1 = key.VK_3;
key_skill2 = key.VK_4;
key_skill3 = key.VK_5;
while these are working great:
i have never looked at lua before this, but it seems i'm missing code like:
for the VK_3, 4 and 5 keys.
all im really trying to do is have it, after a mob is engaged.. press 1 key, then the 2nd.
if it ran the combo only once, that would be awesome.
because this game is fresh still.. it is fun until Aion is out.. i see nothing better atm /shrug
key_skill1 = key.VK_3;
key_skill2 = key.VK_4;
key_skill3 = key.VK_5;
while these are working great:
Code: Select all
class = CLASS_WARRIOR;
key_attack = key.VK_1;
key_pickup = key.VK_2;
key_sit = key.VK_C;
i have never looked at lua before this, but it seems i'm missing code like:
Code: Select all
keyboardPress(key_attack);
if( have_target() ) then
if( class == CLASS_WARRIOR ) then
fight_warrior();
elseif( class == CLASS_MAGE ) then
fight_mage();
end
all im really trying to do is have it, after a mob is engaged.. press 1 key, then the 2nd.
if it ran the combo only once, that would be awesome.
because this game is fresh still.. it is fun until Aion is out.. i see nothing better atm /shrug
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: fixed.
It presses 1 to target and attack. Then checks if you actually have a target, and if so, it leads you to the correct fight function. Since you are a melee, you need to be looking at function fight_warrior().
Now, the problem comes with the fact that you have no way of knowing if you are actually attacking the monster, or if you are still running up towards it.
Now, the problem comes with the fact that you have no way of knowing if you are actually attacking the monster, or if you are still running up towards it.
Re: fixed.
yeah thats what i was thinking.. a timer would not work well either..
but maybe atk, then after three seconds run 2, run 3, back to atk.
as long as these are skills that would make the character run within range of mob to execute..
but maybe atk, then after three seconds run 2, run 3, back to atk.
as long as these are skills that would make the character run within range of mob to execute..
- 3cmSailorfuku
- Posts: 354
- Joined: Mon Jan 21, 2008 6:25 pm
Re: fixed.
Actually there is. Can be done on alot of ways, all you have todo is to check the hp within the given time - if it decreased then your way isnt obstructed and there arent any problems, if you are attacking or not can be written onto a variable which could be checked before running the second routine or sitting.elverion wrote:It presses 1 to target and attack. Then checks if you actually have a target, and if so, it leads you to the correct fight function. Since you are a melee, you need to be looking at function fight_warrior().
Now, the problem comes with the fact that you have no way of knowing if you are actually attacking the monster, or if you are still running up towards it.
You could check if you are walking, enganged into combat, if a target is selected etc.
There's almost any offset for your liking, DJMAX for example also switches a value to 1 if theres a possible "perfect". Read the offset and send the key. I think the possibility of reading the memory in micromacro is underestimated And it's sooooo easy.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: fixed.
I like that suggestion: it's cheap and hackish!
The only problem with reading memory is that addresses tend to change, resulting in me having to reinstall games and look for them all over again every couple of weeks. I have no problem scripting it if others can help find addresses.
The only problem with reading memory is that addresses tend to change, resulting in me having to reinstall games and look for them all over again every couple of weeks. I have no problem scripting it if others can help find addresses.
- 3cmSailorfuku
- Posts: 354
- Joined: Mon Jan 21, 2008 6:25 pm
Re: fixed.
It's possible to program a little "helper" which dumps a game.exe's offsets, but that would be more annoying since you need to setup it for each game. Almost anybody can use ArtMoney and CheatEngine nowadayz, even Spiro's tools. But it's not always the best choice to rely on users.elverion wrote:I like that suggestion: it's cheap and hackish!
The only problem with reading memory is that addresses tend to change, resulting in me having to reinstall games and look for them all over again every couple of weeks. I have no problem scripting it if others can help find addresses.
Who is online
Users browsing this forum: No registered users and 21 guests