Commit Graph

57 Commits

Author SHA1 Message Date
BotoX 69fc706152 add zr_weapons_zmarket_freespawn to adjust free rebuys before first zombie spawns 2021-05-24 11:55:34 +02:00
zaCade bb37965670 Cleanup duplicated code, and a big wtf?
offsActiveWeapon was never declared, guess we never found out because the functions where unused. WeaponsGetActiveWeaponSlot is still unused, leaving in might be usefull somewhen in the future.
2019-09-28 13:19:56 +02:00
zaCade 177d9217b8 ZMarket: Yet another location. 2019-03-10 19:59:04 +01:00
zaCade 431b444e1f ZMarket: Only grab 'zmarket' name on CSGO.
CSS doesnt fuck up capitalization, unlike CSGO...
2019-03-09 13:54:06 +01:00
zaCade 10461e8ba4 ZMarket: Rework display name system, it applies to all menus now. 2019-03-09 13:44:42 +01:00
zaCade 651dd9921a CSGO: Add 'zmarketname' to fix keyvalues case bug.
https://forums.alliedmods.net/showpost.php?p=2220583&postcount=5, for
explanation.
2018-07-30 14:50:58 +02:00
Obuss 4f7e711af5 Allow multiple weapon commands (comma delimited) 2018-02-10 13:40:22 -06:00
BotoX 134ca810d0 zmarketpurchasemax = 0 -> no rebuys instead of infinite 2018-01-15 00:37:00 +01:00
zaCade c06ddc3fcd CSGO, give more weapons on spawn. 2017-08-23 17:23:43 +02:00
zaCade 13fff1f8bc CSGO fixes & no longer spawn with restricted stuff 2017-08-07 23:50:39 +02:00
zaCade 7d2a16e2f6 CSGO Support & No refill cvar. 2017-08-03 21:15:54 +02:00
BotoX 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
BotoX 3afde85238 reworked zmarket
fixed kevlar bug
2016-02-12 04:16:59 +01:00
BotoX d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
BotoX b2f4176f51 fixed infinite ammo exploit in zmarket (item_kevlar -> SetEntProp m_ArmorValue) 2015-10-31 00:45:13 +01:00
Richard Helgeby a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby 235407facb Fixed client not in game error in ZMarket. 2012-02-27 01:49:04 +01:00
Richard Helgeby 3fe0b5506f Changed ZMarket to auto-buy weapons once settings are loaded (if auto-buy is enabled). 2012-02-26 23:07:24 +01:00
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
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 f91c8b3561 Unlimited shotgun ammo exploit fixed. 2010-01-16 23:43:44 -08:00
Andrew Borba 136c8aba74 Enlarged display string limits of yes/no phrases. 2009-12-16 18:13:35 -08:00
richard 9bd4f90137 Added error log descriptions to manual. Cleaned up some log messages. 2009-10-27 22:53:03 +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 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 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 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 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 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
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
Greyscale ec231ba66a Fixed ZMarket auto-rebuy and removed debug message. 2009-06-16 11:51:34 -07:00