Outpost Universe Forums

Projects & Development => Outpost 2 Programming & Development => Topic started by: BlackBox on February 10, 2004, 03:25:17 PM

Title: OP2 Winsock replacement
Post by: BlackBox on February 10, 2004, 03:25:17 PM
Ok, as a lot of you know, especially if you use IRC, that I'm in the process of making an OP2 winsock replacement.

These are the features that it will have:

- Ability to use routable protocols (TCP) in place of non routable protocols (UDP, what OP2 natively uses) This will allow people using routers and other network devices to play without having to use VPN or other methods to play.

- Possible ability to use application layer protocols to transfer game data (HTTP, DirectPlay, etc)

- Plugin based system. This will allow the ability to change the game, etc. and also allow special things for the connection.
Possible plugins are:
- Auto submission of game results to the forums or other server
- Automatic map download between players
- Detection/Prevention of cheats, etc
- Prevention of checksum errors by faking a checksum (possibly)
- DLL injection so the game can be truly "modded"


- Anything else you can think of. Post it here!

(Note, I will not be able to continue working on the DLL until I can reinstall Visual Studio 6 again, which may not be for a week or two)
Title: OP2 Winsock replacement
Post by: Leviathan on February 10, 2004, 05:34:03 PM
the most importiant thing is that it can use routable protocols etc 2 allow every1 2 play.
Title: OP2 Winsock replacement
Post by: gpgarrettboast on February 11, 2004, 07:48:12 AM
I cant wait.  Can I help?
Title: OP2 Winsock replacement
Post by: BlackBox on February 11, 2004, 03:00:34 PM
sure, you could make the plugin DLLs in C++ once I came up with a plugin API (which I'm not even close to).

Yes basically what I'm gonna do is mimic the winsock and force it to use SOCK_STREAM (TCP) instead of SOCK_DGRAM (udp) which will allow it to be routed.

But OP2 will think it's using UDP still, when it's not. lol
Title: OP2 Winsock replacement
Post by: plymoth45 on February 11, 2004, 04:49:36 PM
how long do you recken it will take to get the dll made? my DMZ has stopped working anyhow, so, i'm at a loss now.
Title: OP2 Winsock replacement
Post by: BlackBox on February 15, 2004, 10:50:33 AM
If I can stop having the little stupid problems I keep having with it, it shouldn't take long at all.
Title: OP2 Winsock replacement
Post by: plymoth45 on February 15, 2004, 02:07:21 PM
good to hear  :)  :)  :)  :)  
Title: OP2 Winsock replacement
Post by: Martynd on February 16, 2004, 02:01:36 AM
mayb worth messeging me on aim over next couple of days, i have a couple of free days this week (1st in a long time) so yea, maybe able to help a little
Title: OP2 Winsock replacement
Post by: CK9 on February 16, 2004, 01:04:45 PM
If I had even half the programming skill you have, Hacker, I'd offer to help.  Maby I should take that programming class next year.
Title: OP2 Winsock replacement
Post by: BlackBox on February 16, 2004, 01:27:06 PM
Well, I got some more of the program done today.

It's going to have more "useful" error messages than OP2 does.... ie, it should tell you if it can't connect to the internet rather than do nothing.

Btw, for firewalls if you want a "head start" the port it will be using is one port:

TCP port 14200.

 
Title: OP2 Winsock replacement
Post by: gpgarrettboast on February 16, 2004, 07:53:51 PM
Are we able to get the SC or no? I would like to help, but if you don't like OS, thats okay. :)
Title: OP2 Winsock replacement
Post by: BlackBox on February 22, 2004, 05:22:21 PM
I'll give the source once it's closer to completion.

I'll outsource some of it - not necessarily the main parts but I will provide a plug in architecture like for spawning events on connections, etc.. You could possibly write something for automatic map sending etc as a plugin.
Title: OP2 Winsock replacement
Post by: gpgarrettboast on February 23, 2004, 07:16:36 AM
Hah! i CAN'T wait!

(oops, Caps lock)
Title: OP2 Winsock replacement
Post by: xamlit on February 23, 2004, 07:43:03 PM
Before you release the source code you want to be sure that you don't give away anything that a hacker can make trainers and cheats for. Don't forget that the demise of WON was partly due to the use of Dan's dog.
Title: OP2 Winsock replacement
Post by: Luweeg64 on February 24, 2004, 07:19:32 AM
they could be used online?
Title: OP2 Winsock replacement
Post by: plymoth45 on February 24, 2004, 09:22:04 AM
yea, but don't ever, ever say any of those around anyone who plays op2.
Title: OP2 Winsock replacement
Post by: Oprime on February 24, 2004, 04:49:38 PM
:huh: What the heck is "Dan's Dog"?
Title: OP2 Winsock replacement
Post by: Kiith Somtaaw on February 24, 2004, 04:51:51 PM
Isn't it obvious its a Dog that belongs to Dan...


