Commit Graph

5573 Commits

Author SHA1 Message Date
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
Ross Bemrose
d49714bb10 Add AMBuildScript, configure.py, and PackageScript 2015-05-14 12:36:59 -04:00
Asher Baker
fd48f4adfd Report size for DataPack Handles. 2015-05-13 19:43:53 +01:00
Asher Baker
7f97e67931 Saner allocation policy for DataPacks. 2015-05-13 19:43:35 +01: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
TheMadSword
6686badc93 Increased PrintHint and PrintCenter buffer 2015-05-09 09:22:07 -04:00
Asher Baker
1b47b68cc7 Correct NameHashSet::add() return type. 2015-05-09 11:57:49 +01:00
TheMadSword
b70873e046 Changed buffer size for games with ChatSayText='yes', tested in CSS&CSGO w/ adding the kv in engine.cs*.txt 2015-05-07 22:55:15 -04:00
Asher Baker
f7c6fc9d1f Restore check_thunks error message. 2015-05-07 21:53:38 +01:00
TheMadSword
f57dbeb60f Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest 2015-05-07 09:38:25 -04:00