Me and a friend use a small "tweak" to lower our latency in the game Aion, it became a pain to change the values in the registry every time we wanted to play and every time we were done, so I thought it could be fun to create a small tool in C++ to make the job easier ^^
Creating the tool wasn't the hard part, it was getting QT to work together with all the windows functions >_>
The tool turns of Nagle's algorithm (TcpNoDelay)
http://en.wikipedia.org/wiki/Nagle%27s_algorithm
and the maximum number of outstanding ACKs is set to 1, making all packets being acknowledged (TcpAckFrequency)
Reducing ping by up to 50%.
When the tool disabled the tweak, it reverts everything that it did (removes the keys), since the keys are not there by default.
The tweak should only be turned on when playing, because it might have negative effects on other applications (haven't found any examples yet though), and might not work for all games (Works for world of warcraft though).
-=Aion Latency Reducer 1.0 - by cats=-
[Download]
[Aion] Latency Reducer 1.0
[Aion] Latency Reducer 1.0
Last edited by ayu on 08 Jan 2010, 14:24, edited 2 times in total.
"The best place to hide a tree, is in a forest"
downloaded and gave it a go on my buddies Wow, extremely positive results.
Windows 7 Ultimate 64bit
AMD Quad core @ 2.6 Ghz
6 GB Ram
nvidia nforce 10/100
Latency dropped by >100 in all areas tested, frame rate was boosted by between 1 and 3 (not sure if this had anything to do with your program, and lag was significently reduced, especially in high lag areas like Dalaran.
One bug, the disable feature didn't shut the process down, the program remained enabled after multiple clicks... however closing it down and reloading it seemed to reset back to default.
Great job Cats, thanks =)
Windows 7 Ultimate 64bit
AMD Quad core @ 2.6 Ghz
6 GB Ram
nvidia nforce 10/100
Latency dropped by >100 in all areas tested, frame rate was boosted by between 1 and 3 (not sure if this had anything to do with your program, and lag was significently reduced, especially in high lag areas like Dalaran.
One bug, the disable feature didn't shut the process down, the program remained enabled after multiple clicks... however closing it down and reloading it seemed to reset back to default.
Great job Cats, thanks =)
knuffeltjes voor mijn knuffel
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
That could be the UAC bug lurking around, since I had that very same issue. Either that or the registry values weren't changed, but the program notifies on as many errors as possible.lilrofl wrote: One bug, the disable feature didn't shut the process down, the program remained enabled after multiple clicks... however closing it down and reloading it seemed to reset back to default.
I have a new version where the UAC bug is fixed, but I want to do some more stuff before I release it (since it will be the final release)
"The best place to hide a tree, is in a forest"
At the moment I use QT to create my GUIs, and so far I am very satisfied with it. It has a very good design tool that works wonderful when you just need to throw together something quickl0ngb1t wrote:mmmm niceee worrkkkk
may i ask what tools you use to build the GUI... my teacher recommended netbeans, but i think your opinion will be very helpful...
"The best place to hide a tree, is in a forest"
At the moment, you can'tleetnigga wrote: Where can I find this "code"?
Yeah that's because I didn't remove all parts of the library when recompiling, and I will have to read some more about the different parts of QT later, so that I know what more stuff I can remove safely when recompiling againleetnigga wrote: I suppose the huge executable size is because of the use of QT? Using native Windows controls the executable would only be kilobytes big.
"The best place to hide a tree, is in a forest"
Native Windows API, and/or MFC is shit. API is like a massive trolling attempt.. First time you try it out, you go "Wait, are they seriously going to make me manually position my controls with coordinates?".. Then MFC, which hasn't been 'beautified' since 1999. It's the same clusterfuck, and it all works with a fuckload of stupid macros and 'magic functionality' that you can't understand properly, simply due to the fact that the code is proprietary.leetnigga wrote:Where can I find this "code"?cats wrote:*Cleaned up the code a bit
I suppose the huge executable size is because of the use of QT? Using native Windows controls the executable would only be kilobytes big.
Nice work.
It is worth mentioning that for this application to have any effect, you have to restart your computer after enabling it (I will make a small change that will notify the user about that).
Before I enabled it, my ping was 200-300 ms.
After I enabled it and restarted the computer, the ping had dropped in game to 40-60 ms. I did this a few times to make sure, and it does have a significant effect
Before I enabled it, my ping was 200-300 ms.
After I enabled it and restarted the computer, the ping had dropped in game to 40-60 ms. I did this a few times to make sure, and it does have a significant effect
"The best place to hide a tree, is in a forest"