Jump to content
Azeh

Hopefully the permanent end of server lag

Recommended Posts

12 minutes ago, Azeh said:

As most of you probably know, the update released near the end of October re-introduced the lovely server lag that existed for about 3.5 years prior to V2's release. Since the October update was released I've been trying to narrow down the issue. And well, around 18 hours ago while away from my PC I had an "Aha" moment. 

Basically, when you're in jail and not in a game of laser tag - your weapons will be removed. This check happens multiple times per frame, meaning the command to remove your weapons also gets executed multiple times per frame. The effects of this command get broadcasted over the network to everyone else too. Now when there's a lot of people on the server and potentially multiple people in jail and this network broadcasting happens so frequently, shit eventually hits the fan. Solution? Check if you have any weapons before attempting to remove them.

So essentially, this is the same issue that plagued V1 with server lag - and has finally been solved. It sucks that it took so long to find, but that's just how it is.

This also means that the remainder of the update (along with some additional bug fixes) is now live. That includes bounty hunting and medic. Honor talents and honor xp will likely be given back sometime next week when Jesse isn't busy (he's still quitting though). There's likely still some bugs, so please do report them. However I have exams starting in 6 days, so it's limited how much time I wanna spend on Asylum until I'm done with them which is in about 2 weeks.

Lastly, fuck you @Paratus🙂🖕

SHOULD HAVE JUST USED A EVENT HANDLER @Paratus DUMMY


Also it did this for medics too

Edited by Infamous [FULL SEND]

Share this post


Link to post
27 minutes ago, Azeh said:

As most of you probably know, the update released near the end of October re-introduced the lovely server lag that existed for about 3.5 years prior to V2's release. Since the October update was released I've been trying to narrow down the issue. And well, around 18 hours ago while away from my PC I had an "Aha" moment. 

Basically, when you're in jail and not in a game of laser tag - your weapons will be removed. This check happens multiple times per frame, meaning the command to remove your weapons also gets executed multiple times per frame. The effects of this command get broadcasted over the network to everyone else too. Now when there's a lot of people on the server and potentially multiple people in jail and this network broadcasting happens so frequently, shit eventually hits the fan. Solution? Make it check if you have any weapons before attempting to remove them.

So essentially, this is the same issue that plagued V1 with server lag - and has finally been solved. It sucks that it took so long to find, but that's just how it is.

This also means that the remainder of the update (along with some additional bug fixes) is now live. That includes bounty hunting and medic. Honor talents and honor xp will likely be given back sometime next week when Jesse isn't busy (he's still quitting though). There's likely still some bugs, so please do report them. However I have exams starting in 6 days, so it's limited how much time I wanna spend on Asylum until I'm done with them which is in about 2 weeks.

Lastly, fuck you @Paratus🙂🖕

Love you dad

Share this post


Link to post
8 hours ago, Azeh said:

Basically, when you're in jail and not in a game of laser tag - your weapons will be removed. This check happens multiple times per frame, meaning the command to remove your weapons also gets executed multiple times per frame. The effects of this command get broadcasted over the network to everyone else too. Now when there's a lot of people on the server and potentially multiple people in jail and this network broadcasting happens so frequently, shit eventually hits the fan. Solution? Make it check if you have any weapons before attempting to remove them.

Dear god

Share this post


Link to post
13 hours ago, Azeh said:

 Honor talents and honor xp will likely be given back sometime next week when Jesse isn't busy (he's still quitting though). There's likely still some bugs, so please do report them.

 

1 hour ago, Good Lub said:

When can we expect the honor to return?

Nice job to all who contributed.

 

Good Lub likes this

Share this post


Link to post

since @Azeh brought up jail, im able to pick up a gun and use it in the prison, and kill someone, however if they shoot at me and hit me im invincible since i'm in jail. Might wanna fix that

Chow Mein likes this

Share this post


Link to post
Just now, Chesra said:

since @Azeh brought up jail, im able to pick up a gun and use it in the prison, and kill someone, however if they shoot at me and hit me im invincible since i'm in jail. Might wanna fix that

new prison strat nice

Bandit and Bag Of Funyuns like this

Share this post


Link to post

Did anyone else think this post said "hopefully the permanent end of the server" until you saw the lag below it lmaooo

Share this post


Link to post
2 hours ago, Chesra said:

since @Azeh brought up jail, im able to pick up a gun and use it in the prison, and kill someone, however if they shoot at me and hit me im invincible since i'm in jail. Might wanna fix that

?

Send a video. I'm not getting the same result.

Share this post


Link to post
1 hour ago, Azeh said:

Why?

To still let the loop run just have it run every two seconds to stop the stress. also I understand that the whole script for the prison runs under one loop so just have another separate loop for the weapon check and run it every 2 seconds. So that you dont screw up the prison time lowering loop.

Share this post


Link to post
1 hour ago, Infamous [FULL SEND] said:

To still let the loop run just have it run every two seconds to stop the stress. also I understand that the whole script for the prison runs under one loop so just have another separate loop for the weapon check and run it every 2 seconds. So that you dont screw up the prison time lowering loop.

On 11/9/2019 at 11:49 PM, Azeh said:

Solution? Make it check if you have any weapons before attempting to remove them.

 

Share this post


Link to post
3 hours ago, Batcan said:

as if, Jimbo smarter than me. That fucking says something. We've literally taken over entire minecraft servers.

Can vouch Jimbo taught me how to cure cancer

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...