Jackarunda/gmod

Exploits in net system

Closed this issue · 1 comments

JMod_MineColor, JMod_ArmorColor, JMod_SignalNade (lua/jmod/sv_net.lua) can be used for no restrict change color of any entity at the map (players, props, worldprops, etc.).

Example:

net.Start"JMod_MineColor"
  net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
  net.WriteColor(Color(255, 0, 0))
  net.WriteBit(false)
net.SendToServer()

Suggestion: Add a entity class whitelist and distance validation with DistToSqr (for optimize) in receivers.

Fixed by #81.