Mikusch
eef96da641
tf2: Add TFCond_PowerupModeDominant ( #1361 )
...
* Add TFCond_PowerupMode_Dominant
* comma
* Consistency
2020-10-02 17:33:57 -07:00
Rostu13
c38b392fdf
sdktools: permit symbol signatures on win32 ( #1346 )
...
* Fix sig scanner for windows
* fix linux build
* Update vcaller.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-10-02 17:33:05 -07:00
David Anderson
e0d9dfb68e
sourcepawn: uplift FakeNative to DynamicNative. ( #1338 )
...
This removes calls to CreateFakeNative.
2020-10-02 16:42:31 -07:00
Scags
589d6df75d
gamedata: implement GetMemSig ( #1345 )
2020-10-02 16:40:13 -07:00
Scags
6fd9d1ce11
gamedata: automate reparsing on load ( #1348 )
...
* Add sm_reload_gamedata
* Remove redundant cast
* Automate gamedata reparsing
* Update GameConfigs.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-10-02 16:25:27 -07:00
Headline
ef36604666
datapack: remove legacy cache ( #1357 )
2020-10-02 16:04:30 -07:00
Headline
db56b14637
loader: preserve binary path for amd64 ( #1358 )
2020-10-02 16:01:30 -07:00
Scags
b14c18ee64
Fix invalid sm_dump_netprops_xml output ( #1360 )
2020-10-01 14:28:07 -07:00
Michael Busby
2c94ab3b1c
Update L4D2 Gamedata for 2.2.0.0 ( #1351 )
2020-09-24 18:52:24 +01:00
Sikari
f12b3a2e13
Fix "Command Group" override type admin flags ( #1349 )
2020-09-07 10:41:59 +01:00
Asher Baker
ea3f55f030
Remove OnEntitySpawned C++ listener ( #1342 )
...
This is causing crashes with existing extensions using entity listeners.
Currently no one is asking for a C++ hook here, if it is desired it
needs to be done with proper versioning of the listener interface, which
is going to be a little bit more complicated without an initial hard
break.
https://forums.alliedmods.net/showpost.php?p=2715337&postcount=789
https://discordapp.com/channels/335290997317697536/335290997317697536/748101258186850334
This is a partial revert of #1078 .
2020-08-26 12:53:31 +01:00
David Anderson
6e2c5a66b3
Remove use of the Dep API.
...
This is going away.
2020-08-24 20:48:57 -07:00
David Anderson
0bed34e0c7
Add x64 to official Windows builds.
2020-08-20 23:17:21 -07:00
David Anderson
f0d8a70b38
Fix tabs in BreakpadSymbols.
2020-08-19 00:43:12 -07:00
David Anderson
9acf2b5cda
Use Python 3.8 on the Windows buildbot.
2020-08-19 00:39:54 -07:00
David Anderson
d49b92603a
Another BreakpadSymbols fix.
2020-08-19 00:12:40 -07:00
David Anderson
aa01a22416
Fix BreakpadSymbols again.
2020-08-19 00:09:08 -07:00
David Anderson
50e43a9f98
Fix BreakpadSymbols.
2020-08-18 23:45:30 -07:00
David Anderson
ed325c7208
Trigger a full rebuild.
2020-08-18 23:42:36 -07:00
David Anderson
aac2c4a080
Trigger full reconfigures when requested.
2020-08-18 23:29:24 -07:00
David Anderson
785c6aa1cf
Update to AMBuild 2.2.
...
This is a pretty big diff because SourceMod had lots of multi-arch
workarounds that can now go away. I've also changed 'x64' to 'x86_64' in
many places since this is how AMBuild normalizes it, and it's far too
late to pick the shorter string, so we might as well suck it up.
The --target-archs parameter has been replaced with --targets. It works
the same way.
The default behavior for SDK inclusion is now "present" instead of
"all" since this lowers the burden of storing many SDKs. Official builds
will still be made with --sdks=all.
2020-08-18 23:09:43 -07:00
Accelerator74
1b86c8564d
sdktools_voice: implement ClientSpeaking forwards ( #1247 )
...
* Update basevotes
When a player leaves during a voteban, he will be banned anyway. Also added a cvar with a ban time setting.
* Update basevotes.sp
* Added VoiceHook functions
* Update extension.h
* Update extension.h
* Code optimization
* Added support for more engines
* Invalidate timers
* Fixes
* Update extension.cpp
* Update voice.cpp
* correct Forward event type to ET_Ignore.
* sdktools_voice: de-implement IsClientSpeaking
* sdktools_voice: Add notice/unbind IsClientSpeaking
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-08-18 06:02:34 -07:00
PerfectLaugh
031f80f6e1
sdkhooks: assign velocities in CTakeDamageInfo(Hack) ( #1322 )
...
* Attempt to correct SDKHooks_TakeDamage
* Define function on both csgo and non-csgo
* Remove unneeded macros
* Fix velocity copy on CTakeDamageInfoHack init
2020-08-06 20:46:01 -07:00
BotoX
6f21138489
menusys: add MenuShufflePerClient native ( #1073 )
...
* Implement per-client randomized menus with MenuShufflePerClient native.
* Add MenuSetClientMapping native.
* fix remaining issues
* fix build issues from rebase
* Update MenuStyle_Base.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-08-06 20:31:00 -07:00
BotoX
7bab9cc344
sdkhooks: add OnEntitySpawned fwd. ( #1078 )
...
* Add OnEntitySpawned to SDKHooks.
* nitpicking
* Add CapabilityProvider SDKHook_OnEntitySpawned
* (unrelated) nits
* nit relocation
* unqualified relocation - my mistake.
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-08-06 20:01:07 -07:00
peace-maker
510bd261f8
core: Add Insurgency support for amd64 Windows ( #1295 )
...
* Add basic Insurgency support on Windows x64
This allows SourceMod to load on x64 Insurgency. There are still a lot of variable truncation warnings that have to be dealt with.
* Fix 32bit builds
* Compile MySQL extension as well
The hack for __iob_func being removed from the core runtime, but required by the old mysql we're building against can be simplified a lot due to the `_ReturnAddress` intrinsic available since MSVC 2015.
* Don't include the offset we want to extract in the signature
2020-08-06 19:53:06 -07:00
nosoop
c5619f887d
core: Add support for networked CUtlVector ( #1330 )
...
* Add offset-reading capability for networked CUtlVector instances
* Use strncmp instead of strstr
* Use strcmp instead of strncmp
Co-authored-by: Asher Baker <asherkin@limetech.io>
* Move CSendPropExtra_UtlVector offset to gamedata
* Update name of offset + add gamedata entry
* tiny nits
Co-authored-by: Asher Baker <asherkin@limetech.io>
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-08-06 19:15:20 -07:00
Kruzya
bb25b03884
Fix parameter name in SQL_SetCharset documentation ( #1329 )
2020-08-03 11:22:30 +01:00
WildCard65
9bbbf60268
Updated 'checkout-deps' to check for 'pip'/'pip3' prior to installing 'AMBuild'
2020-07-31 15:49:44 -07:00
Peace-Maker
37355f9c57
Remove cloning of Dota 2 SDK in CI
...
SourceMod doesn't support Source 1 Dota 2 anymore and neither Source 2. Speed up CI by only cloning the hl2sdks that are tested.
This adds a `-s sdk1,sdk2` parameter to the checkout-deps.sh script similar to the `-SDKs` option of the powershell script to select specific sdks to update instead of all.
2020-07-30 11:37:00 -07:00
PerfectLaugh
af76f757b5
Update SDKHooks_TakeDamage for CS:GO changes ( #1319 )
...
See alliedmodders/hl2sdk#77
2020-07-25 03:45:35 +01:00
Headline
b7650b11d6
NPOTB: Add x64 builds to travis-ci ( #1321 )
2020-07-24 16:48:22 -07:00
Headline
a0d06b3209
Fix Linux x64 libpcre.a linkage failure ( #1320 )
2020-07-24 16:29:43 -07:00
PerfectLaugh
c52edbd863
NPOTB: Trigger hl2sdk-csgo changes ( #1316 )
2020-07-24 00:19:58 -07:00
David Anderson
7355e34946
Fix AppVeyor.
2020-07-15 20:18:55 -07:00
Headline
5fa25e70ad
trie: implement clone() method ( #852 )
...
* Add Clone() for StringMap
* Fix for std::string addition
* trie: broken return key.
* clonetrie: correct handle leakage.
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-07-14 20:11:23 -07:00
Kyle Sanderson
b8ae4e617b
NPOTB travis-ci: address warnings / info. ( #1311 )
...
* Update .travis.yml
* travis-ci: test cache folder damage.
* travis-ci: cache invalidates checkout-deps.
2020-07-14 19:15:26 -07:00
Kyle Sanderson
353ced0e41
gamedata: align with core project values. ( #1310 )
...
* Rename blacklist.plugins.txt to blocklist.plugins.txt
* gamedata: adjust gamedata name.
* packagescript: adjust filename.
2020-07-14 18:40:28 -07:00
David Anderson
ed9f214256
appveyor: relocate in-tree and convert to MSVC2015. ( #969 )
...
* Move appveyor in-tree and move to MSVC2015.
* appveyor: sync.
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* Update appveyor.yml
* appveyor: align SDKs with travis-ci.
* Update appveyor.yml
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-07-13 17:56:12 -07:00
Headline
939bdaf669
regex: update pcre to 8.44 (bug 6650, r=KyleS) ( #1309 )
...
* Update OSX PCRE dependency to 8.44
* Add OSX build instructions
* Update Windows PCRE dependency to 8.44
* Update Linux PCRE dependency to 8.44
2020-07-13 15:35:17 -07:00
Headline
2d2ba818e7
Add pcre lib for Windows x64 builds ( #1307 )
2020-07-11 16:08:14 -07:00
Headline
2653a450fc
handlesys: Output allocation timestamp during panic ( #1110 )
...
* Track Handle creation time
* Move ConVar operations outside of loop
* We support bee's here
* Catch windows awfulness
* Prevent Character Truncation
* Add timestamp info to memory leak dump
* Remove last line and adjust new leak dump output
* KyleS fixes
* Fixed width output
* Create invalid parameter failure redirection helper
* Fix rebase regression
* Update sm_invalidparamhandler.h
* Update HandleSys.cpp
* Update HandleSys.cpp
* Update HandleSys.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-07-09 18:21:45 -07:00
Impact
a065773b6d
Update OnLibraryAdded and OnLibraryRemoved docs ( #1303 )
...
`OnLibraryAdded` and `OnLibraryRemoved` are called whether or not a optional dependency exists
2020-07-09 10:09:59 +01:00
Miikka Ylätalo
4e0ae0cb5e
Change int[] to any[] for data r/w functions ( #1221 )
2020-07-09 10:09:13 +01:00
Ҝℴţأķ
611bad4036
ArrayStack: add Clone method ( #1304 )
...
* Provide ArrayStack.Clone method
* Clean definition for old syntax.
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-07-08 20:59:17 -07:00
eyal282
4a4b9ce7f0
cookies: Align output with sm_help ( #977 )
...
* Update clientprefs.sp
* Update clientprefs.sp
* Update clientprefs.sp
* Update clientprefs.sp
* Update clientprefs.sp
* Update clientprefs.sp
* Create natives.sp
* Delete natives.sp
2020-07-08 20:38:35 -07:00
stickz
100f1e56ca
mapchooser: Add option for persistent map storage ( #1183 )
...
* Add option for persistent previous map storage
* Fix spacer
* Recall previous maps before CreateNextVote()
* Remove MAPCHOOSER_TXT define
* nits and bits
* Update mapchooser.sp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-07-08 19:56:26 -07:00
nosoop
69ae224938
testing: Add stock AssertStrEq ( #1185 )
...
* Add AssertStrEq to testing include
* Remove unnecessary last param
2020-07-08 19:18:39 -07:00
stickz
287628bfee
mapchooser: Clear map history on limit change ( #1197 )
...
This commit fixes a bug where if the value of `sm_mapvote_exclude` is reduced, the change may not take effect right away.
2020-07-08 18:36:50 -07:00
42
f27dc2f4f4
sdktools: Throw error when invalid address passed to SDKCall ( #1265 )
2020-07-08 18:27:10 -07:00