Egoboo Forum

The Legend of Egoboo Sporks of Yore
Networking Code - updated 2008-05-13
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Egoboo Forum Forum Index -> -> Development
View previous topic :: View next topic  
Author Message
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Wed May 07, 2008 8:00 am    Post subject: Networking Code - updated 2008-05-13 If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I've just plugged my old networking code into the development version of Egoboo.

I was never able to test the multiplayer mode, but I know that yo can at least

    - Host a game on your computer
    - View a directory of hosted games
    - Log on to the other computer


I *believe* that the code should work at least as good as the old networking code, since it is using the same communication method.

I now have two computers in my home and can check the WinXP-WinXP compatibility of the protocol.

Once this is working (knocks on wood), there would be no reason to limit the number of characters to 4 per module and it should be possible for one computer to run as a server with several sessions running at the same time (with some tweaking). This would enable an Egoboo playable mode that would be something like Everquest...

The real trick will be to reduce the bandwidth and to do dome kind of packet quality monitoring so that we could kick poorly performing connections (so they don't mess everyone else up).

------------------------------------------------------------------------

2008 - 05 - 13

I've just had the first semi-successful dialog between my two computers!

Quote:

Computer A: Give me the module description of the module you're hosting
Computer A: Oh, and send me the tile image, too
Computer B: Here's the module info. By the way what version of the title image do you have? Mine is version 0x45FD32A1.
Computer A: Great, now I can add your module info to my list! Ummm... let me see... I think I have that... Mine is version 0x45FD32A1, too. Don't bother sending it, I'll use the one I have. Bye!


I had to go over to the dark side, though! I'm using SDL's multi-threading to handle the incoming and outgoing packets, so that the main program can ignore the network stuff and just be the best Egoboo it can be!

Unfortunately, this will not work for pre-osX macs. Let me know if that causes a problem for a lot of people. I can fake a multi-threaded system with the Jonathan's Task structures, but I would rather not.


Last edited by bgbirdsey on Tue May 13, 2008 8:58 am; edited 1 time in total
Back to top
View user's profile Send private message
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 28
Posts: 4370
Location: Midwestern US

PostPosted: Wed May 07, 2008 3:53 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

SW33T!

Woooodmooouuussse!
Make us a CTF module! Razz
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Wed May 07, 2008 4:49 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

What module?
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 26
Posts: 2378
Location: Israel

PostPosted: Wed May 07, 2008 5:30 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

CTF means Capture the Flag, Or in our case, Capture the spork.
There was talk about this game mode some time ago, read some of the older topics.
_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Wed May 07, 2008 6:06 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Just put there every items and starting points. The big room in the center is the spork room.

http://www.mediafire.com/?yzjxzyzdb2m

Here^
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 28
Posts: 4370
Location: Midwestern US

PostPosted: Wed May 07, 2008 6:29 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Oh yeah, I forgot about my cool idea for how it could work.
Woodmouse, did you find the thread about it?
I had some different colored spork skins for it.

It'd need a lot of scripting to actually work though.
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Wed May 07, 2008 6:31 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Yes, I red it. And well, that what I made is a little strange, but I'm not interested and I don't have motivation right now to place items there, so what if someone other would do that?
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Wed May 07, 2008 7:07 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I had a different idea of "capture the flag".

Multiple teams compete to "complete the game" first. The complication is that there is player-vs-player interaction so that you can kill someone carrying a spork and take it from them.

There would have to be some way of tracking down the locations of the sporks, since they will be taken from one module to the another.
Back to top
View user's profile Send private message
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Wed May 07, 2008 7:10 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

The spork location radar or something would be... Surprised Smile Very Happy
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Agent of Dread
lolwut?? (Moderator)
lolwut?? (Moderator)


Joined: 23 Sep 2007
Age: 21
Posts: 4349
Location: FACEPLANT

PostPosted: Wed May 07, 2008 8:51 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

RaDaR. rAdAr. RADAR. radar. Radar. rAdar. raDar. radAr. radaR.
_________________
FACEPLANT
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Wed May 07, 2008 9:13 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

But it could be in a completely different module, so it needs to be something like a magic spell or a scroll that would give you a clue to the location.

If it was in the same module, then a radar (or a blip on the map) would work.
Back to top
View user's profile Send private message
Agent of Dread
lolwut?? (Moderator)
lolwut?? (Moderator)


Joined: 23 Sep 2007
Age: 21
Posts: 4349
Location: FACEPLANT

PostPosted: Wed May 07, 2008 9:29 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Yeah. Like birdsey said.
_________________
FACEPLANT
Back to top
View user's profile Send private message Send e-mail MSN Messenger
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 28
Posts: 4370
Location: Midwestern US

PostPosted: Thu May 08, 2008 2:58 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

That's interesting.
We could call it "Race Mode" or something and use the more traditional capture-the-sporks-and-make-them-your-color thing as well.
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Thu May 08, 2008 3:42 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

We could revive modules like rainbow race, too. Well, those could go in with the hotseat, too. Wink

I think Zefz said that he wanted to add some of those modules as hidden mods that would open up when you defeated a certain module. Fire domain if you defeated the Ash palace, etc.
Back to top
View user's profile Send private message
Agent of Dread
lolwut?? (Moderator)
lolwut?? (Moderator)


Joined: 23 Sep 2007
Age: 21
Posts: 4349
Location: FACEPLANT

PostPosted: Thu May 08, 2008 8:25 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Yeah, fun modules when you beat modules.
_________________
FACEPLANT
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Egoboo Forum Forum Index -> -> Development All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


© 2007 Informe.com. Get Your Own Free Portal.
Powered by phpBB © 2001, 2005 phpBB Group


RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum