Lan Dropbox Multiplayer.

Game Editor comments and discussion.

Lan Dropbox Multiplayer.

Postby RippeR7420 » Sun May 13, 2012 1:33 pm

So, I have sort of gotten it to work. But the major issue I ran into is this, your "Data.file" only refreshes when you close the game on of the computers. So, If Comp. A was playing the game, Comp. B wouldn't get the update until Comp. A closed GE. Is there a way to make your "Data.file" constantly refresh without having to close GE?
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby RippeR7420 » Sun May 13, 2012 6:20 pm

I guess what my question is, is would I be able to use the "fopen" function to save the "data.file" file and reopen it contiouslly? I have two .ged's, one for the "server" and the other for the "client". I know this way won't work for online multiplayer, but I just want to see if GE and DropBox can do this together.
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby savvy » Sun May 13, 2012 6:54 pm

Repeatedly? no,
say dropbox is uploading the file... 50% complete
you save to it again.
dropbox re-starts the upload at 0% again.

(or am i not getting your point?)

savvy
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby Fojam » Sun May 13, 2012 7:35 pm

I think its because the file is in use by a program already so it cant be edited
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby RippeR7420 » Sun May 13, 2012 7:44 pm

Ahh both of your answers are helpful :) +1

But is the "data.file" really always in use? or just when you Save a Variable? the size is under 500 kb also.
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby savvy » Tue May 15, 2012 4:24 pm

When you save a variable, dropbox has to realise the file has changed, upload it to the website and verify stuff.
This is why it takes some time before it even starts uploading, miniscule time in reality... but for gaming or dropbox 'LAN' type stuff as you called it (xD) it is an obvious gap.

savvy

PS: When nothing is being changed in the file, it does not upload at all.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby RippeR7420 » Tue May 15, 2012 6:41 pm

Ya I wish GE had online(or LAN) capabilities! But, oh well. Hopefully soon!
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby savvy » Wed May 16, 2012 4:38 pm

Hopefully! would be very cool.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Lan Dropbox Multiplayer.

Postby Game A Gogo » Tue May 22, 2012 1:04 pm

me and lcl already attempted in creating a multiplayer game through dropbox.

We were using a different kind of method to write the files so when dropbox needs to save to them or upload from them, the file would be considered unused.

Even with that put aside, we had problems. We kept having duplicates of our files, because we were trying to save while dropbox was loading it.

Later on, Savvy figured out that the least amount of time for sending and receiving frequency is 20 seconds... think about it, 20000ms ping. And yet, there was still some information lost
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest