Commit Graph

146 Commits

Author SHA1 Message Date
Richard Helgeby e7478e0a05 Imported some API-features from zr-dev. Added API test plugins in testsuite. 2010-11-14 15:17:19 +01:00
Richard Helgeby fcb5b3f3d7 Removed use of deprecated functions. 2010-07-25 21:08:22 +02:00
Richard Helgeby ec1d55a323 Fixed client not connected error in class module. 2010-07-10 19:21:49 +02:00
Richard Helgeby eab2333309 Added support for different speed methods, defaulted to prop method now. If you don't want to update class settings, use 'zr_classes_speed_method lmv' for backwards compatibility. 2010-07-04 17:58:27 +02:00
Greyscale d95cd501c9 Removed unnecessary antistick commands for model hull width, all models have the same hull width. 2010-06-25 10:40:47 -07:00
Greyscale 21c41688d7 Fixed cookies being reset on some occasions and admin-dependant classes are saved properly as well. 2010-02-19 17:41:24 -08:00
Richard Helgeby 950a8f9e41 Imported fix from dev: 661:dbb2ad84eb58 - Fixed a bug where zr_suicide_cmds was being ignored and only the default value was being used. 2010-02-14 17:26:28 +01:00
Richard Helgeby 12f5092e9e Imported fix from dev: 640:a8280796340e - Fixed the default sky on the first map not reverting properly if zr_veffects_sky was enabled in zombiereloaded.cfg. 2010-02-14 16:27:20 +01:00
Richard Helgeby 1005cd73a4 Fixed admin classes not restored from cookies. 2010-02-04 23:53:58 +01:00
Greyscale 173b86f4ac Switched the plugin to use SDKHooks instead of the unstable ZRTools. 2010-01-25 02:07:39 -08:00
richard 14eb5e486a Restored version and branch for maintenance repository. 2009-12-11 17:30:01 +01:00
richard 22317cd900 Changed branch for 3.0 development (no more betas). Restored development version number. 2009-12-11 17:19:18 +01:00
richard 958566ccbb Bumped version. Ready for release. 2009-12-11 17:14:40 +01:00
richard abd4afe4c7 Updated to support new sdk hooks release (1.1, 30 nov). 2009-12-02 18:42:57 +01:00
richard 66ed43dd48 Changed model config to key/value format and improved model module features. Model access isn't tested yet, but base stuff works. Minior fixes.
Added more random model selection presets: public, admins, hidden and mother zombies.
Simplified ClassFlagFilterMatch logic.
2009-11-17 08:47:39 +01:00
richard 8c1a549239 Reverted to use ZR Tools. Fixed class multipliers beeing reset after map configs.
SDK Hooks works, but is not yet fully compatible with weapon restrict module because of missing Weapon_CanUse event in SDK Hooks. Weapons disappear when zombies walk near them. Otherwise the extension works.
2009-11-11 22:50:19 +01:00
richard bae7998b9b Made support for SDK Hooks 1.1 Extension (enabled by default). Comment USE_SDKHOOKS define to use ZR Tools. 2009-11-04 21:37:26 +01:00
richard 644c464b0c Minior fixes. Tested ZR on a vanilla server with newest SourceMod, fixed issues related to vanilla configuration. See details.
Fixed timer handle error in volfeatures on map end.
Fixed incorrect default value in class cvars.
Changed map config files to be loaded in OnAutoConfigsBuffered.
2009-10-31 18:18:11 +01:00
richard 7afea34ac4 Fixed (again) existing volumes not removed after a map change. Moved VolInit call into OnMapStart event. Modules that must be reset per map should be initialized/reset here. 2009-09-30 01:05:41 +02:00
richard b3c31afff9 Merged heads. 2009-09-27 23:52:20 +02:00
richard 9906376f28 New features and fixes in volfeatures. See details.
Fixed existing volumes not removed after a map change.
Added class editor feature that can modify certain class attributes on players in a volume.
Fixed typo in class attribute name.
Fixed health regeneration timer not stopping if a player were kicked or timed out.
2009-09-27 23:45:17 +02:00
Greyscale f4eb06d210 Small fix in voice.inc to stop changing voice permissions with a client's self.
Added the API functions for shoppinglist.inc but they don't do anything, they are just a sneak-peak into the way it will work, any feedback on your opinion would be nice.
2009-08-30 11:47:01 -07:00
richard c2a40196eb Restored define for adding version info. 2009-08-27 20:46:44 +02:00
Greyscale dedb782e28 Separated weapon entity and weapon name. Broke config compatibility in weapons.txt. Either update yours by hand, or overwrite with this file.
Made support for my Grenade Pack plugin, just install the plugin and ZMarket will follow gp_limit.  The only problem right now is flash/smoke are treated like grenades, this will be fixed soon.
2009-08-25 13:07:10 -07:00
richard a5e3944234 Added script and command for dumping version and revision information. Also added define for enabling or disabling this until we have a windows script for updating hgversion.h.inc. 2009-08-23 06:19:15 +02:00
richard 3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
richard 50a7e5ab99 Added new parameter parser. Not implemented or tested yet. 2009-08-04 03:41:16 +02:00
Greyscale b7018e9fe8 Replaced all menu line lengths with defines in menu.inc
*Moved the including of menu.inc up to allow all modules to use its defines.
2009-07-27 13:25:23 -07:00
richard 70febe812e Restored versions to beta 2 development version. 2009-07-25 14:42:45 +02:00
richard 62badc6255 Bumped versions. This revision can be used in the beta 1 release. 2009-07-25 14:40:17 +02:00
richard d6966910a0 Restored version number. 2009-07-24 00:58:03 +02:00
richard 98a0fa29d7 Bumped version. This is just a test and not the actual release unless this revision gets tagged. 2009-07-24 00:57:10 +02:00
richard 62c1ab4cc5 Merged heads. 2009-07-16 10:06:39 +02:00
richard d666fbf7ce More work on volfeatures. See details.
Finished base event handler for volfeatures.
Finished zr_voladd, zr_vol_remove, zr_vol_list and zr_vol_dumpstates console commands.
Removed unused function call in class module.
Fixed minior bugs in parameter parser (paramtools.inc).
Made a debug tools module with console commands for directly testing certain functions.
2009-07-16 10:05:40 +02:00
Greyscale 5497a13dd7 Fixed minor errors, fixed antistick having some false positives, fixed every single Zombie:Reloaded line at top of the file. 2009-07-04 23:49:23 -07:00
Greyscale 879a31e8d6 Updated antistick to be much more accurate.
Removed eyeangles offset from gamedata file.
Removed old code in commands.inc.
2009-07-01 23:23:12 -07:00
Greyscale d9843c74fa Fixed jump boost :D Changed how bunnyhop prevention works. 2009-06-23 14:28:26 -07:00
Greyscale b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
Greyscale 6426bf169c Fixed stupid compiler error in cookies (oops) and recoded serial module to use steamids (serial's weren't workin' out) + the API was very confined, added ability to create SteamID cache's instead of one global cache. ZSpawn uses this new cache system. 2009-06-20 22:24:31 -07:00
Greyscale e7bdae2ad8 Added forgotten cvar to the config.
ZHP now uses client cookies. (Still need to make a menu and cookie-tize other settings.
2009-06-20 00:15:43 -07:00
Greyscale 681ad45365 Recoded sayhooks, now uses SM's silent/public chat triggers.
Began making set functions for the commands that will use them later.
Removed all sayhook cvars.
2009-06-17 14:32:46 -07:00
richard 4b66f688ab New log features, class attribute and minior changes. See details.
Made new log CVAR for overriding filters on error log types: zr_log_error_override. If this is on, errors are always logged, independent of flags and filters. Now all non-error logging can be completely disabled without complex flags or filtering.
Made new class attribute ("has_napalm", ClassGetHasNapalm) that specifies if the class have or can trhow napalm grenades. Implemented usage in napalm module.
Added team id validation in class attributes.
Improved formatting of log messages in cvars module.
Known issue: Commands in config for adding modules to log filter are executed too late. Otherwise the module filter works fine.
2009-06-14 19:10:30 +02:00
Greyscale 9af3fec738 Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files. 2009-06-11 20:51:26 -07:00
richard 208fe7fe28 Merged heads. 2009-06-08 00:15:13 +02:00
ricahrd a58b2eae85 Implemented module filtering. Note: Doesn't work yet, needs debugging.
Implemented looping through modules instead of listing each one.
Fixed translations issue with pre-defined width. zr_log_list now formatts correctly.
Fixed missing newline in the end of translations.inc.
Known bugs: Adding invalid module names works, it should give an error. Cache doesn't get updated either.
2009-06-08 00:13:38 +02:00
Greyscale 18986a0d0a Separated visualeffects into module/submodule format. 2009-06-07 15:07:30 -07:00
richard 4ce30ac002 Improved logging system.
Made generic flags for log event types.
Made support for module filtering. Note: Manager for module filtering is not implemented. Don't enable filter when testing, otherwise nothing will be logged.
Updated all log events.
2009-06-01 23:29:26 +02:00
richard 1fb33b2b13 Merged heads. Fixed conflicts in cvars.inc and zadmin.inc.
Readded some functions in zadmin.inc, but made them as comments. No reason to remove these so we don't have to remake them again.
2009-05-30 04:42:23 +02:00
richard 433fd41ede Finished base management for volumetric features. Code compiles, but this feature is not tested so far!
Made CVARs for volumetric features module.
Made trigger delay attribute for volumes, per player. Count down for n seconds after when a player enter. When leaving a volume trigger delay is aborted.
Made parameter parsing functions; paramtools.inc.
Made functions for setting and parsing generic volume attributes.
Updated header in files to volumetric features and paramtools.inc.
Removed unused knockback functions in zadmin.inc.
Made certain class functions into stock functions.
2009-05-30 04:17:01 +02:00
Greyscale 0f8206596a Recoded weapon restrictions, and made new way of storing data. (Arrays)
* Removed ZMarket as an external plugin (to be integrated next commit)
* Updated weapon configs, removed weapongroups.txt and moved weapons.txt to root zr config folder.
* Moved offset finding to respective module, made new forward *OnOffsetsFound.
* Updated weapons&hitgroups config file format to match playerclass.txt
* Updated translations.
* Recoded weapon restrict menu, commented out all zadmin options that don't quite work.
* Added weaponammo module (not finished but existent)
* Started zmarket module.
2009-05-28 23:43:15 -07:00