DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

[Food for thought] Just messing with sockets
Page 1 of 1
DieHard Wolfers Forum Index -> Feature Fanatics View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
insurrectionman
DieHard Mutant
DieHard Mutant


Joined: 07 May 2005
Last Visit: 14 Aug 2018

Topics: 87
Posts: 759
Location: Wisconsin
usa.gif

PostPosted: Mon Mar 28, 2011 6:52 pm
   Subject: [Food for thought] Just messing with sockets
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

I decided today I would mess around with C++ UDP sockets... now I am terrible at it, I could whip up something better in Java in a few seconds, but my intentions where to integrate it into the Wolf4SDL.

So far, I managed to do this:

Somehow create a hardcoded connection
Every 70 frames on Wolf3D call a function that sent data (which was the player->angle)
On my laptop, was a console server, that received data... which was the number in char* form.

It was my first attempt at multiplayer Wolf3D. I've heard lots about projects several years ago that vanished in the wind, so I thought I'd teach myself to try it out.
I don't know even the basics, so doing this was quite difficult. It would be really cool to do, just to say "I was able to bring deathmatch to Wolf3D!"

With even just this small feat, I don't think that I could begin to fathom the amount of coding it would take to be able to have multiple people interact in the game as multiplayer. The code is there for enemies, players use the same thing, and it could be used to transport the data serialized back and forth.

If anyone has any comments or questions about this, let me know, I don't know if I will continue this, unless I can figure out the sockets libraries more, but it was a fun idea to throw around.

_________________
I'm back! I missed this community!
Youtube Channel: TreeSapThief

New Site: http://www.treesapthief.com
Twitter: @treesapthief
Tragos2d
Don't Hurt Me
Don't Hurt Me


Joined: 05 Jul 2011
Last Visit: 14 Sep 2011

Topics: 8
Posts: 55

usa.gif

PostPosted: Thu Jul 07, 2011 8:19 am
   Subject: Re: [Food for thought] Just messing with sockets
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

I would like to help you with this. My coding ability is somewhat limited but maybe we can stumble through this together? Very Happy

My own venture into Wolf Multiplayer has been somewhat the opposite approach. Starting with how games like Corridor 7 and Operation Bodycount handled mulitplayer through dos.
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Feature Fanatics View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Multiplayer Wolfenstein 3d?
Author: Reivax44
161 25349 Tue Aug 23, 2011 6:54 am
Tragos2d View latest post
No new posts 2ND Function
Author: Sporb2000
10 1650 Tue Apr 05, 2005 6:22 pm
Tricob View latest post
No new posts Multiple Floor/Ceiling Textures
Author: WSJ
5 1450 Sun Mar 27, 2005 5:27 pm
jamez View latest post
No new posts cool Items and Objects in Wolfenstein
Author: andy3012
3 1513 Sun Nov 14, 2004 12:40 pm
Haasboy View latest post
No new posts Isn't it a bit cloudy today?
Author: Ripper
47 7459 Mon May 24, 2004 12:38 pm
Ripper View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group