16 float i, j, n, ibot, jbot, idx;
25 url_fputs(fh,
strcat(
"#date ", strftime(
true,
"%a %b %e %H:%M:%S %Z %Y"),
"\n"));
32 for(i = 0; i < n; ++i)
42 url_fputs(fh, sprintf(
"%s%d %d\t%d %d\t", prefix, i, ibot, j, jbot));
43 url_fputs(fh, sprintf(
"%d %d %g\n", v.x, v.y, v.z));
52 LOG_INFO(
"Got response from weapon stats server:");
104 error(
"negative damage?");
const float URL_READY_CANREAD
const float URL_READY_CLOSED
void WeaponStats_ready(entity fh, entity pass, float status)
void WeaponStats_LogKill(float awep, float abot, float vwep, float vbot)
void WeaponStats_LogItem(float awep, float abot, float vwep, float vbot, vector item)
const float URL_READY_CANWRITE
void WeaponStats_Shutdown()
float cvar_purechanges_count
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
ERASEABLE void url_fputs(entity e, string s)
ERASEABLE void url_fclose(entity e)
#define WEAPONSTATS_GETINDEX(awep, abot, vwep, vbot)
string autocvar_sv_weaponstats_file
vector(float skel, float bonenum) _skel_get_boneabs_hidden
void WeaponStats_LogDamage(float awep, float abot, float vwep, float vbot, float damage)
#define tokenizebyseparator
const float URL_READY_ERROR
ERASEABLE void url_multi_fopen(string url, int mode, url_ready_func rdy, entity pass)
#define pass(name, colormin, colormax)
ERASEABLE string url_fgets(entity e)