Commit Graph

52 Commits

Author SHA1 Message Date
BotoX
e42ff417b1 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-11-28 14:48:31 +01:00
Michael Flaherty
dd81d7c78f
Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Scott Ehlert
bbdecceb4b Switch to AMBuild 2.1 API. (#694) 2017-10-02 07:18:57 -05: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
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
Nicholas Hastings
8b6e040581 Add gamedata for Kreedz Climbing. 2015-09-23 10:11:30 -04: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
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
Scott Ehlert
e65d11f4de Remove --package-debug configure option.
It is no longer needed since debugging symbols should be present in binaries by default now.
2014-05-17 15:11:11 -05:00
Nicholas Hastings
217ca928d5 Move funcommands material and sound defs to gamedata (bug 6085, r=asherkin). 2014-03-29 15:07:07 -04:00
Nicholas Hastings
fdae6cf1b0 Backed out changeset: fe0e55c4d544 2014-03-30 14:07:14 -04:00
Nicholas Hastings
2c399ec441 Move funcommands material and sound defs to gamedata. 2014-03-29 15:07:07 -04:00
Nicholas Hastings
00b06313c9 Add gamedata for Contagion (bug 6007, r=asherkin). 2014-03-29 14:14:00 -04:00
Nicholas Hastings
9c1902b0e3 Fix missing compile.exe and unecessary compile.sh in Windows package (bug 6047, r=asherkin). 2014-03-21 12:30:47 -04:00
Scott Ehlert
e00e879af5 Use == instead of is operator for checking string equality in AMBuild scripts (bug 6043, r=dvander). 2014-02-09 22:50:20 -06:00
Kyle Sanderson
9de1a1ddfa Add configuration option to package debug files with amb2. 2014-02-02 15:33:33 -07:00
David Anderson
b69b0de234 Various build fixes (bug 5997 part 14, r=ds). 2013-12-30 17:51:01 -05:00
David Anderson
ae21f29ad9 Port the PDB log to AMBuild 2 (bug 5997 part 11, r=ds). 2013-12-30 17:51:00 -05:00
David Anderson
75e622e879 Port packaging to AMBuild 2 (bug 5997 part 6, r=ds). 2013-12-30 17:50:59 -05:00
Nicholas Hastings
a36c266e7d Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5813, r=asherkin). 2013-07-21 11:53:56 -04:00
Asher Baker
3c9e84d380 Whoops. Snakes. 2013-03-17 21:07:28 +00:00
Asher Baker
0f62a8ec2f Generate debugging information during compilation (bug 5227, r=ds). 2013-03-17 21:00:28 +00:00
Scott Ehlert
54012523bc Added --no-mysql option to configure script to make MySQL optional (bug 5661, r=dvander). 2013-03-17 02:40:04 -05:00
Nicholas Hastings
0015d00243 Initial commit of latest functional SDKHooks extension. 2013-02-07 23:43:33 -05:00
Asher Baker
3e1e20dbe2 Fixed PackageScript to not try and include extra extensions. 2012-12-25 21:44:58 +00:00
Asher Baker
bed417dc62 Include the auto-version file in the build, so 3rd party plugins compiled aginst the includes get useful versioning info (bug 5453, r=dvander). 2012-09-08 21:02:46 +01:00
Scott Ehlert
0d795fc651 Added support for CS:GO on Mac OS X (bug 5459, r=psychonic). 2012-08-25 11:28:52 -05:00
Nicholas Hastings
8362b8d226 Split CS:S support off to a separate engine/build (bug 5370, r=asherkin). 2012-08-20 21:53:59 -04:00
Nicholas Hastings
543f3440dc ANOTHER typo fix. 2012-05-27 17:47:41 -04:00
Nicholas Hastings
1a8417951f Fixed package script on mac. 2012-05-27 17:44:46 -04:00
Nicholas Hastings
2f68781ff9 Updated package script for cstrike extension changes. 2012-05-27 17:40:42 -04:00
Asher Baker
e154f3edb7 Generate and upload breakpad symbols if BREAKPAD_SYMBOL_SERVER variable is set. (bug 5229, r=dvander) 2012-02-17 03:28:02 +00:00
Scott Ehlert
817fa9d9be Oh, fixed package script for new bintools binary (bug 4548). 2010-08-01 15:09:48 -05:00
Nicholas Hastings
9fe2e8e31a Removed cstrike ep1 and cstrike_beta builds and references. 2010-06-23 23:49:06 -04:00
Nicholas Hastings
d691a0cf24 Ep2v cstrike ext now gets added to package. 2010-06-23 08:54:56 -04:00
Scott Ehlert
95de453677 Compile and link fixes for Mac OS X (bug 4392, r=dvander). 2010-05-13 04:22:31 -05:00