Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server setting => g_antilag ?

#1
Can anyone explain this g_antilag server feature to me?

g_antilag 2 // 0 to disable the antilag feature, 1 and 2 use different methods

What are options 1 and 2?
Reply

#2
Where did you get that line from? My defaultXonotic.cfg has this to say:
set g_antilag 2 "AntiLag (0 = no AntiLag, 1 = verified client side hit scan, 2 = server side hit scan in the past, 3 = unverified client side hit scan)"

I think that's pretty self-descriptive. If you want details on the implementation, read the sources Wink It's in cl_weaponsystem.qc and g_subs.qc
Reply

#3
That line is from the server.cfg that is shipped with the game. Maybe the description from defaultXonotic.cfg should be copied to server.cfg, you would sooner need it there I think.
"Yes, there was a spambot some time ago on these forums." - aa
Reply

#4
Yes, this is from server.cfg. Much more detail should be added there... Yes, I would be happy to add a bunch in a few weeks
@Mr. Bougo - Thanks for the reply. Unfortunately, I'm still at a loss as to what you are trying to explain here. As for specifying the sources, I'm not a programmer.

????
set g_antilag 2 "AntiLag (0 = no AntiLag, 1 = verified client side hit scan, 2 = server side hit scan in the past, 3 = unverified client side hit scan)

Should the average user have to understand C to configure the game or a server?
Reply

#5
It's QC. Not extremely hard to read but I won't pressure you. Antilag 3 asks the client what entity it was pointing at when shooting and trusts the client not to lie. Bad, because it makes cheating possible.

The other two, I'm not really sure. Stick with the defaults I'd say.
Reply

#6
Unless you have a good reason to, dont change this. It defines how the server tries to compensate for lag with hitscan weapons.
method 2, the default, keeps records of where each client was X steps into the past, and can thus correctly hit them in the past with inst-hit weapons. The other methods are there for completeness, and its not recommended to change this. If you have issues with antilag, its better that you report them so we can fix it.
Reply

#7
Thank you all. I got it now! =)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Since updating server from 0.8.5 to 0.8.6 the bots act weird Syntax-Error 0 606 09-15-2023, 01:09 PM
Last Post: Syntax-Error
  Xonotic server monitoring Sl@va 10 5,307 04-17-2023, 04:44 AM
Last Post: FAF
  Changing config server announcement spykyvenator 6 1,077 04-10-2023, 06:18 PM
Last Post: ballerburg9005
  @Melon Planet server kicks ballerburg9005 2 571 03-18-2023, 03:51 PM
Last Post: ballerburg9005
  Server not visible on the server browser for others or me DankoLord 1 1,475 02-21-2023, 08:02 PM
Last Post: ballerburg9005
  Docker Xonotic Dedicated Server ich777 18 9,827 08-15-2022, 12:44 AM
Last Post: FAF
  Unjust ban on the only active DM server, what can be done? nj 30 9,024 08-02-2022, 07:04 AM
Last Post: nj
  BaI server | South American Xonotic server (located in Chile) z411 0 1,864 01-02-2022, 11:36 PM
Last Post: z411
  Lost server key, can't hold new key FlufyBuny 0 1,997 09-09-2021, 07:05 PM
Last Post: FlufyBuny
  How to tweak teams on my server? AndK 3 3,064 09-07-2021, 02:55 PM
Last Post: AndK

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-