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

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

  • Moderators
Posted

Is the server OK, when players start download resources?

What about the RAM, SWAP and CPU usage?

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.

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.

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