Author Topic: Op2 Winsock Tool  (Read 3958 times)

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
Op2 Winsock Tool
« on: December 25, 2006, 10:13:31 PM »
I hate to be a bother buuuut...

Is the OP2 Winsock tool by Hacker still being worked on?

Again, not to be naggy.
I look to see, in the mirror.

All I see, is that he is me.

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Op2 Winsock Tool
« Reply #1 on: December 26, 2006, 05:46:38 AM »
Its not currently being worked on.

We have hamachi so now most members can play so its not a priority.

Hamachi rules :)

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
Op2 Winsock Tool
« Reply #2 on: December 26, 2006, 01:37:51 PM »
Oh yes its definitely good for Total Annihilation games and such, but last I remember, Hamachi lagged a lot. It doesn't now?
I look to see, in the mirror.

All I see, is that he is me.

Offline Mez

  • Hero Member
  • *****
  • Posts: 648
Op2 Winsock Tool
« Reply #3 on: December 30, 2006, 01:57:43 PM »
I find that the lag is caused by peoples connection speed

Players who have slow (relitive to my own) connections create almost the same amount of lag playing a direct game, compared to playing a game over ham.

Unless you have encryption enabled it shouldn't create much of a difference, as Hamachi is only a medium for directing packets.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Op2 Winsock Tool
« Reply #4 on: January 05, 2007, 02:18:49 PM »
Quote
Unless you have encryption enabled it shouldn't create much of a difference, as Hamachi is only a medium for directing packets.
All network traffic (down to the ethernet layer) is wrapped, encrypted and transmitted through the tunnel Hamachi creates. The program must unwrap all the data, decrypt and supply it to the machine via the 'false' network adapter it creates, which can be a slight performance hit. There is indeed a performance hit since two players who can communicate directly between each other without the use of Hamachi have a lower lag than the same game being played via Hamachi.

As far as the encryption goes, it is enabled by default and you must be a 'premium' user to disable the encryption.

As for a tool like this, I am currently working on a Hamachi replacement type of program that is specific for Outpost 2. (Basically, it would use the SIGS / WON support layer built into the game. I would replace the SIGS DLLs which when present would normally allow the user to connect to SIGS, instead it would connect to a custom server, using a custom network protocol).

Basically it would be a small piece of software that allows people to arrange games. It would allow one person to create a game, and then other users could join the game through the software. Finally it would perform NAT punchthrough so game packets could directly travel between the clients in the game, instead of being 'tunneled' through some other protocol as Hamachi does.

Not only would this decrease lag for people but it would do away with some of the other inconveniences of Hamachi:

-- Hamachi has a 12 user limit per network, and users do not automatically leave the network when they exit the program, so we are forced to run bots to remove users on a periodic basis.
-- Hamachi must install a fake network adapter driver, limiting it to Windows 2000, XP, or better. This creates a whole host of problems since there can be some ambiguity when there are 'multiple network adapters.' For example, a server program started after Hamachi is running and active that binds to the first port available will often end up binding to the Hamachi IP, not the internet IP.
-- Security issues because Hamachi is a virtual LAN and other users could access files, printers, etc that are shared to the network if these services are not disabled for the Hamachi network adapter.

I have started work on a server and do work on it when I get the chance.
« Last Edit: January 05, 2007, 02:19:05 PM by op2hacker »