import flash.utils.*;
// 5sek
var myTimer:Timer = new Timer(5000);
myTimer.addEventListener("timer", timedFunction);
myTimer.start();
function timedFunction(eventArgs:TimerEvent)
{
//tsktsk
}
Found this useful code by Aidan Lister a while a go. Im posting it here for safe keeping. I might need it again in future.
/** * Delete a file, or a folder and its contents (stack algorithm) * * @author Aidan Lister <> * @version 1.0.0 * @link http://aidanlister.com/repos/v/function.rmdirr.php * @param string $dirname Directory to delete * @return bool Returns TRUE on success, FALSE on failure */ <?php function rmdirr($dirname) { // Sanity check if (!file_exists($dirname)) { echo "no directory by that name"; return false; } // Simple delete for a file if (is_file($dirname)) { return unlink($dirname); } // Loop through the folder $dir = dir($dirname); while (false !== $entry = $dir->read()) { // Skip pointers if ($entry == '.' || $entry == '..') { continue; } // Recurse rmdirr("$dirname/$entry"); }// end while looping // Clean up $dir->close(); return rmdir($dirname); } ?>
## WHAT THIS FREELANCER CHEAT DOES LELELELOLOL ##
1) Changes cargo&radar range to 15k.
2) You can see players at 15k range in space (Brackets)
3) You can click on players at 15k range
4) Faction name will be shown in contact list.
5) Contact list updates alot faster
6) Tradelane acceleration is faster (The tradelane speed isnt changed – thats detected)
7) Ships Y and X turnrate is doubled few times
Download Freelancer Multiplayer Hack
Note:
This is console application – when you start it a message pops up because i have packed this with some trial version thingie. Just click OK. This was tested 2009 06. It may or may not be working on multiplayer anymore.
Have fun with this freelancer cheat!
I was talking with my friend other day that it would be a great to have a tool which would convert datatypes from one to other and it seems he made it a reality.

You need to set ThreadActive to false after your program has finished working. Otherwise i think the thread wont be closed by itself.
#define KEYDOWN(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)
DWORD dwThreadId;
DWORD dwExitCode;
bool Acceleration = false;
bool ThreadActive = true;
UINT TimerThread();
void EhitaL6ng()
{
HANDLE hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)TimerThread, NULL/*&lParms*/, 0, &dwThreadId);
LastErr("Thread declaration");
}
UINT TimerThread()
{
//See tuleks enne progre töö lõppu falseks lükata kuskil
//DLL_DETACH'is ntx
while(ThreadActive)
{
if (KEYDOWN(VK_NUMPAD1))
{
switch (Acceleration)
{
case true:
printf("True \n");
break;
case false:
printf("False \n");
break;
}
Acceleration = !Acceleration;
}
Sleep(250);
}
ExitThread(NULL);
};