Commit Graph

5491 Commits

Author SHA1 Message Date
Nicholas Hastings
1a5714c3ca Fix build for ep1 and darkm. 2015-07-02 15:22:33 -04:00
Nicholas Hastings
e0a83ff7b2 Add support for setting string_t values with SetEntPropString.
Adds new AllowPooledString func to CHalfLife2 to allocate a string in the game's string pool.
Also fixes SetEntPropString using incorrect offset for nested sendprops.
2015-07-02 14:47:31 -04:00
Nicholas Hastings
93bec920cf Add support for GetEntPropString(Prop_Send) with netvars backed by string_t vars. 2015-07-02 14:00:47 -04:00
Nicholas Hastings
f960c64dc6 Merge pull request #351 from alliedmodders/expose-findmap
Expose FindMap/ResolveFuzzyMapName to plugins.
2015-06-28 12:43:56 -04:00
Nicholas Hastings
80838af4a2 Work around eFindMap_FuzzyMatch never actually being returned in TF2. 2015-06-28 09:48:01 -04:00
Nicholas Hastings
7564c09aff Merge pull request #341 from powerlord/ambuild-sampleext
Add AMBuild2 script to Sample Extension.
2015-06-27 20:10:00 -04:00
Nicholas Hastings
60ac7e23d0 Updated FindMap function doc. 2015-06-27 20:04:20 -04:00
Nicholas Hastings
c383f1dc43 Fix compile errors on Clang by implementing own enum. 2015-06-27 19:58:14 -04:00
Nicholas Hastings
f107ff9cd2 Expose FindMap/ResolveFuzzyMapName to plugins. 2015-06-27 13:10:47 -04:00
Ruben Gonzalez
25a8209ffc Update CS:GO gamedata MVP base to be the same as Scores. 2015-06-26 11:00:10 -04:00
Ruben Gonzalez
3c0b89b80f Update CS:GO MVP and Contribution score offsets. 2015-06-26 10:44:20 -04:00
Nicholas Hastings
11c40e385e Merge pull request #347 from alliedmodders/double
Call OnClientDisconnect(_Post) if the client has already connected (bug 6361).
2015-06-18 17:43:34 -04:00
Nicholas Hastings
d0574dbe28 Merge pull request #226 from powerlord/mapchooser-updates
More New API changes for MapChooser, Nominations, RockTheVote, RandomCycle, and NextMap.
2015-06-12 14:58:12 -04:00
Nicholas Hastings
b4011f3e8b Update Insurgency gamedata. 2015-06-12 05:24:54 -07:00
Kyle Sanderson
0f9b9d0a24 Call OnClientDisconnect(_Post) if the client is already connected. 2015-06-11 20:14:25 -07:00
Nicholas Hastings
c0d4dfa6ed Update IsMapValid for today's TF2 update. 2015-06-11 17:48:58 -04:00
Nicholas Hastings
a4821f9389 Merge pull request #346 from alliedmodders/ctype-fixes
Fix some ctype misuses (bug 6377).
2015-06-10 19:29:35 -04:00
Nicholas Hastings
14e0a9a487 Fix some ctype misuses (bug 6377).
isalpha, isdigit, isupper, and islower do not return 0/1. They return 0 or anything-else. Since the bool tag in pawn only supports exactly 0 and 1, we need to return 1 for all truthy returns in the natives that wrap these.
2015-06-10 14:40:48 -04:00
Nicholas Hastings
b17c7adcd5 Add gamedata for Modular Combat. 2015-06-10 10:02:34 -04:00
Nicholas Hastings
a70722eb25 Update FoF gamedata. 2015-06-09 13:01:50 -04:00
Nicholas Hastings
13ecd11543 Merge pull request #344 from alliedmodders/update-convar-flags
Update ConVar flags in console.inc.
2015-06-07 11:18:27 -04:00
Ross Bemrose
ba0bf5668d One minor issue left from the merge 2015-06-04 21:42:25 -04:00
Ross Bemrose
338b4ed5d9 Merge remote-tracking branch 'remotes/origin/master' into mapchooser-updates
Conflicts:
	plugins/nominations.sp
	plugins/rockthevote.sp
