Commit Graph

148 Commits

Author SHA1 Message Date
6478d995b9 Fix rebuy exploit by keeping current clip.
Add zr_infect_knife_cooldown
Convert includes to new syntax.
2017-07-05 23:00:50 +02:00
b09747346f Various fixes and additions. 2017-05-01 23:59:38 +02:00
BotoX
266896491c Merge pull request #5 from olegtsvetkov/fileexists-case-sensitive
Don't use Valve file system when calling a FileExists.
2016-06-12 13:54:45 +02:00
Oleg Tsvetkov
25eaa7ade3 Fixed memory leak. 2016-06-12 01:30:11 +03:00
Oleg Tsvetkov
4f460baa9b Don't use Valve file system when calling a FileExists. 2016-06-12 00:31:15 +03:00
d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
6f9558373d Fix issue in @98dfd22c9b21571d76dbf655184fdbceb3f7c312 2016-01-06 03:37:28 +01:00
BotoX
98dfd22c9b added support for flags to playerclasses 2015-10-31 00:22:46 +01:00
Richard Helgeby
542d3d345e Do not use deprecated GetClientAuthString native. 2015-03-21 15:45:29 +01:00
Richard Helgeby
28e54c36a7 Added support for model with multiple skins (model_skin_index class attribute). Compiles, but not tested. 2013-04-25 09:50:08 +02:00
Richard Helgeby
7e72ede0ca Added support for resource files in Valve's file system. Thanks to Kyle. 2013-04-16 02:43:29 +02:00
Richard Helgeby
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby
5c980b5edc Increased max class HP to 100,000. Added a few game mode configs. 2013-01-11 12:14:43 +01:00
Richard Helgeby
d0d1de8197 Added validation of immunity amount and cooldown settings. Cleaned up some comments in code and class config. 2013-01-06 00:25:57 +01:00
Richard Helgeby
666ac57836 Implemented delayed infection mode. Fixed immunity_cooldown attribute not loaded properly. 2013-01-05 22:58:43 +01:00
Richard Helgeby
e31d867c57 Updated class commands and class editor. Fixed a few compiler warnings. 2013-01-05 21:10:38 +01:00
Richard Helgeby
cd604c2f95 First draft of immunity modes. Compiles, but class commands and class editor is not updated. 2013-01-04 18:24:32 +01:00
Richard Helgeby
8bec3be02d Added basic class API: ZR_IsValidClassIndex, ZR_GetActiveClass, ZR_SelectClientClass, ZR_GetClassByName, ZR_GetClassDisplayName 2012-09-08 22:34:31 +02:00
Richard Helgeby
16280e0397 Fixed disabled classes still being validated. 2012-05-30 11:35:34 +02:00
Richard Helgeby
ddf8be76f9 Fixed index out of bounds error when class limit is reached. Bumped class limit to 64 classes. 2011-07-10 13:37:00 +02:00
Richard Helgeby
965f637562 Fixed class speed multiplier not properly applied with prop speed method (bug 199). 2010-08-06 16:19:30 +02:00
Richard Helgeby
3f68eaa2f0 Added validation log messages for individual attributes when loading classes. 2010-08-06 14:24:10 +02:00
Richard Helgeby
e6509e59a7 Added notes about the new speed method. Increased upper speed limit. 2010-07-25 20:44:47 +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
Richard Helgeby
4b693385fc Fixed typo in class menu logic. 2010-07-04 03:56:42 +02:00
Richard Helgeby
f355ee94fc Imported fix from dev: 750:c5cd9d89414a - Fixed class menus being disabled and not checking if the player have access to private classes. 2010-07-03 23:39:34 +02:00
Richard Helgeby
648b62527b Imported fix from dev: 717:fe907635426c - Fixed classes not always restored from cookies. 2010-06-03 21:12:28 +02:00
Richard Helgeby
9ec9a121da Imported fix from dev: 687:5d695a55d80e - Fixed saved classes not validated by team id when restoring from cookies. 2010-04-05 00:57:41 +02:00
Richard Helgeby
07b4ed9373 Imported fix from dev: 686:b0fc2136d03a - Fixed class attributes applied to early (moved to spawn post event). FOV (and possibly other stuff) was reset on spawn. 2010-04-05 00:54:21 +02: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
b39a684fd8 Imported fix from dev: 646:25e5741ab71e - Moved the IsClientInBuyzone stock to the weapons module from ZMarket, and stop the "Zombies can't use weapons" phrase when using autobuy outside of a buyzone. 2010-02-14 17:03:19 +01:00
Richard Helgeby
1005cd73a4 Fixed admin classes not restored from cookies. 2010-02-04 23:53:58 +01:00
Richard Helgeby
985650a544 Fixed typo in model validation in classes. 2010-01-07 08:56:12 +01:00
Richard Helgeby
614048ad69 Removed redundant check for class menu command. Fixed suicide intercept message not displayed in chat. Text from chat will still appear in console if written from console. 2009-12-26 20:13:24 +01:00
richard
0adc2c597a Fixed class selection not saved in cookies on instant class change. 2009-12-09 14:57:33 +01:00
richard
da3bd3c889 Fixed zr_class_set_multiplier not aborting when there's a invalid attribute specified. 2009-12-07 14:38:23 +01:00
richard
849d8cd81b Fixed HP regen timer handles not always initialized. 2009-12-03 01:22:20 +01:00
richard
e8ead727c2 Small timer code cleanup. 2009-12-02 23:35:20 +01:00
richard
37c9929bd4 Code cleanup in class overlays. 2009-11-30 16:49:11 +01:00
richard
109a923ae3 Updated docs with new model error messages. Minior fixes.
Improved error handling of model list.
Fixed typo in class attribute validator.
Changed cvar defaults: class menu auto-close and overlay default state.
2009-11-28 22:32:44 +01:00
richard
bedb4d4bda Made cvar for displaying class menu on first spawn. Renamed class menu cvars. 2009-11-20 18:20:45 +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
844e23b293 Updated docs. Minior fixes.
Added flag on some timers so we are sure they are killed on map change.
Added stop event on health regeneration timer when applying classes, if the class has no regeneration.
Cvar zr_classes_default_admin is now replaced by admin-only classes. Old cvar is zr_classes_default_admin_mode.
2009-10-31 03:39:00 +01:00
richard
9bd4f90137 Added error log descriptions to manual. Cleaned up some log messages. 2009-10-27 22:53:03 +01:00
richard
3794251cc5 Updated all admin console commands to check if client is privileged (so group authentication works), instead of using RegAdminCmd. Minior fixes.
Changed admin teleport command to log target names.
Cached result of privilege check instead of calling function twice (zadmin menu).
Disabled old debug commands. Do not remove, we need them for testing later.
2009-10-26 23:17:22 +01:00
richard
2389ad875b Updated docs. Minior fixes. Changed class dumping commands to admin commands. 2009-10-10 23:28:54 +02:00
richard
d030fe573d Increased max classes to 48. 2009-10-10 18:54:17 +02:00
richard
bc7a019e8f Fixed cookie memory leak, changed cookies to only be created once. 2009-10-10 18:26:27 +02:00
richard
92bffae62c Fixed incorrect class index validated when restored from cookies (forgot to substract by one). Specified filter settings on random spawn classes. 2009-10-10 17:37:30 +02:00