Michael Flaherty
b9b6832a11
Streamline ConfDb loading proceedure ( #791 )
...
* Create DatabaseConfBuilder & remove locking
* Remove all refcounting
This is part 1/n in regards to this PR's rework
* Move db conf lookup out of RunThreadPart
* Return default configuration for failed lookups
* RefPtr members & stop leaks
* fix uint comparison warning
2018-06-19 09:35:37 -07:00
peace-maker
6fcb411fe4
MySQL: Support multiple result sets in prepared queries ( #825 )
...
Prepared statements can return multiple result sets since MySQL 5.5. That can happen when calling stored procedures using `CALL x();`.
This change removes the previous caching of result bindings, since the number of fields in a result can differ from result set to result set. This could potentially have a negative impact on prepared statements always only returning one result set, since the result binding buffers are recreated everytime the statement is executed instead of once. That difference should be negligible.
Fixes #823 .
2018-06-05 18:33:33 +01:00
peace-maker
9cc518e408
Fix MySQL extension build using vs2015 ( #824 )
...
MySQL defines its own timespec_t. Official mysql builds are built using VS2013, so you still need to compile the client library yourself to be able to link it, but this change makes the dbi extension compatible with future versions already.
2018-06-05 09:29:11 -04:00
Ruben Gonzalez
d430bd2f5c
Fix CompileRegex not actually setting a valid error code. ( #775 )
...
Fix CompileRegex not actually setting a valid error code.
2018-05-28 13:59:43 -04:00
Nick Hastings
b0e7bab980
Merge branch 'master' of https://github.com/alliedmodders/sourcemod
2018-03-28 21:11:14 -04:00
Nick Hastings
9b8d28de56
Allow -1/null for attacker and inflictor for OTD (bug 6494).
2018-03-28 21:10:32 -04:00
Michael Flaherty
5611ec54a2
Migrate extensions to common AMTL string funcs ( #785 )
2018-03-25 13:00:53 -07:00
Michael Flaherty
118d6dc9b1
Improve error message for EmitSound ( #787 )
...
Improve some error messages in sdktools.
2018-03-20 19:42:43 -06:00
Nicholas Hastings
08fe840bfd
Probably fix Windows build.
2018-03-20 17:25:48 -04:00
peace-maker
be6a930e82
Update SQLite to version 3.22.0 ( #783 )
...
This includes numerous bug fixes, optimizations and new features from releases over the past 5 years.
http://sqlite.org/chronology.html
2018-03-19 19:09:12 -04:00
Ruben Gonzalez
5ac3390656
Add new regex natives. ( #767 )
...
Add new regex natives to get multiple/all matches.
2018-02-15 15:31:24 -05:00
Byte
1706fdfed9
Fix typo and update CSGOBadList ( #738 )
...
* Fix typo
* Update CSGOBadList
2017-12-28 18:43:49 -05:00
Scott Ehlert
fa7d8757dc
Rebuild 64-bit Linux libpcre with -Wa,-mrelax-relocations=no
2017-12-20 03:50:12 -06:00
Scott Ehlert
3c7978153b
Rebuild 64-bit Linux libpcre with -fPIC.
2017-12-20 03:15:57 -06:00
Scott Ehlert
7cb3d4d8ff
Fix Linux and macOS builds.
2017-12-20 02:13:56 -06:00
Scott Ehlert
e27f8fba1a
Hopefully fix Windows build.
2017-12-20 02:04:05 -06:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS ( #705 )
2017-12-20 01:56:23 -06:00
Ruben Gonzalez
8e6ca1ce09
Revert "Make CS:GO specific natives exist only on CS:GO"
...
This reverts commit 687db96b38
.
2017-11-27 12:58:24 -05:00
Ruben Gonzalez
7507672895
Merge pull request #701 from alliedmodders/csgo-hashmap
...
CStrike extension changes for CS:GO
2017-11-03 19:48:55 -04:00
Nicholas Hastings
95afe72307
Separate out DOI build. ( #718 )
2017-11-03 15:45:16 -04:00
Nicholas Hastings
3a1bb177fc
Fix TF2IgnitePlayer not working after game update ( fixes #713 ).
2017-10-28 16:17:21 -04:00
Ruben Gonzalez
b6a2f72e95
Merge branch 'master' into csgo-hashmap
2017-10-27 18:57:28 -04:00
Ruben Gonzalez
6085afbaae
Fix comment info
2017-10-27 18:55:02 -04:00
Kyle Sanderson
2658636377
Fix unsigned compiler warning.
2017-10-27 18:53:49 -04:00
JRiipinen
8807939a14
Update TF2_IsPlayerInCondition ( #712 )
...
* Update TF2_IsPlayerInCondition
* Update conditions too
2017-10-27 07:02:38 -04:00
Nicholas Hastings
5cf6a0c875
Fix MakeBleed native call (add damage custom param)..
2017-10-22 10:48:27 -04:00
Michael Flaherty
4f54df65e9
Switch C header & Fix warnings ( #702 )
2017-10-15 10:32:01 +01: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
Ruben Gonzalez
687db96b38
Make CS:GO specific natives exist only on CS:GO
2017-10-04 18:20:06 -04:00
Ruben Gonzalez
588e88c7ee
Fix build error.
2017-10-04 14:42:07 -04:00
Scott Ehlert
bbdecceb4b
Switch to AMBuild 2.1 API. ( #694 )
2017-10-02 07:18:57 -05:00
Kyle Sanderson
5d234bb9d6
Fix OnPlayerRunCmd crashing with invalid CUserCmd ptr. ( #693 )
2017-09-23 23:27:32 -07:00
Ruben Gonzalez
8c8af88cee
Add additional native, fix include file.
2017-09-19 12:37:11 -04:00
Ruben Gonzalez
1f3b14367d
Add new native to get enum value based on item definition index.
2017-09-09 23:27:32 -04:00
Ruben Gonzalez
3d461ecea1
Add support for CreateIitemEntityByName for CS:GO
2017-09-08 08:37:28 -04:00
Ruben Gonzalez
a341a0e85c
Use implemented function to get weapon name.
2017-09-03 19:31:23 -04:00
Ruben Gonzalez
d8f0484327
Make IsValidWeaponID check weapon info on CS:S
2017-09-03 19:30:35 -04:00
Ruben Gonzalez
453e9da7c5
Intial CS:Go changes and slight changes for CS:S WeaponID related function.
2017-09-03 09:19:12 -04:00
Ruben Gonzalez
0e7a3b0173
Use keyvalue to get weapon price, change void * to appropriate class names.
2017-08-28 10:17:12 -04:00
Ruben Gonzalez
22033c21f2
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-08-25 10:26:28 -04:00
Ruben Gonzalez
5f9d571e12
Fix trying to use signature function for WeaponIDToAlias on linux.
2017-08-21 15:00:22 -04:00
Ruben Gonzalez
f7d3e44b19
Fix CS:S build
2017-08-21 10:48:54 -04:00
Ruben Gonzalez
a01e9e510c
Fix using Q_strcpy instead of Q_strncpy
2017-08-21 10:35:58 -04:00
Ruben Gonzalez
3eb297bee1
Fix cstrike extension natives/forwards due to update
2017-08-21 10:28:59 -04:00
Ruben Gonzalez
cbb5c6d740
Fix Handle buy call
2017-08-18 15:24:17 -04:00
Ruben Gonzalez
955a29a4aa
Fix HandleCommand_Buy_Internal param order.
2017-08-18 15:06:20 -04:00
Asher Baker
902cae595b
Include function name in cstrike ext error messages
2017-08-18 13:00:50 +01:00
Nicholas Hastings
29d1187434
Cache created entities by reference instead of index in SDKHooks ( #634 )
...
Fixes #663 .
2017-07-06 13:33:34 -04:00
Ruben Gonzalez
2f0272f864
Use the same weapon drop function in CS:GO as in CS:S
2017-06-12 08:39:27 -04:00