Page 1 of 2
Gamer's Proxy - a program to emulate ping / packet loss
Posted: Thu Jan 31, 2013 7:28 pm
by Zalewa
Ever played a competitive game with a friend in which one of you hosted the server on their own machine? Ever thought that it's unfair that one person's ping is zero and the other one's is 80? Here's a program that can correct that:
https://sourceforge.net/projects/gamersproxy/
This is an open-source program that can
emulate constant ping, ping spikes and packet losses.
Download, extract wherever you want, launch the executable and read the instructions that are conveniently placed in the main window of the program.
The download site provides build for Windows only, but the program will compile and work just fine on Linux too. On Ubuntu all that is necessary is the standard compiler tools, cmake and libqt4-dev, and mercurial to check the repository out. Program should also compile on Mac, although getting that to work may require some hassle.
Some may remember that I released a similar program a few years ago, DelayedUDPProxy. That previous program was written in Java and required JRE to run - not nice. This new program is written in C++ using Qt library and should require no additional crap to run.
Spoiler: Screenshot of the program in action (Open)
The ping to the proxied server is actually higher than the ping that is visible in the proxy settings. Proxy was set to have 80ms as the base ping and it's allowed to increase this ping randomly by 50% max, so that's what is happening here.
Spoiler: Video demonstrating how the program works (1080 HD) (Open)
The [video] tag is deprecated, please use the [media] tag
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Thu Jan 31, 2013 7:48 pm
by TerminusEst13
Well, this is interesting.
I can think of functions beyond competition, too, like checking to make sure your code/ACS functions in laggy environments.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 2:37 am
by Llewellyn
Reminds me of SkullProxy.
I tried to find a working copy of that again but failed :P
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 5:28 am
by DevilHunter
I have SkullProxy, and it still works. If need be, I can upload it. Grabbing this now :p
EDIT: Btw, does One have to do all that stuff like Back in the day?? Like where you First find the Ip of the server, put it in Gamer's Proxy, enter in a port like 10667, Join the server, wait till fully connected, Disconnect using Console, type in "connect localhost:10667" in console, wait till fully connected again, then enable the Proxy?
Yes I still have the instructions.. I dunno how I got to the post, but I got there before the Forums went poof.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 4:38 pm
by Zalewa
Is SkullProxy the other Java program that continuously hogs 100% of at least one CPU core when enabled? That was the original reason for creating my own program these few years ago, because the other one was broken. I dug up a screenshot of SkullProxy 0.2a and if that is the final version then Gamer's Proxy simply offers more functionality (and is platform native and platform independent at the same time).
DevilHunter wrote:
EDIT: Btw, does One have to do all that stuff like Back in the day?? Like where you First find the Ip of the server, put it in Gamer's Proxy, enter in a port like 10667, Join the server, wait till fully connected, Disconnect using Console, type in "connect localhost:10667" in console, wait till fully connected again, then enable the Proxy?
That sounds convoluted and I don't think that SkullProxy was that broken. Anyway, my program doesn't require that much hassle. It basically ends at "Join the server" part, however you do need to join using the address of the proxy, and
not the address of the real server.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 8:40 pm
by DevilHunter
Erm well, not Skullproxy.. It was DelayedUDPProxy1.0a.jar, My bad. I was half asleep when I wrote that post. Anyhow, I got that from the really old post on ST. I think the same instructions still apply for DelayedUDPProxy.
Anyhow, I haven't tested out GamersProxy yet. But I might sooner or later. Have so much going on, and half the time, I don't feel like doing anything.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 8:42 pm
by Zalewa
DevilHunter wrote:
Erm well, not Skullproxy.. It was DelayedUDPProxy1.0a.jar, My bad. I was half asleep when I wrote that post. Anyhow, I got that from the really old post on ST. I think the same instructions still apply for DelayedUDPProxy.
I am the author of Delayed UDP Proxy and the thing you're describing is simply not true. My program never required such convoluted actions.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Fri Feb 01, 2013 9:59 pm
by DevilHunter
Ok so maybe the Method of Just starting the proxy, then joining Localhost works, instead of the way I posted. I just grabbed the instructions from the old Skullproxy post.
Anyhow, now to try out GamersProxy. Btw, do you mind if I put DelayedUDPProxy on my http?
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Sat Feb 09, 2013 12:46 pm
by Thereaper666
DevilHunter wrote:
I have SkullProxy, and it still works. If need be, I can upload it. Grabbing this now :p
EDIT: Btw, does One have to do all that stuff like Back in the day?? Like where you First find the Ip of the server, put it in Gamer's Proxy, enter in a port like 10667, Join the server, wait till fully connected, Disconnect using Console, type in "connect localhost:10667" in console, wait till fully connected again, then enable the Proxy?
Yes I still have the instructions.. I dunno how I got to the post, but I got there before the Forums went poof.
Yes could you upload a copy of skullproxy0.2a i really want to test this out and compare it with gamersproxy!
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Sat Feb 09, 2013 9:24 pm
by DevilHunter
Yes well, as I said in the Next Post.. That it was DelayedUDPProxy, but anyhow Here it is...
DelayedUDPProxy1.0a.zip
Enjoy :p
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Mon Feb 11, 2013 9:09 am
by DevilHunter
Welp, I know this might break the rules but eh.. Anyhow, I tried GamersProxy last night, and well.. It didn't do anything. I saw the numbers move around in the Window but thats it. My ping didn't increase, I didn't get any lagspikes or anything. And YES, I set the ips/ports right, and even went as far as Rebooting my router and junk.
However, DelayedUDPProxy works just fine.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Mon Feb 11, 2013 5:02 pm
by Zalewa
Well, I can't say I'm surprised that it didn't work for you, DevilHunter.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Mon Feb 11, 2013 5:29 pm
by Watermelon
This is a pretty cool idea Zalewa, great job on making it!
Wish I had this a few years ago, I would have used it. I probably will one day though.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Mon Feb 11, 2013 8:05 pm
by DevilHunter
Well Unless I'm doing something wrong. Here is what I did..
I put the Ip of the SERVER into the Target IP/Port, Set the Settings I wanted... Started the Proxy, and then Loaded the wads into ZDL, and put "+connect Localhost:30000" in the CmdLine area. (would like to point out that no matter what, it would always default to 30000, as in, it will NOT let me select a different Listen Port), and Then hit Launch.
Joined the server no problem, checked to see that it connected to the Port, and it did. Joined up, and didn't notice any lag whatsoever. I even have port 30000 Open. It don't make any sense.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Mon Feb 11, 2013 9:01 pm
by Thereaper666
Yeah why the heck would you not let use change the listen server to something below 30000, i want to try this for other games aswell.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Tue Feb 12, 2013 11:37 pm
by DevilHunter
Well, I tried it again.. No dice.. I don't get why it won't work. I did everything just as the Instructions say.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Tue Feb 12, 2013 11:56 pm
by Zalewa
Thereaper666 wrote:
Yeah why the heck would you not let use change the listen server to something below 30000, i want to try this for other games aswell.
My bad. This is actually a bug and I'll release a fix for that as soon as possible, and post the update here. I don't see how this is preventing you from trying this for other games, though.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Wed Feb 13, 2013 11:47 am
by Thereaper666
Zalewa wrote:
Thereaper666 wrote:
Yeah why the heck would you not let use change the listen server to something below 30000, i want to try this for other games aswell.
My bad. This is actually a bug and I'll release a fix for that as soon as possible, and post the update here. I don't see how this is preventing you from trying this for other games, though.
Neither do i, i used this for Call of Duty on xbox and it worked like a charm, I was obviously being the host of a game and people sent me messages like they were getting ping spikes and i was lagging them, well pretty much after that it never worked again.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Wed Feb 13, 2013 1:50 pm
by ZZYZX
This software allows you to lag-dodge projectiles while playing in competitive modes. Ever saw a player that teleports through rocket that would otherwise hit him? I did.
RE: Gamer's Proxy - a program to emulate ping / packet loss
Posted: Wed Feb 13, 2013 5:52 pm
by Zalewa
Version 1.1 is up. The problem with the minimal value for "Listen port" being 30000 is now fixed. Grab it at the
SourceForge page.
Proof that the program works:
Spoiler: Video demonstrating how the program works (1080 HD) (Open)
The [video] tag is deprecated, please use the [media] tag
Circunei Z wrote:
This software allows you to lag-dodge projectiles while playing in competitive modes. Ever saw a player that teleports through rocket that would otherwise hit him? I did.
So, the player did dodge the projectile, which saved him from getting killed. On the other hand, this player must be experiencing some massive lags to achieve that, so he's pretty much screwed. If you're pointing out that this program can be used as a haxing tool I want to point out something else: It took me one day to write this program. Anybody who's hellbent on abusing lag in such manner would probably do it in half that time, probably by starting downloads of a bunch of
documentary films during the game. If the game has trouble tracking your position properly due to this, then you will have as much trouble tracking positions of other players.