Page 1 of 1

AirRivals AutoShooter

Posted: Sat Mar 15, 2008 1:44 pm
by 3cmSailorfuku
Been bored and got tired of shooting by myself.

Code: Select all

 Secondary_addr = 0x0CE0A810;
 Primary_addr = 0x094F0FF0;

function main()
  attach( findWindow("AirRivals_R") );
  proc = openProcess( findProcess("AirRivals_R") );
  setPriority(PRIORITY_HIGH);

  while(true) do
  Secondary = memoryReadByte(proc, Secondary_addr);
    if( Secondary == 1 ) then
     mouseRClick();
	end
  Primary = memoryReadByte(proc, Primary_addr);
   if( Primary == 1 ) then
     mouseLClick();
	end
    rest(2);
  end
end

startMacro(main, true);
The adresses have to be fixed first though. It basically shoots the secondary weapon when the Target has been locked on, and the primary when the target is on sight and marked.
Don't know if its helpful, but micromacro is really useable everywhere.

Bleh it would be better with a priority system and a distance calculation, but its not that dramatic. The only advance you will probably have is that the rockets will be shot faster than others, because there are some clean frames in the lockon animation.

Image

Re: AirRivals AutoShooter

Posted: Sat Mar 15, 2008 4:22 pm
by Administrator
Nice job! Isn't this game also known as Space Cowboy Online? Or is this one of those instances where there's different versions for different countries under a different name?

Re: AirRivals AutoShooter

Posted: Sun Mar 16, 2008 6:19 am
by 3cmSailorfuku
elverion wrote:Nice job! Isn't this game also known as Space Cowboy Online? Or is this one of those instances where there's different versions for different countries under a different name?
SCO has been shut down and got bought by GameForge which named it Flysis/AirRivals.