Nous sommes le 28 Mar 2024, 23:57


Online     TeamSpeak UT99     UnrealTournament-V3     Download     Utfiles medor     Vote Weborama     Vote Unrealtop200     Vote xtremetop100     free TeamSpeak     Unreal Soundtracks     Google    Mini-Chat Mini-Chat

Poster un nouveau sujet Répondre au sujet  [ 3 messages ] 
 ***Tuto*** Tickrate=>baisse le lag du server 
Auteur Message
Administrateur
Avatar de l’utilisateur

Inscription: 01 Oct 2008, 01:14
Messages: 5598
Nouveau message ***Tuto*** Tickrate=>baisse le lag du server
Baisse le lag du server en accélérant les debits de communicaton avec le server.

Ca vat reduire le décalage skin et hitbox qui se superpose mal. un gas qui se déplace provoque un décalage de son lieu d'impacte...on vise la tête et ca passe a coté.Si le server n'affiche pas la hitbox il peut donc pas voir l'impacte d'un tir:dans les choux le headshot :soulage: :surprised:

pour le voir faire F6 et il se trouve première colone de packets/secondes

Image

il est par defaut de 20 vous pouvez le passer à une valeur plus haute 25/30/35/40 faites vos testes.

Pour çela aller dans votre UnrealTournament.ini du server et
remplacer:

[IpDrv.TcpNetDriver]
AllowDownloads=True
ConnectionTimeout=15.0
InitialConnectTimeout=120.0
AckTimeout=1.0
KeepAliveTime=0.2
MaxClientRate=20000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=20
LanServerMaxTickRate=35
DownloadManagers=IpDrv.HTTPDownload
DownloadManagers=Engine.ChannelDownload



par:


[IpDrv.TcpNetDriver]
AllowDownloads=True
ConnectionTimeout=15.0
InitialConnectTimeout=120.0
AckTimeout=1.0
KeepAliveTime=0.2
MaxClientRate=20000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=40
LanServerMaxTickRate=35
DownloadManagers=IpDrv.HTTPDownload
DownloadManagers=Engine.ChannelDownload



Tickrate de 20

Image


Tickrate de 40

Image

_________________
UT99 files
Image
Image
Image
Image
Image
Image
Image


17 Oct 2008, 12:29
Profil Envoyer un e-mail
Administrateur
Avatar de l’utilisateur

Inscription: 01 Oct 2008, 01:14
Messages: 5598
Nouveau message Re: ***Tuto*** Tickrate=>baisse le lag du server
Frequently nobody is ok with this right set.
40 for normal and zp 65 for newnet are the more used.


If you set a server MH you need to adjust with number monsters
http://unrealtournament.99.free.fr/utfi ... ickSpy.zip

if you use windows you must fix your setting with TF2 NOT linux
http://unrealtournament.99.free.fr/utfi ... ix%202.rar

For auto adjust with players numbers
http://unrealtournament.99.free.fr/utfi ... ateMod.zip

_________________
UT99 files
Image
Image
Image
Image
Image
Image
Image


20 Juin 2017, 06:43
Profil Envoyer un e-mail
Administrateur
Avatar de l’utilisateur

Inscription: 01 Oct 2008, 01:14
Messages: 5598
Nouveau message Re: ***Tuto*** Tickrate=>baisse le lag du server
Higor a écrit:
This is 2015, you must profile your game before doing any assumptions:

Join your server, type command:
INJECT USERFLAG 1
You'll receive some info, the most important one for now is 'Act=xxx'.
This is the time it takes to process the Level, Scripts, Actors during a frame.
If said value is above 1 or 2, you're better off with:
- 50 TR on <10 players
- 35 TR on 12 players.
- 30 TR on >15 players.

If around 0.5, go with
- 60 TR on <10p
- 50 TR on 12p
- 35 TR on >15p

If around 0.2
- 70 TR on <10p
- 65 TR on 12p
- 55 TR on >15p