2015-06-04 21:39:04 -04:00
Kyle Sanderson
a4f5c802a9 Merge pull request #345 from VoiDeD/fix-sizes-part-deux
Fix more buffer sizes for map names.
2015-06-04 16:34:55 -07:00
Ryan Stecker
8bc3d5d93c Fix more buffer sizes for map names. 2015-06-04 18:32:49 -05:00
Nicholas Hastings
850a73d718 Merge pull request #343 from alliedmodders/fix-sizes
Fix some buffer sizes in shipped plugins.
2015-06-04 18:27:52 -04:00
Nicholas Hastings
74802ce96e Minor indent fix. 2015-06-04 17:07:25 -04:00
Nicholas Hastings
952ee53383 Converted back to defines. Added deprecation notices on FCVAR_PLUGIN and FCVAR_LAUNCHERONLY. 2015-06-04 06:48:01 -04:00
Nicholas Hastings
1804dce9d9 More small convar flag inc changes:
* Re-added FCVAR_PLUGIN (shimmed to 0) and FCVAR_LAUNCHER with deprecation notes.
* Changed defines to const ints.
* Updated comments to use our newer, single-line comment style for cleanliness.
2015-06-03 23:38:31 -04:00
Nicholas Hastings
4231adaedf Update ConVar flags in console.inc.
The existing list was from the original engine, not even being accurate for EP1.
Flags that were never used and have since been removed from headers were removed.
Flags that were removed, but were used at one time co-exist with new flags that took over their value where applicable.
Flags that only exist on some engine versions are noted as such in the comment.
2015-06-03 23:06:26 -04:00
Nicholas Hastings
9e0dbfcf68 Fix inconsistencies with buffer sizes for player names.
Found any I could not using MAX_NAME_LENGTH and changed them to use it. I think that we should
increase MAX_NAME_LENGTH to 128 for CS:GO at some point as that's what it uses internally.
(Presumably to get the client's full multibyte name from Steam without truncation mid-codepoint which
can happen in other games. Steam's max is 32 characters if I remember correctly, but allows multibyte chars).
2015-06-03 22:40:43 -04:00
Nicholas Hastings
5139eef183 Fix buffer sizes used for map names (64 -> MAX_PATH).
As more games are now supporting maps nested in subfolders or in folders outside of the maps folder,
we need to account for the full path that the game uses to refer to the map for compatibility. Many other
places for fixed for this already after CS:GO added Steam Workshop support for maps.
2015-06-03 22:28:58 -04:00
Nicholas Hastings
974e18292a Update FoF gamedata. 2015-06-02 17:59:13 -04:00
Nicholas Hastings
3291e3a38f Fix crash on Black Mesa when an entity is deleted and SDK Hooks is loaded. 2015-05-31 23:21:43 -04:00
Nicholas Hastings
4db57b84b5 Fix sm_trigger_show default in shipped sourcemod.cfg match default in basetriggers. 2015-05-30 07:52:31 -04:00
Ruben Gonzalez
c2ba31e341 Update more CS:GO gamedata. 2015-05-28 13:29:05 -04:00
David Anderson
cb6024e334 Update AMTL and SourcePawn. 2015-05-27 10:22:40 -04:00
Ruben Gonzalez
12239fe852 Update CS:GO gamedata for latest update. 2015-05-26 22:04:08 -04:00
Nicholas Hastings
a88070d063 Add GetDataMap gamedata for Black Mesa. 2015-05-25 18:20:38 -04:00
Nicholas Hastings
9f8a40f482 Merge pull request #337 from alliedmodders/earlier-maxclients
Populate MaxClients before OnPluginStart is called.
2015-05-20 06:48:08 -04:00
Nicholas Hastings
d4babee202 Merge pull request #339 from alliedmodders/mapcycle-finding
Enable finding mapcycle in cfg dir on sdk2013 and bms.
2015-05-20 06:47:59 -04:00
Nicholas Hastings
7cfadb4584 Merge pull request #342 from alliedmodders/bug-6365
Fix regression in admin-sql-threaded when porting to transitional syntax (bug 6365).
2015-05-18 13:12:12 -04:00
Nicholas Hastings
fc2fe79fe7 Fix regression in admin-sql-threaded when porting to transitional syntax. 2015-05-18 10:15:17 -04:00
Nicholas Hastings
2abb8e6335 Remove engine check for whether or not to search alt mapcycle paths. 2015-05-18 09:16:36 -04:00
Nicholas Hastings
cb4b710885 Removed comment regarding MaxClients not being available in OnPluginStart. 2015-05-18 09:11:57 -04:00
Ruben Gonzalez
869777e9c4 Trigger build. 2015-05-15 20:53:17 -04:00
Ruben Gonzalez
eab5e78150 Trigger Build 2015-05-15 18:30:02 -04:00
Ruben Gonzalez
0344c3d56f Trigger Build 2015-05-15 15:51:37 -04:00
Ross Bemrose
43f4a2f7b7 Fix checking the wrong directory for smsdk_ext.cpp. Updated some comments. 2015-05-14 14:16:19 -04:00
Ross Bemrose
0022b750b5 Split AMBuildScript into AMBulde and AMBuildScript 2015-05-14 13:48:59 -04:00