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

[L4D & L4D2] Anti-Speedrunner System (v29.39, 07-16-2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 11-20-2017 , 02:21   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #21

Crasher_3637, Got this after updating to Version 8.0.
L 11/20/2017 - 02:16:53: SourceMod error session started
L 11/20/2017 - 02:16:53: Info (map "c3m1_plankcountry") (file "errors_20171120.log")
L 11/20/2017 - 02:16:53: [SM] Exception reported: Property "m_hasUnlockSequence" not found (entity 0/worldspawn)
L 11/20/2017 - 02:16:53: [SM] Blaming: l4d_anti-speedrunner.smx
L 11/20/2017 - 02:16:53: [SM] Call stack trace:
L 11/20/2017 - 02:16:53: [SM] [0] SetEntProp
L 11/20/2017 - 02:16:53: [SM] [1] Line 1977, /home/forums/content/files/1/8/1/1/6/6/166733.attach::ControlDoor
L 11/20/2017 - 02:16:53: [SM] [2] Line 1276, /home/forums/content/files/1/8/1/1/6/6/166733.attach::CvarChanged_l4d_ass_keyman
Krufftys Killers is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-20-2017 , 02:38   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #22

Quote:
Originally Posted by Krufftys Killers View Post
Crasher_3637, Got this after updating to Version 8.0.
L 11/20/2017 - 02:16:53: SourceMod error session started
L 11/20/2017 - 02:16:53: Info (map "c3m1_plankcountry") (file "errors_20171120.log")
L 11/20/2017 - 02:16:53: [SM] Exception reported: Property "m_hasUnlockSequence" not found (entity 0/worldspawn)
L 11/20/2017 - 02:16:53: [SM] Blaming: l4d_anti-speedrunner.smx
L 11/20/2017 - 02:16:53: [SM] Call stack trace:
L 11/20/2017 - 02:16:53: [SM] [0] SetEntProp
L 11/20/2017 - 02:16:53: [SM] [1] Line 1977, /home/forums/content/files/1/8/1/1/6/6/166733.attach::ControlDoor
L 11/20/2017 - 02:16:53: [SM] [2] Line 1276, /home/forums/content/files/1/8/1/1/6/6/166733.attach::CvarChanged_l4d_ass_keyman
I only get those errors when I use "sm plugins list" or reload the plugin itself when not on a map. How did you get those?

Edit: Also those errors have been around since 6.0 due to the anti-spam check I added for saferoom doors.
__________________

Last edited by Psyk0tik; 11-20-2017 at 02:57.
Psyk0tik is offline
NgBUCKWANGS
Senior Member
Join Date: Dec 2014
Old 11-20-2017 , 04:26   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #23

Does this help
PHP Code:
    else if(Operation == UNLOCK)
    {
        if (
HasEntProp(EntityProp_Data"m_hasUnlockSequence")
        {
            
SetEntProp(EntityProp_Data"m_hasUnlockSequence"UNLOCK);
            
AcceptEntityInput(Entity"Unlock");
            
AcceptEntityInput(Entity"ForceClosed");
            
AcceptEntityInput(Entity"Open");
        }
    } 
or maybe idGoal checks should be something similar to

PHP Code:
idGoal MaxClients && idGoal <= 2048 && IsValidEntity(idGoal
Then test for errors and feature completion.
NgBUCKWANGS is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 11-20-2017 , 07:51   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #24

Quote:
Originally Posted by Crasher_3637 View Post
I only get those errors when I use "sm plugins list" or reload the plugin itself when not on a map. How did you get those?

Edit: Also those errors have been around since 6.0 due to the anti-spam check I added for saferoom doors.
I got that error buy changing l4d_ass_keyman "0" but If I change it in the sp file and recompile it I don't get that error.
Krufftys Killers is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-20-2017 , 12:23   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #25

Quote:
Originally Posted by Krufftys Killers View Post
I got that error buy changing l4d_ass_keyman "0" but If I change it in the sp file and recompile it I don't get that error.
I'll try out NgBUCKWANGS's suggestion to see if those errors can be resolved. I'm able to change the cvar to 0 at anytime without any errors, but that's probably because I test out the plugin on a local server so my console is counted as the server console.

I'll be releasing another update soon. There's always something to fix or improve on.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-20-2017 , 16:56   Re: [L4D & L4D2] Anti-Speedrunner System (v9.0, 11-20-2017)
Reply With Quote #26

Version 9.0 is out!

Changes

1. Added a check to disable all Keyman system features when l4d_ass_keyman is set to 0.
2. Fixed errors reported by Krufftys Killers regarding the saferoom door's entity.
3. Added a cvar to enable/disable the anti-spam procedure for ending saferoom doors.
4. Applied more checks for the Incapacitation system.

Please redownload the plugin from the first post and delete your l4d_anti-speedrunner.cfg!
__________________
Psyk0tik is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 11-21-2017 , 01:26   Re: [L4D & L4D2] Anti-Speedrunner System (v9.0, 11-20-2017)
Reply With Quote #27

thank you very much it will be awesome when you add countdown system .. and tnx for this
eziosid is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-21-2017 , 04:02   Re: [L4D & L4D2] Anti-Speedrunner System (v10.0, 11-21-2017)
Reply With Quote #28

Version 10.0 is out!

Changes

1. Optimized code a bit.
2. Added a check for the Incapacitation system for OnMapStart() and OnPluginStart(), in case the map transitions while there are incapacitated survivors in the saferoom.
3. Fixed an error where the Incapacitation system would not work if the Keyman system was off.
4. Fixed an error that prevented the Incapacitation system from re-enabling the other systems.
5. Added 3 cvars to enable/disable the Incapacitation system from re-enabling the other systems even if they are off by default.
6. Renamed the _tank_alive suffix to _tank to shorten some cvars.
7. Renamed l4d_ass_teleport_count_bots to l4d_ass_teleport_bots.
8. Edited l4d_ass_keyman_spam to now enable/disable the anti-spam procedure for both beginning and ending saferoom doors.
9. Added a cvar to enable/disable the ability to close beginning saferoom doors once opened.
10. Added a cvar to enable/disable the anti-spam procedure affecting ending saferoom doors.

Please redownload the plugin from the first post and delete your l4d_anti-speedrunner.cfg!
__________________

Last edited by Psyk0tik; 11-21-2017 at 04:03.
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-21-2017 , 06:05   Re: [L4D & L4D2] Anti-Speedrunner System (v10.0, 11-21-2017)
Reply With Quote #29

I'm no longer going to add anymore features. From now on, I'll just be releasing minor updates for bug fixes or code optimization.

As of now, the A.S.S. isn't perfect but it does its job pretty well. I can't say I'm comfortable with the way I coded the Incapacitation system though, since I strongly feel that there is a better, shorter, and more efficient way to do it. If anyone wants to take a crack at it and find a better method, please go for it and share your knowledge with us.

Thank you to all the people I credited on the main post, it's been a pleasure putting all your plugins/ideas/revisions together to make this effective system.

Please do not request anymore features to be added. Either get someone else to do it, or take the time to code it yourself.



With all that said, I hope you guys enjoy version 10.0.
__________________
Psyk0tik is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 11-21-2017 , 09:33   Re: [L4D & L4D2] Anti-Speedrunner System (v10.0, 11-21-2017)
Reply With Quote #30

Quote:
Originally Posted by Crasher_3637 View Post
I'm no longer going to add anymore features. From now on, I'll just be releasing minor updates for bug fixes or code optimization.

As of now, the A.S.S. isn't perfect but it does its job pretty well. I can't say I'm comfortable with the way I coded the Incapacitation system though, since I strongly feel that there is a better, shorter, and more efficient way to do it. If anyone wants to take a crack at it and find a better method, please go for it and share your knowledge with us.

Thank you to all the people I credited on the main post, it's been a pleasure putting all your plugins/ideas/revisions together to make this effective system.

Please do not request anymore features to be added. Either get someone else to do it, or take the time to code it yourself.


With all that said, I hope you guys enjoy version 10.0.
thanks for your hard work sir keep it up

Last edited by eziosid; 11-21-2017 at 09:34.
eziosid 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 19:58.


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