Raised This Month: $32 Target: $400
 8% 

[CURE] Vampirism 1.1.0 [2016/10/02]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
5181
Plugin Version:
1.1.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Leech health and armor from killed zombies in Codename CURE
    Old 05-09-2016 , 15:21   [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #1

    Name: Vampirism

    Description: Leech health and armor from killed zombies in Codename CURE.

    Installation: Place compiled plugin (cure_vampirism.smx) into the plugins folder (../addons/sourcemod/plugins/).
    Need SM1.8_stable to compile

    CVars:
    • cure_vampirism_version - Plugin's version
    • sm_vampirism_enable - Enables/Disables the plugin
    • sm_vampirism_message - Enables/Disables the plugin message when zombie was killed
    • sm_vampirism_hint - Enables/disables the display current player's health in the hint
    • sm_vampirism_max - The maximum amount of health, which can get a player for killing zombies
    • sm_vampirism_armor - The maximum amount of armor, which can get a player for killing zombies
    • sm_vampirism_fist - Health gained from kill with a fists
    • sm_vampirism_primary - Health gained from kill with a primary weapon
    • sm_vampirism_secondary - Health gained from kill with a secondary weapon
    • sm_vampirism_frag - Health gained from kill with a frag grenade
    • sm_vampirism_fire - Health gained from burning zombie
    • sm_vampirism_sentry - Health gained from kill with a sentry gun
    • sm_vampirism_soldier - Multiplier of the heal from killed the soldier zombie
    • sm_vampirism_admin - Multiplier of the heal for the admins
    Commands:
    • sm_frags - Shows in a chat the number of the zombies killed by You (during life and during a round)

    Version 1.0.0 [2016/05/09]:
    • First puplic version
      Name:  cure_vampirism.jpg
Views: 1904
Size:  55.1 KB
    Changes in 1.1.0 [2016/10/02]:
    • Added CVar sm_vampirism_armor and command sm_frags
    • Added information in the hint (about amount of armor and killed zombies during the life)
      Name:  cure_vampirism 1.1.0.jpg
Views: 1588
Size:  43.8 KB
    • Added message after death about killed zombies by You during the life
      Name:  sm_frags.jpg
Views: 1608
Size:  17.5 KB
    • Minor code optimization
    • Small fixes

    To Do:
    • Add translations
    Attached Files
    File Type: sp Get Plugin or Get Source (cure_vampirism.sp - 1054 views - 8.7 KB)
    File Type: sp Get Plugin or Get Source (cure_vampirism 1.1.0.sp - 1122 views - 10.6 KB)
    File Type: smx cure_vampirism 1.1.0.smx (9.5 KB, 444 views)
    __________________

    Last edited by Grey83; 10-02-2016 at 12:09. Reason: Plugin updated to v.1.1.0, added features. smal fixes
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 10-02-2016 , 12:15   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #2

    If You don't have SM1.8_stable, then just download alredy compiled cure_vampirism 1.1.0.smx.
    __________________
    Grey83 is offline
    DJPlaya
    Senior Member
    Join Date: Nov 2014
    Location: Germany
    Old 08-05-2017 , 12:47   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #3

    You may want to check your Plugin,
    Setting Health dosent work anymore since Version 2.3 or so
    __________________
    My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

    Last edited by DJPlaya; 08-05-2017 at 18:40.
    DJPlaya is offline
    Send a message via Skype™ to DJPlaya
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 08-06-2017 , 08:27   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #4

    DJPlaya, about this problem: link
    __________________
    Grey83 is offline
    DJPlaya
    Senior Member
    Join Date: Nov 2014
    Location: Germany
    Old 08-06-2017 , 09:10   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #5

    Yea, i saw that already, ime just a bit wondred i never had this on other Games.
    I will try to get the Stuff working again, lets seeeee
    __________________
    My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

    Last edited by DJPlaya; 08-06-2017 at 09:14.
    DJPlaya is offline
    Send a message via Skype™ to DJPlaya
    Mitsuru
    Member
    Join Date: Jun 2013
    Location: Fakes country
    Old 04-05-2018 , 08:31   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #6

    L 04/05/2018 - 174:45: Info (map "nmo_boardwalk") (file "errors_20180405.log")
    L 04/05/2018 - 174:45: [SM] Exception reported: Game event "zombie_killed" does not exist
    L 04/05/2018 - 174:45: [SM] Blaming: cure_vampirism.smx
    L 04/05/2018 - 174:45: [SM] Call stack trace:
    L 04/05/2018 - 174:45: [SM] [0] HookEvent
    L 04/05/2018 - 174:45: [SM] [1] Line 98, /home/forums/content/files/2/5/6/7/1/3/154567.attach::OnPluginStart
    L 04/05/2018 - 174:45: [SM] Unable to load plugin "cure_vampirism.smx": Error detected in plugin startup (see error logs)
    Mitsuru is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 04-05-2018 , 09:18   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #7

    Mitsuru, are You have file modevents.res in ...\cure\resource at Your server?
    Code:
    	"zombie_killed"				// a game event, name may be 32 charaters long
    	{
    		"entindex_killed" 	"long"
    		"entindex_attacker"	"long"
    		"entindex_inflictor"	"long"
    		"damagebits"		"long"
    		
    		"victimClassname"		"string"
    		"attackerClassname"		"string"
    		"inflictorClassname"		"string"
    		"ammoName"	"string"
    		"zombieType"	"short"
    	}
    __________________

    Last edited by Grey83; 04-05-2018 at 09:19.
    Grey83 is offline
    Mitsuru
    Member
    Join Date: Jun 2013
    Location: Fakes country
    Old 04-06-2018 , 04:22   Re: [CURE] Vampirism 1.1.0 [2016/10/02]
    Reply With Quote #8

    Quote:
    Originally Posted by Grey83 View Post
    Mitsuru, are You have file modevents.res in ...\cure\resource at Your server?
    Thanks, it works now
    Mitsuru is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:04.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode