Garry's Mod

Garry's Mod

557 ratings
[ALSR] Anti Lag System Redux - Optimization
4
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
36.754 KB
14 Mar, 2020 @ 12:10pm
2 Oct, 2020 @ 10:13am
10 Change Notes ( view )

Subscribe to download
[ALSR] Anti Lag System Redux - Optimization

In 2 collections by [FG] Shark_vil
[FG] ALL FG MODS
28 items
My mods created
68 items
Description
Not recommended for use, the code is outdated and not optimal

Tags:
antilag antilags anti lag lags system redux optimization boost bost fps server client player players fix fixed speed лаги анти лаг оптимизация ускорение буст фпс оптимизатор сервер клиент игрок игроки мод addon mod

What is it?
This is an object rendering system that can improve the performance of you or your server players. She draws only those objects that the player sees. The system can perform calculations both on the server side and on the client side, which makes it flexible enough to customize to your requirements.

In my add-on, I try to minimize unnecessary calculations by caching data and optimizing the parsing of large lists of objects, unlike other analogues.

Important! This addon was mainly developed for use on game servers. It will not increase FPS for you under heavy load, but it can increase FPS for players on your powerful server. I do not recommend using this in sandbox mode, since large maps require a large rendering distance, and increasing it for the system will reduce half the optimization to a minimum. However, this addition will be appropriate for such modes as DarkRp, where the spaces are quite tight, and do not require rendering for 5000 game units.



Warning:
Cvars work only once at system startup, and do not change in real time unless you manually update the file. This is done for optimization reasons to reduce the time it takes to access variables.



Cvars
:Server:
alsr_enable - Enable or disable alsr system.
alsr_server_only - Enable optimization server-side (1) or client-side (0) (Default: 1)
alsr_visibility_delay - Visibility check update time (Default: 0.2)
alsr_players_calcualtion_delay - Frequency of updating the number of players for calculations on the server. (Default: 1)
alsr_player_view_radius - Object visibility radius (Default: 90 (It works))
alsr_player_view_distance - Maximum distance of drawing objects (Default: 1500)
alsr_player_disable_detector_distance - Minimum distance at which checks stop working (Default: 500)
alsr_physics_constraint - Enables or disables freezing physics when an object is lost from view (Default: 0)

Client:
alsr_client_enable - Enable or disable alsr system. (Default: 1)
alsr_client_prop_calc_delay - Frequency of updating the number of props for calculations on the client. (Default: 1)
alsr_client_visibility_delay - Visibility check refresh rate. (Default: 0.1)
alsr_max_props_visibility_one_rate - How many objects will the system process in one rate? (Default: 10)
alsr_client_sort_enable - Enable sorting for more correct rendering (1). Attention! This may decrease performance. (Default: 1)
alsr_client_prop_sort_delay - Frequency of updating sorting of objects on the client. (Default: 1)

Console commands
:Server:
alsr_system_start - Turns on the system in real time and updates cvars
alsr_system_stop - Turns off the system in real time

Client:
alsr_client_system_start - Activate or reboot the system
alsr_client_system_stop - Stop the system



Existing problems:
Temporarily not compatible with Perma Props. If the PP does not work correctly, try using this cvar - sbox_persist 0



GitHub:
https://github.com/Shark-vil/ALSR-System-Optimizer

Addition:
I also recommend using my LLM addon, which can save your server from crashes if someone wants to put it using physical objects:
https://sp.zhabite.com/sharedfiles/filedetails/?id=1847285969

Video map - https://sp.zhabite.com/sharedfiles/filedetails/?id=1289646999



[discord.gg]
[billing.spacecore.pro]



Originally posted by Shark_vil:
Copyright belongs to Shark_vil. The product can only be published on Steam by an account ID: 76561198127131103
Popular Discussions View All (1)
5
8 Oct, 2021 @ 1:48am
PINNED: Bug report!
[FG] Shark_vil
76 Comments
Тайлер Дерден 16 Mar @ 8:48am 
имба:steamthumbsup:
[FG] Shark_vil  [author] 2 Jan @ 6:06am 
Ого! Пошёл нахуй.
Daniel Larson 2 Jan @ 5:50am 
probably don't download mods from someone with a private profile that has a ban on their account chat!
Linked 9 Jun, 2024 @ 3:03pm 
Does This Work?
SomeRandomGuyIGuess 9 Apr, 2024 @ 12:34pm 
Is it legit? If it is, I'm gonna cause a crap ton of lag without my shitty pc actually lagging LOL.
16 Feb, 2024 @ 4:25pm 
read the desc guy under me
liamclark365 22 Oct, 2023 @ 9:09pm 
bro i need some map lag fix's cus i got like 5 fps in fnaf maps
Margwa_slayer2 2 Jun, 2023 @ 10:40pm 
Cheeclae, read the description.
There are commands for that.