Commit Graph

  • 12cd37bef5 Fixed memory leak by config module. Greyscale 2009-05-29 17:51:30 -0700
  • 7a7a0291a3 (Quickfix that caused error is fixed here.) Greyscale 2009-05-28 23:47:04 -0700
  • 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. Greyscale 2009-05-28 23:43:15 -0700
  • b1f8de9526 Fixed compiling errors Greyscale 2009-05-20 22:42:45 -0700
  • 8edf223dc1 Moved more code from event.inc to appropriate modules, fixed kill bonus. Greyscale 2009-05-20 22:39:24 -0700
  • bb05cbccd0 Renamed some commands, updated class command creation, and minor overlay changes. Greyscale 2009-05-20 22:13:51 -0700
  • d4449dbab7 Merged heads. (roundstart.inc replaced with LF newlines) Greyscale 2009-05-20 19:18:46 -0700
  • a1aebe5ca5 Removed all non-forwarding code from events.inc and moved to appropriate modules. Greyscale 2009-05-20 19:15:55 -0700
  • a9a61c833d Removed old docs. Todo ideas moved to bug tracker, and changes.txt moved to docs as zr_3.0_news.txt. richard 2009-05-20 15:59:57 +0200
  • eeba5b8e7b Fixed newlines in round start module. richard 2009-05-20 15:28:44 +0200
  • 6e464880f4 Removed zombie.inc and created a round start core module. Greyscale 2009-05-19 21:24:43 -0700
  • d466ab8b24 Fixed weaponalpha from changing weapon's rendermode before spawn which caused display problems. Greyscale 2009-05-18 23:14:18 -0700
  • 0b3524e8df merge Greyscale 2009-05-18 16:11:32 -0700
  • e58ff10595 Fixed translations again. Greyscale 2009-05-19 01:04:19 +0200
  • ae2746ac2f Reworded a comment. (Testing TortoiseHG) Greyscale 2009-05-18 15:58:42 -0700
  • 25befe128f Fixed translations. Greyscale 2009-05-19 00:07:28 +0200
  • f126d181aa Merged heads. Greyscale 2009-05-18 06:26:37 +0200
  • 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. Greyscale 2009-05-18 06:26:13 +0200
  • 9b82451d1c Merged heads and fixed conflicts. richard 2009-05-16 01:43:40 +0200
  • 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! richard 2009-05-16 01:37:23 +0200
  • 363be11591 Added actual functionality for the zr_infect_mzombie_respawn cvar. Greyscale 2009-05-15 08:14:14 +0200
  • 6d09157719 Did all cvar descriptions, made spawn protect detect when client needs to be protected more accurately, bunnyhop protect put into a cvar. Greyscale 2009-05-15 07:25:07 +0200
  • 055e89d64a Began adding cvar descriptions, recoded logging module, fixed zmenu display bug, removed include line for anticamp until recoded. Greyscale 2009-05-14 09:32:01 +0200
  • ef5dd66890 Merged heads. Greyscale 2009-05-14 02:28:48 +0200
  • 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. Greyscale 2009-05-14 02:28:26 +0200
  • 991d14d248 Added tag zr-2.5.1.29 for changeset 1d933653c32c richard 2009-05-13 16:53:05 +0200
  • d2ba27f2b4 Added tag zr-2.5.1.28 for changeset fd485777bc69 richard 2009-05-13 16:53:05 +0200
  • 700712f076 Added tag zr-2.5.1.27 for changeset 5dfe718d2c97 richard 2009-05-13 16:53:05 +0200
  • c066e18fc6 Added tag zr-2.5.1.26 for changeset 7596417d5696 richard 2009-05-13 16:53:04 +0200
  • 135daecd37 Added tag zr-2.5.1.25 for changeset 9705606370c1 richard 2009-05-13 16:53:04 +0200
  • 9dfa5136bd Added tag zr-2.5.1.24 for changeset 35a6ee200e3a richard 2009-05-13 16:53:04 +0200
  • 20a6efb5ba Added tag zr-2.5.1.23 for changeset 91e90dd25037 richard 2009-05-13 16:53:04 +0200
  • bf3e6446c0 Added tag zr-2.5.1.22 for changeset b515d7769a8b richard 2009-05-13 16:53:04 +0200
  • 9adcc827db Added tag zr-2.5.1.21 for changeset ef1198a402c3 richard 2009-05-13 16:53:03 +0200
  • 5a22e0c696 Added tag zr-2.5.1.20 for changeset 0427fe3c7db2 richard 2009-05-13 16:53:03 +0200
  • 6321af546b Added tag zr-2.5.1.19 for changeset b24ad68ead4e richard 2009-05-13 16:53:03 +0200
  • 3c13cb78a8 Added tag zr-2.5.1.18 for changeset 7f15822e9a51 richard 2009-05-13 16:53:03 +0200
  • 55e3336f23 Added tag zr-2.5.1.17 for changeset d2042892e29c richard 2009-05-13 16:53:03 +0200
  • 5c93a394ea Added tag zr-2.5.1.16 for changeset 305ce6746f1d richard 2009-05-13 16:53:02 +0200
  • 9e4e4a9e8a Added tag zr-2.5.1.15 for changeset ded7b64fc5be richard 2009-05-13 16:53:02 +0200
  • 56b58bc2ba Added tag zr-2.5.1.14 for changeset d633fcc08a17 richard 2009-05-13 16:53:02 +0200
  • ef94e1f184 Added tag zr-2.5.1.13 for changeset 0c926b99ee96 richard 2009-05-13 16:53:02 +0200
  • cad56dd7c8 Added tag zr-2.5.1.12 for changeset d5da985dfba8 richard 2009-05-13 16:53:02 +0200
  • 8710f91bc6 Added tag zr-2.5.1.11 for changeset 1ab02f8544fe richard 2009-05-13 16:53:01 +0200
  • 6a374db673 Added tag zr-2.5.1.10 for changeset dafbb1557460 richard 2009-05-13 16:53:01 +0200
  • b7b1094f9d Added tag zr-2.5.1.9 for changeset f9d36b5495e0 richard 2009-05-13 16:53:01 +0200
  • db164732b8 Added tag zr-2.5.1.8 for changeset 7e4b988a2593 richard 2009-05-13 16:53:01 +0200
  • 5986511eae Added tag zr-2.5.1.7 for changeset 22d1509d7f9b richard 2009-05-13 16:53:01 +0200
  • 5a3474e6dc Added tag zr-2.5.1.6 for changeset 1dbe1b853428 richard 2009-05-13 16:53:00 +0200
  • d1c609f39d Added tag zr-2.5.1.5 for changeset 6678adf1156b richard 2009-05-13 16:53:00 +0200
  • 3a08219d67 Added tag zr-2.5.1.4 for changeset 18725be2a1bd richard 2009-05-13 16:53:00 +0200
  • 10279ac5b4 Added tag zr-2.5.1.3 for changeset 137e9cac8cf6 richard 2009-05-13 16:53:00 +0200
  • f76096639a Added tag zr-2.5.1.2 for changeset 721f697abb64 richard 2009-05-13 16:53:00 +0200
  • f2fba7bf72 Added tag zr-2.5.1.1 for changeset 282e96413835 richard 2009-05-13 16:52:59 +0200
  • 8f9a66e366 Added bunnyhop protection. Greyscale 2009-05-12 04:56:03 +0200
  • 8aa9b7dcc7 Added zspawn team override cvar. Greyscale 2009-05-12 04:30:16 +0200
  • 77fd4b00a8 Created serial number api, put client serials in adt array instead of 64-slot array. Greyscale 2009-05-12 04:12:13 +0200
  • 0ca296731b Fixed default alpha values. Greyscale 2009-05-12 03:58:43 +0200
  • 0a9d1d9035 Merged heads. Greyscale 2009-05-12 03:14:13 +0200
  • 14c5acf0bf Fixed typo in playerclasses.inc with logging defines, add updated weaponalpha module to track weapon alphas. Greyscale 2009-05-12 03:12:05 +0200
  • f46b774492 Updated gamedata file for zrtools and removed hacks.inc Greyscale 2009-05-11 07:12:13 +0200
  • 67ec1f8433 Merged heads. Greyscale 2009-05-11 04:47:56 +0200
  • 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. Greyscale 2009-05-11 04:47:09 +0200
  • b32219fec5 Merged heads. richard 2009-05-10 18:50:28 +0200
  • 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. richard 2009-05-10 18:49:47 +0200
  • e145e8cd0e Fixed logic mistake. richard 2009-05-10 01:32:53 +0200
  • 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. richard 2009-05-09 17:45:19 +0200
  • 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. Greyscale 2009-05-08 07:37:07 +0200
  • a6e55b6653 Updated translations, converted the menu to use keyword defines instead of hardcoded names. Greyscale 2009-05-08 04:57:21 +0200
  • f0a975b431 Fixed bug in ambience that disabled sound being added to download table if logging was disabled. Greyscale 2009-05-07 03:06:08 +0200
  • 3fb7163fb5 Visual effects are all now updated real-time, and defaulted to semi-dark with a borealis sky. Greyscale 2009-05-06 08:29:34 +0200
  • e1b1a21873 Put spawn protect attributes into cvars. Greyscale 2009-05-06 07:13:05 +0200
  • a89f98cc38 Added a way to quiet any sayhook if it wasn't successfully executed, fixed double-ztele'ing. (Note: Linux can't compile the plugin anymore.) Greyscale 2009-05-06 05:31:48 +0200
  • cec31406d0 Added a timelimit to zspawn. Greyscale 2009-05-06 03:04:55 +0200
  • 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. Greyscale 2009-05-06 02:28:09 +0200
  • 476eface23 Fixed ambience. Greyscale 2009-05-05 07:40:15 +0200
  • a36e0dab5a Recoded ztele, removed old ztele, made conversion function. Greyscale 2009-05-05 06:56:34 +0200
  • dca8aa330b Reverted unnecessary changes. Compile still works without errors in this revision, confirmed 2009.05.02 18:00 +2. Initializing blank strings on function declaration had no effect. Also the parameter can be treated as optional when it's actually not. Reverted to avoid confusion. richard 2009-05-02 18:08:33 +0200
  • 460b6ddf6d Merged heads. Greyscale 2009-05-02 07:11:05 +0200
  • 2ec263f2a0 Fixed compiler warning (check SM forums for details), fixed compiler crash, seemed to be caused by the string parameter not being defaulted to an empty string, using new String:... had no effect, so I went through and defaulted all String parameters to (not uncluding constant expressions). Greyscale 2009-05-02 07:09:55 +0200
  • 3cc2087dce Changed limits on class attributes. Allowing negative numbers on jump boost. Limiting to +-500 because that's already really fast (distance to move on next server frame). richard 2009-05-01 11:34:07 +0200
  • fcd3a2e48e Added blank lines on the end of all files to get rid of warning from diff tool. richard 2009-05-01 11:22:45 +0200
  • 0404230fc8 Fixed humans winning on round end when no humans present, removed classes file cvar and made it use the config module, replaced SetFailState with LogMessageFormatted with fail flag, made the base config manipulator function. Greyscale 2009-05-01 07:09:18 +0200
  • 8da309e4f4 Made config module, recoded models.inc and added validations, added a cvar to flag any sayhook as quiet to hide from chat, hooked mp_limitteams, fixed menu handle function, moved file paths into cvars and updated all modules but classes to use it Greyscale 2009-04-30 07:36:57 +0200
  • 1a638cfbac Merge test. richard 2009-04-30 07:18:38 +0200
  • 20b63d9bc5 Removed offsets.inc Greyscale 2009-04-29 03:07:51 +0200
  • f5f9158941 Uploaded manually merged code. Greyscale 2009-04-29 02:50:25 +0200
  • 1b8bcc9141 (Updated translations file), added cvar to drop or strip weapons on infect, moved jumpboost to own module (and fixed it), create tools/tools_functions.inc for offset finding and wrapper functions, added SetFailState alternative to LogMessageFormatted, replaced some tabs with spaces, fixed neverending round bug, fixed no zombie bug, recoded menu.inc, fixed classmenu reopening main menu when closing it with 0. Greyscale 2009-04-29 02:41:53 +0200
  • 5556218f7e test test 2009-04-29 02:34:49 +0200
  • fd129e561b test test 2009-04-29 01:58:41 +0200
  • fa133857a9 Fixed spawn protection not restoring class attributes. richard 2009-04-27 20:54:06 +0200
  • 55876fe2ff Fixed LogMessageFormatted ignoring unspecified clients (-1) when ignore console is enabled. Simplified logic. When ignoring console the match must be explicit (client 0), not just any non-valid player. Unspecified clients (-1) are used on core events, but they were wrongfully ignored. Clients are only specified on player events or console events. Simplified logig: Instead of checking what something isn't, check what it's required to be. Inverted logic may be confusing. richard 2009-04-27 20:08:59 +0200
  • c9724a09c7 Merged heads, with manual fixes to not revert newer changes. richard 2009-04-27 19:51:29 +0200
  • abd38ee033 Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end. Greyscale 2009-04-27 04:00:38 +0200
  • 257659a683 Implemented human classes and fixed class related bugs. Moved class initial event forward into OnConfigsExecuted. Changed class attributes in default configuration file, and made new example human classes: speedy and light. Implemented feature for applying human and admin classes. Admin mode is still not implemented. Extended model path class attribute to support "default" for using default CS models. Fixed event forward order in OnPlayerSpawn event. The class module depends on infection module. Fixed class menu crash when there are no admin classes. Admin class and mode options are removed from the menu if there are no classes. Fixed class menu not closing when selecting 0 (exit) if auto-close CVAR is disabled. New global variable to separate current admin class and the admin class to be used on next spawn: ClassPlayerNextAdminClass. Moved hard coded valitation values into defines. Removed log warning if there are no admin classes. They are optional. Fixed jump boost adding to height and not multiplying (which were 0 on the player velocity). richard 2009-04-25 14:19:14 +0200
  • 65411df2c0 Added visualeffects.inc Greyscale 2009-04-24 05:05:18 +0200
  • 8216ce753d Merged heads. Greyscale 2009-04-24 05:02:54 +0200
  • 2e623447d5 Made visualambience module, removed an offset thats provided by SM, moved zombie/human checks to infect module (renamed), fixed blast cvar, renamed some functions, removed zombie cvar enable because it didnt work. Greyscale 2009-04-24 05:02:19 +0200
  • 8cf1350cfa Fixed defaults in hitgroups.txt Greyscale 2009-04-23 06:41:16 +0200
  • a8be3d6d0a Merged heads. Greyscale 2009-04-23 06:39:58 +0200