- 09 Sep, 2020 2 commits
-
-
Artem Golubikhin authored
Fix crash when `get_bvar_id` is used `infallibleAppend` is crashing the server when amxmodx is compiled in non-debug mode. It happens because `growIfNeeded` is called inside `assert` which is a no-op in non-debug builds and no memory is allocated, so the data is written to invalid addresses and segfault happens. See merge request !3
-
Artem Golubikhin authored
`infallibleAppend` is crashing the server when amxmodx is compiled in non-debug mode. It happens because `growIfNeeded` is called inside `assert` which is a no-op in non-debug builds and no memory is allocated, so the data is written to invalid addresses and segfault happens.
-
- 01 Sep, 2020 3 commits
-
-
Artem Golubikhin authored
Backport: branch 'PRoSToC0der-fix-public-stock-var-always-used' See merge request !2
-
Fixed public stock variables always used See merge request amxmodx!3 (cherry picked from commit 4c90d796a13bebf7814281676aa89d0b9338f353)
-
Added support for broadcast variables See merge request amxmodx!2 (cherry picked from commit ad9a6d67bc656328e68ad909356310bd59e727f2)
-
- 31 Jul, 2020 1 commit
-
-
WildCard65 authored
-
- 17 Jul, 2020 1 commit
-
-
shel authored
Co-authored-by:
shel <2@shelru.ru>
-
- 16 Jul, 2020 2 commits
-
-
shel authored
Fixes: #881 Co-authored-by:
shel <2@shelru.ru>
-
shel authored
Co-authored-by:
shel <2@shelru.ru>
-
- 24 Jun, 2020 1 commit
-
-
Vincent Herbet authored
Revert "Do not allow admins to change cvars with FCVAR_SPONLY flag when not in singleplayer via amx_cvar" https://github.com/alliedmodders/amxmodx/pull/822/commits/adbc3e0c53f2e46179da32461afdf133556e9536 Behavior change. For now reverting it to give time and decide how it should be handled properly.
-
- 03 Jun, 2020 2 commits
-
-
Vincent Herbet authored
* Fix internal player's team id returning -1 in a specific but valid situation * Use a local variable * Fix spaces
-
Vincent Herbet authored
* Adminslot: Trim spaces * Adminslot: Use semicolon everywhere * Adminslot: Use brackets everywhere * Adminslot: Hook cvars change and make sure max visible players is set right away * Adminslot: Rename g_sv_visiblemaxplayers * Adminslot: Move free slot calculation in its own function * Adminslot: Use create_cvar and define appropriate bounds * Adminslot: Use get_playersnum_ex with flag for clarity * Adminslot: Move all the logic inside setVisibleSlots Looks like the commit should have been split for clarity. The initial purpose is to avoid code duplication and regroup checks. The logic is the same with a little improvement to handle situations where a cvar is changed on-the-fly and sv_visiblemaxplayers needs to be reset. Ultimately, the logic is the following: - At player's connection: -- Do nothing if amx_reservation == 0 and sv_visiblemaxplayers <= 0. If sv_visiblemaxplayers is set, we reset it directly. -- Check if player needs to be kicked. If not, and amx_hideslots == 0, then do nothing. -- Otherwise we update sv_visiblemaxplayers - Others events: -- Do nothing if either amx_reservation == 0 or amx_hideslots == 0, and if sv_visiblemaxplayers <= 0. If sv_visiblemaxplayers is set, we reset it directly. -- Otherwise we update sv_visiblemaxplayers * Adminslot: Rename variables and adjust constantness * Adminslot: Add a description to the cvars * Adjust CVAR_HIDESLOTS english sentence * Add the Deutsch translations
-
- 29 May, 2020 2 commits
-
-
shel authored
* Add set access. * Update newmenus.inc * typo * Update newmenus.inc
-
KAWAI authored
* Add public vars for plugin data and small refactoring get_xvar_id native * Add new command to display info about the plugin and add url to amxx plugins command * Add optional args to register_plugin native (url, description) * Add enum of args for register_plugin native * Creating a variable inside an if statement (C++17) * Displaying the URL of the plugin if it is present * Getting an ID only with more than three arguments * Creating a variable inside an if statement (C++17) * Fix typo * Revert "Creating a variable inside an if statement (C++17)" This reverts commit 835e0bc6c413f11b1bbf964daea87b57f653f5d7. * Revert "Creating a variable inside an if statement (C++17)" This reverts commit b2c1e7c77576c02a00c8c3f103457000d3298ceb. * Revert "Displaying the URL of the plugin if it is present" This reverts commit 9e31230368449966d16635c696d97c04adadeaa9. * Binary compatibility for previously compiled plugins * Displaying the URL of the plugin if it is present * Quotation marks replaced by square brackets and change arg name to id * Fix getting url * The 'atoi' function replaced to 'stoi' * Add likely/unlikely defines for using built-in function provided by GCC * Small fixes with auto and inconsistent var name * Replace stoi to strtol function * Removed explicit buffer id * Revert "Add likely/unlikely defines for using built-in function provided by GCC" This reverts commit 94cee479ed245b98195501466850d01a3f08fd13. * Add url and description params to get_plugin function
-
- 28 May, 2020 5 commits
-
-
regener authored
Revised by Norbee. @ ebateam.eu He was just lazy to do a PR :P
-
Juice authored
* [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.
-
Juice authored
* 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
-
diamond-optic authored
* Update hardcorded offsets * Fixed using incorrect parameter for setting string
-
Eren Kaya authored
* 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
-
- 05 Mar, 2020 1 commit
-
-
Vincent Herbet authored
* Add missing is_user_authorized() native It is implemented in core, but missing in amxmodx.inc * Fix typo
-
- 04 Mar, 2020 1 commit
-
-
Vincent Herbet authored
-
- 20 Dec, 2019 2 commits
- 29 Oct, 2019 1 commit
-
-
Vitaly Karpenko authored
* GCC 8.2 support * Add GCC version check * -Werror=class-memaccess fix in code * Use assignment for Stats
-
- 27 Oct, 2019 1 commit
-
-
Vincent Herbet authored
* 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
-
- 23 Oct, 2019 1 commit
-
-
Arkshine authored
-
- 22 Oct, 2019 1 commit
-
-
Juice authored
* 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
-
- 21 Oct, 2019 1 commit
-
-
Vincent Herbet authored
* Update CS gamedata * Update TFC gamedata * Update DoD gamedata * Update Valve gamedata * Update Gearbox gamedata
-
- 20 Oct, 2019 1 commit
-
-
Vincent Herbet authored
-
- 17 Oct, 2019 4 commits
-
-
twisterniq authored
* 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
-
Smilex_Gamer authored
* 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
-
Vincent Herbet authored
Send pre-formatted string in SayText and TextMSg as a parameter instead of as the format string (#763)
-
Vincent Herbet authored
-
- 02 Aug, 2019 1 commit
-
-
Dmitry Novikov authored
-
- 19 Jun, 2019 4 commits
-
-
Vincent Herbet authored
Add square distance functions to xs.inc
-
Vincent Herbet authored
Albanian Language translation support
-
Vincent Herbet authored
Typo from #473.
-
Adam Richard authored
`register_think` first parameter is `Classname[]`, but, it's written `Touched` on its description.
-
- 11 Jun, 2019 2 commits
-
-
Pjeter Jetishi authored
Update miscstats.txt
-
Pjeter Jetishi authored
Update multilingual.txt
-