Commit Graph
270 Commits
Author SHA1 Message Date
BotoX 865fa37ed9 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-09-21 20:29:53 +02:00
Asher Baker eb6a39ecde Get GeoIP data from SM site for now 2019-01-19 12:27:23 +00: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
Ruben Gonzalez 189369fcf3 Fix GDC byte offset check printing for linux (NPOTB) 2015-09-15 21:59:24 -04:00
Ruben Gonzalez bb39c54f17 Merge pull request #403 from alliedmodders/gdc-fix
Fix Makefile for GDC and improve output (NPOTB)
2015-09-13 17:23:24 -04:00
Ruben Gonzalez cfd116b93b Removed public/sourcepawn from include. Add -Wno-unused for unused variables. 2015-09-12 20:30:53 -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
Ruben Gonzalez cec5bfe7b2 Update Makefile to compile against central. Added some more info on byte checks. 2015-09-11 15:36:11 -04:00
Nicholas Hastings 2ab7c08da9 Add translation files and updated GeoIP data to snapshots. 2015-09-01 11:30:45 -07:00
Nicholas Hastings 5123527c66 Merge pull request #311 from alliedmodders/juju
Use the new Travis-CI Container environment.
2015-07-14 20:19:11 -04:00