Commit Graph

278 Commits

Author SHA1 Message Date
BotoX
a0b8153f4b Added hack to make plugins open a menu with all possible targets on ReplyToTargetError COMMAND_TARGET_AMBIGUOUS.
Explanation:
There are two clients in the server, one named gene, the other one "Ene ~special characters~".
An admin issues "sm_slay Ene" and gets following error message: More than one client matched the given pattern.
What this hack will do is: Use GetCmdArg(0, ...); to get the command name "sm_slay".
Use GetCmdArgString(...); to get the arguments supplied to the command.
Use GetLastProcessTargetString(...); (which was implemented in this commit) to retrieve the arguments that were passed to the last ProcessTargetString call.
It will then pass this data to the DynamicTargeting plugin through its AmbiguousMenu native.
The plugin will open up a menu on the client and list all targets which match the pattern that was supplied to ProcessTargetString.
If the client selects a menu entry, FakeClientCommand will be used to re-execute the command with the correct target.
2019-10-20 12:28:44 +02:00
Michael Flaherty
dd81d7c78f
Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00
Asher Baker
c501c837d0
Ignore SM site certificate when downloading GeoIP
Build servers don't have a root for it, and the address is internal
2019-01-19 12:34:23 +00:00
Asher Baker
590f71436f
Get GeoIP data from SM site for now 2019-01-19 12:18:36 +00:00
Nick Hastings
53c63def07 Use env vars to find MySQL src on Linux, macOS. 2018-06-07 20:40:14 -04:00
Nicholas Hastings
4637cf9221
Use MySQL 5.5 for MySQL extension. (#786) 2018-03-20 17:12:30 -04:00
Nicholas Hastings
29b1926432 A couple of fixups to last commit (NPOTB). 2017-12-29 04:55:56 -08:00
Nicholas Hastings
e0a154faa0 Add TF2 NextBot symbol data from Pelipoka to GDC (NPOTB). 2017-12-29 04:38:47 -08:00
Scott Ehlert
870e118150 Fix BreakpadSymbols script for 64-bit builds. 2017-12-20 02:07:30 -06:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Asher Baker
c33bf330a0
Add doi, remove dota 2017-12-04 21:47:00 +00:00
Scott Ehlert
82e6d00cea Fix build. 2017-10-02 07:40:58 -05:00
Scott Ehlert
bbdecceb4b Switch to AMBuild 2.1 API. (#694) 2017-10-02 07:18:57 -05:00
thewavelength
79ba2835f6 Fix build when product.version is mangled (#679)
Strip line breaks when reading product.version, as Git can mangle the line breaks if autocrlf is configured, resulting in `SM_BUILD_TAG` getting defined with a linebreak.
2017-09-10 01:17:35 +01:00
Asher Baker
2e6d02ad52 Fixup types can include additional flags in the high bytes 2017-07-27 19:31:20 +01:00
Nicholas Hastings
8401ca3269 Add gamedata for Alien Swarm: Reactive Drop. 2017-04-22 10:31:41 -04:00
Ruben Gonzalez
2febfae906 Update GDC symbols.txt (NPOTB). 2017-03-25 13:27:26 -04:00
Ruben Gonzalez
2db2af9343 Fix GDC's Linux SIg offset checking (NPOTB). 2017-03-25 09:29:45 -04:00
Benoist3012
08238a8036 Add FireEntityOutput native. (#587)
* AcceptEntityOutput native

* define fix

* MSVC fix and renamed native

* Added requested changes.

* tab/space fix
2017-02-15 19:29:43 -05:00
Nicholas Hastings
5e4a69def6 Update GDC's symbols.txt. 2017-02-06 08:11:01 -08:00
Nicholas Hastings
6e79114dee Update GDC's symbols.txt. 2017-02-06 07:58:57 -08:00
GoD-Tony
3fd7b29d64 Fix GDC's Linux sigscanning (#576)
The pointer returned by dlopen is not inside the loaded librarys memory region.
2017-01-20 10:13:31 -05:00
GoD-Tony
ec9af8feb6 Fix null check when generating signature. (#562) 2016-12-01 08:44:23 +00:00
Nicholas Hastings
0707f14c7a Update Dino D-Day gamedata.
(Piggy-backing off of Blade Symphony now instead of Alien Swarm.
They switched to Portal 2 engine so detects as Blade Symphony, and
both are pretty vanilla at the engine level.)
2016-08-06 10:51:50 -04:00
Nicholas Hastings
56585fc32a Add preliminary gamedata for Day of Infamy. 2016-07-26 08:26:26 -04:00
Nicholas Hastings
7008a566a8 Redownload GeoIP data if file size is 0, regardless of file modified time.. 2016-07-24 08:26:00 -04:00
Nicholas Hastings
857f5fcced Add PowerShell version of checkout-deps script for Windows (NPOTB). 2016-06-11 11:17:29 -04:00
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
Alexander Georgievskiy
b196d3e3c0 http://cdn.mysql.com -> https://cdn.mysql.com 2016-04-16 00:15:40 +03:00
GoD-Tony
5e51ca0f80 Update IDA vtable dump script
A small fix to work with multiple versions of IDA x86 & x64
2015-12-12 22:01:21 +01:00
GoD-Tony
d3ea10a600 Add x64 support to IDA vtable dump script 2015-11-26 17:36:14 +01:00
Asher Baker
3b3b1d6342 And the last piece of the puzzle... normalise the slashes. 2015-11-05 17:45:26 +00:00
Asher Baker
04161da5a0 Alright, this should work. 2015-11-05 17:35:37 +00:00
Asher Baker
cce6fde4ea Whoops. 2015-11-05 17:03:51 +00:00
Asher Baker
b8e9aabd67 Windows sucks. This may or may not break the Windows build in retaliation. 2015-11-05 16:58:50 +00:00
Asher Baker
625f225448 Suppress error messages from missing repositories. 2015-11-05 11:06:43 +00:00
Asher Baker
e8eb9970a6 Last try before I revert all this. 2015-11-05 10:54:35 +00:00
Asher Baker
ed5771a861 Fix symbol dumping to work on ancient python versions. 2015-11-05 10:46:32 +00:00
Asher Baker
2c03498986 Really fix Mac symbol dumping. 2015-11-05 09:59:53 +00:00
Asher Baker
de675be862 Fix Mac symbol dumping. 2015-11-05 09:31:09 +00:00
Kyle Sanderson
44d34d0e5d NPOTB: Remove 0x prefix from two-byte instructions. 2015-10-28 19:43:17 -07:00
Asher Baker
38fd55a05d Normalize repository root path. 2015-10-28 13:31:02 +00:00
Asher Baker
4d3c89c065 Flip INFO REPO records around for parsing sanity. 2015-10-28 09:47:40 +00:00
Asher Baker
4be998c4dc Include repo information in symbol files. 2015-10-27 17:24:03 +00:00
Nicholas Hastings
beba03292a Upload sourcemod-latest-<os> text file when packaging. 2015-10-26 11:13:57 -07:00
Asher Baker
722c0eb32b Promote git revision number to 4th version string component 2015-09-29 11:07:16 +01:00
Nicholas Hastings
8b6e040581 Add gamedata for Kreedz Climbing. 2015-09-23 10:11:30 -04:00
Ruben Gonzalez
48eee4db9b Sync GDC symbols.txt to match one currently used (NPOTB). 2015-09-20 15:28:33 -04:00
Nicholas Hastings
e748d49343 In package script, set binmode for geoip out file (bug 6415).
This fixes newline conversion happening on Windows.
2015-09-18 10:08:39 -04:00
Nicholas Hastings
c085444a03 In packaging, use API for gunzip instead of executable (bug 6415). 2015-09-18 08:27:28 -04:00