Commit Graph

6398 Commits

Author SHA1 Message Date
404UNF
ae00144e84 Add new custom kill identifier for TF2 () 2019-04-22 22:53:31 +01:00
Playa
59baaf1123 Fix param order in CancelClientMenu documentation () 2019-04-22 20:33:27 +01:00
Michael Flaherty
e2eac382c0
Add templated helper class to promote type-safety () 2019-04-12 12:10:37 -07:00
Michael Flaherty
dd81d7c78f
Incorperate Licensing Into Project Tree () 2019-04-12 12:10:13 -07:00
peace-maker
e3f4d239f1 IBinTools: Block loading incompatible interface versions ()
In  SourceMod received support for x64 binaries. The `IBinTools` interface was updated to call functions in 64bit binaries. The `PassInfo` struct's size was increased and the `Create(V)Call()` functions signatures changed, thus making the interface incompatible for consumers which were compiled against an earlier version.

`SMInterface::IsVersionCompatible` wasn't adjusted to that fact, so extensions compiled against pre SM 1.10 could request an `IBinTools` interface pointer, but crash when they try to use it.

This change makes requests to older interface versions invalid, thus letting `RequestInterface` return `NULL` for older extensions. It doesn't fix the backwards incompatibility, but at least makes the problem more blatant, so extensions can handle it themselves.
2019-04-11 14:51:38 -07:00
⭐ B3none
8f0527487f SQL-Admin-Manager: style clean-up ()
* Switched to sizeof instead of hard-coding for loop size

* Switched back to pre-increment.

* Dynamically pad variables
2019-04-06 11:47:21 -07:00
Nicholas Hastings
318b36cdcf
Trigger build for hl2sdk-csgo update. 2019-03-28 20:00:20 -04:00
TheRandomLabs
f4b9dfb2e7 Fix misspelling of "runoff" in mapchooser () 2019-03-23 18:21:54 -07:00
David Anderson
2e11d3400e Fix MSVC2015 build. 2019-03-16 17:25:36 -07:00
David Anderson
364cd094d9 Trigger a build. 2019-03-16 16:57:22 -07:00
David Anderson
2af7600057 Switch to MSVC2015 builders. 2019-03-16 16:21:57 -07:00
komashchenko
8031e42bda pb: Add natives to work with 64 bit values ()
* Add natives to work with 64 bit Protobuf values

* Fix linux build

* FIX alignment requirements

* FIX alignment requirements V2

* Remove legacy API

* Inattention
2019-03-04 09:06:43 -08:00
Ҝờţأķ
7f9ceaac06 basevotes: Fix buffer size for workshop obtained levels. () 2019-03-03 15:00:24 -08:00
David Anderson
ae0a03d438
Merge pull request from Bara/patch-5
Add missing semicolon
2019-02-19 21:49:07 -08:00
Bara
d105ce778d
Add missing semicolon
Otherwise you'll get this error:
regex.inc(182) : error 001: expected token: ";", but found "<newline>"

