// now actually set the event data
db_put(PS_D_IN_DB, sprintf("#%s", event), data);
- print("Added item ", sprintf("#%s", event), "=", data, " to PS_D_IN_DB\n");
+ dprint("Added item ", sprintf("#%s", event), "=", data, " to PS_D_IN_DB\n");
}
void PlayerStats_PlayerDetail(void)
}
//uri = strcat(uri, "/player/", uri_escape(crypto_getmyidfp(0)));
- print("Retrieving playerstats from URL: ", autocvar_g_playerstats_playerdetail_uri, "\n");
+ dprint("Retrieving playerstats from URL: ", autocvar_g_playerstats_playerdetail_uri, "\n");
url_single_fopen(
autocvar_g_playerstats_playerdetail_uri,
FILE_APPEND,
{
case URL_READY_CANWRITE:
{
- print("PlayerStats_PlayerDetail_Handler(): Sending data to player stats server...\n");
+ dprint("PlayerStats_PlayerDetail_Handler(): Sending data to player stats server...\n");
url_fputs(fh, "V 1\n");
#ifdef WATERMARK
url_fputs(fh, sprintf("R %s\n", WATERMARK));
me.TDempty(me, 0.2);
me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Distance:")));
setDependent(e, "cl_particles", 1, 1);
- me.TD(me, 1, 2, e = makeXonoticSlider(200, 500, 20, "r_particles_drawdistance"));
+ me.TD(me, 1, 2, e = makeXonoticSlider(200, 500, 20, "r_drawparticles_drawdistance"));
setDependent(e, "cl_particles", 1, 1);
me.TR(me);
me.TDempty(me, 0.2);
void XonoticStatsList_getStats(entity me)
{
- print("XonoticStatsList_getStats() at time: ", ftos(time), "\n");
+ dprint("XonoticStatsList_getStats() at time: ", ftos(time), "\n");
// delete the old buffer if it exists
if(me.listStats >= 0)
buf_del(me.listStats);