Commit Graph

83 Commits

Author SHA1 Message Date
BotoX
88440a741c 1.10 2019-09-25 21:11:59 +02:00
BotoX
0ea1c1ee1c remove Werror 2019-09-21 22:19:30 +02:00
peace-maker
e48cb055f0
Merge pull request #10 from Bara/patch-1
Set _GLIBCXX_USE_CXX11_ABI to 0
2019-06-02 12:09:19 +02:00
Bara
5f14073af1
Set _GLIBCXX_USE_CXX11_ABI to 0
Fix for builds against souremod 1.10 and csgo(?) linux servers.

Build loads fine without any cxx11 errors like before.
2019-06-02 11:07:26 +02:00
Peace-Maker
9d07c9d74c Check if requests for interfaces succeed
IBinTools might not be available if we're running on a newer SourceMod version than the extension is compiled against.
2019-04-09 18:00:58 +02:00
peace-maker
0a5cab577a
Merge pull request #8 from nosoop/translation-support
Add translation support to SourceTV_PrintToChat
2018-11-30 09:14:06 +01:00
nosoop
9ad3aa29f3 Forgot to deduplicate client bot index 2018-11-21 22:17:36 -08:00
nosoop
29f76a6737 Lay groundwork for client language property
Abstract the language getter to HLTVClientWrapper::GetLanguageId so we have the option of having native setters / getters in SourcePawn to assign language.

