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

[L4D1 & L4D2] Death Soul


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
6772
Plugin Version:
1.6
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Soul of the dead survivor flies away to the afterlife and reborn if you CPR
    Old 10-22-2019 , 04:53   [L4D1 & L4D2] Death Soul
    Reply With Quote #1

    Description:
    My present for community dedicated to halloween celebration.
    Now, works in L4D2 as well.

    Visual improvements of the death:

    Features:
    - timeouts react on CPR plugin convars, so it is highly recommended.
    Recommended plugins:
    - "Emergency Treatment With First Aid Kit And CPR" by panxiaohai
    https://forums.alliedmods.net/showthread.php?p=1178894
    Settings (ConVars):
    - l4d_death_soul_allow - Enable plugin (1 - On / 0 - Off)
    Credits:
    - SilverShot - for ragdoll dissolver and basic L4D1 glow support, also L4D2 tests
    https://forums.alliedmods.net/showthread.php?t=306789

    - Mehis - for "func_tracktrain" code
    https://forums.alliedmods.net/showpo...32&postcount=3

    - 8guawong - for pointing me to above smooth moving code.
    TODO:
    Spoiler

    ChangeLog
    Spoiler


    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon (Paypal)
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: zip DeathSoul.zip (33.4 KB, 1284 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-15-2021 at 08:54.
    Dragokas is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 10-22-2019 , 07:21   Re: [L4D] Death Soul
    Reply With Quote #2

    funny, cool, thanks.

    Last edited by KRUTIK; 10-22-2019 at 07:23.
    KRUTIK is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 10-22-2019 , 10:17   Re: [L4D] Death Soul
    Reply With Quote #3

    thanks.
    testing...
    AK978 is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 10-30-2019 , 04:30   Re: [L4D] Death Soul
    Reply With Quote #4

    L4d2 crash server
    Voevoda is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 10-30-2019 , 09:55   Re: [L4D] Death Soul
    Reply With Quote #5

    Where is crash dump? Accelerator / logs, anything ?
    Is it happen on specific map? How often is it happen? In what moment?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 10-30-2019 at 09:56.
    Dragokas is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 11-01-2019 , 03:12   Re: [L4D] Death Soul
    Reply With Quote #6

    This is quite funny.

    Some "problems":
    SourcePawn Compiler 1.10.0.6435
    On l4d1 it takes really long for the soul to travel up like 1 minute, then the soul disappears but the blue laserbeam remains forever.
    Sometime I see two souls going up. Slay bill and then two bill souls, 1 seems to be the dead ragdoll not moving and the other is moving, both with white glow though.




    On a lighter note:

    Someone should take this and modifiy it for next year.

    Randomly spawn a special infected model in front of a random survivor player.

    Play zoey's death scream and desolve it.

    Scare jumps in l4d fun fun fun

    Having a tank spawn in front of you looking in your eyes and then vanish. Wow I would need some extra underwear.

    Last edited by finishlast; 11-01-2019 at 06:26.
    finishlast is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-01-2019 , 08:18   Re: [L4D] Death Soul
    Reply With Quote #7

    Quote:
    Originally Posted by finishlast View Post
    This is quite funny.

    Some "problems":
    SourcePawn Compiler 1.10.0.6435
    On l4d1 it takes really long for the soul to travel up like 1 minute, then the soul disappears but the blue laserbeam remains forever.
    Sometime I see two souls going up. Slay bill and then two bill souls, 1 seems to be the dead ragdoll not moving and the other is moving, both with white glow though.
    I tested this plugin ~ 10 months, and I had never face such problems in L4D1, always used it in pair with CPR fork plugin,
    as well as no errors (only 1 crash for all this time, with previous version, through).
    sm 1.9, sometimes tested in sm 1.10 (compiled with 1.9).

    Maybe conflict with another plugin?

    If you not using CPR, default fly time is stored in
    Code:
    #define SOUL_TIMEOUT		60.0
    All settings can be adjusted in the very beginning of plugin code.
    Although, I highly not recommend change some of timeouts there.

    Blue beam is dissapper for me: https://www.youtube.com/watch?v=QFXLs-jqFZM

    not sure why you may have a problem.


    Quote:
    Originally Posted by finishlast View Post
    On a lighter note:

    Someone should take this and modifiy it for next year.

    Randomly spawn a special infected model in front of a random survivor player.

    Play zoey's death scream and desolve it.

    Scare jumps in l4d fun fun fun

    Having a tank spawn in front of you looking in your eyes and then vanish. Wow I would need some extra underwear.
    Thanks. Nice idea for the next Halloween.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 11-01-2019 , 11:25   Re: [L4D] Death Soul
    Reply With Quote #8

    Yeah, probably another plugin messing it up.

    I commented out the beam timer and set

    #define SOUL_TIMEOUT 7

    I don't mind the two souls, I can just say 2 souls because everyone has a dark and a light side hahaha
    finishlast is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-01-2019 , 13:17   Re: [L4D] Death Soul
    Reply With Quote #9

    Two souls mean surely something wrong on your side. So, death event called twice and this is bad.
    Also, beacon ray is reproduced each 3 seconds IF ONLY client is dead. Dunno, how is it possible it doesn't disappear for you.
    And what do you mean under "ragdoll is not moving"?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 11-01-2019 , 15:15   Re: [L4D] Death Soul
    Reply With Quote #10

    Quote:
    Originally Posted by Dragokas View Post
    Two souls mean surely something wrong on your side.
    You are sooo right, I really fucked this one up, I found out why it is happening.

    Quote:
    Originally Posted by Dragokas View Post
    So, death event called twice and this is bad.
    Indeed. The event wasn't called twice, the plugin was called twice which resulted in a mess.
    I edited my own plugin while I was looking into your plugin and eventually copied YOUR entire source into my plugin.

    Then compiled both and put em on the server.

    So timers and everything got multiplied by 2.

    I am really sorry.

    Last edited by finishlast; 11-01-2019 at 15:21.
    finishlast 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 00:30.


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