Commit Graph

5749 Commits

Author SHA1 Message Date
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
David Anderson
ff692f6040 Merge pull request #366 from peace-maker/timer_paused
Fix calling timer callback in paused plugins
2015-08-13 22:14:02 -07:00
David Anderson
246c32a202 Update SourcePawn and AMTL. 2015-08-13 22:08:47 -07:00
David Anderson
f81786cea0 Merge pull request #368 from alliedmodders/rm-binding
Update includes to remove binding syntax.
2015-08-12 12:31:55 -07:00
David Anderson
bcfef75c5d Update regex and datapack includes to not use binding syntax. 2015-08-12 11:52:57 -07:00
Peace-Maker
0a14d3f50c Fix calling timer callback in paused plugins
Don't try to call the timer callback, if it's not runnable.
Error wasn't reported before the exception refactoring.
2015-08-09 01:50:36 +02:00
David Anderson
17c4649651 Update SourcePawn for bug 6396. 2015-08-02 12:54:34 -07:00
Nicholas Hastings
4c895a78c6 Update Insurgency gamedata. 2015-07-29 06:58:56 -04:00
David Anderson
152807b977 Update AMTL and SourcePawn submodules to master. 2015-07-25 17:25:59 -07: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
Ross Bemrose
b705de0143 Add missing CopyFiles function. 2015-07-25 13:16:17 -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
Ryan Stecker
86b04e36b5 Clarify the Get/SetPackPosition documentation. 2015-07-20 15:03:57 -05:00
Ryan Stecker
33d13ff81c Hide datapack positions behind an opaque handle. 2015-07-20 15:03:04 -05: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
Ruben Gonzalez
3ab31eba7b Update FoF sdktools gamedata. 2015-07-13 08:53:30 -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
Asher Baker
705b5d3f5f Merge pull request #340 from asherkin/datapack-alloc
Improve DataPack memory allocation & Report size for DataPack Handles
2015-07-08 20:07:40 +01: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
Kyle Sanderson
ed57a2f3d8 Merge pull request #355 from TheMadSword/master
Changing MAX_NAME_LENGTH from 32 to 128 due to CSGO having 128.
2015-07-02 14:27:33 -07: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
TheMadSword
1b706bcbcf Changing MAX_NAME_LENGTH from 32 to 128 due to CSGO having 128 bytes
buffer-size.
2015-07-02 16:14:54 -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