Whether we actually do something about it, I don't know.
2018-11-19 07:57:00 -08:00
nosoop
4c38126ac3 Add translation support to SourceTV_PrintToChat 2018-11-17 23:09:10 -08:00
Peace-Maker
067b238bd2 Support all flavors of VS 2017.X
This also drafts support to compile against SM 1.10, since the x64 support in there changed the CDetour lib.
2018-02-06 15:53:04 +01:00
Peace-Maker
060684a4cc Fix CS:GO host_client address gamedata #4
Another decimal vs. hex fuckup. I shouldn't be updating gamedata in the middle of the night.
2018-02-06 15:52:09 +01:00
Andreas Willinger
c459c61e11 Fix CS:GO linux signature 2017-12-24 23:49:33 +01:00
awillinger
cb3ece1d01 Fix CS:GO Linux signatures 2017-12-02 16:02:52 +01:00
Peace-Maker
bdf9fa8e72 Fix linux CSGO gamedata #3
Heximal vs. decimal brainfart..
2017-07-19 13:24:52 +02:00
Peace-Maker
f11a9b2263 Update CSGO gamedata #3 2017-07-11 19:49:53 +02:00
Peace-Maker
d222493040 Add support to compile using VS 2015 & 2017 2017-07-11 14:00:53 +02:00
Peace-Maker
ced005af38 Fix hooking server and client twice on map change
The engine sets the same server again after mapchanges.
2017-02-16 16:03:33 -07:00
Peace-Maker
1c7058bbec Use CS:GO gamedata for CS:CO 2017-01-26 11:58:11 -07:00
Peace-Maker
fc275cc866 Bump version to 1.1.1 2016-12-04 21:52:02 -07:00
Peace-Maker
7d2a18e96a Don't call IClient::ClientPrintf on the bot twice
The second time would be a nop anyway, so why bother.
2016-12-04 21:51:08 -07:00
Peace-Maker
54b0a16219 Add Left 4 Dead 2 support 2016-12-04 21:41:07 -07:00
Peace-Maker
e622428037 Add Left 4 Dead support
Spectator client connections aren't tested yet - don't have the game
installed.
2016-12-04 21:05:06 -07:00
Peace-Maker
cab2bc24ac Update CS:GO gamedata
RIP symbols 👎
2016-11-29 12:40:05 -07:00
Peace-Maker
fba9b23b3f Update include and example plugin to transitional syntax 2016-11-15 23:17:53 -07:00
Peace-Maker
48516277af Bump version to 1.1 2016-11-15 21:47:37 -07:00
Peace-Maker
b5b2d75c1c Fix OnSpectatorChatMessage to not include playername
The engine formats the chat message like "Name : Message" before sending
it through BroadcastLocalChat. Catch the message beforehand and pass
only that to plugins if possible.
2016-11-15 21:02:03 -07:00
Peace-Maker
59aa65d712 Update README 2016-11-14 03:43:11 -06:00
Peace-Maker
aefdc47d0a Add SourceTV_SetClientTVTitle native
Change the stream title for a single client.
Changing tv_title resets this.
2016-11-14 03:27:38 -06:00
Peace-Maker
9f5ef34087 Fix sending messages to locally connected spectators 2016-11-14 03:09:30 -06:00
Peace-Maker
307a8037d6 Add SourceTV_PrintToConsole native
Print text to single spectators' console.
2016-11-14 03:09:03 -06:00
Peace-Maker
ef76571d74 Add SourceTV_PrintToChat native
Send chat message to one client only
2016-11-14 03:01:44 -06:00
Peace-Maker
31dd491033 Replace magic bool argument with enum
Make broadcast targets more readable using a SourceTVBroadcastTarget
enum. Broadcast to all spectators including proxys or just locally
connected spectators.
2016-11-14 01:17:47 -06:00
Peace-Maker
e5db34a3e3 Add OnSpectatorChatMessage forwards to catch chat
Messages and chatgroups can be changed or blocked.
2016-11-14 01:16:39 -06:00
Peace-Maker
2c88455744 Bump version number to 1.0.3 2016-10-15 17:17:03 -06:00
Peace-Maker
7fb0e7bf23 Fix getting IDemoRecorder in CS:GO linux 2016-10-15 16:59:04 -06:00
Peace-Maker
3aa53e4baf Update CS:GO gamedata 2016-08-17 17:59:25 +02:00
Peace-Maker
6942d4f8ce Fix crash on "status" when host_client lookup fails
Block execution of the "status" command on the sourcetv bot, if the
address of the host_client pointer failed to be found. This at least
prevents the known crash in Host_Client_Printf if we can't work around
it.
2016-08-15 23:22:43 +02:00
Peace-Maker
df34652818 Update CS:GO gamedata 2016-08-15 23:21:04 +02:00
Peace-Maker
18b8289157 Fix linux build 2016-07-28 18:56:42 +02:00
Peace-Maker
bb3de1d906 Bump version to 1.0.2 2016-07-28 17:17:33 +02:00
Peace-Maker
a628aeb71e CSGO: Fix messages and director shot natives
CS:GO now uses widestrings wchar_t for event strings instead of normal
utf8 ones.
2016-07-28 17:01:58 +02:00
Peace-Maker
737b2ab1d0 Fix demo recording support for CS:GO
The IDemoRecorder interface was heavily modified.
2016-07-07 16:27:46 +02:00
Peace-Maker
98657d2619 Bump version to 1.0.1 2016-05-04 19:27:29 +02:00
Peace-Maker
b8e9696875 Fix demo recording natives on CS:GO linux 2016-05-04 16:11:19 +02:00
Peace-Maker
c0f634005d Check IDemoRecorder pointer before use
If the pointer to the IDemoRecorder instance fails to be found after an
update, don't try to use it blindly, but check if it's not null before..
2016-04-28 15:45:20 +02:00
Peace-Maker
30a83785bf Fix getting demo filename in csgo 2016-04-28 15:43:38 +02:00
Peace-Maker
857eb091bd Update windows CS:GO gamedata 2016-04-28 15:42:56 +02:00
Peace-Maker
7b79fa4299 Fix OnSpectatorDisconnect forward on linux
Multiple inheritance is killing me:(
The engine calls CGameClient::Disconnect, but we've only hooked
IClient::Disconnect, which uses a seperate vtable.
Our own SourceTV_KickClient native calls the IClient variant though, so
we need to hook both on linux to catch all cases.
2016-03-17 13:39:52 +01:00
Peace-Maker
47154ca72b Update README 2016-03-15 13:00:31 +01:00
Peace-Maker
1e0133c375 Fix firing OnShutdown with wrong instance index on mapchange
Prehook RemoveHLTVServer, so we can still find the instance in the
director when trying to figure out the instance index.
2016-03-15 12:25:20 +01:00