Skip to content
Failed

Changes

Summary

  1. Master.c: Remove left over debug messages (commit: 877063c) (details)
  2. OrientationData.c: Ignore invalid orientation (commit: e1b3bcc) (details)
  3. Packets: Do not send 0 orientation vector (commit: e064770) (details)
  4. OrientationData.c: Delete pointless log include (commit: 30174c5) (details)
  5. Source: Use Mersenne Twister random instead of standard rand() (commit: 8835f07) (details)
Commit 877063cb82e5082c224d39b759f65d0e61f4a511 by 16738302+Haxk20
Master.c: Remove left over debug messages

Yes it has some sort of issue.

No i dont know what it is yet....
(commit: 877063c)
The file was modified Source/Server/Master.c (diff)
Commit e1b3bcc77ab36ec2f48877276f69e14eb011c2b2 by 16738302+Haxk20
OrientationData.c: Ignore invalid orientation

In some cases clients could send 0 vector.

This could crash the server and it would end up
rendering the player invisible on voxlap.
(commit: e1b3bcc)
The file was modified Source/Server/Packets/OrientationData.c (diff)
Commit e064770ffb785fc79dc5c0d3be34c09554228798 by 16738302+Haxk20
Packets: Do not send 0 orientation vector
(commit: e064770)
The file was modified Source/Server/Packets/WorldUpdate.c (diff)
The file was modified Source/Server/Packets/OrientationData.c (diff)
Commit 30174c56ef8366c0433000a441192dd4f24d3ea6 by 16738302+Haxk20
OrientationData.c: Delete pointless log include
(commit: 30174c5)
The file was modified Source/Server/Packets/OrientationData.c (diff)
Commit 8835f072507c6c5a9d20412432c983336231bdc4 by 16738302+Haxk20
Source: Use Mersenne Twister random instead of standard rand()

rand() uses PRNG which is known for its issues and can be easily
cracked with some inputs. MT while not perfect is more then random
enough and its actually even faster then PRNG.

Not perfect but good enough
(commit: 8835f07)
The file was modified Source/Server/Player.c (diff)
The file was modified Source/Server/Structs/ServerStruct.h (diff)
The file was addedSource/Util/MersenneTwister/MT.h
The file was modified Source/Util/CMakeLists.txt (diff)
The file was addedSource/Util/MersenneTwister/MT.c
The file was modified Source/Server/Server.c (diff)
The file was modified Source/Server/IntelTent.c (diff)