Kyle Sanderson
86f974f242
NPOTB: Enable cstrike builds w/ Travis-CI. ( #1014 )
...
Travis-CI seems to have finally improved their environment so we should be okay to test this unique code-path now with CI.
2019-05-14 11:38:20 -07:00
Kyle Sanderson
cb8d92edeb
SDKHooks: Reset global hookid when unhooking in SH. ( #916 )
...
Fixes https://github.com/alliedmodders/sourcemod/issues/912
2018-10-28 11:06:57 -07:00
Kyle Sanderson
255b9323cc
Flip sm_debug_connect to "1" ( #860 )
2018-07-27 22:02:31 -07:00
Kyle Sanderson
3baa703256
NPOTB: Fix clang-3.9 failures with Travis-CI ( #851 )
...
fix clang-3.9 failures, maybe; hopefully. I forget why this was broken.
2018-07-17 13:07:55 -07:00
Kyle Sanderson
2b3159f418
NPOTB: Add Discord and IRC Server to README.md
2018-07-17 10:43:23 -07:00
Kyle Sanderson
72acca4b9e
Fix DataPack memory leak regression from #848 . ( #850 )
...
* Fix memory leak regression from https://github.com/alliedmodders/sourcemod/pull/848 .
2018-07-16 08:34:49 -07:00
Kyle Sanderson
d0bf26135c
Collection of plugin cleanups ( #777 )
...
* Fix rockthevote not clearing g_Voted on fakeclients.
* remove g_RTVAllowed in rockthevote as it's unused.
* Fix basebans using the wrong forward for configs.
* Prevent sm_addban from banning an immune steam adminid.
* Sprinkle in IsChatTrigger checks to plugins with plaintext chat hooks.
* fixup g_Voted[client] in OnClientDisconnect
2018-07-12 11:16:18 -07:00
Kyle Sanderson
1ab6ab1e5c
NPOTB: Add basic issue template for new GH issues.
2018-04-05 22:20:49 -07:00
Kyle Sanderson
de108cca44
Simplify Logger internals (Fixes Issue #663 ). ( #691 )
...
* Simplify Logger internals (Issue #663 ).
* Avoid reformatting strings on every call.
2017-12-29 19:56:25 -08:00
Kyle Sanderson
5f5a6b3a16
Migrate CDataPack from a Compact Cassette tape. ( #688 )
...
* Migrate CDataPack from a Cassette Tape.
Tested-By: Headline22.
* Remove last IsReadable param pass.
* populate len still if CDataPack::ReadString is unreadable or the wrong type.
* Fyren Fixes(TM)(R)(C).
* Deprecate IDataPack.
2017-12-29 19:56:02 -08:00
Kyle Sanderson
8589a091dd
Update pushbuild.txt
...
Force build.
2017-11-27 17:49:01 -08:00
Kyle Sanderson
2658636377
Fix unsigned compiler warning.
2017-10-27 18:53:49 -04:00
Kyle Sanderson
36f9a8ed7a
NPOTB: Remove unsupported packages line from Travis-CI.
2017-10-10 12:00:11 -07:00
Kyle Sanderson
2ccaa376ba
NPOTB: Enable better coverage testing with toolchains (Travis-CI). ( #703 )
...
NPOTB: Enable better coverage testing with toolchains (Travis-CI).
2017-10-09 18:34:01 -07:00
Kyle Sanderson
65bf85fcbe
(Re-)Add support for gcc and clang3.9, 4.0, and 5.0.
2017-10-09 16:53:19 -07:00
Kyle Sanderson
30f061e818
Fix unsigned comparison warnings (-Werror + GCC5) from CS:GO fixes.
2017-10-09 13:00:52 -07:00
Kyle Sanderson
22e3d2d198
Fix GCC build with SourcePawn.
2017-10-09 11:51:49 -07:00
Kyle Sanderson
5d234bb9d6
Fix OnPlayerRunCmd crashing with invalid CUserCmd ptr. ( #693 )
2017-09-23 23:27:32 -07:00
Kyle Sanderson
e987cf6bfc
Change CHalfLife2::GetMapDisplayName to always check for string substitutions. ( #596 )
2017-04-03 20:28:10 -04:00
Kyle Sanderson
f9ec1484f8
Update SourcePawn Module to c687974f5451b9d312141bfa020f465bd8bf96aa .
2017-01-21 18:05:54 -08:00
Kyle Sanderson
371e9f2f93
Check multiple engine sources for updated AuthIDs. ( #552 )
...
* Check multiple engine sources for updated AuthIDs.
* References are not defined.
2016-10-14 12:44:00 -07:00
Kyle Sanderson
20b7592fcd
GetPlayerNetworkIDString isn't alone anymore, we have friends. ( #551 )
...
* GetPlayerNetworkIDString isn't alone anymore, we have friends.
Completely speculative CS:GO fix, 50/50, 60/40.
* Preserve existing cycle-saving techniques.
* Style.
2016-10-13 22:14:51 -07:00
Kyle Sanderson
2deaa666f3
Fix erroneous () in DebugReport:: printouts. ( #517 )
2016-10-03 16:29:51 +01:00
Kyle Sanderson
015b9e92b6
Sync AMTL with upstream fixes. ( #538 )
2016-08-28 14:01:53 -07: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
Kyle Sanderson
e6ec89d145
Change checkout-deps to use tls for mysql.
...
http://cdn.mysql.com -> https://cdn.mysql.com
2016-04-15 19:10:23 -07:00
Kyle Sanderson
8924a9744e
Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel::SendFile or INetChannel::ProcessPacket.
...
This works around a TF Replay SourceHook crash that Johns was seeing when using 1.8.
SourceHook is not thread-safe at the time of this writing.
2016-03-20 14:07:08 -07:00
Kyle Sanderson
0d80d3c57c
Merge pull request #482 from peace-maker/ext_deps_name
...
Fix printing dependent extension name on unload
2016-02-27 15:00:35 -08:00
Kyle Sanderson
76f33d2742
Merge pull request #474 from Benoist3012/Benoist3012-tf2-tfcond-enums-update
...
Update tf2.inc TFCond enums
2016-02-06 14:56:35 -08:00
Kyle Sanderson
52e3b580f3
Merge pull request #471 from peace-maker/drawitem_returntag
...
Change Panel.DrawItem return tag to |int| (bug 6463)
2016-01-22 09:45:29 -08:00
Kyle Sanderson
2812f227b7
Change SDKHooks CanBeAutoBalanced to only MRES_SUPERCEDE if the return changes.
2015-12-29 12:44:03 -08:00
Kyle Sanderson
ce25a44e00
Merge pull request #442 from alliedmodders/netchanR
...
Use present netchannel instead of cached netchannel in CHookManager::SendFile.
2015-11-07 13:04:02 -08:00
Kyle Sanderson
72edc74e8b
Use present netchannel instead of cached netchannel in CHookManager::SendFile.
2015-11-07 12:51:13 -08:00
Kyle Sanderson
1a09f2b6df
Merge pull request #433 from alliedmodders/dinner
...
NPOTB: Remove 0x prefix from two-byte instructions.
2015-10-29 02:25:15 -07:00
Kyle Sanderson
44d34d0e5d
NPOTB: Remove 0x prefix from two-byte instructions.
2015-10-28 19:43:17 -07:00
Kyle Sanderson
5b3b17799f
Merge pull request #407 from Thordin/FindEntityByNetClass
...
Added IsFree() edict check to FindEntityByNetClass
2015-09-13 14:02:38 -07:00
Kyle Sanderson
afc88694fd
Merge pull request #305 from KyleSanderson/filetranshooks
...
Add File Transfer hooks to SDKTools (Bug 4222).
2015-09-12 13:12:50 -07:00
Kyle Sanderson
274e7bd329
Add FileTransfer Hooks to SDKTools (r=Drifter).
2015-09-12 13:01:33 -07:00
Kyle Sanderson
6909f7f23c
Merge pull request #396 from alliedmodders/findmapconst
...
Change FindMap to take a const char* for searching instead of char*.
2015-09-10 12:14:43 -07:00
Kyle Sanderson
f59df243ea
Change FindMap to take a const char* for searching instead of char*.
2015-09-10 11:47:46 -07:00
Kyle Sanderson
d9839bab68
Fix sm-central crashing on start (bug 6413).
2015-09-10 11:32:10 -07:00
Kyle Sanderson
d85568b54b
Merge pull request #321 from Bara20/getentityrendercolor
...
Add GetEntityRenderColor stock.
2015-09-08 16:22:16 -07:00
Kyle Sanderson
9ebd4ad627
Merge pull request #319 from KyleSanderson/20isntagoodnumber
...
Allow GetMapHistorySize to return numbers greater than 20 (r=Dr!fter).
2015-09-05 13:58:03 -07: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
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
Kyle Sanderson
0f9b9d0a24
Call OnClientDisconnect(_Post) if the client is already connected.
2015-06-11 20:14:25 -07: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
Kyle Sanderson
f421278166
Merge pull request #325 from VoiDeD/setfailstate-crash
...
Notify plugin listeners of SetFailState'd plugins on unload. (bug 6347)
2015-04-15 15:34:12 -07:00
Kyle Sanderson
aa99eb803b
Allow GetMapHistorySize to return numbers greater than 20.
2015-04-02 13:50:47 -07:00
Kyle Sanderson
47eabfb7fb
Spaces
2015-04-02 10:46:49 -07:00
Kyle Sanderson
a6ab14f28e
Add errno.
2015-04-02 10:46:11 -07:00
Kyle Sanderson
a42cfed39c
Enable travis-ci container environment.
2015-04-02 10:38:34 -07:00
Kyle Sanderson
88c4618230
Merge pull request #320 from KyleSanderson/dust
...
Remove Project Files from older outdated build systems.
2015-04-02 10:34:57 -07:00
Kyle Sanderson
de58944140
Change checkout-deps.sh to do a user install instead of sudo.
2015-04-01 23:51:18 -07:00
Kyle Sanderson
7341bd184e
Remove Project Files from older outdated build systems.
2015-04-01 19:54:34 -07:00
Kyle Sanderson
7a8bf78f39
Merge pull request #229 from powerlord/menuactions_all_warning_fix
...
Stop MENU_ACTIONS_ALL from tossing warnings with #pragma newdecls required
2015-04-01 19:39:52 -07:00
Kyle Sanderson
d0d0ea5051
Merge pull request #269 from KyleSanderson/wnoerrorsign
...
Add Wno-error=sign-compare for gcc to Compiler. r=dvander
2015-03-05 20:05:06 -08:00
Kyle Sanderson
3386a3af80
Add Wno-error=sign-compare for gcc to Compiler.
2015-02-21 20:25:39 -08:00
Kyle Sanderson
9099516906
Merge pull request #200 from alliedmodders/travis-clang-3.5
...
Make TravisCI builds use Clang 3.5 to match our Buildbot builds.
2015-02-21 19:28:38 -08:00
Kyle Sanderson
f235f97d95
Install g++-4.8 before installing llvm 3.5
2015-02-21 19:20:18 -08:00
Kyle Sanderson
4bd4d8d4a5
Merge pull request #268 from KyleSanderson/MenuCrash
...
Root Menu Handles during Display (Bug 5620,r=dvander).
2015-02-21 17:25:25 -08:00
Kyle Sanderson
284fab7254
Root Menu Handles during Display.
2015-02-21 17:10:26 -08:00
Kyle Sanderson
d1af9b5fd1
Merge pull request #248 from KyleSanderson/mysqltimeout
...
Establish a default timeout for MySQL connectivity.
2015-01-21 06:46:18 -08:00
Kyle Sanderson
e3349116cb
Establish a default timeout for MySQL connectivity.
2015-01-21 05:58:45 -08:00
Kyle Sanderson
c70f16c65a
Force reconfigure.
2015-01-20 18:15:15 -08:00
Kyle Sanderson
37d9867c06
Merge pull request #129 from KyleSanderson/SDKDep
...
Enable SDK independence with MM:S enabled extensions.
2015-01-20 17:22:04 -08:00
Kyle Sanderson
bc4081718b
Merge pull request #218 from KyleSanderson/damageeeee
...
Return the 'e' to OnTakeDamagAlive comment.
2014-12-09 23:20:20 -08:00
Kyle Sanderson
0375aedd47
Return the 'e' to OnTakeDamagAlive comment.
2014-12-09 22:21:46 -08:00
Kyle Sanderson
cd4978d60e
Merge pull request #154 from VoiDeD/sdkhooks-inc-fix
...
Fix sdkhooks.inc compile error
2014-09-06 22:10:22 -07:00
Kyle Sanderson
766b6e1770
Merge pull request #127 from alliedmodders/coremapend
...
Add OnCoreMapEnd to extension's interface.
2014-08-15 20:48:59 -07:00
Kyle Sanderson
901890e36d
Eliminate SDK dependence for MM:S enabled extensions.
2014-08-09 14:42:38 -07:00
Kyle Sanderson
678e743819
Merge pull request #116 from VoiDeD/funcommands-gravity
...
Fix PerformGravity's logging format.
2014-07-30 17:59:52 -07:00
Kyle Sanderson
c4a1e3c819
Merge pull request #107 from alliedmodders/sdkhackfix
...
Copy SDKHooks vector instead of taking a reference.
2014-07-30 15:42:49 -07:00
Kyle Sanderson
ab72841704
Rename SDKHooks function and variable to be friendlier.
2014-07-30 15:34:51 -07:00
Kyle Sanderson
ba0406930d
Pre-allocate 8 elements to skip trivial reallocations near the beginning of the vectors life.
2014-07-29 02:48:13 -07:00
Kyle Sanderson
be79dee6e0
Store only the callback as per VoiDeD, re-eval if HookList changes.
2014-07-29 02:46:49 -07:00
Kyle Sanderson
97610edda4
HackFix: Mimic forwardsys style of pawn calling.
2014-07-28 15:51:34 -07:00
Kyle Sanderson
69cb941fa4
Merge pull request #25 from KyleSanderson/kylepreds
...
Replace SourceHook list usages in clientprefs with AMTL.
2014-06-12 15:42:30 -07:00
Kyle Sanderson
70518a8e49
Revert "Add better spacing to compile.sh"
...
This reverts commit cd106a7eb6 .
2014-06-08 00:42:27 -07:00
Kyle Sanderson
ec9791b183
Merge pull request #24 from 50Wliu/compile
...
Compile.sh spacing improvements
2014-06-06 19:52:56 -07:00
Kyle Sanderson
695fc802a9
Replace SourceHook list usages in clientprefs with AMTL.
2014-06-04 21:49:48 -07:00
Kyle Sanderson
c37dbe131e
Merge pull request #23 from KyleSanderson/gameextusage
...
Replace SH List usages in game extensions with AMTL variants.
2014-06-04 20:03:23 -07:00
Kyle Sanderson
975fc93e1f
Replace SourceHook list usages in tf with AMTL.
2014-06-04 17:36:53 -07:00
Kyle Sanderson
6c37a5d9f3
Replace SourceHook list usages in cstrike with AMTL.
2014-06-04 17:36:28 -07:00
Kyle Sanderson
556d5e0949
Merge pull request #9 from KyleSanderson/amtlutilloudness
...
Quell isNaN MSVC performance warning.
2014-05-28 18:12:32 -07:00
Kyle Sanderson
05d8622ea9
Quell isNaN MSVC performance warning.
2014-05-28 18:05:55 -07:00
Kyle Sanderson
5193b70ada
Update README.md with community hyper links.
2014-05-26 23:23:39 -07:00
Kyle Sanderson
365da7fef6
GCC build fix.
2014-05-20 20:33:50 -07:00
Kyle Sanderson
9c62e94239
Optimize native call if statically bound (bug 5842, r=ds,fyren f=dvander).
...
Original patch written by David Anderson (original r from Fyren).
- Updated to function with the current JIT compiler.
- Took in clean-ups from later-dated patches.
2014-05-11 14:36:32 -07:00
Kyle Sanderson
f15234e4f8
Changed EventHook name storage to use AString (bug 6188, r=psychonic).
2014-05-10 02:40:08 -07:00
Kyle Sanderson
55b77a1925
Return the 'd' to ClientPrefs::AreClientCookiesPening (r=asherkin).
2014-05-09 09:34:29 -07:00
Kyle Sanderson
b5decd8a50
Build Fix.
2014-05-06 18:48:53 -07:00
Kyle Sanderson
b1901da79f
Unify Maximum supported clients, raised SDKTools limit (bug 5964, r=psychonic).
2014-05-06 18:40:35 -07:00
Kyle Sanderson
9abac06e85
Change SDKHooks to VTable Hooks (bug 6070, r=psychonic).
2014-03-23 22:11:06 -06:00
Kyle Sanderson
cd349946e8
Fix FakeClientCommandEx always leaking memory (bug 5678, r=psychonic).
2014-03-08 19:50:55 -07:00
Kyle Sanderson
38bbb8580f
Move PlayerRunCmd to a global VTable Hook (bug 6051, r=psychonic).
2014-03-01 14:25:35 -07:00
Kyle Sanderson
977bf4d583
Fix Anti-Flood resolution of gametime (bug 5394, r=psychonic).
2014-02-27 20:49:19 -07:00
Kyle Sanderson
84d58ff421
Remove unfinished ConVar queries on client disconnect (bug 6003, r=psychonic).
2014-02-27 19:55:13 -07:00
Kyle Sanderson
36cc7610a1
Fix bad handle Forward handling in RequstFrame (irc, r=psychonic).
2014-02-08 15:10:35 -07:00
Kyle Sanderson
06d2017a95
Remove unmanaged forwards from lookup list on Release (bug 6025, r=psychonic).
2014-02-08 14:51:44 -07:00