Spockhammer
02-22-2007, 01:29 PM
i know this thread has been posted before, but for all the times i've dl'd them they've never really worked.
I'd like to try finding one again, so if anyone has a stand alone demo drop script please post it up :)
im talking, automatically clicks record and starts a new demo during mission change
i dont need an auto namer
GreyHound
02-24-2007, 01:49 PM
i hope you have some kind of scriptpack or so that throws some events
try this, i hope it works for you
Event::Attach(eventMissio nInfo, DD::SetupDemo);
function DD::SetupDemo() {
$ConnectedToServer = FALSE;
setCursor(MainWindow, "Cur_Arrow.bmp");
disconnect();
deleteObject(ConsoleSched uler);
newObject(ConsoleSchedule r, SimConsoleScheduler);
cursorOn(MainWindow);
$recordDemo = true;
setupRecorderFile();
connect($Server::Address) ;
}
random
02-25-2007, 03:41 PM
don't forget to have $recorderFileName=""; on a disconnect/new connection event, to stop previous demos from being overwritten
aka one of the most annoying bugs ever
Plasmatic
03-01-2007, 04:33 AM
i hope you have some kind of scriptpack or so that throws some events
try this, i hope it works for you
Event::Attach(eventMissio nInfo, DD::SetupDemo);
function DD::SetupDemo() {
$ConnectedToServer = FALSE;
setCursor(MainWindow, "Cur_Arrow.bmp");
disconnect();
deleteObject(ConsoleSched uler);
newObject(ConsoleSchedule r, SimConsoleScheduler);
cursorOn(MainWindow);
$recordDemo = true;
setupRecorderFile();
connect($Server::Address) ;
}
If you don't have a script pack, and really wanted something stand alone, add...
function remoteMissionChangeNotify (%serverManagerId, %nextMission)
{
if(%serverManagerId == 2048)
{
cls();
echo("Server mission complete - changing to mission: ", %nextMission);
echo("Flushing Texture Cache");
flushTextureCache();
//schedule("purgeResources(true);", 3);
DD::SetupDemo(); //
}
}
Spockhammer
03-05-2007, 05:33 PM
thanks for the help guys... but :(
im runinng presto pack and for some reason when i add plasmatic's code it just crashes my tribes
greyhounds never really did anything standalone
Idoes not has events?
should i exec('events.cs.///prestofolder"); or whatever?
i will try that now
Lemon
03-05-2007, 06:43 PM
You didn't say anything about presto pack in your first post. That's important info.