urbanyoung / Phasor

Phasor is a server extension for Halo PC which focuses on giving the end-user the ability to deeply customize gameplay. Phasor does this via its scripting system, which uses the Lua language. Scripters are able to react to and change many different aspects of the game.
MIT License
19 stars 9 forks source link

Admin hash-checking doesn't always work #38

Closed urbanyoung closed 11 years ago

urbanyoung commented 11 years ago

OnHashValidation can be called before OnPlayerWelcome, so the player doesn't exist.

Solution: Hook where machines are assigned (probably on first connect) and create a synonymous Phasor machine, store if the hash has been validated there and then check it in s_player::s_player()

urbanyoung commented 11 years ago

fixed 1d6a7e21c49b3a25974bdd639a8572167abcd43c