Commit Graph

7072 Commits

Author SHA1 Message Date
PlayBoy31
8c9fd3746b
Fix missing submodules (#2074)
* add --recursive for missing submodules
2023-11-02 21:02:15 -07:00
Nick Hastings
314184beea Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2023-10-21 19:03:09 -04:00
Nicholas Hastings
17462cbe5a Fix build using wrong dir in bootstrapping 2023-10-21 19:02:51 -04:00
David Anderson
ae4e043c3e Enable C++17. 2023-10-21 19:02:51 -04:00
David Anderson
6def79ff23
Merge pull request #2063 from alliedmodders/cxx17
Enable C++17.
2023-10-19 20:33:14 -07:00
Jonathan
1ba7024a3a
Fix Japanese translations (#2053) 2023-10-17 12:50:55 +02:00
rop_rop
44aaaf8b10
Update Hebrew playercommands.phrases.txt (#2051)
added the missing Phrase
2023-10-17 12:35:36 +02:00
XeroX
62754333cd
Increase lastMap buffer (#2062)
Fixes #2061
2023-10-17 12:31:04 +02:00
Rain
8938a29904
Ignore chat triggers for interactive ban reason (#2067)
* Ignore chat triggers for interactive ban reason

If the admin types a chat trigger for a command while BaseBans is
waiting for them to type a ban reason, don't treat that message as the
ban reason.

This fixes a problem where the admin decides to cancel their ban with
"!abortban", "/abortban" etc, but ends up accidentally banning the
player with the ban reason "!abortban" (or by attempting to access any
other command via a chat trigger before typing the ban reason).

* Optimize

Check if we're actually waiting for chat reason before calling the native
2023-10-16 19:43:00 +02:00
Nick Hastings
2c6ef5825f Update from Clang 13 to Clang 14 for Linux build 2023-10-16 13:21:02 -04:00
sappho
b090aa36bf
Add support for open fortress (#2057)
* Run timers every tick instead of arbitrarily on 100ms thinks, adding a significantly higher amount of precision

* undo force push

* add open fortress support

* undo leftover timersys changes

* Add fireoutput sig and remove engine gamedata

* Update master.games.txt

* Update master.games.txt
2023-10-16 00:29:44 +00:00
David Anderson
cb1dae5aab Fix minimal rebuilds on buildbot. 2023-10-13 21:28:33 -07:00
David Anderson
c9e824632f Enable C++17. 2023-10-13 21:25:24 -07:00
David Anderson
0436fb0ab3 Fix linkage. 2023-10-13 20:59:55 -07:00
David Anderson
767c5cf468 Fix build. 2023-10-13 15:32:45 -07:00
David Anderson
f01ad5317a Fix linker issues on Linux. 2023-10-13 15:26:05 -07:00
David Anderson
fac3138ff5 Fix typo. 2023-10-13 14:14:47 -07:00
David Anderson
ab9e86910c Switch bootstrap.pl to Python. 2023-10-13 14:04:56 -07:00
peace-maker
e88e9342ef
Update SourcePawn (#2052)
* Update SourcePawn

* Fix using SourceMod version as SourcePawn version
2023-10-06 22:47:11 +02:00
dysphie
e3a01b0e1a
Update game.nmrih.txt (#2056) 2023-10-02 23:24:09 +00:00
Kit o' Rifty
07d928dbad
Fix sound flags enumeration (#2040)
* Fix sound flags

* Change to bit shifts like in SDK
2023-09-27 17:03:03 +02:00
Boink
a402b3cceb
Prevent commands from being run on the client with sm_play (#1832)
* Prevent command injection

* Empty to commit to try to kick CI.

* Improve filename sanitisation

---------

Co-authored-by: Fyren <fyrenmoo@gmail.com>
2023-09-27 16:51:07 +02:00
幸運心
99dbe06d8a
Japanese translations (#2042)
* Japanese translations

Japanese translation corrections.

* Fix phrase format parameter index off-by-one

---------

Co-authored-by: peace-maker <peacemakerctf@gmail.com>
2023-09-27 16:36:11 +02:00
Mikusch
29694ec13b
Add block parameter to various ArrayList functions (#1656)
* Add block parameter to FindString

* Add block parameter for GetString & GetArray

* Fix buffer overflow issues

* Fix wrong return

* Add size parameter to SetArrayString
2023-09-27 16:05:43 +02:00
Mikusch
1e8db957bf
Add more functions to ArrayStack (#2019)
* Add more functions to ArrayStack

* Make formatting consistent with other functions

* Don't remove the element for TopArray

* Replace 4 with sizeof(cell_t)
2023-09-27 15:43:04 +02:00
Rain
0656696251
Neotokyo: Add gamedata for LookupEntityAttachment & GetEntityAttachment (#2049)
Add the "LookupAttachment" and "GetAttachment" signature and offsets for
Neotokyo, which adds game support for the SM LookupEntityAttachment and
GetEntityAttachment natives.
2023-09-25 22:19:47 +00:00
dependabot[bot]
af04c964fe
Bump tibdex/github-app-token from 1.8.0 to 2.1.0 (#2048)
Bumps [tibdex/github-app-token](https://github.com/tibdex/github-app-token) from 1.8.0 to 2.1.0.
- [Release notes](https://github.com/tibdex/github-app-token/releases)
- [Commits](b62528385c...3beb63f4bd)

---
updated-dependencies:
- dependency-name: tibdex/github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 17:35:50 +02:00
Nick Hastings
bc81361319 MCV: fix Linux tier0/vstdlib bin names 2023-09-24 13:31:55 -04:00
Nicholas Hastings
853bcf703a
Update MCV platform support. (#2046) 2023-09-24 16:23:10 +00:00
dependabot[bot]
c81248004a
Bump actions/checkout from 3 to 4 (#2045)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 18:29:18 +02:00
throwaway47777
79787cb868
Fix admin-flatfile.sp includes (#2043)
* Move admin-flatfile to plugins dir

* Fix admin-flatfile sp includes
2023-09-13 18:28:35 +02:00
peace-maker
20aae06f12
NPOTB: Update Github Actions using dependabot (#2035) 2023-07-31 23:38:49 -07:00
hydrogen-mvm
a20eb08dc6
Fix replay workaround not triggering (#2033) 2023-07-29 20:53:17 +00:00
Nicholas Hastings
8d60a46358
Revert "Update sourcepawn (#2011)" (#2032)
This reverts commit cb8541548b.
2023-07-29 16:01:25 +00:00
Nick Hastings
4c376cbcb7 Update PLAPI version for NormalSHook signature change (MAXPLAYERS increase) 2023-07-27 08:15:02 -04:00
sappho
d83c498a8f
[1.12] update maxplayers define for 07-25-23 tf2 update (#2026) 2023-07-26 20:13:31 +00:00
Mikusch
531b053096
TF2: Add TFCond_ImmuneToPushback condition (#2023) 2023-07-26 02:10:08 +00:00
Mikusch
0dafe04899
TF2: Update StunPlayer signature (#2024) (fixes #2022) 2023-07-26 02:08:48 +00:00
rtldg
7170a8f11c
Fix typo in DHookRaw docs (#2020) 2023-07-21 09:58:14 +02:00
peace-maker
2ef874dbc9
Run basic native tests using hl2sdk-mock in CI (#2015)
This tests the sorting.inc API similar to the existing test plugin in
the plugins/testsuite folder. Tests fail if the srcds output contains "FAIL".
2023-07-12 22:58:28 +02:00
peace-maker
cb8541548b
Update sourcepawn (#2011)
* Update sourcepawn

* Remove #pragma rational Float
2023-07-12 22:55:40 +02:00
peace-maker
46e3de8d24
Fix minor translation typos (#2017)
No need to know the languages for those.
2023-07-12 13:38:12 +02:00
Corey D
5addaffa56
Add ParseTime (strptime) native (#1697)
* Add GetTimeStamp (strptime) native

* Fix description

* Fix typos

* Fix issues

* Rewrite ParseTime

* Fix docstrings

* Fix ParseTime

* Clarify docs
2023-07-04 13:42:45 +02:00
Erin
f40ae82df4
Clear sm_nextmap so we don't get stuck in a loop (#1545)
* Pure C++ solution

* Pure SourcePawn solution
2023-07-03 20:48:01 +02:00
Dominik Adrian Grzywak
6ebf04b75d
Add missing Polish translations (#2004) 2023-06-15 10:17:39 +02:00
Lukáš Čeremeta
e93dd7af3f
Update Slovak basetriggers.phrases.txt (#2002)
* Update Slovak basetriggers.phrases.txt

Added missing phrase

* Update basetriggers.phrases.txt

* Update basetriggers.phrases.txt

Remove #format
2023-06-13 10:11:23 +02:00
Lukáš Čeremeta
4dc2383fe3
Update Slovak nominations.phrases.txt (#2003)
* Update Slovak nominations.phrases.txt

Added missing phrase

* Update nominations.phrases.txt

* Update nominations.phrases.txt

Remove #format
2023-06-13 10:10:50 +02:00
bottiger1
5f827089d3
Fix mismatched memory release in regex clearmatch (#2005)
subject is created with strdup which should be freed with C free and not C++ delete
2023-06-12 22:34:57 +02:00
Kroytz
8a7f8c5cbd
Fix translation for SChinese (#1996)
* Fix Trans: funcommands

* Fix trans: mapchooser

* Add missing phrase for basecomm

* Update common.phrases.txt

* Update nominations.phrases.txt

* Update basetriggers.phrases.txt

* Incorrect param pos
2023-05-25 15:28:42 +02:00
walliski
dae8aba554
Add missing Finnish translations (#1992)
Credits to "rapu chan" and "mäyrä77" for helping with translations.
2023-05-25 15:25:46 +02:00