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
  I can't see my listen server on server list fnmain 1 1,205 10-07-2023, 07:28 AM
Last Post: Grimnack
  Server not visible on the server browser for others or me DankoLord 1 2,189 02-21-2023, 08:02 PM
Last Post: ballerburg9005
  BaI server | South American Xonotic server (located in Chile) z411 0 3,210 01-02-2022, 11:36 PM
Last Post: z411
  Full server tutorial start-2-finish with maps & config from live server xonotic.us.to ballerburg9005 0 10,182 09-03-2021, 10:21 AM
Last Post: ballerburg9005
Question [NEED HELP] Server uses 40% CPU whereas Nexuiz server runs with max 10% e-pig 6 5,551 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [NEED HELP] Server dont appear in server browser abslimit 0 2,835 03-15-2020, 04:13 AM
Last Post: abslimit
  How to change server cfg on modified server veecho 4 4,976 04-24-2019, 08:15 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Xonotic Server crashes TF2 server Professor 2 3,317 02-20-2018, 07:50 PM
Last Post: Professor
  [NEED HELP] How to do newlines within a setting? Antares* 6 4,638 07-05-2017, 02:37 PM
Last Post: BuddyFriendGuy
  Setting up infinite ammo in instagib? DECtape 4 7,706 11-03-2015, 09:44 PM
Last Post: lister

Forum Jump:


Users browsing this thread:
1 Guest(s)

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