Game Maker Community: Easysock - Version 1.0 Beta! - Game Maker Community

Jump to content

  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

Easysock - Version 1.0 Beta! *inactive link*

#1 User is offline   Fox-NL 

  • I wanna fly high
  • Group: GMC Member
  • Posts: 620
  • Joined: 15-May 05

Post icon  Posted 24 August 2006 - 01:41 PM

Posted Image

Story:
Ok, well this is the story! When I first began to use multiplayer in GameMaker, I used mplay! Its very easy to use but after some testing I noticed it's as slow as a cow! So, I went to the GMC and searched for some dlls, after looking at 3 dll's; GMsock, SOC and 39dll, i made my decision!

39dll it was, and after learning it I noticed that a lot of people on the GMC also want to have multiplayer in their games, but don't know how! Its either too difficult or they have no idea where to start... anyways, I came up with something to help that problem.. EasySock

EasySock is an easy way of coding multiplayer, because it handles all the crappy stuff from 39dll for you! Although its still better to code everything from scratch, EasySock will help you get through the stage of "learning" the basics of multiplayer!

Why not use other dll's? Because 39dll is simply the best :P!

Other Information:
Currently, EasySock is limited to 2 player support, this means Host and Client. In the future, i'll probably have like 4 player support or even MMO stuff, all depends on the feedback :(!

Remember, this is still a beta! So please if you find any bugs, have suggestions or know how to improve? Contact me!

Download:
EasySock.zip - 86kb - Hosted in Europe, The Netherlands
EasySock.zip - 86kb - Hosted in United States, Washington
<span style='font-size:8pt;line-height:100%'> (EasySock comes with a simple game example and 39dll.dll)</span>


Posted Image
support EasySock by putting this image in your signature!



Thats all! Good luck coding :D!
- Fox-NL
0

#2 User is offline   boxster 

  • GMC Member
  • Group: GMC Member
  • Posts: 75
  • Joined: 30-November 05

Posted 24 August 2006 - 01:49 PM

I can tell thats its really cool but please use a different host its downloading at 500 bytes/sec!!....and plz dont use rapid share
thx
EDIT: thx 4 the new host anywayz its really cool btw do u need credit if i use it ?

This post has been edited by boxster: 24 August 2006 - 02:07 PM

0

#3 User is offline   Toon-Master 

  • Half-Toon Hero!
  • Group: GMC Member
  • Posts: 340
  • Joined: 01-October 05

Posted 24 August 2006 - 01:49 PM

Ah finally after time by time you made a beta. Yeah I tested before and it worked fine. And it is easy I'll make sure. And don't worry about reference to my idea, your output is way different to the one I had in mind.

Good luck with the rest.

- Toon-Master

EDIT: Hey remember, "Easy isn't Slow by definition" right?

This post has been edited by Toon-Master: 24 August 2006 - 02:12 PM

0

#4 User is offline   Fox-NL 

  • I wanna fly high
  • Group: GMC Member
  • Posts: 620
  • Joined: 15-May 05

Posted 24 August 2006 - 07:49 PM

boxster, on Aug 24 2006, 02:52 PM, said:

I can tell thats its really cool but please use a different host its downloading at 500 bytes/sec!!....and plz dont use rapid share
thx
Thats your problem, its hosted in the Netherlands, so thats fast for European users! But I already added a mirror :P...

Toon-Master, on Aug 24 2006, 02:52 PM, said:

Ah finally after time by time you made a beta.
Haha yeah, well It still doens't have that much features but enough to create your own multiplayer game :(
0

#5 User is offline   Smarttart62 

  • designFUSION™
  • Group: GMC Member
  • Posts: 2619
  • Joined: 19-November 03

Posted 24 August 2006 - 09:18 PM

Its just like SOC for 39dll :P lol.

Great job Fox!
-Steve
0

#6 User is offline   Evilish 

  • GMC Member
  • Group: GMC Member
  • Posts: 397
  • Joined: 10-October 04

Posted 24 August 2006 - 10:15 PM

ahaha... I was having the same idea for a lib in GM... save the user the need of learning about the data types and just put a byte indicating what the following bytes are going to be... seems you beat me to it

Great job Fox-NL, and I truly hope this gets some better online games around here, or at least makes people realise 39dll is the best. XD

- Evilish
0

#7 User is offline   Tofp 

  • GMC Member
  • Group: GMC Member
  • Posts: 312
  • Joined: 11-April 06

Posted 24 August 2006 - 11:26 PM

I think there a lot of two players examples with 39dll.and they not hard to anderstand. but when be support for more players.....
0

#8 User is offline   GM6_Dude 

  • I am mikesgm6
  • Group: GMC Member
  • Posts: 167
  • Joined: 30-October 04

