Skip to content
Success

Changes

Summary

  1. Util/Log.c: Add seconds to time (commit: 92950d7) (details)
  2. Packets.c: Normalize vector locally to player (commit: 00ae02b) (details)
  3. Map.c: Add status for transforming from VXL (commit: 83925a1) (details)
  4. Packets.c: Set 2048 char limit on messages (commit: 1c91d97) (details)
  5. Packets.c: Handle non null ending messages correctly (commit: 216fef7) (details)
  6. Packets.c: Fix handling of non null terminates strings (commit: c15f3b1) (details)
  7. Packets.c: Remove status from debug and 1 extra char (commit: 1482c13) (details)
  8. Source: Add prototypes to all function declarations (commit: d89fdde) (details)
Commit 92950d72ea63f6c74cc50af8b08521f7caa079ce by 16738302+Haxk20
Util/Log.c: Add seconds to time

Seconds are definetly useful when players log on and etc.
(commit: 92950d7)
The file was modified Source/Util/Log.c (diff)
Commit 00ae02b1b08ffefd0f1ed0d54390277713b277a7 by 16738302+Haxk20
Packets.c: Normalize vector locally to player

This has few advantages over the old method. 1
being that it doesnt need to normalize vectors
that were slightly over 1 and thus screwing up
throwing of grenades in rare scenarios (Jumping and up orientation)
But also makes sure that if player has speedhacks grenades
wont be affected by it as much as they would be.
(commit: 00ae02b)
The file was modified Source/Packets.c (diff)
Commit 83925a18e6d11fb4ff212b23b87ecf82d22d38fd by 16738302+Haxk20
Map.c: Add status for transforming from VXL
(commit: 83925a1)
The file was modified Source/Map.c (diff)
Commit 1c91d97de3fd230b59134cd464dfff42cda17c24 by 16738302+Haxk20
Packets.c: Set 2048 char limit on messages

This is to prevent malicious acters from
doing bad bad things
(commit: 1c91d97)
The file was modified Source/Packets.c (diff)
Commit 216fef77e803e88bacc75021203501f3ee8e3e74 by 16738302+Haxk20
Packets.c: Handle non null ending messages correctly

If we were to send the server a non null ending string
(An error in client side) the server would continue reading
until hitting a NULL and then stopping.

This could be used for attacks and must be handled
(commit: 216fef7)
The file was modified Source/Packets.c (diff)
Commit c15f3b15567ce66815e4b2d0eee6e619105991a5 by 16738302+Haxk20
Packets.c: Fix handling of non null terminates strings

Well an error there and there and we have a nice case
of head scratching.

This is now correct
(commit: c15f3b1)
The file was modified Source/Packets.c (diff)
Commit 1482c1362c7efe5ff53faeb47132fdaaed276eb9 by 16738302+Haxk20
Packets.c: Remove status from debug and 1 extra char
(commit: 1482c13)
The file was modified Source/Packets.c (diff)
Commit d89fddea99ae900b4171be6b8475d015b55c36ea by 16738302+Haxk20
Source: Add prototypes to all function declarations

int main() is not allowed in any C version
and it should be int main(void) and this
goes for all functions. All functions must have
a prototype even if a void one
(commit: d89fdde)
The file was modified Source/Server.h (diff)
The file was modified Source/Server.c (diff)
The file was modified Source/Protocol.c (diff)
The file was modified Source/Util/Compress.h (diff)
The file was modified Source/Util/Compress.c (diff)