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
Nicholas Hastings
71cb002bc1
Merge branch 'master' of https://github.com/alliedmodders/sourcemod
2015-05-11 06:54:55 -04:00
Nicholas Hastings
78dcb8a0f3
Add gamedata file missing in PackageScript.
2015-05-11 06:52:56 -04:00
Nicholas Hastings
9d6cbfe0cc
Remove unused gamedata.
2015-05-11 06:52:21 -04:00
Nicholas Hastings
7ab3d76c9f
Merge pull request #331 from alliedmodders/support-bms
...
Add support for Black Mesa Multiplayer.
2015-05-10 18:44:20 -04:00
Nicholas Hastings
397c45457a
Fix spacing in PackageScript.
2015-05-06 22:18:43 -04:00
Nicholas Hastings
909598920b
Disable nextmap on Black Mesa for now. (Doesn't ship with mapcycle.txt).
2015-05-06 22:01:57 -04:00
Nicholas Hastings
dac3d1c988
Remove leftover debug code.
2015-05-06 22:01:39 -04:00
Nicholas Hastings
9164730b07
Add gamedata for Black Mesa.
2015-05-06 22:01:29 -04:00
Nicholas Hastings
64f9aedebc
Add basic support for Black Mesa.
...
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00
Nicholas Hastings
ffedae66f4
Trigger build for hl2sdk-dota changes.
2015-05-03 15:07:07 -04:00
Nicholas Hastings
a480bf0014
Trigger build for hl2sdk-dota changes.
2015-05-03 10:01:00 -04:00
Nicholas Hastings
2432540d6e
Merge branch 'set-client-name'
2015-04-17 04:50:13 -07:00
Nicholas Hastings
16eeaf625f
Enable the "name %s" command blocking on CS:GO as well.
2015-04-17 06:51:48 -04:00
Nicholas Hastings
fee99f3629
Sourcepawn fix.
2015-04-12 18:35:57 -04:00
Nicholas Hastings
35c81365be
Update Sourcepawn submodule to get fix for bug 6329.
...
- Fix bug where complex |this| values could be corrupted while evaluating function arguments. (bug 6329)
2015-04-12 16:52:28 -04:00
Nicholas Hastings
8ff1a9daf3
Merge pull request #322 from alliedmodders/fix-coreconf-order
...
Fix CoreConfig init to happen after SMGlobalClasses from logic bin are added (r=asherkin).
2015-04-05 10:43:17 -04:00
Nicholas Hastings
6c6ed241d3
Fix CoreConfig init to happen after SMGlobalClasses from logic bin are added.
...
This fixes OnSourceModConfigChanged not being called for logic classes when
config is first read, matching behavior for core classes. The function is still called
before each class's OnSourceModStartup func.
2015-04-05 10:06:30 -04:00
Nicholas Hastings
b84114bc8e
Update sourcepawn submodule to version with --gen=vs fix.
2015-04-05 09:32:59 -04:00
Nicholas Hastings
7268987461
Merge pull request #301 from alliedmodders/get-team-entity
...
Add GetTeamEntity native to SDKTools.
2015-04-01 22:30:18 -04:00
Nicholas Hastings
ce56680fff
Merge pull request #315 from alliedmodders/direxists-empty
...
Make DirExists("") throw an error.
2015-04-01 22:30:03 -04:00
Nicholas Hastings
ea7d5ad8f1
Merge pull request #314 from alliedmodders/tfconds-reducks
...
Pass a handle instead of entptr to ProcessCondChange for stability.
2015-04-01 22:29:55 -04:00
Nicholas Hastings
91302da050
Merge pull request #313 from alliedmodders/set-client-name
...
Add SetClientName native.
2015-04-01 22:29:44 -04:00
Nicholas Hastings
d49c72cf8b
Fix typo in core AMBuilder file triggering exception when triggering exception.
2015-03-31 17:39:04 -04:00
Nicholas Hastings
c11036a7b9
Update TF2 gamedata.
2015-03-31 17:37:44 -04:00
Nicholas Hastings
7b56dd5c8a
Fix build.
2015-03-22 19:23:58 -04:00
Nicholas Hastings
53f9bb0402
Add missing SetClientName description in function doc.
2015-03-22 18:56:02 -04:00
Nicholas Hastings
885117fb66
Add hack-fix for CS:S reverting name changes done with SetClientName.
2015-03-22 18:29:11 -04:00
Nicholas Hastings
d12d7625aa
Remove unused phrase.
2015-03-22 15:36:07 -04:00
Nicholas Hastings
7399991181
Add SetClientName gamedata.
2015-03-22 15:17:31 -04:00
Nicholas Hastings
e62654acba
Change sm_rename to use new SetClientName native.
2015-03-22 12:15:30 -07:00
Nicholas Hastings
7d795b523e
Add SetClientName native.
2015-03-22 12:15:08 -07:00
Nicholas Hastings
38817bdd2c
Pass a handle instead of entptr to ProcessCondChange for stability.
2015-03-22 06:53:51 -07:00
Nicholas Hastings
660d6201ab
Merge pull request #310 from InstantMuffin/patch-2
...
Fixed missing include in gdc-psyfork/memoryutils.cpp (r=psychonic).
2015-03-15 20:22:47 -04:00
Nicholas Hastings
28870d2ae5
Make OpenDirectory error for empty path match error in DirExists.
2015-03-10 18:58:00 -07:00