Epix-Incorporated / Adonis

Roblox Server Administration System
https://adonis.dev
MIT License
308 stars 178 forks source link

Lag Issues #1180

Closed r0b3rtb03 closed 11 months ago

r0b3rtb03 commented 1 year ago
github-actions[bot] commented 1 year 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!

r0b3rtb03 commented 1 year ago

image

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

watameln commented 1 year ago

turn off anticheat you dont need it.

r0b3rtb03 commented 1 year ago

Anticheat is turned off when I collected this data

kaiserandaxl commented 1 year ago

Tried turning off check clients?

r0b3rtb03 commented 1 year ago

I will post the settings I have disabled when I was collecting data image image image image

kaiserandaxl commented 1 year ago

I might need to see the game myself because Adonis has to work differently depending on what is in the game

karl-police commented 1 year ago

Does your screen freeze?

r0b3rtb03 commented 1 year ago

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

r0b3rtb03 commented 1 year ago

add me @tignif discord, i can whitelist you in the game

karl-police commented 1 year ago

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.

kaiserandaxl commented 1 year ago

I've been working on getting the lag down and we're gonna be testing it today, thanks for helping @karl-police

karl-police commented 1 year ago

They said they would share how to fix it, would be helpful so that others can fix it as well.

r0b3rtb03 commented 1 year ago

Set max logs from 5000 to 0 that your fix

karl-police commented 1 year ago

Set max logs from 5000 to 0 that your fix

Hm

ccuser44 commented 1 year ago

Coasterteam may have fixed this via converting logs to linkedlists

karl-police commented 1 year ago

Coasterteam may have fixed this via converting logs to linkedlists

linkedlists?

WalkerOfBacon commented 1 year ago

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

ccuser44 commented 1 year ago

image

This just seems like it's caused by remotes. No idea why though.

Do :remotelogs to see why

kaiserandaxl commented 11 months ago

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