Иконка ресурса

addons [DEV] AMX Mod X 1.10.0 5461

Версия Дата выхода Скачиваний Оценка  
5461 2,704 0.00 звёзд 0 оценок Скачать
5435 1,409 0.00 звёзд 0 оценок Скачать
5428 483 0.00 звёзд 0 оценок Скачать
Изменения:
  • Нравится
Реакции: ssx
Изменения:
  • Нравится
Реакции: HARDCORE
Изменения:
  • Нравится
Реакции: DrStrange
Изменения:
  • Improve AdminSlot plugin
    • 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
  • Fix internal player's team id returning -1 in a specific but valid situation
    • Fix internal player's team id returning -1 in a specific but valid situation
    • Use a local variable
    • Fix spaces
  • Нравится
Реакции: Nordic Warrior
Изменения:
  • Turkish Translation Fixes/Addings
    • 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
  • Fix broken DoD Fun module natives
    • Update hardcorded offsets
    • Fixed using incorrect parameter for setting string
  • adminvote.sma exploit fix
    • 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
  • admincmd.sma exploits fix
    • [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
      • Make amx_cvar command obey FCVAR_SPONLY flag.
      • Fix exploiting of amx_nextmap cvar value which is used in nextmap plugin.
  • Yet another Hungarian langugage revise
  • Public vars for plugin data
    • 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)"
    • Revert "Creating a variable inside an if statement (C++17)"
    • Revert "Displaying the URL of the plugin if it is present"
    • 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"
    • Add url and description params to get_plugin function
  • Add menu_item_setaccess native
    • Add set access.
    • Update newmenus.inc
    • typo
    • Update newmenus.inc
Изменения:
  • Нравится
Реакции: NoNameNPC и Nordic Warrior
Изменения:
  • Fix compilation with GCC 8.2+ (#617)
    • GCC 8.2 support
    • Add GCC version check
    • -Werror=class-memaccess fix in code
    • Use assignment for Stats
  • 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
  • Нравится
Реакции: HARDCORE и BlackSignature
Сверху Снизу