Commit Graph

6095 Commits

Author SHA1 Message Date
Nicholas Hastings
7008a566a8 Redownload GeoIP data if file size is 0, regardless of file modified time.. 2016-07-24 08:26:00 -04:00
Nicholas Hastings
100ddd6724 Trigger build. 2016-07-22 10:26:58 -04:00
Peace-Maker
2c8614c639 Keep optional natives optional after reloading
Bug 6518

Starting from no plugins loaded, after the final step of the following,
basetriggers will be marked as errored because mapchooser is missing:

Load basetriggers
Load mapchooser
Unload mapchooser
Load mapchooser
Unload mapchooser

We lose the SP_NTVFLAG_OPTIONAL when removing a WeakNative. The
__pl_mapchooser_SetNTVOptional() is only called in basetriggers when it
is loaded. It adds the OPTIONAL flag to the mapchooser natives the
basetrigger plugin uses.
When mapchooser is loaded, the native is overwritten and the OPTIONAL
flag consumed (WeakNative registered), but not preserved. Later when
mapchooser is unloaded the WeakNative is removed in
CNativeOwner::UnbindWeakRef, but the OPTIONAL flag isn't added again.
The next time mapchooser is loaded, the natives aren't optional anymore
and will cause a real dependency.

The change in ShareSys isn't needed to fix the error, but is included to
keep the SP_NTVFLAG_OPTIONAL flag consistent.
2016-07-21 01:52:47 +02:00
David Anderson
a34555c45d Merge pull request #527 from alliedmodders/fix-new-sp
Fix syntax for SourcePawn update.
2016-07-09 12:28:43 -07:00
David Anderson
adba0560d7 Fix syntax for SourcePawn update. 2016-07-09 12:24:18 -07:00
David Anderson
1b30e78db3 Update to the latest AMTL. 2016-07-09 12:16:17 -07:00
Nicholas Hastings
cb7eeef014 Remove TFHoliday_SpyVsEngyWar - no longer exists. 2016-07-08 15:44:49 -04:00
Nicholas Hastings
fc9aa50f3c Update TF2 "holiday" gamedata. 2016-07-08 15:44:16 -04:00
Nicholas Hastings
f268fddc3c Update TF2 gamedata. 2016-07-07 19:58:15 -04:00
Asher Baker
3152e7f43f Force build for CS:GO CUserCmd mouse vector fix 2016-07-03 01:04:02 +01:00
Nicholas Hastings
a2ceb8f7d5 Trigger build for hl2sdk-csgo update. 2016-06-25 07:36:34 -04:00
David Anderson
9db8c4af3e Merge pull request #524 from alliedmodders/rm-halfup
Remove half-up rounding.
2016-06-22 16:11:18 -04:00
David Anderson
34dedcaab1 Remove half-up rounding. 2016-06-22 12:54:36 -07:00
Asher Baker
58c00f4487 Download Clang from SourceMod site (#523)
Also switch to Clang 3.8
2016-06-20 17:12:58 +01:00
peace-maker
f425236bac Increase topmenu display buffer size (#520)
The buffer for menu options was 64 chars. That limit can easily be
reached by some utf8 string which would get truncated. Double the buffer
size to 128 chars.
2016-06-20 16:03:54 +01:00
Luki
023a3ca056 Change behaviour for mass renaming (#521)
Append number instead of randomizing when renaming multiple players.

Before the change:
sm_rename @all "Random Name" - this would rename everyone but the names would be randomized (random characters and numbers)

After the change:
sm_rename @all "Random Name" - this would rename everyone to: Random Name 1, Random Name 2, Random Name 3 ...  etc.

Description:
sm_rename can only rename 1 player at a time, when you specify a name. If you use this command on multiple players (like sm_rename @bots "A random bot"), their names get randomized(just like when you dont specify a name). So I propose this change, so you can rename multiple people.

PS:The funny thing is that there was a comment in the code about not wanting everyone to have a same name, but sm_rename doesnt a have check for this so you could use sm_rename to rename everyone, one by one, using the same name.
2016-06-20 13:24:36 +01:00
Nicholas Hastings
34a0cb170e Update FoF gamedata. 2016-06-16 16:15:48 -04:00
Nicholas Hastings
5e4ee1b849 Update CS:GO gamedata. 2016-06-16 16:14:36 -04:00
Nicholas Hastings
f668b3fe6c 🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍 2016-06-11 12:43:04 -04:00
Nicholas Hastings
f12924458f Merge branch 'vs2015' 2016-06-11 12:14:12 -04:00
Nicholas Hastings
857f5fcced Add PowerShell version of checkout-deps script for Windows (NPOTB). 2016-06-11 11:17:29 -04:00
Nicholas Hastings
4eb1e8a4b0 Fix float unary minus operator not functioning properly after PR #510. 2016-06-09 21:36:46 -04:00
Nicholas Hastings
0f96a28cca Use VSERVERTOOLS003 in Nuclear Dawn if server has it available. 2016-06-08 12:32:20 -04:00
Fyren
4d8e76202d Merge pull request #518 from alliedmodders/UTIL_ReplaceAll-fix
Fix UTIL_ReplaceAll not properly tracking length (bug 6472)
2016-06-06 16:40:17 -06:00
Fyren
e356758743 Merge pull request #516 from alliedmodders/scheduledpluginreloads
Better plugin reloads.
2016-06-06 16:29:07 -06:00
Fyren
4e654704dc Slightly better handling of plugin reloading. 2016-06-06 22:26:34 +00:00
Fyren
1790033458 Fix UTIL_ReplaceAll not properly tracking length. 2016-06-06 06:29:53 +00:00
Nicholas Hastings
e3d7a047bd Fixed varint sendprops being treated improperly in CS:GO. 2016-06-05 11:03:18 -04:00
Nicholas Hastings
a67c54a67c Bump version number. 2016-06-05 10:10:07 -04:00
ErikMinekus
b9f7f20046 Fixed return doc spacing for GetGameFolderName (#515) 2016-05-31 07:34:54 -04:00
Nicholas Hastings
c42f73b66c Update more Insurgency gamedata. 2016-05-27 09:33:20 -04:00
Nicholas Hastings
5a2bc4479d Update Insurgency gamedata. 2016-05-26 13:43:07 -04:00
Nicholas Hastings
31928e6282 Fix late/incorrect calls to TR_GetEntityIndex potentially causing crash. (#513) 2016-05-21 14:44:00 -04:00
Nicholas Hastings
9b3b2eb23e Fix comment and reduce branching in TF2_IsPlayerInCondition. 2016-05-21 12:55:47 -04:00
Nicholas Hastings
e127a55b0a Clarified func doc for some edict/entity funcs. 2016-05-21 12:53:55 -04:00
Nicholas Hastings
b7223932d2 Fix some funcommands gamedata for CS:GO.
The base SoundFinal and SoundBoom files don't exist there.
2016-05-21 12:53:27 -04:00
ErikMinekus
542bb59978 Update large includes for transitional syntax #2 (#511) 2016-05-21 09:16:49 -04:00
ErikMinekus
f91d659c6f Update large includes for transitional syntax #1 (#510) 2016-05-21 08:52:43 -04:00
ErikMinekus
7451257578 Update small includes for transitional syntax (#509) 2016-05-20 15:56:21 -04:00
Nicholas Hastings
d8835a426f Update FoF gamedata. 2016-05-20 09:53:43 -04:00
Nicholas Hastings
5edc46c994 Don't enable FileExists hook (SendFile forward) on TF2 servers with Replay. (#512)
It will crash. See PR #493 for details.
2016-05-19 19:11:28 -04:00
Kyle Sanderson
57c6e09fcf Merge pull request #493 from alliedmodders/tfreplaycrash
Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel
2016-05-19 15:23:05 -07:00
Nicholas Hastings
626ee9ac65 Update more BM:S gamedata and trigger build against SDK change. 2016-05-16 17:52:38 -04:00
Nicholas Hastings
59191486b6 Update BM:S gamedata. 2016-05-15 09:16:09 -04:00
Nicholas Hastings
f645ca0daf Update FoF gamedata. 2016-05-14 08:01:10 -04:00
Nicholas Hastings
20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -04:00
Nicholas Hastings
98e8f70424 Remove some unused gamedata. 2016-05-11 15:16:48 -04:00
ErikMinekus
6d9f46e983 Update fun plugins for transitional syntax (#508) 2016-05-11 10:56:12 -04:00
ErikMinekus
d9fb0ba64e Update base plugins for transitional syntax (#507) 2016-05-11 10:44:58 -04:00
ErikMinekus
e8734ccf28 Update small plugins for transitional syntax (#506) 2016-05-11 09:32:34 -04:00