Commit Graph

545 Commits

Author SHA1 Message Date
Richard Helgeby
68d7476f0e Updated docs and spawn protection speed. 2010-07-07 00:19:19 +02:00
Richard Helgeby
ebf677c527 Imported fix from dev: 752:9c4222fa9219 - Removed hint text sound from spawn protection timer. 2010-07-06 23:20:09 +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
4fd2e9f545 Removed hint sound on hp display. Credits goes to to Tauphi. 2010-06-30 16:53:25 +02:00
Greyscale
bf8d99c206 Fixed an error that happened when buying ammo and not having a weapon in prim/sec slot. 2010-06-29 12:14:51 -07: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
Andrew
dcc02a44f2 Fixed signatures and round end defines that were updated in CSS:OB. 2010-06-24 19:51:01 -07:00
Richard Helgeby
899833d432 Fixed napalm grenades not always working. 2010-06-06 02:43:51 +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
64c49df505 Made cvar for minimum dx level. 2010-05-22 16:13:42 +02:00
Richard Helgeby
d556da6a32 Added cvar to enable suicide intercept before the first zombie. 2010-05-19 15:34:26 +02:00
Richard Helgeby
bac3384520 Imported feature from dev: 688:03dd044dcdd3 - Made scream and moan commands for zombies, with spam protection. 2010-04-05 01:36:32 +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
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
04a8fef584 Imported fix from dev: 649:46c12773c8df - Fixed problems that came up if a client was infected through admin after the round started, but before the freezetime expired. 2010-02-14 17:07:43 +01: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
05895df252 Imported fix from dev: 643:233fb9417720 - Fixed the error in napalm module, and made it log the unexpected values for future study. 2010-02-14 16:36:48 +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
b531c1d880 Imported fix from dev: 607:e4982eeb64d0 - Fixed a bug in client listing menus when selecting a client that left the game caused errors. 2010-02-14 16:13:30 +01:00
Richard Helgeby
1005cd73a4 Fixed admin classes not restored from cookies. 2010-02-04 23:53:58 +01:00
Greyscale
4bb9fa90a0 Merge 2010-01-26 15:59:00 -08:00
Greyscale
173b86f4ac Switched the plugin to use SDKHooks instead of the unstable ZRTools. 2010-01-25 02:07:39 -08:00
Greyscale
b66e93451c Fixed zr_damage_suicide_human not working when enabled. 2010-01-20 17:48:13 -08:00
Greyscale
f91c8b3561 Unlimited shotgun ammo exploit fixed. 2010-01-16 23:43:44 -08:00
Greyscale
c11d1af486 Fixed account module giving money to zombies hurting themself with self-inflicted damage. 2010-01-11 17:43:06 -08:00
Richard Helgeby
985650a544 Fixed typo in model validation in classes. 2010-01-07 08:56:12 +01:00
Greyscale
edf301da42 Fixed weapon not rendering correctly in rare cases and added a cvar to allow zombies to pick up weapons at the end of the round. 2010-01-03 23:25:35 -08:00
Greyscale
74ac9540cf Changed to error cases to be fatal to prevent further errors. 2009-12-31 11:04:03 -08:00
Greyscale
d88b824bfd Fixed the display bug in ZTele showing 0/X uses instead of 1/X. 2009-12-31 00:33:50 -08:00
Greyscale
114552f451 Added a note on cvars that automatically download the files to the client. 2009-12-31 00:23:43 -08:00
Greyscale
9e3dc116d8 Configs now support "1" in addition to the previous "yes" and "on" settings. 2009-12-31 00:05:46 -08:00
Andrew Borba
8200e571ed Fixed napalm extinguish feature. Untested, but read that it should work. 2009-12-28 16:38:21 -08: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
Andrew Borba
136c8aba74 Enlarged display string limits of yes/no phrases. 2009-12-16 18:13:35 -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
7bad6761d3 Fixed broken FOV. 2009-12-11 15:16:28 +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
9d5448e162 Cleaned up model precaching. 2009-12-04 00:44:46 +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
abd4afe4c7 Updated to support new sdk hooks release (1.1, 30 nov). 2009-12-02 18:42:57 +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
96b285d7ac Fixed models not precached properly. 2009-11-28 12:51:13 +01:00
richard
30f3f71268 Fixed ambience sound still playing when disabled. 2009-11-24 21:51:48 +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
934dc138d6 Disabled voice module by default. Increased ammo reserve sizes. 2009-11-19 07:58:19 +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
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
7cf00bb3a4 Fixed privilege check on incorrect command (zspawn). 2009-10-28 23:39:58 +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
b856e69223 Fixed directory memory leak. 2009-10-26 01:42:15 +01:00
richard
7833615363 Code comment typo. 2009-10-25 01:23:31 +02:00
richard
bd13628962 Fixed another cookie memory leak. 2009-10-25 00:08:53 +02:00
richard
b2d679c035 Added manual section about admin authentication. Fixed ZRIsClientPrivileged ignoring console. 2009-10-21 01:42:47 +02:00
richard
ffdf79f882 Updated docs. Minior fixes.
Started writing docs about volumetric features.
Improved manual style, lined up tables.
Added missing attributes in anticamp conversion functions.
Fixed anticamp not extinguishing players who leave a volume that ignite players.
2009-10-20 01:45:13 +02:00
richard
11d51d9e7b HTML-manual conversion complete, zr_manual.txt is now obsolete. Changed default setting on a cvar. 2009-10-15 19:08:31 +02:00
richard
54c0380d6a Updated HTML-manual. Changed default setting on some cvars. 2009-10-14 02:58:16 +02: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
richard
7555b042b9 Attempt to fix cookie memory leak. 2009-10-08 19:47:23 +02:00
richard
8bd7c09887 Added missing tag in volume attributes. Simplified attribute comments. 2009-10-08 02:59:42 +02:00
richard
8c2494f052 Cleanup in volfeatures.
Moved tool functions into a new file.
Decreased max volumes to 32.
2009-10-08 00:49:31 +02:00
richard
0d484132f9 Changed default log settings and updated cvar descriptions. Changed anti-stick log event type to a core event. 2009-09-30 03:17:43 +02: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
43aee8b0b0 merge 2009-09-20 14:59:20 -07:00
Greyscale
bfd9d47505 Yay finished shopping list! 2009-09-20 14:58:50 -07:00
richard
1a5767965a Fixed parameter parser not ignoring escaped quotes when parsing values. 2009-09-15 14:10:57 +02:00
richard
3949280010 Fixed newlines in shoppinglist.inc and added blank line at the end. 2009-09-06 03:07:23 +02:00
Greyscale
7914345e1c merge 2009-08-30 11:47:28 -07: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
2830eb4c7d Fixed players ignited twice on some anticamp volumes. 2009-08-29 23:39:59 +02:00
Greyscale
1f09e1d0c7 Fixed not all grenades being stripped when infected. 2009-08-27 12:56:29 -07:00
richard
c2a40196eb Restored define for adding version info. 2009-08-27 20:46:44 +02:00
richard
f1ee96eb85 Removed empty and unused zr.inc file. 2009-08-27 20:33:03 +02:00
richard
6fcc71aa90 Integrated the new develop environment into the repository. Cleaned up old and unused files. 2009-08-27 19:53:52 +02:00
Greyscale
0c2230ad45 Updated ZMarket to distribute grenades correctly. Still need to update the loadout to support multiple nades, to support multiple flashbangs and Grenade Pack fully. As of now the market allows you to buy 3 grenades but they don't show in the loadout as 3.
Worked more on the voice API, need to figure out why they are reversed. The cvar to disable it now should work, because it doesn't quite work right.
Changed Gangsta Glock back to Glock :P
2009-08-26 00:07:01 -07: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
f804a7d4e2 Fixes in translations. Added note about compiling. See details.
Fixed weapon type restriction menu not translating the first time.
Fixed zmarket weapon type selection menu title not translated.
Fixed too short title string space in zmarket loadout, ztele force, zspawn force and hit group menus.
Fixed "empty" phrase not translated.
Fixed on/off translation string space too short in hit group menu.
2009-08-23 17:03:14 +02: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
6bf210a2e3 Fixed newlines. 2009-08-22 13:16:20 +02:00
Greyscale
cd25e4e16c merge 2009-08-21 12:57:59 -07:00
Greyscale
904edb2594 Added the core of the modifying alltalk feature. WARNING: Untested (but compiles), the cvars to disable it have no effect, and it may be incomplete depending on some questions I have. 2009-08-21 12:47:32 -07:00
Greyscale
8016864474 Started implementing modified alltalk. 2009-08-21 11:54:08 -07:00
richard
6a9c49eced Fixed no fall damage class attribute not working on human classes. 2009-08-18 16:43:15 +02:00
richard
5591adfd25 Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity. 2009-08-15 19:48:51 +02:00
richard
855ffc3c0d Updated class filter to support filtering by classes with no groups set. Fixed default class assignment assigning classes players doesn't have access to. 2009-08-15 17:37:30 +02:00
richard
2fc590ab59 Added support for saving class selections in cookies. 2009-08-15 06:32:44 +02:00
richard
daadefbaea Added nochange option in class model attribute. 2009-08-15 03:33:09 +02:00
richard
32828a9179 Changed class configs to use yes/no. 2009-08-15 02:58:49 +02:00
ricard
35c3f80ed1 Simplified class menu translations. Small improvement in logic when selected classes. 2009-08-15 01:28:28 +02:00
richard
d1cbda40c4 Implemented group class attribute. Improved filtering method for class functions. 2009-08-14 22:10:52 +02:00
richard
6a14b952af Added group class attribute, not implemented. Capitalized all class attribute names. 2009-08-13 18:31:21 +02:00
richard
3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
ricahrd
658a800fea Implemented zr_classes_spawn. Made new instant class change feature on human classes, with time limit. 2009-08-10 19:01:43 +02:00
richard
20f649e32e Changes in translations. Simplified zmenu phrases. 2009-08-10 02:55:42 +02:00
richard
dac737610b Merged heads. 2009-08-09 22:45:28 +02:00
richard
06771e6d15 New feature for blocking class selection. Changes in translations. See details.
Finished norwegian translation.
Fixed missing quote in english translation file.
Added cvars for blocking players from changing classes.
Minior typo fixes in log module.
Changed TranslationReplyToCommand to use the ReplyToCommand function.
2009-08-09 22:44:28 +02:00
Greyscale
6635c8077b Fixed numerous typos in zombiereloaded.cfg 2009-08-08 00:54:53 -07:00
richard
50a7e5ab99 Added new parameter parser. Not implemented or tested yet. 2009-08-04 03:41:16 +02:00
Greyscale
f9c953d58f Fixed numerous potential bugs by moving RoundEndOnClientDeath down to the end of player_death. Checking before caused problems because that function leads to the "humanizing" of all zombies if the last zombie was killed. Stuff like kill_bonus wasn't working right because of this.
Fixed documentation bug, mis-documented kill_bonus.
2009-08-03 15:13:36 -07:00
Greyscale
ded36a6c5d Fixed auto-rebuy possibly being stuck on if the cvar was disabled. Now auto-disables if the cvar is disabled. 2009-08-03 15:00:48 -07:00
Greyscale
1757ec97fa ConfigBoolToSetting now translates a bool into the client's/server's native language. 2009-08-03 14:55:50 -07:00
Greyscale
940463491b Changed lightstyle cvar default to be disabled. 2009-08-03 14:25:13 -07:00
Greyscale
b89dac76f4 Fixed translating in class menu. 2009-07-27 17:09:15 -07:00
Greyscale
5ee1395fb1 Restructured every menu to properly translate into the client's language. 2009-07-27 17:02:49 -07:00
Greyscale
70e5c93a2e Fixed some potential problems in zmarket handling NVGs.
Removed some redundant logic checks.
2009-07-27 13:35:00 -07: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
Greyscale
75d72fb3f2 Added a cvar to either reset the burn time when naded, or to use the original burn-time. 2009-07-26 21:58:05 -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
ba04f668be Changes in docs, and minior fixes. See details.
Updated docs with class multipliers.
Other minior changes in docs.
Removed "Zombie:Reloaded" server title suggestion. If people like this plugin its popularity will grow by itself.
Fixed typo in attribute parser.
2009-07-25 00:36:49 +02:00
Greyscale
f6565bc81c Merged heads. 2009-07-23 17:06:21 -07:00
Greyscale
d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07: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
5be8ef80e8 Merged heads. 2009-07-24 00:44:02 +02:00
richard
60dc215503 Added zr_zspawn_block_rejoin CVAR. Defaulted to 1 (block). 2009-07-24 00:41:39 +02:00
Greyscale
37fe9fae8b Added a shortcut to zmarket loadout in ZCookies, added joinclass to suicide intercept as default. 2009-07-23 15:40:39 -07:00
Greyscale
637c04aa21 Merged heads. 2009-07-23 15:08:16 -07:00
Greyscale
151b255994 Updated antistick, small performance gain.
Modified any multi-valued cvars to accept "1,2" instead of only "1, 2" and made a cosmetic change to get array sizes.
2009-07-23 15:05:14 -07:00
richard
6a6300e21b Fixes in class system. See details.
Fixed class menus not displaying correct class.
Made ClassSelectedNext array for storing class indexes to be set on next spawn. Useful for other stuff too, like saving settings in cookies.
Code cleanup in class spawn and class infect events.
2009-07-23 23:26:14 +02:00
richard
9077a6ba69 Merged heads. 2009-07-22 14:06:42 +02:00
richard
0019a52ca8 Fixed selected class not restored after being mother zombie. 2009-07-22 14:06:18 +02:00
Greyscale
ac2fed1451 Merged heads. 2009-07-21 13:27:33 -07:00
Greyscale
fe5ed637cc Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested) 2009-07-21 13:25:11 -07:00
richard
a0164a38ce Fixes in antistick. See details.
Added all collision group defines, in case we need them for some reason.
Separated get and set funtions for collision groups.
Added check for COLLISION_GROUP_PUSHAWAY in AntiStickStartTouch. If this collision group isn't added, the solidify timer won't be created. Bug 134 is confirmed fixed after testing.
Lined up zr_antistick_list_models.
Added zr_antistick_dump_group debug command. Lists collision groups on one or more players.
2009-07-21 19:49:20 +02:00
Greyscale
98116d08f7 Merged heads. 2009-07-20 22:06:25 -07:00
Greyscale
756fc007ec Fixed "Unknown command" in zr_config_reload_all and fixed an error in zr_config_reload. Added copywrite to zrtools include file. 2009-07-20 22:05:42 -07:00
richard
c059020b8c Merged heads. 2009-07-17 18:16:03 +02:00
richard
1f38e9c5ac Fixed bugs in volfeatures. See details.
Fixed some anticamp bugs.
Warning types confirmed working: chat, center, menu (minior bug: the warning text is item no. 2).
Fixed base event handler bugs.
Added validation warnings on anticamp intervals in case of invalid intervals.
Fixed volume states not properly cleaned up when players die or disconnect.
2009-07-17 18:15:44 +02:00
Greyscale
162bd1e107 Merged heads. 2009-07-16 18:36:01 -07:00
Greyscale
f403386546 Added a "douse" feature to napalm that makes water put out fires.
Fixed zr_antistick not disabling the feature.
Removed a debug message.
Added napalm to logging module.
2009-07-16 18:34:56 -07:00
richard
8127a29235 Updated compiler and SourceMod include files to version 1.2.1. 2009-07-16 10:16:58 +02:00
richard
62c1ab4cc5 Merged heads. 2009-07-16 10:06:39 +02:00