Commit Graph

146 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
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
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
Nicholas Hastings
8401ca3269 Add gamedata for Alien Swarm: Reactive Drop. 2017-04-22 10:31:41 -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
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
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04: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
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
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
Nicholas Hastings
8777d0d0da Use unlink() instead of rm in packaging script for Windows compat. 2015-09-12 15:12:45 -04:00
Nicholas Hastings
8ce41407dd When downloading translations for packaging, bypass certificate check.
It will fail on the slaves and we're resolving to internal addressing anyway.
2015-09-12 14:16:38 -04:00
Nicholas Hastings
2ab7c08da9 Add translation files and updated GeoIP data to snapshots. 2015-09-01 11:30:45 -07:00
Nicholas Hastings
b17c7adcd5 Add gamedata for Modular Combat. 2015-06-10 10:02:34 -04:00
Nicholas Hastings
78dcb8a0f3 Add gamedata file missing in PackageScript. 2015-05-11 06:52:56 -04:00
Nicholas Hastings
397c45457a Fix spacing in PackageScript. 2015-05-06 22:18:43 -04:00
Nicholas Hastings
9164730b07 Add gamedata for Black Mesa. 2015-05-06 22:01:29 -04:00
David Anderson
8b0a10ad1d Checkout submodules recursively. 2015-03-15 19:31:34 -07:00
David Anderson
c81e7e3410 Move batchtool out of sourcepawn. 2015-03-07 10:52:13 -08:00
Nicholas Hastings
fe6d44bbd5 Fix build. 2014-12-23 08:27:41 -08:00
Sean Lewis
b7036de9e9 Add missing convars.inc to buildbot package script. 2014-11-20 03:01:46 -06:00
Ryan Stecker
f2a80e33fd Expose some of ICommandLine to plugins. 2014-10-07 16:16:02 -05:00
Asher Baker
af791a30df Merge pull request #72 from VoiDeD/keyvalue-from-string
Implement StringToKeyValues.
2014-07-07 13:49:24 +01:00
Ryan Stecker
fc54903fd0 Add test. 2014-07-05 12:01:17 -05:00
Ryan Stecker
d4f4a7eed0 Add an ambuild configure option to disable auto versioning. 2014-07-02 13:29:59 -05:00
David Anderson
25ea80890d Add testing.inc to packages. 2014-06-05 01:00:36 -07:00
Asher Baker
88c452581b Revert to using revision count for full version strings. 2014-05-31 03:28:09 +01:00