Skip to content
Success

Changes

Summary

  1. Protocol.c: Exclude players in spec team from dist checks (commit: 45efcad) (details)
  2. Packets.c: Send reloading packets as they should be (commit: 0b64974) (details)
  3. Server: Tiny fixes (commit: 4c6b691) (details)
  4. Util: Add Hash map from UThash (commit: 996d263) (details)
Commit 45efcadf99dc37cb228c46c0c7a1950515dc251f by 16738302+Haxk20
Protocol.c: Exclude players in spec team from dist checks

Spectator players cant really move or change their
positions. So the dist checks would fail for them.

Thus rendering some "funny" bugs
(commit: 45efcad)
The file was modified Source/Protocol.c (diff)
Commit 0b64974fdbebed8966e8613313c3cb735f86e7d8 by 16738302+Haxk20
Packets.c: Send reloading packets as they should be

Previously reloading packets would not be
sent to the player that reloaded causing
voxlap to go bonkers which is less then ideal ofc.

Now the indicator that someone started reloading
is sent to everyone except reloading player
and then actual ammo reload is sent to ONLY reloading
player.
(commit: 0b64974)
The file was modified Source/Packets.c (diff)
Commit 4c6b6913bea5af240a31b29d28cee40f764846ab by 16738302+Haxk20
Server: Tiny fixes

Map.c: initialize the arrays with 0s
so valgrind doesnt complains

Rest is just few fixes around reloading logic
(commit: 4c6b691)
The file was modified Source/Protocol.c (diff)
The file was modified Source/Structs.h (diff)
The file was modified Source/Packets.c (diff)
The file was modified Source/Server.c (diff)
The file was modified Source/Map.c (diff)
The file was addedSource/Util/Uthash.h