Jump to content

Server FPS Sync


Recommended Posts

Posted

So guys, hello!

I am having some issues with the FPS sync of a server. I have the FPS Limit at 80 on server but it's set to 60 on the client, so each player can use /setfps <25-80> to set the limit for his own game. The problem is that sometimes (I didn't notice yet what is triggering this because it can happen with 30 players and at the same time with 15 players too) the server gets a huge FPS Sync drop (from >400 to 100~200) and every player can't even pass the 40 FPS.

I don't have any idea of what's causing this, maybe the player sync interval? it's set to 150ms

Regards,

Joao

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

Posted

Scripts with errors or some scripts like downloaders causes lag and drop the fps down like that ,Players need good PC to hold out these stuffs ,about the new release of MTA 1.5 FPS changed you can play more servers without fps problem.

Posted

It will help people to download resources but if the player his PC with normal/bad quality then he can't handle it even the machine.. if there's a script take alot of player CPU so his FPS will still down.

The solution is to clean the scripts of errors and these things that can drop the player his fps, plus use the machine.

Posted

Errors are not a problem, it seems to be the new players download to cause the server FPS Sync drop. WHen there are no new players downloading the things the FPS sync is normal

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

  • Moderators
Posted

Is the server OK, when players start download resources?

What about the RAM, SWAP and CPU usage?

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

Your "MTA Lua Skills" is 100% and "C, C++ Skills" is 75%(seriously how do you even measure this, and for what purpose) - so you should be able to figure out what's wrong :roll:

More on-topic, what are you using the FPS Sync for? Proper use of coroutines can provide some nice performance boosts if used wisely.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted

Ok, Dealman GTFO of here if you don't want to help. You know everything so you will never need help. You ended up earning one more person that will never help you.

This was happening when there were about 2 or 3 players not logged in (downloading resources from the HTTP server).

I ended up solving this by myself.

/lock please.

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

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