Jump to content
Sign in to follow this  
Moon_chilD

Getting in Vehicle with a big delay

Recommended Posts

Hey guys,

maybe, someday my mission will be finished. :P

Alright, when I try to get in a vehicle, the animation plays but after that I'm standing right in front of the vehicle.

After a long time I'm finaly in the vehicle.

I have some scripts activated but from all of them only the eos script might be a problem but I don't think so.

The Error only appears on the server. If I try to play the mission in the Editor it works fine.

Does anybody now how to fix this problem?

(Just ask for more informations)

Many Greetings

Moony

Share this post


Link to post
Share on other sites

I assume you are the admin of the server. In the chat type '#monitor 5' and the server will print its fps and up/down load every five seconds. If the server is heavily overloaded, players could see strange delays like this. Use '#monitor 0' to disable printing.

Also, does this occur for all players at all times, or only in a specific instance? Is the vehicle local to the server, another player?

After the animation plays, can a player move around or do anything. This could indicate that client and server are out of synch.

Share this post


Link to post
Share on other sites
I assume you are the admin of the server. In the chat type '#monitor 5' and the server will print its fps and up/down load every five seconds. If the server is heavily overloaded, players could see strange delays like this. Use '#monitor 0' to disable printing.[/Quote]

I'll definitly do that, thanks

Also, does this occur for all players at all times, or only in a specific instance?[/Quote]

It happens to everybody everytime after they spawn, sometimes even later!

Is the vehicle local to the server, another player?[/Quote]

What you mean by that?

After the animation plays, can a player move around or do anything. This could indicate that client and server are out of synch. [/Quote]

You can move around. (I don't know if it's visible to the other ones on the server but I assume it)

Edit:

Alright, the error seems to be the FPS of the Server. It droppes (when the mission starts) to 5 and lower and kinda stays there!

What might cause it to drop that hard?

Edited by Moon_chilD

Share this post


Link to post
Share on other sites
It's not strictly a server FPS issue. It can also be caused by you being desynced, or by a high ping.

So its definitly not that we have high pings. The are between 20-40. I think thats good enough!

Share this post


Link to post
Share on other sites

Is this just one mission? If so, its probably something mission related. Do you have any scripts that loop and collect or create data every second or so?

Share this post


Link to post
Share on other sites

Its just this mission. Other missions work fine.

That are the scripts I use:

- VAS (works fine)

- tpwcas

- zlt_fastrope (works fine)

- BTC Logistic (works fine)

- DAPMAN (works fine (I think ^^))

- Randomly generated roadside IEDs (take a bit to initialize but then work fine)

- eos (called with waitUntil and is one of the first scripts which are initialized. that might be the problem but its indispensable for that mission)

Edit: Maybe its something necessary for the topic.

The Server log gets spamed by: "Warn: ###.## ms spent, NMT=265"

But this problem appears on every server!

Edit 2: After its loaded its Stuck at only 7-9 FPS.

There are not much AI on the Map. Only seven stationary ones and some that are spawned by the eos script (for your info, only VAS and eos are active when I'm testing right now)

Edited by Moon_chilD

Share this post


Link to post
Share on other sites

I seems the problem is the server fps. A server's maximum fps is 50, so in this mission the server can perform less than a fifth as many actions than the maximum every second. I don't know which of those scripts uses the most resources, but I would guess that it is combining them that causes this issue. I would suggest starting with just one and adding more while observing the change in server fps. You could also see what impact the AI has by printing out how many there are. Something like:

hints str ({!(isPlayer _x)} count allUnits);

In general, systems that interact with players such as VAS will need fewer resources, as they only execute very quickly when players perform a specific action. While larger scripts or the AI will need more, as they are running and checking constantly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×