Closed r0b3rtb03 closed 11 months ago
👋 Welcome! It looks like this is your first issue submission here. Please make sure you've included all necessary details in your post so we can reach a resolution as painlessly as possible! Also note that not recieving a response does not mean that your issue has been ignored!
every time someone loads, or updates the cache level it freezes for 0.1-0.2 secs but if I have 100 players it fucks my game
turn off anticheat you dont need it.
Anticheat is turned off when I collected this data
Tried turning off check clients?
I will post the settings I have disabled when I was collecting data
I might need to see the game myself because Adonis has to work differently depending on what is in the game
Does your screen freeze?
Yes when the lag spike occurs, the ping goes up and my screen freezes
the game is https://www.roblox.com/games/10573562821/V2-San-Junipero-State-Prison
add me @tignif discord, i can whitelist you in the game
Yes when the lag spike occurs, the ping goes up and my screen freezes
the game is https://www.roblox.com/games/10573562821/V2-San-Junipero-State-Prison
Okay then. This is an actual issue then. We just need to figure out where the bug is.
I've heard other people having the same issues once, and they had Adonis. But I never had any of them talk to me, so idk.
What I need to ask you is, do your players experience the issue as well?
I think that this issue won't occur if you just put Adonis in a plain Baseplate. There's gotta be something in your game, that is acting as a support for the lag.
One suggested that you should disable the Anti-Cheat. Because Anti-Cheats are things that check things. And if you have things in your game, the anti-cheat could be freaking out.
I've been working on getting the lag down and we're gonna be testing it today, thanks for helping @karl-police
They said they would share how to fix it, would be helpful so that others can fix it as well.
Set max logs from 5000 to 0 that your fix
Set max logs from 5000 to 0 that your fix
Hm
Coasterteam may have fixed this via converting logs to linkedlists
Coasterteam may have fixed this via converting logs to linkedlists
linkedlists?
linkedlists?
LinkedLists if you didn't know work as a list of nodes which make insertion of nodes a very simple O(1) operation, compared to a table.insert where it may be O(n) depending on table size after the element insertion index. This is an experiment, but it will likely go in! tl;dr: logging performance improvement
From Coasterteam
This has been fixed in the new version, if lag occurs from it make another bug report please.
@Dimenpsyonal close the issue please, it has been resolved
What are the steps that lead to the bug occurring? Or, how frequently does the bug occur? From the data I collected from the server profiler (10 minutes of collecting data with 40-50 people in the game), it takes up 25726.798 m/s (adonis) of the 219113.152 m/s (root) I get around 150-100 players but as soon as it reaches like 40-50 players my game start to lag and adonis is in 2nd place with usage even though I didn't even use any admin commands when I was collecting this data. I am running on the latest version too
What would be the normally expected or desired result? Not to use as much usage especially if not used
What is the actual result (the bug)? It’s because it constantly is being invoked by all players in the game and the invitations take multiple seconds. If you look in the consul during the game server, you will see a lot of errors related to it when people leave
What is the impact of this bug? The impact is server optimization
(Any additional context or information eg. in the form of error messages or screenshots.)