Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: 39Dll, What data should I send for online coop?  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.
39Dll, What data should I send for online coop?
« on: July 18, 2012, 01:52:32 am »
  • Yeah, I don't even...
  • *
  • Reputation: +11/-4
  • Offline Offline
  • Gender: Female
  • Posts: 1008
I'm currently working on a game in GM8, It is planned to have online coop.
I'm working with the DLL, 39dll for online support since GM8's basic online support sucks.
I have an intermediate understanding of 39dll.

I'm wondering what I should send data-wise so it's efficient and works on 2-4 "clients" with minimal bytes being sent.
I know I should Sync up collisions but but should I just send the x, y, direction, speed, and if it's dead and so forth.
What to you guys think I should do for it? I'm kind of lost, TBA.
« Last Edit: July 18, 2012, 01:54:16 am by Shadow宇宙の神 »
Logged
Re: 39Dll, What data should I send for online co...
« Reply #1 on: July 19, 2012, 01:23:57 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
You have a bunch of things to consider.  First off, whats the server?  Is it its own machine, or does one of the players host a match and act as a server?

Second, we can't determine what data you need to send without you telling us about your game.  But yes, you definitely want to send the x,y, direction and state.  Speed probably isn't necessary because that's a derivative of position (although you might want to send it for server-side validation to prevent speed hecking)
Logged



i love big weenies and i cannot lie
Re: 39Dll, What data should I send for online co...
« Reply #2 on: July 19, 2012, 01:39:31 pm »
  • Yeah, I don't even...
  • *
  • Reputation: +11/-4
  • Offline Offline
  • Gender: Female
  • Posts: 1008
You got a point. The server is run in the game itself but the one hosting a game.
Logged
Re: 39Dll, What data should I send for online co...
« Reply #3 on: July 25, 2012, 01:54:08 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
I have no idea what you just said.
Logged



i love big weenies and i cannot lie
Re: 39Dll, What data should I send for online co...
« Reply #4 on: July 25, 2012, 01:59:28 pm »
  • Yeah, I don't even...
  • *
  • Reputation: +11/-4
  • Offline Offline
  • Gender: Female
  • Posts: 1008
Edit: NVM, I pretty sure I that I have what I need for it to work correctly.
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.053 seconds with 47 queries.

anything