![]() |
![]() |
|
#1
|
||||
|
||||
|
Antilag
--------- A white-listed network hit detection mutator for Red Orchestra 2 http://www.reprehensible.net/~mekh/Antilag.zip This mutator changes the networking design in RO2 to use client-side hit detection. Shots made with it no longer need to be adjusted for latency. In most ways, the shooting on an Antilag server will behave exactly as it does in single-player mode. All infantry weapons and the mounted machineguns are updated to use Antilag. Tank weapons are not, as the way they're implemented in the game would require a large increase in scope to affect with a mutator, and it's simply not worth the effort. As a necessary side effect, this mutator also brings a new ballistics model, removing the 50-meter and post-penetration instant hit traces that stock RO2 employs. Wall penetration and a few other systems have received accuracy and performance improvements and/or bug fixes. Server performance should be significantly improved during heavy combat. As an extra addition, an optional "advanced ballistics" mode is available should server operators wish to use it. It changes the bullet behavior from the stock game to include the following: - Power loss: Speed lost during flight or penetration reduces damage - Deflection: Skips & ricochets off steep angles and/or hard surfaces - Refraction: Skew when penetrating at oblique angles, producing scatter To install this on a server: ---------------------------- Step 1) Unzip into the directory your server is installed in. There are three files that go into three different places: * ROAntilag.ini into rogame/config (if your server uses a custom config directory, copy it there) * Antilag.u into rogame/cookedpcserver * Antilag.int into rogame/localization/int Step 2) Because the webadmin module for mutators is broken at the time of this writing, and the built-in map cycle is also broken when using additional variables, enabling the mutator while still having a functioning map cycle requires a second mutator. You will need Dynamic Map Rotator, detailed at http://forums.tripwireinteractive.co...ad.php?t=75372 with the download at http://dl.dropbox.com/u/54368035/Dyn...MapRotator.zip It installs the same way, the .ini files go into the server config directory, and the .u goes into cookedpcserver Step 3) Edit the RODynamicMapRotator.ini file in the config directory, look for the line that says Code:
AdditionalUrlVariables= Code:
AdditionalUrlVariables=?mutator=Antilag.Antilag Step 5) Turn the mutators on by doing a manual map change in the webadmin with the following entered into the Additional Variables field: Code:
?mutator=Antilag.Antilag,DynamicMapRotator.DynamicMapRotator You'll know when Antilag is active, as it will show in the webadmin Current Game screen, and the mutator will send players a text announcement 7 seconds after spawning, assuming you haven't disabled it, which is done in ROAntilag.ini. Step 6) Players will automatically download the package when connecting. Don't forget to put the .u into your redirect, if your server uses one. Step 7) AdvancedBallistics mode is enabled by editing the .ini in the config directory and changing its setting from false to true. If it's active, the announce message sent when players spawn will mention it. Step 8) Enjoy your bullets actually hitting what they're supposed to! -Mekhazzio |
|
#2
|
||||
|
||||
|
Important note:
Some users have reported crashing issues with this mutator. Tripwire does not think it's the fault of the mutator itself, but rather something in the game's memory handling, so they've gone ahead and white-listed this mutator for ranked play, anyway. It might be a few weeks before they can solve the crash problem on their end, as they're having as much trouble reproducing it as I am. If you run this mutator on your server, be aware that some of your players may have crash problems, and some people have reported that the frequency of them might increase if you enable the "Advanced Ballistics" mode. The crashing might be related to video settings or drivers, so if you're one of the unlucky few who gets the crashes, you could try deleting your RO2 config files to get fresh versions, and adjusting settings from there to see if anything can solve them. Either way, definitely send in your crash dumps to Tripwire, either with the automatic report tool or by posting them in the Support forum, so that they can get it solved. Last edited by Mekhazzio; 02-24-2012 at 07:22 PM. |
|
#3
|
||||
|
||||
|
This mutator, is pure gold. I hope it gets working perfectly. TBH I dont even mind the crashes, just so much fun to actually hit people you normally would miss.
|
|
#4
|
||||
|
||||
|
You are the best coder man in the history of coder mans.
|
|
#5
|
|||
|
|||
|
Damn, I just got used to the mutator and started to fall in love with it. Now 2.Fjg has disabled it and it won't be likely that I play much anymore until the issues are solved.
Great job you've done Mekhazzio. Really love the mutator!
|
|
#6
|
||||
|
||||
|
Why TWI don't implement this into the game?
__________________
|
|
#7
|
||||
|
||||
|
They said they will probably try to add a server option to enable client/server side detection.
__________________
|
|
#8
|
||||
|
||||
|
Nice! Thanks for the answer!
__________________
|
|
#9
|
||||
|
||||
|
Any update on the RO2 engine fixes to stop the crashing?
Also, How much local machine CPU load does this mutator add? Does it also now compute more physics locally than previously? Is this offloaded to a PhysX capable video card? If not offloaded to PhysX, or if PhysX is not available on the local machine, does it hit the same thread as the main game engine, or does it hit a separate core on the local machine? Thanks, Matt
__________________
Join us on one of our four servers! |
|
#10
|
|||
|
|||
|
The mutator is probably not running on the beta servers since the priority testing of the beta is without anything else running that could interfere and give false problems. Thats my guess.
__________________
|
|
#11
|
||||
|
||||
|
Quote:
|
|
#12
|
|||
|
|||
|
Oh my GOD ! I can simply not overstate how amazing it is to finally see my bullets fly where they are supposed to
![]() Thanks you so much for this Mekhazzio. I found the hit or miss (literally) hit registration in RO to drain all the fun out of the game for me, I had to waste tons of clips just so I could be sure I killed an enemy. Thanks to this mutator I can finally have fun with this game again. Thanks, danke, merci, bedankt, thank you so much ! I wish every server would use this and I hope this mutator will be included in a patch. |
|
#13
|
||||
|
||||
|
Quote:
I do too or, even better, Anti-Lag/Client-side Hit Detection wriiten into the core code of the new highly anticipated patch/update/fix that's now in beta.
|
|
#14
|
||||
|
||||
|
Fully agreed!
|
|
#15
|
|||
|
|||
|
Quote:
I can't stand playing this game for more than a map or two now that my favorite server (2Fjg) stopped using the mutator due to it apparently causing server crashes. I hope the powers that be realize this is the single biggest turnoff to casual gamers like myself. They could just fix the antilag mutator crash issue and I would play the heck out of this game... |
|
#16
|
||||
|
||||
|
I'm running a 24xSlot Server in Australia and would love to see this mutator incorporated also. It would be a pleasure to see skill rather that an algorithm judge where my projectiles go.
The other features in the Advanced Ballistics are also to be applauded. ![]() Please Tripwire, could you give some serious though to this as I know that this would bring back some of the absent community.
|
|
#17
|
|||
|
|||
|
Are there still bugs with this mutator and what are they. Like are they little ones that impact less than 10% of players or is it worse.
i just put it back on my Aussie / NZ server and so far so good. But would like some more insight. Not using advanced ballistics at the moment, but can I. Pros and cons please. |
|
#18
|
||||
|
||||
|
There hasn't been a patch since Feb 7th, so all the old issues still exist. Some players will have crash problems unless they turn down their detail settings and all of the newer custom maps will break quite badly, with most weapons disappearing completely.
As for the advanced ballistics setting, it does what's described in the initial post:Antilag advanced ballistics mode test - YouTube The numbers have been tweaked since that video was recorded, but it'll give you an idea of what's happening behind the scenes. It will rarely impact gameplay, I just threw it in for some extra verisimilitude, because a bonus side effect of my reworking of shot communication was that these mechanics were trivial to implement. There's been a handful of people saying that they think it increases the rate of crashing, but I suspect that's just the randomness of the "normal" crash problem at play. It should be safe to use, but at the same time, there's no real loss in turning it off. The occasional ricochet or skip kill is kinda neat, but rare and usually unintentional. |
|
#19
|
|||
|
|||
|
Ok i will keep it on. Any cases of players spawning without weapons on stock maps? I had that inquiry shortly after adding the anit lag mutator.
So def a no go with the customs ? |
|
#20
|
||||
|
||||
|
Butovo works for sure. I think Ogledow and maybe Arad2 do as well, but I've not tested them myself. The rest do not.
If you're spawning without weapons in stock maps, it's probably because you've cache extracted or manually installed the mutator in the client's directory. Mutator client assets only load properly from the cache, for now. To be honest, given all the problems RO2 has with package handling, I'm kinda surprised that it works at all. There's also a stock game bug that frequently breaks squad leader inventory (badly) but Antilag isn't responsible for that, the Feb 7th patch is. They just happened to come out around the same time. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|