Raised This Month: $208 Target: $400
 52% 

[L4D2]survivor tallents


Post New Thread Reply   
 
Thread Tools Display Modes
Author
rekcah
Junior Member
Join Date: Jun 2019
Plugin ID:
6908
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    survivors can pick special abilities
    Old 01-19-2020 , 03:15   [L4D2]survivor tallents
    Reply With Quote #1

    the original developer of this plugin has stopped working on it so iv'e taken over too fix a few bugs and add some new features.

    original post
    https://forums.alliedmods.net/showthread.php?t=273312

    current changes
    - can change classes before round starts.
    - fixed class limit exploit
    - added command "!classes" to show who is what class.
    - added command "!classinfo" to show what each class does.
    - saboteur goes invisible faster and moves faster while crouched
    - commando now gets different bonus damage for different guns
    - changed engineer to work with auto turrets.
    - turrets no longer require another plugin.
    - fixed possible server crashing bug related to engineer class.

    ill try to keep this updated as i make changes so the server admins can keep there servers updated too.
    Attached Files
    File Type: sp Get Plugin or Get Source (DLRTalentsoriginalupdatestart.sp - 7 views - 72.3 KB)
    File Type: smx DLRTalentsoriginalupdatestart.smx (38.9 KB, 11 views)

    Last edited by rekcah; 02-06-2020 at 23:22.
    rekcah is offline
    sonic155
    Member
    Join Date: Mar 2019
    Old 01-20-2020 , 08:29   Re: [L4D2]survivor tallents
    Reply With Quote #2

    Anyway of the plugn not showing up on screen as players join?

    My server has a rules set on join and this plugin is bugging out with it

    and is there a way to disable some of the classes?
    not to happy about the ATHLETE class the whole autobunny hop is a fast pass on my server anyway of disabling it?

    maybe adding a cvar to make it where players can switch or can not switch roles so players stay the class they picked though the whole Campaign and not swtich all the time?
    ~~~~

    Test video here [ https://www.youtube.com/watch?v=0K1tYi-MXHE ]

    log file I said I would copy and paste
    ~~~
    L 01/20/2020 - 06:43:10: [SM] Call stack trace:
    L 01/20/2020 - 06:43:10: [SM] [1] Line 1193, DLRTalentsoriginalupdatestart.sp::OnTakeDamag ePre
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 889, DLRTalentsoriginalupdatestart.sp::TimerLoadGl obal
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 894, DLRTalentsoriginalupdatestart.sp::TimerLoadCl ient
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 889, DLRTalentsoriginalupdatestart.sp::TimerLoadGl obal
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 894, DLRTalentsoriginalupdatestart.sp::TimerLoadCl ient
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 889, DLRTalentsoriginalupdatestart.sp::TimerLoadGl obal
    L 01/20/2020 - 06:43:19: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 06:43:19: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 06:43:19: [SM] Call stack trace:
    L 01/20/2020 - 06:43:19: [SM] [0] SDKHook
    L 01/20/2020 - 06:43:19: [SM] [1] Line 894, DLRTalentsoriginalupdatestart.sp::TimerLoadCl ient
    ~~

    Test video here [ https://www.youtube.com/watch?v=KuHtwEFKgfU ]

    ~~
    log file during test listed here

    ~~

    L 01/20/2020 - 08:530: [SM] Exception reported: Array index out-of-bounds (index -2088316651, limit 66)
    L 01/20/2020 - 08:530: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:530: [SM] Call stack trace:
    L 01/20/2020 - 08:530: [SM] [1] Line 1193, /home/forums/content/files/2/9/2/9/4/2/179389.attach::OnTakeDamagePre
    SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 3.656328ms



    L 01/20/2020 - 08:47:27: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:27: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:27: [SM] Call stack trace:
    L 01/20/2020 - 08:47:27: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:27: [SM] [1] Line 889, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadGlobal
    L 01/20/2020 - 08:47:27: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:27: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:27: [SM] Call stack trace:
    L 01/20/2020 - 08:47:27: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:27: [SM] [1] Line 894, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadClient
    L 01/20/2020 - 08:47:27: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:27: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:27: [SM] Call stack trace:
    L 01/20/2020 - 08:47:28: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:28: [SM] [1] Line 889, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadGlobal
    L 01/20/2020 - 08:47:28: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:28: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:28: [SM] Call stack trace:
    L 01/20/2020 - 08:47:28: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:28: [SM] [1] Line 894, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadClient
    L 01/20/2020 - 08:47:28: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:28: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:28: [SM] Call stack trace:
    L 01/20/2020 - 08:47:28: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:28: [SM] [1] Line 889, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadGlobal
    L 01/20/2020 - 08:47:28: [SM] Exception reported: Entity 6 is invalid
    L 01/20/2020 - 08:47:28: [SM] Blaming: DLRTalentsoriginalupdatestart.smx
    L 01/20/2020 - 08:47:28: [SM] Call stack trace:
    L 01/20/2020 - 08:47:28: [SM] [0] SDKHook
    L 01/20/2020 - 08:47:28: [SM] [1] Line 894, /home/forums/content/files/2/9/2/9/4/2/179389.attach::TimerLoadClient

    ~~

    Last edited by sonic155; 01-20-2020 at 13:09. Reason: adding test video
    sonic155 is offline
    rekcah
    Junior Member
    Join Date: Jun 2019
    Old 01-22-2020 , 07:15   Re: [L4D2]survivor tallents
    Reply With Quote #3

    So the tallents where designed for versus, cant guarantee it to work for campaign.

    the medic is meant to only heal teammates, ie so you have to protect your medic.

    The saboteur does work however you wont be able to tell if you're invisible you just have to count seconds. It will not hide you from ai tho. The bombs should be si only triggerd, so commons and witch wont set it off, only play controllable infected will, the bombs are meant to be hidden so infected trigger them.

    The brawlers only ability is meant to be a crazy amount of heath. The original plugin creators had a massive fight over it so it was nerver 100% completed.

    As for athlete just get yourself a plugin to block bhopping, that should fix block bhop for you. im not sure why your jump was so low. Never seen that weird bouncing before makes me think it was another plugin doing it.

    The engineer wont work until the round started, thats a reason campaign isnt really suported, same reason the selected class doesn't lock.

    I might try adding support for campaign but no guarantees.
    rekcah is offline
    EatingPizza
    Junior Member
    Join Date: Oct 2012
    Old 01-29-2020 , 01:25   Re: [L4D2]survivor tallents
    Reply With Quote #4

    Quote:
    Originally Posted by sonic155 View Post
    Anyway of the plugn not showing up on screen as players join?
    ~~
    In the Event_PlayerSpawn function, comment out the CreateTimer func call for CreatePlayerClassMenuDelay (and the "else" on the line above it), then recompile.


    Quote:
    Originally Posted by sonic155 View Post
    and is there a way to disable some of the classes?
    ~~
    Sure, just set: sm_cvar talents_athelete_max "0"
    EatingPizza 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 05:19.


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