6468 Commits
Author SHA1 Message Date
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
Asher Baker 668839d1cb Update TF2 Disguise signature. 2015-07-02 14:37:48 +01:00
Kyle Sanderson a410aefd6d Merge pull request #352 from peace-maker/charset_thread
Lock database before setting character set
2015-06-29 12:14:09 -07:00
Peace-Maker c6a7e86762 Lock database before setting character set
SQL_SetCharset wasn't thread safe and could race with other threaded
queries causing a crash.
2015-06-29 20:44:45 +02: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