Merge branch 'release/pre' of https://github.com/RaidMax/IW4M-Admin into release/pre
This commit is contained in:
commit
506b17dbb3
@ -29,8 +29,9 @@ onPlayerConnect( player )
|
|||||||
for( ;; )
|
for( ;; )
|
||||||
{
|
{
|
||||||
level waittill( "connected", player );
|
level waittill( "connected", player );
|
||||||
player setClientDvar("cl_autorecord", 1);
|
player setClientDvars( "cl_autorecord", 1,
|
||||||
player setClientDvar("cl_demosKeep", 200);
|
"cl_demosKeep", 200 );
|
||||||
|
|
||||||
player thread waitForFrameThread();
|
player thread waitForFrameThread();
|
||||||
player thread waitForAttack();
|
player thread waitForAttack();
|
||||||
}
|
}
|
||||||
@ -60,7 +61,7 @@ getHttpString( url )
|
|||||||
|
|
||||||
runRadarUpdates()
|
runRadarUpdates()
|
||||||
{
|
{
|
||||||
interval = int(getDvar("sv_printradar_updateinterval"));
|
interval = getDvarInt( "sv_printradar_updateinterval", 500 );
|
||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
@ -191,7 +192,7 @@ waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
lastAttack = int(getTime()) - int(self.lastAttackTime);
|
lastAttack = getTime() - self.lastAttackTime;
|
||||||
isAlive = isAlive(self);
|
isAlive = isAlive(self);
|
||||||
|
|
||||||
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
||||||
|
@ -53,7 +53,7 @@ waitForAttack()
|
|||||||
|
|
||||||
runRadarUpdates()
|
runRadarUpdates()
|
||||||
{
|
{
|
||||||
interval = int(getDvar("sv_printradar_updateinterval"));
|
interval = getDvarInt( "sv_printradar_updateinterval", 500 );
|
||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
@ -183,7 +183,7 @@ waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
lastAttack = int(getTime()) - int(self.lastAttackTime);
|
lastAttack = getTime() - self.lastAttackTime;
|
||||||
isAlive = isAlive(self);
|
isAlive = isAlive(self);
|
||||||
|
|
||||||
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
||||||
|
@ -60,7 +60,7 @@ waitForAttack()
|
|||||||
|
|
||||||
runRadarUpdates()
|
runRadarUpdates()
|
||||||
{
|
{
|
||||||
interval = int(getDvar("sv_printradar_updateinterval"));
|
interval = getDvarInt( "sv_printradar_updateinterval" );
|
||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
@ -190,7 +190,7 @@ waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
lastAttack = int(getTime()) - int(self.lastAttackTime);
|
lastAttack = getTime() - self.lastAttackTime;
|
||||||
isAlive = isAlive(self);
|
isAlive = isAlive(self);
|
||||||
|
|
||||||
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
logPrint(logString + ";" + anglesStr + ";" + isAlive + ";" + lastAttack + "\n" );
|
||||||
|
Loading…
Reference in New Issue
Block a user