X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=data%2Fqcsrc%2Fserver%2Fg_world.qc;h=7f48c6b592cfd7d553187d86112cd76522654a5a;hb=12c3482059eecb00aaafdbe51e13fb101f05cc36;hp=c6776437bf42820ee8083e83a8bfd683e744f271;hpb=e03eccb2fb3597361ddeec65ae447587d6e95bac;p=voretournament%2Fvoretournament.git diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index c6776437..7f48c6b5 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -52,14 +52,14 @@ void OtherPLReport_Think() if(e.stat_eaten) // tempt hackers less by only sending the info of eaten players { if(cvar("g_vore_showhealth")) - WriteByte(MSG_BROADCAST, e.health); + WriteShort(MSG_BROADCAST, e.health); // not WriteByte because we show minus health too else - WriteByte(MSG_BROADCAST, 0); + WriteShort(MSG_BROADCAST, 0); WriteByte(MSG_BROADCAST, num_for_edict(e.predator)); } else { - WriteByte(MSG_BROADCAST, 0); + WriteShort(MSG_BROADCAST, 0); WriteByte(MSG_BROADCAST, 0); } self.cnt = mod(self.cnt + 1, maxclients); @@ -659,11 +659,18 @@ void spawnfunc_worldspawn (void) addstat(STAT_LAST_PICKUP, AS_FLOAT, last_pickup); addstat(STAT_WINNING, AS_FLOAT, winning); addstat(STAT_VORE_LOAD, AS_INT, stat_stomachload); + addstat(STAT_VORE_MAXLOAD, AS_INT, stomach_maxload); addstat(STAT_VORE_CANSWALLOW, AS_INT, stat_canswallow); addstat(STAT_VORE_DIGESTING, AS_INT, stat_digesting); addstat(STAT_VORE_EATEN, AS_INT, stat_eaten); addstat(STAT_VORE_CANLEAVE, AS_INT, stat_canleave); - + addstat(STAT_VORE_PROGRESS_PREY, AS_FLOAT, swallow_progress_prey); + addstat(STAT_VORE_PROGRESS_PRED, AS_FLOAT, swallow_progress_pred); + addstat(STAT_CROSSHAIR_STYLE, AS_INT, stat_crosshair_style); + addstat(STAT_SBRING1_TYPE, AS_INT, stat_sbring1_type); + addstat(STAT_SBRING1_CLIP, AS_FLOAT, stat_sbring1_clip); + addstat(STAT_SBRING2_TYPE, AS_INT, stat_sbring2_type); + addstat(STAT_SBRING2_CLIP, AS_FLOAT, stat_sbring2_clip); next_pingtime = time + 5; InitializeEntity(self, cvar_changes_init, INITPRIO_CVARS);