lol.  :D  
Title: OP2 Winsock replacement
Post by: plymoth45 on February 24, 2004, 05:58:11 PM
no comment
Title: OP2 Winsock replacement
Post by: Leviathan on February 25, 2004, 03:47:30 AM
Quote
What the heck is "Dan's Dog"?
They are cheats built into Outpost  2 which were put there in sececret by one of the programers, Dan.

i believe there is 4 of them. if anyone knows them they should keep it to them selves and not use them in public multiplayer games.
Title: OP2 Winsock replacement
Post by: plymoth45 on February 25, 2004, 09:18:50 AM
yes, we should keep them secret, i only konw 3 of them though, and i can only get 1 to work right.
Title: OP2 Winsock replacement
Post by: Leviathan on February 25, 2004, 03:23:23 PM
back on topic

hows the work going op2hacker ?
Title: OP2 Winsock replacement
Post by: Luweeg64 on February 25, 2004, 03:55:50 PM
Quote
Quote
What the heck is "Dan's Dog"?
They are cheats built into Outpost  2 which were put there in sececret by one of the programers, Dan.

i believe there is 4 of them. if anyone knows them they should keep it to them selves and not use them in public multiplayer games.
And none of the other programmers picked up on this? I find that hard to believe, but if they're there, well use em', it's not my fault the developers of the game didn't pick up on them! And aren't cheats supposed to be used?

|)4|\|'5 |)06 --------------------

Edit by op2hacker: Again, please do not post the cheats, even in l33t form.
Title: OP2 Winsock replacement
Post by: xfir on February 25, 2004, 06:43:21 PM
As Kevin enforced it on the NHCS forum, we will enforce it here. Do not post the cheats!

I will enforce a moderator query on you if you continue to post like you have been Luweeg.

Cheats can easily destroy a game. For instance, if you were playing against someone you know you could beat and suddenly you look over and they have a massive army of tigers when you don't even have Rare Ore and they don't even have trucks going to their smelters, wouldn't you say that its a bit out of balance?
Title: OP2 Winsock replacement
Post by: plymoth45 on February 25, 2004, 07:07:03 PM
I would, and luweeg, wht do you suppose destroyed WON?
Title: OP2 Winsock replacement
Post by: BlackBox on February 25, 2004, 07:55:29 PM
I wish I knew where the cheats were stored in the game.... Probably self modifying code.

If I can do it, I'm going to write the OP2Sock with anti cheat technology built in (ie. it will detect the cheat code and either not let it work, or maybe even disconnect the player or something if it's used.)

Edit: I may warn people if they post cheats.
Title: OP2 Winsock replacement
Post by: Luweeg64 on February 25, 2004, 09:51:37 PM
Quote

I will enforce a moderator query on you if you continue to post like you have been Luweeg.

Cheats can easily destroy a game. For instance, if you were playing against someone you know you could beat and suddenly you look over and they have a massive army of tigers when you don't even have Rare Ore and they don't even have trucks going to their smelters, wouldn't you say that its a bit out of balance?
1st moderator query.....ok i'm lost again

2nd it may not be fair, but it would be funny, just like in cs when you see a guy flying around and walking through walls and getting a headshot from 50 yrds with a ak

3rd (garrett i told you the democrats were coming) . . . i'm lost again

4th like anyone could read my unusual text anyway
Title: OP2 Winsock replacement
Post by: BlackBox on February 26, 2004, 03:17:24 PM
A moderator query is when we have to go thru the work of previewing all of your posts before they can show up in the forums.
Title: OP2 Winsock replacement
Post by: selfdestruct on February 26, 2004, 05:33:32 PM
ok im at loss, how do we know if some one is using a cheat and that the other person does not cheat, this is unfair to the people that do not cheat and thoughs have the advantage of knowing the cheats and using them.

Back on topic will this work with all operating systems, and how far has it been to geting it working so far?
 
Title: OP2 Winsock replacement
Post by: Sirbomber on April 21, 2004, 04:21:26 PM
So, any updates? Just wondering since it's been about 3 months since the last post.
Title: OP2 Winsock replacement
Post by: Phantom on April 21, 2004, 04:26:44 PM
I've been wondering the same thing. I can't play until I get that update. And believe me, I've tried everything else.
Title: OP2 Winsock replacement
Post by: plymoth45 on April 26, 2004, 09:27:02 AM
so hacker, how is the winsock rep coming?
Title: OP2 Winsock replacement
Post by: BlackBox on April 26, 2004, 02:29:48 PM
It's kinda coming. I had yet another "revelation", and hopefully this time it will work.

