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

[L4D2] Gift Rewards (1.9) [10-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
N.U.S.C.
Junior Member
Join Date: May 2017
Old 06-16-2021 , 10:43   Re: [L4D2] Gift Rewards (1.4) [16-Jun-2021]
Reply With Quote #21

Quote:
Originally Posted by Silvers View Post
Please try again, have updated the gamedata.

Plugin and Gamedata need updating.
Working now. Thanks.
N.U.S.C. is offline
N.U.S.C.
Junior Member
Join Date: May 2017
Old 07-02-2021 , 22:40   Re: [L4D2] Gift Rewards (1.4) [16-Jun-2021]
Reply With Quote #22

It seems to have failed on linux servers since the last few days, also tested on several linux servers, kill special sense would not drop the gift, and no error log. Then I tested on windows server and it can drop normally.
N.U.S.C. is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-03-2021 , 12:14   Re: [L4D2] Gift Rewards (1.5) [03-Jul-2021]
Reply With Quote #23

Code:
1.5 (03-Jul-2021)
    - Added cvar "l4d2_gift_rewards_drop" to control the chance of dropping gifts when Special Infected die.
    - By default the plugin uses the games chance from "z_holiday_gift_drop_chance" cvar.
    - No longer patches the game to drop gifts in all game modes. (Code left for demonstration purposes).
Had to change the way it works.
__________________
Silvers is offline
kazya3
Member
Join Date: Aug 2019
Location: CN
Old 02-04-2022 , 05:27   Re: [L4D2] Gift Rewards (1.6) [04-Jul-2021]
Reply With Quote #24

Nice job man! I seen the plugins like this one in some servers in the past, however, the gift is type of physic prop ,when SI dead, the physic type gift been throw out in random angles , its really amazing. Always, some rpg servers have some more amazing plugins like this one, like when tank dead, multi gifts(or weapon models) with random glowing color and env_sprite(maybe is the env_lightglow ) been throw out .Sorry for my poor English

Last edited by kazya3; 02-04-2022 at 05:28.
kazya3 is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 03-06-2022 , 08:06   Re: [L4D2] Gift Rewards (1.6) [04-Jul-2021]
Reply With Quote #25

Could you update the gamedata file? since the latest update on Feb 24, the gamedata file doesn't work anymore
mikaelangelis is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 03-06-2022 , 17:15   Re: [L4D2] Gift Rewards (1.6) [04-Jul-2021]
Reply With Quote #26

^^^^ yup the plugin fails to create the gifts after the last update on the game
sonic155 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-08-2022 , 16:14   Re: [L4D2] Gift Rewards (1.7) [08-Mar-2022]
Reply With Quote #27

Thanks, surprised it took this long to find out.

Code:
1.7 (08-Mar-2022)
    - Fixed cvar "l4d2_gift_rewards_count" not resetting the death count. Thanks to "mikaelangelis" for reporting.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-09-2022 , 15:22   Re: [L4D2] Gift Rewards (1.8) [09-Dec-2022]
Reply With Quote #28

Code:
1.8 (09-Dec-2022)
    - Fixed refilling ammo giving to wrong client due to Valve code inside "givecurrentammo" command. Thanks to "GL_INS" for reporting.
    - Now optionally uses "Left 4 DHooks" to refill the weapon clip.
__________________
Silvers is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 12-26-2022 , 22:11   Re: [L4D2] Gift Rewards (1.8) [09-Dec-2022]
Reply With Quote #29

Hey Silvers, just installed this plugin in my server with very good reception from my players!

Here's my own version if someone may want it. You're free to implement these changes into the main plugin.

Code:
1.9-gabuch2 (26-Dec-2022)
	- Gift messages are now instructor hints
	- Added basic multilanguage support
	- Added cvar to control wheter refill tier 3 weapons ammo (requires Left4Dhooks)
	- Speed boost will apply adrenaline effect on top of attack speed
	- Health boost will be a temporary health boost instead of just setting the player's base HP to 100
	- Health boost amount can be set via cvar
	- Incapped players can pick up a health gift to be instantly be revived (requires Left4Dhooks), making the plugin compatible with incapped crawling plugin
	- All gifts will play the specific event to the player (ammo_pickup, adrenaline_used, pills_used), making them feel a bit more native
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_gift_rewards.sp - 94 views - 30.8 KB)
File Type: txt gift_rewards.phrases.txt (434 Bytes, 59 views)
__________________

Last edited by gabuch2; 12-26-2022 at 22:13. Reason: forgot to add translations file
gabuch2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-27-2022 , 05:29   Re: [L4D2] Gift Rewards (1.8) [09-Dec-2022]
Reply With Quote #30

Thanks, may implement into main plugin at some point.

- You should query if clients have instructor hints enabled. Not all of them do so they would never see it.
- You're calling left4dhooks natives without checking if left4dhooks is present. Look at HealPlayer.
- The left4dhooks natives are not marked as optional and will throw errors on servers without it.
__________________
Silvers 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 20:54.


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