If 0.1 or less
- 85 TR on <10p
- 80 TR on 12p
- 70 TR on >15p

If you're running Siege, MonsterHunt or Gauntlet, consider substracting 5 to TR (those mods take up more resources).
Replication checks overhead grow geometrically with player count, and can take up to 25 milliseconds in a slow server if TR is high enough!!!

In other words, (ACT + REP) times must always be below (1 / TICKRATE) to ensure the server has stable framerate.
Alternatively, you may artificially alter the "Net Update Frequency" on pawns to reduce the CPU overhead on the 'rep=xxx' part.
What this does, is reduce the player's and monsters update rate and reduces the amount of replication checks.
I have bundled this with Siege but you may get it in this post as well.

So it basically allows you to run a 100 TR server while dynamically updating pawns between 30-80 times a sec (or any value you specify on the config table), to adjust to your CPU's performance.


==============================================================================================
Net:
Ideally you want your file server on a separate line, and you should get as much as you can from your maximum upload (if you're not charged by traffic).
So, let's say you have a 5 megabits upstream.
- Pick a maximum between 60-80% of your connection's upstream, let's say 400kb/s.
- How many clients on your server? Let's say 20.
- That leaves us with 20 kb/s per client, keep your MaxClientRate on 20000
- If you've got higher upstream, go with 25000. Or you'll start dropping data on Newnet (> 12players), Siege(>18 players), MH(> 200 monsters in the vicinity).
======
- If your upstream isn't good enough, use a NetRateAdjuster to fix these issues, it not only reduces CPU usage, also channel usage:
http://unrealtournament.99.free.fr/utfi ... ateMod.zip

==============================================================================================
Server Core
Many ppl wonder about what mods or whatever, WORRY ABOUT THE CORE FIRST!

Start with the IpServer.u patch to protect against the SecureValidate exploit.
Disable WebAdmin (ugh, ugly).
Open the game, query., the ACE, and an extra port just in case you want a mod that has connection capabilities.
Get my edited Credits.utx: https://ut99.org/viewtopic.php?f=33&t=6 ... =15#p72854 and never worry about mismatches keeping players out ever again.

If you're on a Linux box, see what's best for it!
A year ago I'd have suggested: yeah, get a bash script and DL the whole install+patcher.
Now, it's best if you DL the whole install, edit the installer script to omit the v451 patch (shit shit shit patch), download a good v436 Core.so [919.164 bytes] (your default one will most likely be missing an important symbol,) and install XC_Engine, you get all the goodies and you can sort your map lists at native level (Linux servers don't sort the map list like Win32 do).
That alone allows you to also install UBinary (if you code a mod and would like to store data in binary files), FerBotz native, and any other v451 compatible native mod.

You're on a Windows box, now there's a few things you certainly can't skip.
XC_Engine works with everything Win32, and also blocks the UnreliableAdv exploit, no more crashes here.
You get all the goodies as well, but it's best used with v436 (best patch ever)... just saying.

=========================================
Now we do mods!

I hate UTPure, install at your own peril.
For the love of (insert name here), do not install ZeroPing, there are infinitely better choices out there.
Don't install mods that ask you to suppress logs, might as well drop your pants and bend over.
Make a basic mapvote setup (MVLA13) for basic functionality while you go for something more advanced like (MapVoteUltimate, MapVoteX, CacusMapVote...)
Install a proper server controller if that's your thing.

_________________
UT99 files
Image
Image
Image
Image
Image
Image
Image


21 Juin 2017, 08:17
Profil Envoyer un e-mail
Afficher les messages postés depuis:  Trier par  
Poster un nouveau sujet Répondre au sujet  [ 3 messages ] 


Qui est en ligne

Utilisateurs enregistrés : Aucun utilisateur enregistré


Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas éditer vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Rechercher:
Aller à:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.
Traduction par: phpBB-fr.com