Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Feeding Medicines v1.3 [10-December-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-16-2022 , 23:35   Re: [L4D & L4D2] Feeding Medicines v1.1 [16-March-2022]
Reply With Quote #11

Quote:
Originally Posted by Silvers View Post
I would recommend using the Pre animation if possible, that way you only need to use the L4D1_ACT_TERROR_HEAL_FRIEND and L4D2_ACT_TERROR_HEAL_FRIEND enums instead of using AnimGetFromActivity which would add some more overhead (very little though).

IsValidHandle shouldn't be required, if a client disconnects all hooks for them are removed.
i found seriously performance issue on above code, when i use it server cpu rate reach max and exception send network
i dont known which IsValidHandle or AnimGetFromActivity causes
hardcode ACT* anim maybe some incompatible between l4d1 and l4d2?
__________________
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-17-2022 , 12:52   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #12

update
Quote:
ConVar

PHP Code:
// play healing animation on healer
feeding_medicines_anim "1" 
changelog
  • v1.2 new features:
    healing anim support
    wont aggresive stops unreleated progress bar
this version havent performance issue
i dont recommended allow feeding self, you arent 100% can "USE" self
__________________

Last edited by NoroHime; 03-17-2022 at 12:55.
NoroHime is offline
swiftswing1
Member
Join Date: Oct 2020
Old 03-18-2022 , 21:53   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #13

is this sm 11 only? asking since i'm still using sm 10

Quote:
[SM] Failed to load plugin "l4d_feeding_medicines.smx": Unable to load plugin (unsupported feature set; code is too new).
swiftswing1 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-19-2022 , 06:58   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #14

Quote:
Originally Posted by swiftswing1 View Post
is this sm 11 only? asking since i'm still using sm 10
the uploaded version compiled as SM1.11, but you can download .sp file and include files of "left 4 ebooks direct" compile your self.
i guess im not using very new syntax
__________________

Last edited by NoroHime; 03-19-2022 at 07:01.
NoroHime is offline
swiftswing1
Member
Join Date: Oct 2020
Old 03-20-2022 , 01:33   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #15

Quote:
Originally Posted by NoroHime View Post
the uploaded version compiled as SM1.11, but you can download .sp file and include files of "left 4 ebooks direct" compile your self.
i guess im not using very new syntax
ah thanks. working when compiled by myself.
i've encountered a small bug - when "feeding_medicines_allows" cvar = value "2" (adrenaline only) and use adrenaline on teammate, the progress bar shows up but nothing else happens afterwards - no adrenaline effect for teammate and adrenaline still in your inventory.

nice plugin, thanks for sharing!

Last edited by swiftswing1; 03-20-2022 at 01:34.
swiftswing1 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-20-2022 , 23:56   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #16

Quote:
Originally Posted by swiftswing1 View Post
ah thanks. working when compiled by myself.
i've encountered a small bug - when "feeding_medicines_allows" cvar = value "2" (adrenaline only) and use adrenaline on teammate, the progress bar shows up but nothing else happens afterwards - no adrenaline effect for teammate and adrenaline still in your inventory.

nice plugin, thanks for sharing!
thanks report, looks little wrote in adrenaline case
Quote:
case Adrenaline : {

int receiver = feeding_target[provider];

if (allow_medicines & Pills && isAliveSurvivor(receiver) && !L4D_IsPlayerIncapacitated(receiver)) {
but i haven't coding device for change it I am being quarantined for covid-19
if you need fix temporary just write it to Adrenaline then recompile
__________________

Last edited by NoroHime; 03-20-2022 at 23:57.
NoroHime is offline
swiftswing1
Member
Join Date: Oct 2020
Old 03-21-2022 , 02:36   Re: [L4D & L4D2] Feeding Medicines v1.2 [18-March-2022]
Reply With Quote #17

Quote:
Originally Posted by NoroHime View Post
thanks report, looks little wrote in adrenaline case

but i haven't coding device for change it I am being quarantined for covid-19
if you need fix temporary just write it to Adrenaline then recompile
thank you for your help - temporary fix works nicely!
hope you get healthy soon!
swiftswing1 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-23-2022 , 02:44   Re: [L4D & L4D2] Feeding Medicines v1.2.1 [23-March-2022]
Reply With Quote #18

update
Quote:
changelog
  • v1.2.1 fix issue 'feeding_medicines_allows not work proper', support online compile; 23-March-2022
yeah i got computer on hotel, i can start coding
todo: add defib to transfer health directly, my best friend idea
__________________
NoroHime is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-25-2022 , 16:11   Re: [L4D & L4D2] Feeding Medicines v1.2.1 [23-March-2022]
Reply With Quote #19

优秀呀!我也有过类似的想法,直接给队友使用药丸,因为他们总不知道在什么时候合适 吃药

Excellent! I also had a similar idea, I used the pills directly to my teammates, because they always don't know when to take the pills
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 04-27-2022 , 07:52   Re: [L4D & L4D2] Feeding Medicines v1.2.2 [27-April-2022]
Reply With Quote #20

update
Quote:
changelog
  • v1.2.2 fix issue 'be feeding target sometime stuck on third person view', change animation work way to solve unknown performance issue; 27-April-2022
__________________

Last edited by NoroHime; 04-27-2022 at 07:52.
NoroHime 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 22:27.


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