Btw.. I know a lot of you are probably sick of waiting, and are probably angry at me..... but this is pretty high level programming, and network programming is not my strong point. But I can do it. It's also going to take longer considering this is a solo project.... I am getting no other help for it.
Title: OP2 Winsock replacement
Post by: plymoth45 on April 27, 2004, 09:22:22 AM
I am not tired of waiting, cause i'm waiting to get my computer back. Once i have that back i start waiting for the rep
Title: OP2 Winsock replacement
Post by: Oprime on April 27, 2004, 01:32:50 PM
Kiith what happened to your comp? Hacker why don't you tell people what times your gonna be on so we can test it?
Title: OP2 Winsock replacement
Post by: BlackBox on April 27, 2004, 02:27:44 PM
Alright, these are the times that I am on IRC (again, Quakenet channel #outpost2):
All times are Eastern Time (GMT-5).

Mon -- Fri: usually around 4pm - 10pm
Sat: usually not, but sometimes 6pm - 9pm
Sun: usually 3pm - 6pm, then 8:30-9:30pm after that.

Besides that, here are some early op2sock screenshots:
(http://312productions.xfir.net/etc/op2sock/opsock_host.jpg)
(http://312productions.xfir.net/etc/op2sock/opsock_join.jpg)
Title: OP2 Winsock replacement
Post by: plymoth45 on April 28, 2004, 09:22:41 AM
Prime, do I look like kiith to you, or have you forgoten all about your old OP2 buddy Plymoth? And it is good to hear that the winsock is almost done.
Title: OP2 Winsock replacement
Post by: Phantom on April 28, 2004, 09:24:05 AM
I too am glad that it is getting done.
Keep up the good work hacker!
Title: OP2 Winsock replacement
Post by: Kiith Somtaaw on April 28, 2004, 12:49:31 PM
Quote
Kiith what happened to your comp? Hacker why don't you tell people what times your gonna be on so we can test it?

My Computer is fine.


You maybe confusing me with Plymoth.
Title: OP2 Winsock replacement
Post by: Oprime on April 28, 2004, 02:28:47 PM
:ph34r: *smacks his head for being stupid* sorry plymoth45 :P  Nice to hear from you  
Title: OP2 Winsock replacement
Post by: BlackBox on April 28, 2004, 07:43:01 PM
i can show you some lovely custom error boxes too, maybe the loader too... if I want.

(Yes, it all looks very nice)
Title: OP2 Winsock replacement
Post by: Sirbomber on May 06, 2004, 02:29:56 PM
So... Any updates?
Title: OP2 Winsock replacement
Post by: BlackBox on May 06, 2004, 02:59:45 PM
Not really..... I've been so busy with other stuff I haven't even touched op2sock.

I'll get back to it within the next few days, tho.
Title: OP2 Winsock replacement
Post by: Sirbomber on June 06, 2004, 07:28:58 AM
I don't mean to be a nuisance,  :(  but any progress? Just wondering because the last post was what, May 6th?
Title: OP2 Winsock replacement
Post by: Leviathan on June 06, 2004, 07:41:13 AM
Sirbomber if u went on the forum chat room (#outpost2 on QuakeNet IRC) you would know this:

OP2Sock: ~90% done till alpha testing

that is from the topic of the room, a topic is a piece of text users can c and can b set by ops. ppl like me and xfir. it is very usefull for puting info in, like URLs.

Please could all users who read this start using the chat room while there online.
If you are unsure about how to get there go here:
http://www.www.outpostuniverse.net/irc.htm (http://www.www.outpostuniverse.net/irc.htm)

Next weekend (June 11th - 13th) is our and the forums OP2 Renunion weekend, it will b held at the chat room, so please make sure you are on.  
Title: OP2 Winsock replacement
Post by: Sirbomber on June 10, 2004, 06:38:04 AM
My computer doesn't seem to want to let IRC to work, and the online version isn't working well either.  :(

Anyways, okay, and I'll try to be on at the reunion thing.
Title: OP2 Winsock replacement
Post by: BlackBox on June 10, 2004, 07:35:43 AM
If you can't connect or if it takes a very long time to connect and you have a router or some other NAT (hubs, gateways, etc...), forward port 113 (TCP) thru to the computer that will be using IRC. (This is the identd port - connects should be much faster)
Title: OP2 Winsock replacement
Post by: PlayingOutpost0-24 on September 18, 2004, 03:25:00 PM
from what i heard it is done but not working.
i heard it rite?
Title: OP2 Winsock replacement
Post by: Arklon on September 18, 2004, 03:31:11 PM
Not working...?
Title: OP2 Winsock replacement
Post by: PlayingOutpost0-24 on September 18, 2004, 03:33:07 PM
umm... not confirmed but i heard that...
Title: OP2 Winsock replacement
Post by: BlackBox on September 18, 2004, 08:10:42 PM
i've pretty much put it on hold for now.

there are more important projects that we have to work on currently, and I need to devote my time to that stuff instead.

So as of now, if I get any more questions about op2sock they'll probably get ignored as I'm answering you here.

No, I haven't forgotten about you guys that can't play multi, it's just that it has to go on the back burner for awhile. I'll be sure to work on it sometime in the (hopefully near) future.