Raised This Month: $91 Target: $400
 22% 

[L4D] Death Soul


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
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 , 05:53   [L4D] 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:
    https://www.youtube.com/watch?v=dZi02yWawj0
    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
    Attached Files
    File Type: zip DeathSoul.zip (33.4 KB, 85 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst.
    [My plugins] [My tools] [GitHub]

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

    funny, cool, thanks.

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

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

    L4d2 crash server
    Voevoda is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 10-30-2019 , 10: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.
    [My plugins] [My tools] [GitHub]

    Last edited by Dragokas; 10-30-2019 at 10:56.
    Dragokas is offline
    finishlast
    Junior Member
    Join Date: Nov 2018
    Old 11-01-2019 , 04: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 07:26.
    finishlast is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 11-01-2019 , 09: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.
    [My plugins] [My tools] [GitHub]
    Dragokas is offline
    finishlast
    Junior Member
    Join Date: Nov 2018
    Old 11-01-2019 , 12: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
    Old 11-01-2019 , 14: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.
    [My plugins] [My tools] [GitHub]
    Dragokas is offline
    finishlast
    Junior Member
    Join Date: Nov 2018
    Old 11-01-2019 , 16: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 16:21.
    finishlast is offline
    Reply


    Thread Tools
    Display Modes

    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:16.


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