View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-21-2021 , 07:20   Re: [L4D2] Jump Avoiding and Break Chi Escape for Survivors (NO sm_cvar)
Reply With Quote #9

Quote:
Originally Posted by little_froy View Post
no runtime error throw when test while 2 players afk, team, death, reconnect. i have no more devices or accounts. i am lazy cause the timer only change some flag vavirbles but not modify the client directly. if that happen, there will be some judgement or timerclear in some case. and the quick melee plugin no longer use timer now
Does not matter if the timer is 10 seconds or 0.1 seconds or using RequestFrame, an entity/client can delete/disconnect in that time and throw errors, I've seen it with RequestFrame in such a short time it can happen. Being lazy is no excuse for poor coding like this. Now you know, make the fix. Otherwise I'll recommend people not to use your plugins because they're slap dash quickly put together with little support/information/features catered for the public, such as translations, you might as well just keep this private.



Quote:
Originally Posted by little_froy View Post
did you know there are some developer made up the cvar-in-cfg loading library to solve the first-time-cvar-loading issus ? but it's not the things should player or modder to do but sourcemod offical. that't why i don't like sm_cvar.
I really don't understand what your problem is with cvars. Look at any of my plugins. They detect the cvars on loading, late loading and when changed. Of course when the server starts the cvar configs are not parsed yet, this should not be a problem for any of your plugins unless it's critical to do something before other plugins have loaded or so early on in the start sequence. I still don't see any use cases where you can't get the correct value. Maybe you need the Command and ConVar Buffer Overflow Fixer plugin in my signature, if you have too many cvars their values saved in the config are no longer read and that plugin fixes it.



Quote:
Originally Posted by little_froy View Post
could you please change the under short links to full link? the http domain is denied by China but the https won't. however if you put full link, i and other users needn't add "https://" in front of the domain
Changed. [TUT] Scripting
__________________
Silvers is offline