Nicholas Hastings
28bf744a18
Merge pull request #399 from alliedmodders/tf2branch-nontf2-ismapvalid
...
Fix IsMapValid call on non-TF2 TF2-branch games to use old behavior requiring only map name
2015-09-14 20:44:24 -04:00
Nicholas Hastings
e7d9795fc1
Fix IsMapValid call on non-TF2 TF2-branch games to use old behavior requiring only map name.
2015-09-14 19:24:28 -04:00
Nicholas Hastings
44bacdc067
Fix recent regression with finding engine ptr on CS:S, DoD:S, HL2:DM.
...
They are still only have engine v21, not yet v22 (let alone v23).
2015-09-14 09:56:06 -04:00
Nicholas Hastings
7d2c0bd962
Merge pull request #408 from alliedmodders/css-sync2
...
Update metamod-attached extensions to use same engine ptr lookup as core
2015-09-13 17:45:13 -04:00
Nicholas Hastings
8f8c00c66d
Update metamod-attached extensions to use same engine ptr lookup as core.
...
(On TF2-branch games, always search for engine v23 first, falling back to v22.)
2015-09-13 17:18:33 -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
cfa09f22c1
Merge pull request #390 from alliedmodders/pkg-more
...
Add translation files and updated GeoIP data to snapshots (bug 5728)
2015-09-11 15:53:38 -04:00
Nicholas Hastings
f1a907c298
Merge pull request #402 from alliedmodders/shim-noshim
...
Shim for TF2-branch games to find latest, non-shimmed engine iface. 2
2015-09-11 09:24:24 -04:00
Nicholas Hastings
f6d7fd4949
Don't use VInterfaceMatch when wanting explicit iface version.
2015-09-11 05:40:03 -07:00
Nicholas Hastings
2bd91dd93b
Fix always failing when falling back to engine v22.
2015-09-11 05:38:53 -07:00
Nicholas Hastings
3c264d78bb
Merge pull request #398 from alliedmodders/shim-noshim
...
Shim for TF2-branch games to find latest, non-shimmed engine iface.
2015-09-10 22:47:13 -04:00
Nicholas Hastings
82b7485001
Shim for TF2-branch games to find latest, non-shimmed engine iface.
2015-09-10 20:43:48 -04:00
Nicholas Hastings
c6c034f90a
Trigger build for hl2sdk-tf2 changes.
2015-09-10 19:54:32 -04:00
Nicholas Hastings
cb9f2b9144
Trigger build for hl2sdk-tf2 changes..
2015-09-10 18:31:30 -04:00
Nicholas Hastings
2ab7c08da9
Add translation files and updated GeoIP data to snapshots.
2015-09-01 11:30:45 -07:00
Nicholas Hastings
9e3ed67185
Merge pull request #375 from alliedmodders/tf2-update-15-08-18-pre
...
Update TF2 gamedata.
2015-08-18 19:00:44 -04:00
Nicholas Hastings
d6476728f9
Merge pull request #391 from alliedmodders/dataprop-stringt-arrays
...
Fix quirks with Get/SetEntPropString on string_t arrays in datadesc
2015-09-02 21:55:14 -04:00
Nicholas Hastings
1e1b23dc31
Add missing sanity checks on element param on SetEntPropString for data props.
2015-09-02 18:35:37 -04:00
Nicholas Hastings
5cdf35d687
Fix array detection/handling for GetEntPropString with string_t arrays (bug 6409).
2015-09-02 18:33:58 -04:00
Nicholas Hastings
4dd641287d
Fix typo in last commit.
2015-08-15 11:56:36 -04:00
Nicholas Hastings
199d1b8eeb
Fix Mac build.
2015-08-14 22:00:43 -04:00
Nicholas Hastings
31cd5c7863
Merge pull request #371 from alliedmodders/clang-3.6
...
Fix build on Clang 3.6.
2015-08-14 21:56:35 -04:00
Nicholas Hastings
a95527a72c
Merge pull request #370 from alliedmodders/valvefs-default-pathid
...
Make path id default to "GAME" instead of NULL for FileExists and FileSize if param missing.
2015-08-14 08:44:34 -04:00
Nicholas Hastings
4f0c06d068
Merge pull request #369 from alliedmodders/bug-6391
...
Fix bIsStringIndex not being initialized in SetEntPropString for non-index SendProps (bug 6391).
2015-08-14 08:32:33 -04:00
Nicholas Hastings
af4573e7af
Fix build on Clang.
2015-08-14 08:31:52 -04:00
Nicholas Hastings
620cb405b1
Fix build on Clang 3.6.
2015-08-14 08:25:40 -04:00
Nicholas Hastings
a08a693bf3
Make path id default to "GAME" instead of NULL for FileExists and FileSize if param missing.
...
This only affects plugins compiled before the param existed in the includes. NULL defaults to "GAME"
on some engine versions, but is invalid on others, causing any file to not be found.
2015-08-14 07:52:50 -04:00
Nicholas Hastings
8a726a8fbb
Fix bIsStringIndex not being initialized in SetEntPropString for non-index SendProps.
2015-08-14 07:50:10 -04:00
Nicholas Hastings
4c895a78c6
Update Insurgency gamedata.
2015-07-29 06:58:56 -04:00
Nicholas Hastings
45f5ac64e1
Merge pull request #364 from alliedmodders/bug-6391
...
Fix maxlen in SetEntPropString not being initialized (bug 6391).
2015-07-25 14:54:06 -04:00
Nicholas Hastings
b438a5b39e
Merge pull request #365 from powerlord/sampleext-fixcopyfiles
...
sampleext PackageScript: Add missing CopyFiles function.
2015-07-25 14:17:08 -04:00
Nicholas Hastings
f589298879
Fix maxlen in SetEntPropString not being initialized (bug 6391).
...
This var is only used when setting a direct string, rather than a string_t. Some flawed
logic was causing it to only be set if the sendprop didn't have a proxy function (although
all strings should; that's how we detect whether it's a string_t or not). The var only needs
to be set if it's not a string_t, but does not hurt anything if it is.
2015-07-25 10:46:41 -04:00
Nicholas Hastings
7d153cf9f9
Merge pull request #363 from VoiDeD/datapack-pos
...
Introduce a datapack position tag.
2015-07-20 18:34:54 -04:00
Nicholas Hastings
dcbc85b2cf
Update FoF sdktools gamedata.
2015-07-17 08:12:47 -04: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
Nicholas Hastings
c4e7b8a795
More tweaks.
2015-07-14 19:44:52 -04:00
Nicholas Hastings
41297b96d0
Add gcc-multilib to build reqs.
2015-07-13 21:43:27 -04:00
Nicholas Hastings
d30cab04c3
Merge pull request #360 from alliedmodders/cckv
...
Add support for listening to, blocking, changing, and faking ClientCommandKeyValues.
2015-07-13 21:35:25 -04:00
Nicholas Hastings
e7aa159896
Clarify doc regarding KV handle.
2015-07-12 19:21:28 -04:00
Nicholas Hastings
4db1280c59
Add comment to note that pStk actually gets deleted.
2015-07-12 19:18:27 -04:00
Nicholas Hastings
5893737321
Fix handle leak.
2015-07-12 17:38:50 -04:00
Nicholas Hastings
c85cc5cbf7
Add support for listening to, blocking, changing, and faking ClientCommandKeyValues.
2015-07-12 13:14:46 -04:00
Nicholas Hastings
8a978dc71f
Remove hack around FuzzyMatch never being returned in TF2 for FindMap.
...
It has been fixed now in the game.
2015-07-04 13:42:50 -04:00
Nicholas Hastings
c32683225f
Merge pull request #357 from alliedmodders/dumps-datestamps
...
Dumps datestamps
2015-07-03 19:33:02 -04:00
Nicholas Hastings
01941d5504
Merge pull request #353 from alliedmodders/getentpropstringt
...
Better string_t support for Get/Set EntPropString
2015-07-03 19:32:54 -04:00
Nicholas Hastings
8fb97a6152
Add date to sm_dump_netprops_xml output.
2015-07-03 10:39:44 -04:00
Nicholas Hastings
801da2db37
Fix MSVC compile.
2015-07-03 10:38:15 -04:00
Nicholas Hastings
52147ca75f
Use datadesc instead of serverclass for m_iName lookup.
...
m_iName is not networked on all games.
2015-07-03 08:57:15 -04:00
Nicholas Hastings
2f3a3942b5
Merge pull request #356 from alliedmodders/revert-355-master
...
Revert "Changing MAX_NAME_LENGTH from 32 to 128 due to CSGO having 128."
2015-07-02 17:36:36 -04:00
Nicholas Hastings
3ab4e4f24e
Update sm_dump_netprops to include date of dump, similar to datamaps and classes dump commands.
2015-07-02 17:21:40 -04:00
Nicholas Hastings
1336d9cf5e
Update date format on sm_dump_classes and sm_dump_datamaps to use the less ambiguous Y/m/d...
...
Instead of d/m/Y.
2015-07-02 17:21:03 -04:00
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
8d8c9aa55b
Revert "Changing MAX_NAME_LENGTH from 32 to 128 due to CSGO having 128."
2015-07-02 13:34:40 -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
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
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
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
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
Nicholas Hastings
11bf32f6f1
Enable finding mapcycle in cfg dir on sdk2013 and bms.
2015-05-13 06:49:37 -07:00
Nicholas Hastings
55dee2d847
Trigger build for hl2sdk-bms update.
2015-05-12 21:03:36 -04:00
Nicholas Hastings
ae78acf97a
Remove harmless remnant of reverted change.
2015-05-12 13:39:06 -04:00
Nicholas Hastings
fda0978225
Merge pull request #338 from alliedmodders/nuke-address-minvalid
...
Remove Address_MinimumValid entry from sp incs
2015-05-12 13:05:31 -04:00
Nicholas Hastings
227323c96d
Merge pull request #336 from alliedmodders/link-libm
...
Link libm in all bin, not just engine-specific ones.
2015-05-12 11:54:52 -04:00
Nicholas Hastings
51344262c6
Merge pull request #333 from TheMadSword/IncreasedPrintToBufferSize
...
Increased PrintToChat, PrintCenter & PrintHint w/ "all" version, buffer sizes from 192 to 254.
2015-05-12 09:23:25 -04:00
Nicholas Hastings
4152e05dcd
Fix indentation.
2015-05-12 06:21:32 -07:00
Nicholas Hastings
5574acda3d
Remove Address_MinimumValid entry from sp incs
...
We have this defined in core for error checking, but it's useless in sp since unsigned comparisons are not supported.
2015-05-12 06:35:48 -04:00
Nicholas Hastings
75a93314a2
Rename PlayerManager::m_FirstPass to m_bServerActivated for clarity.
2015-05-11 20:42:26 -04:00
Nicholas Hastings
91b2ab8be1
Fixed some badness with the player initialization moving.
2015-05-11 20:29:00 -04:00
Nicholas Hastings
8fc689c89a
Populate MaxClients before OnPluginStart is called.
2015-05-11 19:31:22 -04:00
Nicholas Hastings
b3efc36487
Link libm in all bin, not just engine-specific ones.
...
This fixes the "undefined symbol: floorf" error that some people were getting in sourcemod.logic.so.
2015-05-11 18:59:12 -04:00