q3aServ/osp/Docs/CHN/osp-q3-Logging.txt

118 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-03-13 13:11:06 +01:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪOSP<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>G_LogPrintf()<29><><EFBFBD><EFBFBD><EBA1A3>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ϳ/<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ң<EFBFBD><D2A3>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD>ĸ<EFBFBD><C4B8>á<EFBFBD>
-Rhea
OrangeSmoothie Productions
rhea@OrangeSmoothie.org
http://www.OrangeSmoothie.org
OSP<EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.q3acn.com<6F><6D><EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>cat@q3acn.com<6F><6D>ϵ<EFBFBD><CFB5>
[PS = Player State .. gives player_id, health, armor, and update reason info]
[PS = <20><><EFBFBD><EFBFBD>״̬ .. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҵ<EFBFBD><D2B4>ţ<EFBFBD><C5A3><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C2B6><EFBFBD><EFBFBD><EFBFBD>Ϣ]
-----------------------------------------------------------------------------
G_LogPrintf("PS: %i %i %i -1 REGENERATION\n", ent->s.number, ent->health, ent->client->ps.stats[STAT_ARMOR])
G_LogPrintf("PS: %i %i %i -1 REGENERATION\n", ent->s.number, ent->health, ent->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i -1 HEALTH_MAX\n", ent->s.number, ent->health, ent->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i -1 ARMOR_MAX\n", ent->s.number, ent->health, ent->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i -1 RESPAWN\n", ent->s.number, ent->health, ent->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i -1 HEALTH_PICKUP\n", other->s.number, other->health, other->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i -1 ARMOR_PICKUP\n", other->s.number, other->health, other->client->ps.stats[STAT_ARMOR]);
G_LogPrintf("PS: %i %i %i %i %i\n", targ->s.number, hlth, targ->client->ps.stats[STAT_ARMOR],
(attacker && attacker->s.number < MAX_CLIENTS && attacker->s.number >= 0)?attacker->s.number:ENTITYNUM_WORLD, mod);
(if log_default = 0)
G_LogPrintf("Kill: %i %i %i: %s killed %s by %s %i\n",
killer, self->s.number, meansOfDeath, killerName,
self->client->pers.netname, obit, self->s.weapon);
G_LogPrintf("Game_Start:\n");
G_LogPrintf("Game_End: Timelimit\n");
G_LogPrintf("Game_End: Fraglimit\n");
G_LogPrintf("Game_End: Capturelimit\n");
G_LogPrintf("Game_End: Scorelimit\n");
G_LogPrintf("Resetting back to default settings\n");
G_LogPrintf("Referee Setting: %s\n", level.voteString);
G_LogPrintf("Vote Passed: %s\n", level.voteString);
G_LogPrintf("Vote Failed: %s\n", level.voteString);
G_LogPrintf("DEMORECORD: j[0]=%d, j[1]=%d\n", j[0], j[1]);
Referee/Console pausing
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>̨<EFBFBD><CCA8>ͣ
-----------------------
G_LogPrintf("Pause: %s\n", ref);
G_LogPrintf("Unpause: %s\n", ref);
G_LogPrintf("Unpause: Complete\n");
Timeout/in for teamplay modes
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ/<2F><><EFBFBD><EFBFBD>
-----------------------------
G_LogPrintf("Timeout: RED team\n");
G_LogPrintf("Timeout: BLUE team\n");
G_LogPrintf("Timein: %s team\n", tname[tteam]);
Timeout/in for 1v1
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ/<2F><><EFBFBD><EFBFBD>
------------------
G_LogPrintf("Timeout: %s\n", ent->client->pers.netname);
G_LogPrintf("Timein: %s\n", ent->client->pers.netname);
Weapon stats
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
------------
[non-teamplay] Weapon_Stats <p_id> <weap_name:attempts:hits> ... Given:<x> Recvd:<x>
[teamplay] Weapon_Stats <p_id> <weap_name:attempts:hits> ... Given:<x> Recvd:<x> TeamDmg:<x>
CA-specific
CA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
-----------
G_LogPrintf(va("Game_End: Roundlimit - %s wins match\n", nameteam[team_win]));
CTF-specific
CTF<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
------------
G_LogPrintf("Kill_Carrier: %d\n", attacker-g_entities);
G_LogPrintf("Defend_Hurt_Carrier: %d\n", attacker-g_entities);
G_LogPrintf("Defend_Base: %d\n", attacker-g_entities);
G_LogPrintf("Defend_Flag: %d\n", attacker-g_entities);
G_LogPrintf("Defend_Carrier: %d\n", attacker-g_entities);
G_LogPrintf("Flag_Return: %d\n", other-g_entities);
G_LogPrintf("Flag_Capture: %d\n", other-g_entities);
G_LogPrintf("Flag_Assist_Return: %d\n", player-g_entities);
G_LogPrintf("Flag_Assist_Frag: %d\n", player-g_entities);
G_LogPrintf("Flag_Pickup: %d\n", other-g_entities);
Viewcam Recording
viewcam¼<EFBFBD><EFBFBD>
-----------------
G_LogPrintf("%d %.3f %.3f %.3f %.3f %.3f\n",
snapshot_cnt - 1,
snapshot_pos[snapshot_cnt - 1][0],
snapshot_pos[snapshot_cnt - 1][1],
snapshot_pos[snapshot_cnt - 1][2],
snapshot_view[snapshot_cnt - 1][0],
snapshot_view[snapshot_cnt - 1][1]);
if(!g_dedicated.integer && level.numConnectedClients == 1) {
G_LogPrintf("%d %.3f %.3f %.3f %.3f %.3f\n",
i,
snapshot_pos[i][0],
snapshot_pos[i][1],
snapshot_pos[i][2],
snapshot_view[i][0],
snapshot_view[i][1]);
}