Raised This Month: $ Target: $400
 0% 

plugin causing csgo srcds freeze


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 06-23-2022 , 12:34   Re: plugin causing csgo srcds freeze
Reply With Quote #13

Quote:
Originally Posted by Marttt View Post
What he means is that stuff that runs a lot of times per second (based on frame/tick) should have the variables already created, cause this process is kinda expensive when running loops/lot of times.

Is better to use variables that you already have the value like "which button" is being pressed, before, when possible, than all that calculations logic.

Also, you shouldn't do a lot of calculations inside this process cause will hang

A good use case would be putting all that inside a timer, so instead of calling 1280 times per second you could optimize it to running, for example, once per second.
He also said that timer wouldn’t be good because it would not be accurate for simulating a tickrate
AuricYoutube is offline
 



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


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