Posted 25 August 2006 - 12:01 AM

If only this was out when I started out learning the functions of 39dll

This is great for the people that want to learn it :P

It can auto set from writebyte to writeint :( thanks Fox-NL your always my fave gmc guy! :D
0

#9 User is offline   ..::Origin::.. 

  • GMC Member
  • Group: GMC Member
  • Posts: 435
  • Joined: 06-October 05

Posted 25 August 2006 - 01:27 AM

Great work Fox! I never really thought of that idea, but i think its a really cool one.

@Tofp
Thats not hard either, As long as you know how to use 'For' and 'With'.
I lost my old tutorial i posted for a chat example, i may have to re-write that again.
0

#10 User is offline   the bull 

  • GMC Member
  • Group: GMC Member
  • Posts: 176
  • Joined: 16-December 05

Posted 25 August 2006 - 01:31 AM

Great work!I've found my rival :P
I'm developing a system like this but it focus on LAN and broadcast,lobby.
0

#11 User is offline   myuusmeow 

  • GMC Member
  • Group: GMC Member
  • Posts: 269
  • Joined: 25-November 05

Posted 25 August 2006 - 01:37 AM

Wow, so easy, even I who knows nothing about 39dll except that it's a multiplayer DLL that uses sockets can use this!

Your a great programmer, Fox-NL, and thanks for the mirror.
0

#12 User is offline   BrainWare 

  • Adrenaline
  • Group: GMC Member
  • Posts: 791
  • Joined: 06-December 04

Posted 25 August 2006 - 03:07 PM

Very good. I love it ^_^
0

#13 User is offline   SleeK GeeK 

  • The Biggest And The Best
  • Group: GMC Member
  • Posts: 769
  • Joined: 05-November 03

Posted 25 August 2006 - 03:56 PM

Very good. I hope this removes some complexities from using 39dll for new users.

Regards,
SleeK GeeK.
0

#14 User is offline   THE Stefan 

  • GMC Member
  • Group: GMC Member
  • Posts: 175
  • Joined: 04-October 03

Posted 25 August 2006 - 06:37 PM

I would say, just use SOC ^_^. Also the type thing you're doing is nice, but because of the extra byte, I don't think it really helps. But still nice done.

This post has been edited by THE Stefan: 25 August 2006 - 06:38 PM

0

#15 User is offline   coolsmile 

  • Programmer
  • Group: GMC Member
  • Posts: 1345
  • Joined: 24-March 05

Posted 25 August 2006 - 10:23 PM

Very useful for one of my projects, I was using mplay, but it is really unreliable ^_^, this one is a lot better ^_^

If you put the controller object in the step event (I think it's already there), and if you put the host and client object's step events in the begin step events, it's just as fast and without too much lag ^_^, and you have to get rid of the delay

This post has been edited by coolsmile: 25 August 2006 - 10:39 PM

0

#16 User is offline   3t3rNAL_Payn 

  • The Human Genocide
  • Group: GMC Member
  • Posts: 1096
  • Joined: 22-July 05

Posted 26 August 2006 - 02:16 AM

I have not tested, but from looking it over, this looks like a very easy alternative to other online options.
0

#17 User is offline   RaMedia Services 

  • GMC Member
  • Group: Banned Users
  • Posts: 38
  • Joined: 07-August 06

Posted 26 August 2006 - 03:51 AM

does it require the Winsock2?

#18 User is offline   ..::Origin::.. 

  • GMC Member
  • Group: GMC Member
  • Posts: 435
  • Joined: 06-October 05

Posted 26 August 2006 - 12:13 PM

Why not look for yourself? :)
0

#19 User is offline   Toon-Master 

  • Half-Toon Hero!
  • Group: GMC Member
  • Posts: 340
  • Joined: 01-October 05

Posted 26 August 2006 - 12:16 PM

I think I found an error within your coding.

packetwrite(value); to there
    } else if(argument0 >= 32768 && argument0 <= 32767) {
        writebyte(3); writeshort(argument0);
    } else if(argument0 >= 2147483648 && argument0 <= 2147483647) {
        writebyte(4); writeint(argument0);


In the if statements, I think you were after signed values. So I think 32768 and 2147483648 should be -32768 and -2147483648.

Just a check.

- Toon-Master

This post has been edited by Toon-Master: 26 August 2006 - 12:17 PM

0

#20 User is offline   Fox-NL 

  • I wanna fly high
  • Group: GMC Member
  • Posts: 620
  • Joined: 15-May 05

Posted 26 August 2006 - 02:39 PM

Thanks Toon-Master for reporting that bug!

Scripts have been fixed and reuploaded :)
- Fox-NL
0

Share this topic:


  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users