Releases: TheDoctor0/CoDMod
Releases · TheDoctor0/CoDMod
Release list
v1.5.1
- Fix damage inflicted when user has resistance - #96.
- Fix possible players id error in check_player_death - #103.
- Fix access issue when account system is disabled - #104.
- Fix last item listing in missions and admin menu.
- Fix clan request rejection.
- Add information about methods of defining items access to README - #106.
- Rewrite item Obcy - #107.
v1.5.0
- Implement item access system (flag can be defined as 5th param in cod_register_item, additionally any other checks can be made in cod_item_check(id) function - see item "Cien" as an example).
- Add new native: cod_drop_weapon (drops specified weapon - if none drops current one).
- Reduce usage of get_user_name in core plugin.
- Remove some dead code.
- Fix VIP knife reset if player has no access to it anymore (thanks Pi0tRuS).
- Fix free honor plugin (thanks Pi0tRuS).
- Fix medkits usage reset on new round event.
- Fix no death event when player killed using cod_inflict_damage.
- Fix fall damage in item "Skrzydla Archaniola".
- Fix medals exp reward (thanks HadesSoul).
Important: It is required to recompile all item plugins with new cod.inc.
v1.4.1
- Add missing type param to cod_spawn_icon doc-block.
- Add cvar for VIP exp bonus.
- Add cvar for default value for extra sounds.
- Add new optional plugin - free honor.
- Fix typos in cod-plugins.ini.
- Fix condition in greetings function.
- Fix possible login menu skip after mapchange.
- Fix sounds order in cod.inc.
- Fix issue with zero damage in damage_post event.
- Update cod_class_kill forward signature in classes.
- Change how clans health bonus is distributed.
v1.4.0
- Fixed market items durability reset.
- Fixed possible issue with player flags reset.
- Changed how player death is detected.
- Changed balance of some classes and items.
- Changed code-style for classes and items plugins.
- Changed logic behind some available natives.
- Added until damage taken and damage given to available skill types.
- Added poison skill implementation (used in Chemik class and Fartuch Chemika item).
- Added rewritten documentation.
v1.3.2
- Fixed mission selection bug - #83.
- Fixed issues with clan wars - #82.
- Fixed firstvisit timestamp in stats plugin - closes #81.
- Fixed clan war declare query - #80.
- Fixed no crossbow reload - #79.
- Fixed clans gravity bonus increase after multiple respawns.
- Fixed continuous respawns in item Morfina - #76.
- Fixed possible crash cause - #50.
- Removed item Trujace Oslepienie as it was the only plugin required ReAPI module - #78.
- Removed unused classActive variable in Jasnowidz class.
- Reimplemented algorithm for teleporting behind player - #77.
- Added cod_clans_enemy_glow cvar.
v1.3.1
- Implemented easy reset by command with three types: stats (cod_reset_stats_data), normal (cod_reset_data) and full (cod_reset_all_data).
- Implemented safe-guard for honor variable integer overflow and added honor limit.
- Implemented flags manager in core plugin and added flags related natives and forward.
- Added honor giving to admin menu.
- Added few missing classes to plugins-cod.ini.
- Added fractions to class descriptions.
- Changed auto-login behaviour based on new cvar cod_accounts_autologin_config.
- Changed icons scale formula.
- Changed skill in Mag class plugin.
- Changed default values for percentage bonuses by gravity and exp skills.
- Changed how godmode works - now it also blocks cod_inflict_damage and cod_player_kill.
- Changed item/class skills order in take_damage_pre in core plugin.
- Changed duplicated cod_thunder_reach to missing cod_teleport_used in cod.inc.
- Blocked cod_inflict_damage execution on zero or negative damage value.
- Merged prethink functionality into cmd_start and removed cod_player_prethink forward.
- Fixed item exchange.
- Fixed multijump reseting to only double-jump.
- Fixed clan gravity skill formula.
- Fixed box icons not disappearing in new round.
- Fixed multiple render issues in some edge cases.
- Fixed clan members count query.
- Fixed clan member kick query.
- Fixed sum in medals top15.
- Fixed percent calculation for remaining item durability in HUD
- Fixed win condition for dice in number mode with "3" selected as choice.
- Fixed no target reset after revenge kill.
- Fixed double speed bug after item give/drop.
- Fixed message_money in honor plugin.
- Fixed player speed on freeze effect.
- Fixed duplicated command execution in menu plugin.
- Multiple other minor changes...
Starting with this release skins plugin is optional and disabled by default, skins models are extracted to separate archive. All classes and items except one of each as example are now also optional and disabled by default.
v1.3.0
- Reworked skins with new database structure, skin testing on buy and overall refactoring.
- Reworked shop with multiple new dynamic features toggleable by cost cvars.
- Added documentation for all existing cvars in cod_mod.cfg.
- Added ability to disable some exp, honor, accounts, stats, clans, box drop functionality by settings cvars to 0.
- Added cod_bonus_players_per cvar to define full server exp bonus.
- Added clan name change fee configurable by cod_clans_name_change_fee cvar.
- Added HUD error on no database connection.
- Added new DEATH type for core skills that removes skill after player death.
- Implemented VIP knife toggleable and added new model for it.
- Implemented queue for skills used by binds and changed their HUD info position so they won't overlap.
- Implemented clan exp bonus instead of weapon drop.
- Changed behaviour for cod_max_durability, setting it to 0 will disable item durability system, remove info from HUD and hide repair option in shop.
- Changed clan gravity bonus cvar to percentage.
- Changed recoil reducer effect from 10% to 50% to make it more usable.
- Changed item durability format in HUD to percent.
- Changed compilation error for AMXX < 1.8.3.
- Rewritten and optimized code for recoil eliminator and reduces as well as unlimited clip ammo.
- Simplified code for bp ammo refill.
- Fixed bomb planted icon.
- Removed use of float cvars.
- Replaced playersNum variable with get_playersnum use.
- Renamed sprites-src folder to just sprites.
- Moved shopsms plugins to shopsms subdirectory.
- Many other minor changes.
Upgrade from 1.2.1:
- Upload axe.mdl to cstrike/models/CoDMod.
- Rename weapondrop column to exp in cod_clans table.
MySQL query:
ALTER TABLE `cod_clans` CHANGE `weapondrop` `exp` INT NOT NULL;
- Add active column to cod_skins table, update it based on ACTIVE records and remove them afterwards.
MySQL queries:
ALTER TABLE `cod_skins` ADD COLUMN `active` INT NOT NULL;
UPDATE `cod_skins` a SET `active` = '1' WHERE EXISTS (SELECT * FROM (SELECT * FROM `cod_skins`) b WHERE b.name = a.name AND b.skin = a.skin AND b.weapon LIKE CONCAT (a.weapon, ' ACTIVE'));
DELETE FROM `cod_skins` WHERE `weapon` LIKE '% ACTIVE';
v1.2.1
- Implemented multiple new multiforwards: cod_team_assign, cod_bomb_planting, cod_bomb_planted, cod_bomb_defusing, cod_bomb_defused, cod_bomb_explode, cod_bomb_dropped, cod_bomb_picked, cod_hostage_killed, cod_hostage_rescued, cod_hostages_rescued, cod_restart_round, cod_win_round.
- Updated cod.inc to contain new forwards.
- Updated plugins to use new forwards.
- Updated SQL_ReadResult references to use SQL_FieldNameToNum instead of hardcoded numbers.
- Removed money bonus from VIP.
- Fixed empty clan record showing returned by database query in war declaration menu and clans top15.
- Fixed stats reset on class load when one of the stats reached limit.
- Fixed honor issue with entity private data set (money) before it was available.
v1.2.0
- Implemented clan wars (it is required to remove cod_clans table from the database or add wins field with int type if moving from 1.1.x version).
- Implemented a lite version of icons toggleable by flag #define LITE in icons plugin source code.
- Implemented admin menu plugin (optional - disabled by default).
- Reworked honor so it's now only usable currency (it even overrides money in HUD).
- Added new cvars to clans plugin and implemented logic associated with them: cod_clans_create_fee and cod_clans_join_fee.
- Added new cvars to main plugin and implemented logic associated with them: cod_night_exp_multiplier, cod_points_per_level and cod_points_limit.
- Added new cvars to stats plugin and implemented logic associated with them: cod_revenge_enabled, cod_revenge_honor and cod_revenge_exp.
- Added cod_honor_kill_first cvar to honor plugin and implemented logic associated with it.
- Added safe check for exp variable integer overflow in main plugin.
- Reworked how flags are checked in stats and vip plugins.
- Improved non-threaded query execution in clans.
- Changed default value for the third parameter in cod_set_user_item native to RANDOM.
- Fixed clan removal from the database on disbanding.
- Fixed time top15 and admin status in stats.
- Fixed stats point reset bug when a player lost levels.
- Fixed ability to buy item repair without having one.
- Fixed issue with percent symbol in messages in main plugin.
- Many other minor changes.
v1.1.1
- Fixed cod_mod compilation error caused by incorrect function name (get_velocity_by_aim).
- Fixed zero honor cost on skin buy.
- Fixed skins overriding in a database.
- Fixed clan name change.
- Fixed clans top15 motd.
- Added cod_box_dropped multi-forward to replace cod_spawn_icon native use in CoD Box.
- Optimized CoD Icons so icons related with bomb won't be precached on maps without bombsite anymore.
- Reduced number of skins in default config.
- Added fix for "Cache_TryAlloc: 2331984 is greater then free hunk" crash in README.