Commit Graph

541 Commits

Author SHA1 Message Date
David Anderson
f1f135adb6 Add CloneHandle() test. 2014-06-05 10:27:59 -07:00
David Anderson
91077fdc91 Fix tab/space mix. 2014-06-05 10:16:47 -07:00
David Anderson
6a98e40643 Fix typo. 2014-06-05 01:25:32 -07:00
David Anderson
39ff3f9993 Add a rollback test. 2014-06-05 01:05:23 -07:00
David Anderson
7026e68b06 Add tests for SQL transactions. 2014-06-05 01:00:54 -07:00
David Anderson
2379c76b03 Add a new testing API for the testsuite. 2014-06-05 01:00:17 -07:00
David Anderson
d7b49f7706 Initial implementation. 2014-06-04 22:45:26 -07:00
Wliu
cd106a7eb6 Add better spacing to compile.sh 2014-06-04 22:00:10 -04:00
Scott Ehlert
fb5c3c86da Add clan tag and team score commands to cstrike test plugin. 2014-06-01 16:52:03 -05:00
Bara
5eef4bccd3 Add CS_DMG_HEADSHOT define
but i don't know if it works in other games.

( I'm using this already in my only headshot plugin - https://forums.alliedmods.net/showthread.php?t=234169 and works fine in CSS/CSGO )
2014-05-28 15:32:58 +02:00
Nicholas Hastings
3c52840dd8 Add CS_SLOT_KNIFE define (bug 6131, r=drifter). 2014-05-21 09:08:53 -04:00
Peace-Maker
32f019c70c Fix Mapchooser dying on single map rotation servers (bug 5179, r=kyles). 2014-05-13 13:44:14 -07:00
Peace-Maker
4cd6c37ab5 Remove LogMessageEx definition from logging.inc (bug 5897, r=kyles). 2014-05-10 05:42:33 -07:00
Peace-Maker
e9b4a6e96c Add DisplayTopMenuCategory native (bug 6033, r=dvander). 2014-05-09 12:32:49 -07:00
Peace-Maker
530078b3ae Add ability to disable TopMenu Title Caching (bug 6034, r=dvander). 2014-05-09 12:30:52 -07:00
Nicholas Hastings
0513f93f9d Add PrepSDKCall_SetAddress and Address support to PrepSDKCall_SetFromConf (bug 5261, r=asherkin). 2014-05-07 12:58:16 -04:00
David Anderson
e69e9eddc7 Change float comparison operators to return false for NaN (bug 6107, r=ds).
--HG--
extra : rebase_source : a11c56fb23d6617545def3591ec6100dd143eb3e
2014-04-22 19:40:45 -07:00
Powerlord
5efb5068cd Add new TF2_IsHolidayActive native to TF2 Ext (bug 6095, r=psychonic). 2014-04-07 23:17:11 -04:00
Powerlord
90c8440f17 Add TFHoliday_AprilFools to TFHoliday enum (bug 6092, r=psychonic). 2014-04-07 23:15:13 -04:00
Nicholas Hastings
655994cd09 Fix doc style on two native comments to fix detection in our api parser. 2014-04-06 17:03:14 -04: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
2b015a1d5b Add support for Contagion (bug 6007, r=asherkin). 2014-03-29 14:14:00 -04:00
SystematicMania
010220ea25 No longer require clients to be ingame for INetChannelInfo natives (bug 5775, r=psychonic). 2014-03-27 22:52:16 -04:00
SystematicMania
a8ff00bc34 Switch more base plugins to OnClientSayCommand from say hooks (bug 5986, r=psychonic).
--HG--
extra : rebase_source : 7ff7d92f9d060ac69d0652d643f08e7d81946e49
2014-03-25 11:57:00 -04:00
Nicholas Hastings
49d769282b Fix compile error in DisplayAskConnectBox stock (bug 5984). 2014-03-22 17:06:37 -04:00
Nicholas Hastings
9215ddcf8a Add PbRemoveRepeatedFieldValue native (bug 6066, r=asherkin). 2014-03-21 13:23:48 -04:00
FlaminSarge
cf8d05ae98 Add support for passwords to DisplayAskConnectBox stock (bug 5984, r=psychonic). 2014-03-21 12:14:08 -04:00
Nicholas Hastings
0e6cbf989e Add default infinite value for TF2_AddCondition duration (nobug, r=asherkin). 2014-03-21 12:03:49 -04:00
SystematicMania
10f878d8c7 Fix regressions in b2f7d97b1ea7 and update plugins for OnClientSayCommand changes (bug 5986, r=psychonic). 2014-02-28 10:38:36 -05:00
Kyle Sanderson
977bf4d583 Fix Anti-Flood resolution of gametime (bug 5394, r=psychonic). 2014-02-27 20:49:19 -07:00
Peace-Maker
75d950e4b0 Add GiveAmmo native to SDKTools (bug 6039, r=psychonic). 2014-02-10 10:49:19 -05:00
Peace-Maker
8476832dc2 Fix param order in AddToTopMenu function doc (irc, r=psychonic). 2014-02-09 19:38:41 -05:00
Nicholas Hastings
0da68844a5 Remove MarkNativeAsOptional calls for old PbReadRepeated natives. (irc, r=KyleS). 2014-02-08 14:13:40 -05:00
Michael McKoy
52ff6fd5f8 Fix overoptimization of nomination counts in Mapchooser (bug 5359, r=kyles). 2014-01-30 14:29:53 -07:00
FlaminSarge
4a65e38d54 Update TFCond and customkill enum values (bug 6012, r=psychonic). 2014-01-27 10:15:17 -05:00
Peace-Maker
a709307fab Rename SortFunc2D parameters to match documentation (bug 6014, r=kyles). 2014-01-22 20:14:55 -07:00
Kyle Sanderson
9fe11f9c36 Fix being able to nominate same map multiple times (bug 5109, r=psychonic) 2014-01-17 23:21:16 -05:00
Kyle Sanderson
fb734e4124 Add any tag to WritePackCell and ReadPackCell natives (bug 6001, r=asherkin) 2014-01-17 23:14:40 -05:00
Nicholas Hastings
ad5740f8a7 Add support for Valve search paths to GetFileSize native (bug 5931, r=asherkin). 2014-01-07 14:24:53 -05:00
David Anderson
c2cfe60102 Port versioning to AMBuild 2 (bug 5997 part 8, r=ds). 2013-12-30 17:50:59 -05:00
David Anderson
75e622e879 Port packaging to AMBuild 2 (bug 5997 part 6, r=ds). 2013-12-30 17:50:59 -05:00
David Anderson
9c19f6efb7 Port plugin build scripts to AMBuild 2 (bug 5997 part 5, r=ds). 2013-12-30 17:50:58 -05:00
Kyle Sanderson
e01fc5e697 Add RequestFrame native for one-off frame actions (bug 5965, r=dvander). 2013-10-29 22:10:40 -04:00
Nicholas Hastings
0775976165 Updated TF2 enums. 2013-10-29 20:08:18 -04:00
Nicholas Hastings
e0746e1ab8 Added engine support for Insurgency (bug 5951, r=asherkin). 2013-10-13 14:16:08 -04:00
Nicholas Hastings
5e1d207eae Added engine support for Blade Symphony (bug 5949, r=asherkin). 2013-10-13 14:15:29 -04:00
Nicholas Hastings
3e15966c3e Add support for Source SDK Base 2013 (bug 5917, r=asherkin). 2013-10-13 14:14:51 -04:00
Drifter
75ce4c395a Add CS_UpdateClientModel native to cstrike extension (bug 5905, r=psychonic). 2013-09-10 13:08:14 -04:00
Nicholas Hastings
427e93c573 Fix attempted triggers from gagged users displaying in chat (bug 5918, r=asherkin). 2013-09-10 09:52:37 -04:00
Nicholas Hastings
e620d973f4 Reserved slot fixes for OB games when SourceTV or Replay are enabled (bug 5499, r=drifter). 2013-08-30 14:15:02 -04:00
Nicholas Hastings
7ad43a5b11 Make sm_mapvote_runoffpercent cvar work as advertised (bug 5890, r=asherkin). 2013-08-30 14:14:59 -04:00
David Anderson
b261dde858 Refactor Trie natives to use HashMap instead of KTrie; add iteration API (bug 5892, r=ds).
--HG--
extra : rebase_source : a5bcf64a45d6734a97d78b4f4ea9aea48d17bb8b
2013-08-29 10:09:02 -07:00
Matthias Kollek
fd9e657196 Add support for customizing ban reasons in basebans.sp (bug 5762, r=psychonic). 2013-08-28 13:17:17 -04:00
Nicholas Hastings
a9905ec95e Add missing MarkNativeAsOptional calls for cstrike.inc (r=me). 2013-08-25 11:01:55 -04:00
Kyle Sanderson
7e2afacf34 Fix broken translating in some plugins and natives (bug 5612, r=psychonic). 2013-08-25 10:15:35 -04:00
Nicholas Hastings
9bf78a96cc Replace hardcoded "/ff" check in basetriggers (bug 5863, r=drifter). 2013-08-24 21:59:52 -04:00
Nicholas Hastings
4d2eb7af30 Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).
--HG--
extra : rebase_source : cb9bd8d35bddfb5feb3bead7284398eb8bd7d6b4
2013-08-22 21:45:40 -04:00
FlaminSarge
7db280a666 Add GetPlayerJingleFile native. (bug 5690, r=asherkin) 2013-08-12 02:08:34 +01:00
Peace-Maker
82e16db275 Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin) 2013-08-12 00:58:43 +01:00
Kyle Sanderson
b9cd424186 Add support for nested datatables. (bug 5446, r=asherkin) 2013-08-12 00:54:21 +01:00
Kyle Sanderson
3d4e1ffd64 Added helper stock to check if a command exists. (bug 5510, r=asherkin) 2013-08-12 00:42:56 +01:00
Kyle Sanderson
5d76ffef88 Added global pre and post forwards for client chat (bug 5394, r=psychonic). 2013-08-05 11:46:29 -04:00
Erik Minekus
0e167ee85b Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
Drifter
fa0df413f4 Added CS_IsValidWeaponID native and validity checks to other natives (bug 5566, r=psychonic). 2013-07-31 22:11:15 -04: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
Kyle Sanderson
dfa11f64ef Fixed handle misuse in clientprefs plugin (bug 5805, r=psychonic).
--HG--
extra : amend_source : a63c384e65feb0238bfc4e8ab618bc637a015962
2013-07-20 15:17:43 -04:00
Kyle Sanderson
220a35b492 Make compile.sh set working dir to own dir (bug 5710, r=psychonic). 2013-07-18 19:40:42 -04:00
Peace-Maker
69d8b1c30d Added SQL_SetCharset native to (re)set charset even after reconnect (bug 5786, r=psychonic). 2013-07-18 10:27:12 -04:00
Nicholas Hastings
1fbed9f7d0 Don't load nextmap on Dota 2. 2013-07-13 13:58:47 -04:00
Nicholas Hastings
39c9e69d8a Remove deprecated PbReadRepeated natives. 2013-04-23 07:11:49 -04:00
Nicholas Hastings
a450361956 Added support for getting/setting protobuf enum values with Pb*Int natives (nobug, r=asherkin). 2013-04-16 11:33:36 -04:00
Kyle Sanderson
1b5faef097 Remove debug printout from PerformGravity (bug 5679, r=asherkin). 2013-04-11 03:03:29 +01:00
Nicholas Hastings
c0d1aaa8a0 Allow localizaton of more base plugin strings (bug 5120, r=asherkin). 2013-04-08 08:00:13 -04:00
Nicholas Hastings
08d83eb8da Backed out changeset: 40e1814dd3d6 (bug 5484). 2013-03-19 22:08:19 -04:00
Nicholas Hastings
519e8c5fcd Added basic support for Dota 2 (bug 5656, r=asherkin). 2013-03-19 11:18:44 -04:00
Peace-Maker
305d53f094 Fixed possible rte in basetriggers for !ingame clients (bug 5191, r=psychonic). 2013-03-18 20:11:50 -04:00
Michael McKoy
5625ad76b9 Fixed mapchooser interaction with CS:GO winlimits (bug 5484, r=psychonic). 2013-03-18 20:10:31 -04:00
Peace-Maker
8fe22c33bf Fixed double print when sending psay to self (bug 5649, r=psychonic). 2013-03-18 19:58:18 -04:00
Nicholas Hastings
4e7a9cf30b Updated regex.inc with more flags and error codes (bug 5593). 2013-03-17 11:39:04 -04:00
Peace-Maker
ca1e9a2976 Increased map name buffer sizes in mapchooser (bug 5609, r=psychonic). 2013-03-16 23:17:22 -04:00
Kyle Sanderson
5951cbf7b9 Added GetSteamAccountID function to IPlayerHelpers and native for sp (bug 5548, r=asherkin). 2013-03-16 23:12:40 -04:00
FlaminSarge
093f8cb89b Exposed third parameter of TF2's AddCond in TF2_AddCondition (bug 5641, r=psychonic). 2013-03-16 18:05:22 -04:00
Nicholas Hastings
0c7696da65 Add GetPlayerResourceEntity to SDKTools; deprecate old, broken TF2-specific impl (bug 5491, r=asherkin). 2013-03-16 13:50:36 -04:00
Nicholas Hastings
306828480f Added repeated field handing to PbSet* natives (bug 5633, r=asherkin). 2013-03-16 13:31:56 -04:00
Nicholas Hastings
42b415952b Added repeated field handling to PbRead* natives. Deprecate PbReadRepeated* (bug 5633, r=asherkin). 2013-03-16 13:31:35 -04:00
FlaminSarge
e155e258cb Updated TF2 TFCond defines (bug 5642, r=psychonic). 2013-03-16 13:30:00 -04:00
Asher Baker
8da56ff98c Allow access to unvalidated authstrings (bug 5587, r=psychonic). 2013-03-07 00:58:17 +00:00
Ruben Gonzalez
fd3b9095ba Fix CS_WeaponIDToAlias param missing CSWeaponID tag (bug 5460) 2013-02-11 11:17:31 -05:00
David Anderson
52cd52ca54 Bump version to 1.6.0. 2013-02-10 21:10:25 -08:00
Nicholas Hastings
0015d00243 Initial commit of latest functional SDKHooks extension. 2013-02-07 23:43:33 -05:00
Alexandr
e20e272ee1 Fixed basecomm forwards firing with incorrect client parameter value (bug 5583, r=psychonic). 2013-01-28 18:30:44 -05:00
Nicholas Hastings
ee8b180341 Marked some missed Pb natives as optional (bug 5579). 2013-01-23 18:28:06 -05:00
Nicholas Hastings
312e26a5cf Added initial support for protobuf usermessages on CS:GO (bug 5579, r=asherkin). 2013-01-22 21:43:12 -05:00
Nicholas Hastings
710456f871 Added new IN_ATTACK3 button define to entity_prop_stocks (bug 5564). 2012-12-23 17:06:14 -05:00
Nicholas Hastings
536123ec59 Updated TF_WEAPON_* and TF_CUSTOM_* defines. 2012-12-19 07:58:21 -05:00
Nicholas Hastings
db699ed2c3 Updated TF2_IsPlayerInCondition stock for m_nPlayerCondEx2... 2012-12-19 07:55:03 -05:00
Powerlord
c2300f7b2b Updated TFHoliday enum (bug 5526, r=psychonic). 2012-12-15 14:40:51 -05:00
Nicholas Hastings
ba2915ce4e Added natives to CStrike ext to access assists/score in CSGO (bug 5525, r=asherkin). 2012-12-15 14:36:52 -05:00