Peace-Maker
61f59c5b9b
Track spectators for each SourceTV instance seperately
2016-03-06 12:50:07 +01:00
Peace-Maker
10910e8b8e
Pass the right SourceTV instance index in forwards
2016-03-06 12:26:45 +01:00
Peace-Maker
fabdbe7d12
Refactor SourceTV instance hooking
...
Keep the instances in seperate wrappers to clear up the hooks. This
allows for some OnServerStart and OnServerShutdown forwards.
To prepare support for relay servers, CHLTVServer::Shutdown is hooked to
detect shutdown instead of relying on the director unregistering the
instance.
2016-03-06 12:16:38 +01:00
Peace-Maker
4d62d77e55
Clean up some SDK calls to use SourceHook directly
...
Don't use IBinTools to call virtual functions. We're in C++! Use
SourceHook right away. This reduces in less and readable code.
2016-03-03 09:13:59 +01:00
Peace-Maker
55ef2a1eeb
Add SourceTV_OnSpectatorPutInServer forward
2016-03-03 07:23:49 +01:00
Peace-Maker
b6dee3a3a8
Add tv_force_steamauth convar
...
Enable Steam authentication for SourceTV clients. Thanks to @GoD-Tony
for his snippet!
2016-03-03 07:17:40 +01:00
Peace-Maker
c0eb6eb75f
Add natives to get client ip and connect password
...
The hltv server doesn't provide a nice IPlayerInfo interface to get
stuff. Have to grab it and hold on to it while we can!
2016-03-03 02:47:06 +01:00
Peace-Maker
10f7fa56a1
Extract player name in ConnectClient hook in CS:GO
...
CS:GO doesn't send the client name in plain text, but wraps it in some
protobuf construct.
Parse that list of client convars for the player name and use it in the
SourceTV_OnSpectatorPreConnect forward
2016-03-03 01:12:16 +01:00
Peace-Maker
4bb751afaf
Add ClientConnect and Disconnect forwards
...
Let plugins know when new spectators join or leave the SourceTV server.
2016-03-02 23:23:53 +01:00
Peace-Maker
d5424cefdf
Add native and forward documentation to include file
...
Rename some natives for better self explanatory.
2016-03-01 15:00:27 +01:00
Peace-Maker
3210a8d249
Add CSS support
2016-02-29 14:55:23 +01:00
Peace-Maker
e51143d05a
Initial commit of project files
...
CSGO only yet
2016-02-29 09:59:09 +01:00