Commit Graph

104 Commits

Author SHA1 Message Date
Richard Helgeby
64ce21b4e2 Fixed dead players being able to get weapons. 2011-04-24 23:28:52 +02:00
Richard Helgeby
86678a9025 Fixed invalid handle error in ZMarket module (bug 152). 2010-08-06 15:42:22 +02:00
Richard Helgeby
5d7cdd5aa5 Added array existence check in weapons module. This might fix bug 166. 2010-08-06 14:49:38 +02:00
Greyscale
d795604978 r634 continued. 2010-07-26 14:31:56 -07:00
Greyscale
bd4d7776c4 Lowered sv_maxspeed to work around a CS:S bug with spectator. Fixed a rare case where removing weapons didn't work. 2010-07-26 14:12:02 -07: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
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
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
f91c8b3561 Unlimited shotgun ammo exploit fixed. 2010-01-16 23:43:44 -08: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
Andrew Borba
136c8aba74 Enlarged display string limits of yes/no phrases. 2009-12-16 18:13:35 -08:00
richard
abd4afe4c7 Updated to support new sdk hooks release (1.1, 30 nov). 2009-12-02 18:42:57 +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
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
bd13628962 Fixed another cookie memory leak. 2009-10-25 00:08:53 +02:00
richard
bc7a019e8f Fixed cookie memory leak, changed cookies to only be created once. 2009-10-10 18:26:27 +02:00
richard
7555b042b9 Attempt to fix cookie memory leak. 2009-10-08 19:47:23 +02:00
Greyscale
1f09e1d0c7 Fixed not all grenades being stripped when infected. 2009-08-27 12:56:29 -07: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
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
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
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
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
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
Greyscale
3ebdde1923 Changed all cookies to Protected access, meaning clients can only read them, not change (via sm_cookie), replaced old usermsg hudhint with SM native. 2009-07-07 15:53:18 -07:00
Greyscale
cf429d2e0f No longer checks if cookie exists before creation, because RegClientCookie does that for me. 2009-07-06 22:09:54 -07:00
Greyscale
324dd1abe7 ZMarket now remembers NVG purchases, and has a custom slot in the loadout menu.
Fixed minor display glitch. (wasn't using the file displayname)
2009-07-06 21:32:34 -07: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
258d442f71 Fixed ZMarket bug that took money even if it was restricted or purchase count had been reached. (On rebuy) 2009-07-02 01:12:41 -07:00
Greyscale
85c3400a62 Fixed weapons bug for what.. the 4th time? Finally figured out the cause, reproduced, made fix, no more bug.
Zombies no longer pick up weapons after the round.
Fixed bug where disabling restrict/weapons module allowed zombies to get weapons.
2009-06-26 18:33:09 -07:00
Greyscale
194eb9f2b8 Config options now supports on/off along with yes/no.
Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
2009-06-26 00:00:05 -07:00
Greyscale
735839c19c Moved ZMenu reminder to roundstart module, and fixed bug where it would be printed twice when connecting/spawning. 2009-06-25 17:10:45 -07:00
Greyscale
3f08d6f72c Added commands zr_zspawn_force, and zr_ztele_force.
Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
2009-06-25 17:03:34 -07:00
Greyscale
1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -07:00
Greyscale
0c75482eb8 Fixed memory leak, and timer error. 2009-06-22 13:07:19 -07:00
Greyscale
b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
Greyscale
38b256419d Fixed ZMarket error. 2009-06-21 13:56:48 -07:00
Greyscale
209c13a3f9 ZMarket now allows you to update your loadout but selecting a weapon from the list, but if you are not able to (out of buyzone, zombie, etc) then the weapon won't actually be given. 2009-06-21 12:43:28 -07:00
Greyscale
2e178d2ab6 Finished client cookies (remembers settings, yaay) zsettings still to come.
Changed steamidcache.inc to LF newline format.
Hopefully permanently fixed the weapon rendering problem.
2009-06-21 12:24:24 -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
ed752979b8 Extended ZMarkets feature to include overwriting their current loadout with their current weapons, and viewing their custom loadout.
* Restructured ZMarkets menus.
2009-06-18 20:41:54 -07:00