Page 1 of 1

Ace Of Spades Library for AutoHotkey

Posted: Sun Mar 03, 2013 7:06 am
by gamax92
This is a library of functions I use in my AoS tools.
Documentation is included in the Library.

With this library you can do things like:
Code: Select all
Open the chatbox and close it.
Open the map and close it.
Write text to the chatbox.
Get lines of text from the chat
Check what the player is doing
and more. 
Requires Memory Functions by Gamax92

Download Source

Re: Ace Of Spades Library for AutoHotkey

Posted: Mon Apr 29, 2013 8:24 pm
by sgreenden
What is an ace of spades library and what is autohotkey?

Re: Ace Of Spades Library for AutoHotkey

Posted: Tue Apr 30, 2013 12:11 am
by learn_more
sgreenden wrote:
What is an ace of spades library and what is autohotkey?
if you need to ask this, it's of no use to you.

Re: Ace Of Spades Library for AutoHotkey

Posted: Tue Apr 30, 2013 12:28 am
by Jdrew
sgreenden wrote:
What is an ace of spades library and what is autohotkey?
How should I explain this..

Re: Ace Of Spades Library for AutoHotkey

Posted: Tue Apr 30, 2013 2:22 am
by learn_more
some stuff you might find usefull:
Code: Select all
0x86204 = xresolution
0x86aac = yresolution
0x13B1F10 = player name

0x13CFD34 = current game state:
0 - User is choosing name
1 - Loading
2 - Choosing team
3 - Choosing weapon
4 - Ingame

0x13CFCE0 = teamname & color (first 12 bytes name, last 4 color, for 2 or 3 teams

char* TeamName( int team )
{
	return (char*)(offsets.teamname + (team & 3) * 16);
}

Color TeamColor( int team )
{
	return *(Color*)(offsets.teamname + 12 + (team & 3) * 16);
}