[Example with latest sourcemod (1.10.6383) version](https://travis-ci.org/Bara/TroubleinTerroristTown/jobs/495529570#L640)
2019-02-19 17:21:17 +01:00
David Anderson
653e9325fc
Merge pull request from alliedmodders/update-sp
Update SourcePawn.
2019-02-18 12:53:21 -08:00
David Anderson
5d7d7c122e Update SourcePawn. 2019-02-17 21:21:43 -08:00
Ross Bemrose
45fb26d282 Change MultiTargetFilter to a typeset that allows ArrayList as its second argument. () 2019-02-03 13:27:26 -08:00
Asher Baker
c501c837d0
Ignore SM site certificate when downloading GeoIP
Build servers don't have a root for it, and the address is internal
2019-01-19 12:34:23 +00:00
Asher Baker
590f71436f
Get GeoIP data from SM site for now 2019-01-19 12:18:36 +00:00
Michael Flaherty
b7e252dfd6
Prevent FrameIterator OOB Errors () 2019-01-13 13:36:35 -08:00
Nicholas Hastings
a2246af121
Unify map lookup logic across tf2esque engines. (fixes ) () 2019-01-07 18:17:28 -05:00
Bara
3e454db2d8 Add snowball to CSWeaponID () 2019-01-05 14:56:07 -05:00
OkyHp
b88e0d7875 Add getter for Event.BroadcastDisabled ()
In a pre-hook, the hook param is not reliable if multiple plugins have hooked the same event.
2019-01-03 19:42:42 +00:00
Nick Hastings
821251b176 Fix BfRead.BytesLeft not being able to be optional. (fixes ). 2019-01-01 15:34:26 -05:00
Deathreus
1b3599c189 Bump non-critical versioning to 1.10 () 2018-12-27 21:02:14 -05:00
Nicholas Hastings
5e7596dea6
Upgrade SQLite from v3.22.0 to v3.26.0. () 2018-12-19 17:26:29 -05:00
David Anderson
ab7519530e
Merge pull request from alliedmodders/enum-structs
Inauguration of SourcePawn enum structs
2018-12-16 22:43:43 -08:00
David Anderson
faa10f52a8 Move dynamicmenu.sp enum structs to transitional syntax. 2018-12-16 18:49:36 -08:00
David Anderson
53df09fbb7 Fix dynamicmenu.sp indentation. 2018-12-16 18:41:55 -08:00
Michael Flaherty
c8f3035cb0
Introduce enum structs to core sm plugins 2018-12-15 13:51:03 -08:00
David Anderson
f465985370 Update SourcePawn and AMTL to master.
This brings in enum struct support.
2018-12-15 12:17:11 -08:00
David Anderson
470486ba7e
Don't double-format in ReplyToCommand. () 2018-12-12 23:30:27 -08:00
Nick Hastings
9a4fe1c475 Fix signed/unsigned compare on Windows. 2018-12-12 20:02:23 -05:00
Ruben Gonzalez
dd61223c0b Add new CSGO weapon id's/itemdefs. () 2018-12-12 11:35:36 -08:00
Nick Hastings
c196082988 Typo fix for CS:GO POSIX Extinguish gamedata. 2018-12-08 09:05:10 -05:00
Nick Hastings
9e58476631 Update CS:GO contribution score offset. 2018-12-07 07:24:30 -05:00
Nick Hastings
4bebdc18a2 Hmm... 2018-12-06 20:31:29 -05:00
Nick Hastings
a01529b210 Add new GiveNamedItem param for CS:GO. 2018-12-06 20:18:21 -05:00
Nick Hastings
0b35c84bf0 Update CS:GO SDKTools and SDKHooks offsets. 2018-12-06 19:23:32 -05:00
Ruben Gonzalez
846a99e57f Merge branch 'master' of github.com:alliedmodders/sourcemod 2018-12-06 18:49:15 -05:00
Ruben Gonzalez
c28f957fb3 Update csgo gamedata part 1 2018-12-06 18:47:44 -05:00
peace-maker
f0aec6b0b6 Fix typo in fallback to "default" maplists section ()
When lookup of a more specialized entry in the maplists.cfg failed, it wouldn't fallback to the "default" section, but just try to parse the same section again.
2018-11-13 16:32:18 +00:00
Ruben Gonzalez
d79c5e0dfa Switch CS:GO Clantag set/get to use netprops + offset over sig + offset. ()
* Switch CS:GO Clantag set/get to use netprops + offset over sig+offset.

* Make sure the new functions are defined before using them...

* Fix offset name

* Fix incorrectly dereferencing.
2018-11-09 07:13:17 -05:00
Kyle Sanderson
cb8d92edeb
SDKHooks: Reset global hookid when unhooking in SH. ()
Fixes https://github.com/alliedmodders/sourcemod/issues/912
2018-10-28 11:06:57 -07:00
Asher Baker
db9925493a
Update game.empires.txt 2018-10-14 13:06:30 +01:00
peace-maker
1b795a70b0 Add GameData methodmap () 2018-10-11 20:27:56 -07:00
Kruzya
ccfd2ffe38 Added sm_reload_databases ()
Added command sm_reload_databases for refreshing "registered" Databases Configurations cache.

Closes 
2018-10-11 17:36:52 +01:00
Asher Baker
c1d235a59c
Use natural sorting for map lists (Fixes ) ()
This produces consistently better results, especially for games such as L4D(2).
2018-10-11 15:20:10 +01:00
Asher Baker
b5320a4f8a
Add a note about FormatTime platform dependence ()
This has been another constant source of confusion since the C99 ones were added to the strftime documentation we link.

It'd be nice to have a consistent implementation inside SM in the future.
2018-10-11 11:07:07 +01:00