pizzahut2
8e8dfa33ed
Update stats.sma ( #1002 )
...
Triggered the "Invalid weapon id" at another location in the source code, so patched all cases where the argument could be 0.
2021-10-07 17:12:29 -07:00
pizzahut2
f442b3d84f
Update stats.sma ( #998 )
...
Fix runtime error when a player "killed self with teledeath". Happens when a map hasn't enough spawn points.
2021-09-28 09:56:17 -07:00
Smilex_Gamer
8817f3e541
European Portuguese Language translation fixes ( #902 )
...
* European Portuguese translation fix: admin.txt
* European Portuguese translation fix: admincmd.txt
* Added European Portuguese translation: adminslots.txt
Added new translations
* European Portuguese translation fix: common.txt
* European Portuguese translation fix: menufront.txt
* European Portuguese translation fix: miscstats.txt
* European Portuguese translation fix: pausecfg.txt
* European Portuguese translation fix: restmenu.txt
* European Portuguese translation fix: statscfg.txt
2021-09-17 13:22:03 +02:00
OciXCrom
81e4aa29a6
Add missing kRenderFx constant ( #928 )
...
* Add missing kRenderFx constant
* Change constant name to match SDK
2021-09-17 13:21:52 +02:00
Daniele386
1754c0b959
Minor German Language Update ( #926 )
...
* Update admincmd.txt
* Update statsx.txt
* Update miscstats.txt
* Update menufront.txt
* Update menufront.txt
* Update admincmd.txt
* Update adminvote.txt
* Update restmenu.txt
* Update mapsmenu.txt
* Update nextmap.txt
* Update stats_dod.txt
* Update statscfg.txt
* Update stats_dod.txt
* Update adminvote.txt
2021-09-17 13:11:58 +02:00
Franco Romaniello
bb4b818250
Update parson and fix json_object_set_value ( #983 )
...
* Remove parson folder
* add submodule parson
* FIX amxx_json_object_set_value generate a crash if invalid value is passed
* restore parson folder status
2021-09-17 13:08:08 +02:00
Franco Romaniello
f5fea6ab7b
Fix typo in message_const.inc TE_FIZZ comment ( #990 )
2021-09-17 13:07:43 +02:00
Harsha Raghu
f031b97e91
[TFCX] Fix Medic infection Crash on Linux ( #991 )
...
* [TFCX] Fix Medic infection Crash on Linux
Issue: #988
* [TFCX] Removed redundant code
- Added `_DEBUG_TFCX` preprocessor directive
- Deleted redundant code (which fetches pdata)
2021-09-17 13:01:40 +02:00
pizzahut2
beaa8c436b
Revert "Update CMisc.h ( #985 )" ( #987 )
...
Turned out both test servers still had an old "tfc_i386.so" file which took precedence over the newer "tfc.so" library, so both servers were misconfigured and that's why the offsets didn't work.
2021-09-02 11:51:55 -07:00
pizzahut2
f3d21a3fb1
Update CMisc.h ( #985 )
...
LINUXOFFSET is back at 3 since HLDS Linux build 8308 (dated July 24, 2019).
2021-08-26 22:28:11 -07:00
Franco Romaniello
3340884edb
fix alpha2 order in set_hudmessage ( #982 )
2021-08-16 14:23:52 -07:00
Franco Romaniello
d1fc99fc28
[FEATURE REQUEST] set_hudmessage add missing parameters ( #981 )
2021-08-16 13:27:50 -07:00
David Anderson
5e7e1775bd
Another macOS build fix.
2021-07-11 22:21:37 -07:00
David Anderson
9d4c9c5ce9
Fix mac build.
2021-07-11 22:04:48 -07:00
David Anderson
2064e224d1
Quell warning on macOS.
2021-07-11 21:04:23 -07:00
David Anderson
73f52fd53a
Fix Windows build.
2021-07-11 21:01:06 -07:00
David Anderson
6c8c605fa3
Update minimum macOS to 10.7.
2021-07-11 21:00:26 -07:00
David Anderson
d67510b841
Switch to libc++ on mac.
2021-07-11 20:50:54 -07:00
David Anderson
00b769e3f2
Use python3 in bootstrap.
2021-07-11 17:36:06 -07:00
Fysiks
f92e60a8ac
Add ignore for amxx binaries ( #960 )
2021-07-02 04:09:02 +02:00
Fysiks
8e902cb63b
Fix for loop index out of bounds error ( #966 )
...
Fixes an index out of bounds error when refreshMenus() and subsequently findAdminsWithMenu() is called when there is 32 players in the server. Indexing the playersList array in the for loop condition causes it to try to index with a value of 32 on the very last condition check which is not valid for this array.
2021-06-19 20:34:51 +02:00
FEDERICOMB
8fdc6540ca
Fix stock "SQL_QueryAndIgnore" documentation ( #965 )
2021-06-19 20:34:43 +02:00
Vincent Herbet
5eea3e5b42
Revert "Do not allow admins to change cvars with FCVAR_SPONLY flag when not in singleplayer via amx_cvar"
...
adbc3e0c53
Behavior change. For now reverting it to give time and decide how it should be handled properly.
2020-06-24 22:51:56 +02:00
regener
1bfec70029
Yet another Hungarian langugage revise ( #816 )
...
Revised by Norbee. @ ebateam.eu
He was just lazy to do a PR :P
# Conflicts:
# plugins/lang/admincmd.txt
# plugins/lang/adminhelp.txt
# plugins/lang/menufront.txt
2020-06-04 00:24:24 +02:00
Juice
bdeb2a133f
admincmd.sma exploits fix ( #822 )
...
* [admincmd.sma] Fix typo in isCommandArgSafe
'
* [admincmd.sma] Update amx_cvar command handler
- Fix exploiting of "mapchangecfgfile" cvar to execute potentially dangerous console commands
- Add newline delimiter check and restrict for ****cfgfile cvars values
* Restrict having ".." character sequence in amx_map command argument
Fixes exploit on Windows servers that allows executing potentially dangerous console commands
* Do not allow admins to change cvars with FCVAR_SPONLY flag when not in singleplayer via amx_cvar
1. Make amx_cvar command obey FCVAR_SPONLY flag.
2. Fix exploiting of amx_nextmap cvar value which is used in nextmap plugin.
2020-06-04 00:18:22 +02:00
Juice
936c9477be
adminvote.sma exploit fix ( #823 )
...
* Restrict having ".." character sequence in amx_votemap command arguments
Fixes exploit on Windows servers that allows executing potentially dangerous console commands
* Fix typo
containi -> contain
2020-06-04 00:16:18 +02:00
diamond-optic
4b335adfe8
Fix broken DoD Fun module natives ( #851 )
...
* Update hardcorded offsets
* Fixed using incorrect parameter for setting string
2020-06-04 00:10:59 +02:00
Eren Kaya
e463e06480
Turkish Translation Fixes/Addings ( #862 )
...
* Update admin.txt
Fixed translation [tr]
* Update adminchat.txt
* Update admincmd.txt
* Update adminhelp.txt
* Update adminslots.txt
* Update adminvote.txt
* Update antiflood.txt
* Update cmdmenu.txt
* Update common.txt
* Update imessage.txt
* Update mapchooser.txt
* Update menufront.txt
* Update mapsmenu.txt
* Update miscstats.txt
* Update multilingual.txt
* Update nextmap.txt
* Update pausecfg.txt
* Update plmenu.txt
* Update restmenu.txt
* Update scrollmsg.txt
* Update stats_dod.txt
* Update statscfg.txt
* Update telemenu.txt
* Update time.txt
* Update timeleft.txt
* Update statsx.txt
* Update adminhelp.txt
* Update admincmd.txt
2020-06-04 00:08:44 +02:00
Vincent Herbet
d0c8084ac9
Fix MySQL connector link ( #844 )
2020-06-04 00:08:08 +02:00
Cleverson
32a29f5a78
Close cmdaccess.ini file if fopen found the file... ( #815 )
...
Close file if fopen found the file...
2020-06-04 00:04:03 +02:00
Vincent Herbet
15a14a0a43
Fix new lines with TextMsg and SayText (side-effect of #763 ) ( #778 )
...
* Fix newlines for TextMsg
* Fix newlines for SayText
* Adjust comments
* Replace hardcoded detination value with HUD_* constants
* Make sure only official mods can use format string
* Fix typos
* Split condition for readability
* CS only: Fix newlines in TextMsg and with print_center
2019-10-28 00:22:05 +01:00
Arkshine
be3f2f540b
Adjust TextMsg/SayText maximum buffer length from 190 to 187 due to "%s" parameter added in #763
2019-10-23 16:25:50 +02:00
Juice
4a2aecfe85
Fix issues with amxclient_cmd and read_args/read_argv* natives ( #761 )
...
* Fixes to read_args and read_argv* natives
* Fixed crash with read_argv* natives and commands sent with amxclient_cmd native
* Fixed read_args returning argv[0] instead of empty string when both amxclient_cmd's arguments were not specified
* Fix spaces
2019-10-22 10:30:13 +02:00
Vincent Herbet
9ca3a685ed
Update gamedata for all supported mods ( #771 )
...
* Update CS gamedata
* Update TFC gamedata
* Update DoD gamedata
* Update Valve gamedata
* Update Gearbox gamedata
2019-10-21 11:51:18 +02:00
Vincent Herbet
78ecb35e3c
Fix behavior change about endianness check in maxmind/libmaxminddb#123 ( #770 )
2019-10-20 23:25:11 +02:00
twisterniq
dafabc73c0
Add new plugin defines regarding the AMX Mod X version ( #723 )
...
* Add AMXX_VERSION_LOCAL define
* Add new defines regarding version of AMX Mod X
Added new defines: AMXX_VERSION_MAJOR_NUM and AMXX_VERSION_MINOR_NUM
* Rename AMXX_VERSION_LOCAL define
Define AMXX_VERSION_LOCAL was renamed to AMXX_VERSION_LOCAL_REV_NUM
2019-10-17 18:57:40 +02:00
Smilex_Gamer
163afa041e
European Portuguese Language translation support ( #750 )
...
* Added European Portuguese translation: admin.txt
* Added European Portuguese translation: adminchat.txt
* Added European Portuguese translation: admincmd.txt
* Added European Portuguese translation: adminhelp.txt
* Added European Portuguese translation: adminslots.txt
* Added European Portuguese translation: adminvote.txt
* Added European Portuguese translation: antiflood.txt
* Added European Portuguese translation: cmdmenu.txt
* Added European Portuguese translation: common.txt
* Added European Portuguese translation: imessage.txt
* Added European Portuguese translation: languages.txt
* Added European Portuguese translation: mapchooser.txt
* Added European Portuguese translation: mapsmenu.txt
* Added European Portuguese translation: menufront.txt
* Added European Portuguese translation: miscstats.txt
* Added European Portuguese translation: multilingual.txt
* Added European Portuguese translation: nextmap.txt
* Added European Portuguese translation: pausecfg.txt
* Added European Portuguese translation: plmenu.txt
* Added European Portuguese translation: restmenu.txt
* Added European Portuguese translation: scrollmsg.txt
* Added European Portuguese translation: stats_dod.txt
* Added European Portuguese translation: statscfg.txt
* Added European Portuguese translation: statsx.txt
* Added European Portuguese translation: telemenu.txt
* Added European Portuguese translation: time.txt
* Added European Portuguese translation: timeleft.txt
2019-10-17 16:38:16 +02:00
Arkshine
c064459b67
Add Albanian language support
2019-10-17 16:37:48 +02:00
Vincent Herbet
4410d219f7
Send pre-formatted string in SayText and TextMSg as a parameter instead of as the format string ( #763 )
2019-10-17 15:54:04 +02:00
Vincent Herbet
6fb27a03a7
Fix GeoIP2 database file extraction ( #764 )
2019-10-17 15:53:43 +02:00
Dmitry Novikov
5e48c9b6db
CSPForward::execute: Fix uninitialized retVal ( #747 )
2019-10-17 15:53:29 +02:00
Vincent Herbet
9e962ce097
Bump ReHLDS API version to 3.6 ( #721 )
2019-10-17 15:52:49 +02:00
regener
78d1c0f1cd
String changes for missing path exception messages ( #718 )
...
Resolves #652
2019-10-17 15:52:49 +02:00
Juice
691ae9f8d4
Compiler: Fix undefined symbol: pow10 ( #615 ) ( #759 )
...
* Compiler: Fix undefined symbol: pow10
* Add version check
* Remove deprecated pow10
(cherry picked from commit 77eb33d5f2
)
2019-10-17 15:43:26 +02:00
Adam Richard
6cecb34e29
Fix typo on engine.inc documentation ( #730 )
...
`register_think` first parameter is `Classname[]`, but, it's written `Touched` on its description.
2019-06-19 22:30:43 +02:00
Vincent Herbet
4ef0a78abd
Fix MPROP_SHOWPAGE option not working as expected
...
Typo from #473 .
2019-06-19 22:30:43 +02:00
regener
1f09bd53f6
Hungarian language update ( #719 )
...
Thanks for the help to Norbee. @ ebateam
2019-05-16 15:12:21 +02:00
Adam Richard
c8bd4bb169
Fix string incorrectly formatted in CS Misc Stats plugin ( #704 )
...
Recently, I got those below errors on logs:
```
String formatted incorrectly - parameter 12 (total 12)
L 04/29/2019 - 23:24:40: [AMXX] Displaying debug trace (plugin "miscstats.amxx", version "1.8.3-dev+5154")
L 04/29/2019 - 23:24:40: [AMXX] Run time error 25: parameter error
L 04/29/2019 - 23:24:40: [AMXX] [0] miscstats.sma::checkKills (line 922)
```
It just looks like `"RAMPAGE!!! %s^n%L %d %L (%d hs)"` misses last format rule, which should be `"%L"` pointing to `HS` lang key.
2019-05-16 15:06:45 +02:00
CrazY
2dd36300bf
Fix TE_DLIGHT documentation ( #685 )
...
There's no "brightness" parameter in TE_DLIGHT. Probably will cause server crash if it be passed.
2019-05-16 15:06:30 +02:00
Cleverson
c867d9a7cb
Updated Portuguese Brazilian translation in miscstats.txt with latest additions ( #674 )
...
Updated Portuguese Brazilian translation in miscstats.txt with latest additions
2019-05-16 15:06:27 +02:00