Commit Graph

128 Commits

Author SHA1 Message Date
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
Greyscale 6e464880f4 Removed zombie.inc and created a round start core module. 2009-05-19 21:24:43 -07:00
Greyscale ae2746ac2f Reworded a comment. (Testing TortoiseHG) 2009-05-18 15:58:42 -07:00
Greyscale f126d181aa Merged heads. 2009-05-18 06:26:37 +02:00
Greyscale 25b0caa68a Added config reloading support.
Revision also includes:
* Added syntax checking on recoded/new console commands.
* Fixed sv_skyname handle being used when invalid.
* Fixed unhooking error on Weapon_Drop.
* Prefixed some API-style functions with 'stock' to stop compiler
warning.
* Separated downloads into its own file.
2009-05-18 06:26:13 +02:00
richard 9b82451d1c Merged heads and fixed conflicts. 2009-05-16 01:43:40 +02:00
richard fcafe6b428 Started working on volumetric features module.
Added some base functions for working with modules. It's not tested, but it compiles. CVARs are not created yet.
Implemented volume events.
Function VolUpdatePlayerChanges with help from VolGetPlayerStates detects if a player leave or enter a volume between main timer intervals. This solution is not final and might be expensive. Needs to be optimized later!
2009-05-16 01:37:23 +02:00
Greyscale 6d09157719 Did all cvar descriptions, made spawn protect detect when client needs to be protected more accurately, bunnyhop protect put into a cvar. 2009-05-15 07:25:07 +02:00
Greyscale 055e89d64a Began adding cvar descriptions, recoded logging module, fixed zmenu display bug, removed include line for anticamp until recoded. 2009-05-14 09:32:01 +02:00
Greyscale e051b7bdaa Created overlay module to unify class overlays and round end overlays, removed unused class overlay functions, fixed invalid hookid error, allow client to toggle class overlay if allowed in cvar and made toggle cmds configurable, cleaned up translations file. 2009-05-14 02:28:26 +02:00
Greyscale 77fd4b00a8 Created serial number api, put client serials in adt array instead of 64-slot array. 2009-05-12 04:12:13 +02:00
Greyscale 67ec1f8433 Merged heads. 2009-05-11 04:47:56 +02:00
Greyscale 7c643c5d66 Integrated zrtools and removed hacks extension dependency (don't forget zrtools.inc), and I'll make a repos for the source code and binary. No linux binary yet. Gunna be a pain in the ass. 2009-05-11 04:47:09 +02:00
richard 4117519b39 Added command for modifying or scaling class attributes. Minior fixes, see details.
Fixed error getting default classes on early player connect (bots, source tv, etc.).
Fixed jump boost not resetting height velocity. Changed to add to velocity. Jump from boost platform still doesn't work because the velocity is set too early.
Added check for reserved class names when validating.
Updated class default attributes and jump limits.
2009-05-10 18:49:47 +02:00
richard 969aa19b85 Added support for post map configs (with workaround for SourceMod bug 3803). Log cleanup. Minior fixes.
Removed log check in fatal errors. Those must always log.
Stored LogCheckFlag result in a boolean where log is executed more than once.
Fixed invalid translation string used in menu title.
Fixed index out of bounds in zspawn when a client disconnects.
2009-05-09 17:45:19 +02:00
Greyscale e9c611b476 ToolsSetClientAlpha now has option to change weapon alpha too. weaponsalpha module needed to track weapon alphas on pickup and drop. Removed alpha offsets, as it's already supposed by SM natives. 2009-05-08 07:37:07 +02:00
Greyscale a6e55b6653 Updated translations, converted the menu to use keyword defines instead of hardcoded names. 2009-05-08 04:57:21 +02:00
Greyscale cec31406d0 Added a timelimit to zspawn. 2009-05-06 03:04:55 +02:00
Greyscale 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00