Network Multiplayer (Multi-human players)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Network Multiplayer (Multi-human players)
by Rob Cashwalker » 03 Nov 2014, 05:05
We can put it on cardforge.org of course...
It would be really cool if it could be hosted on multiple servers which keep each other updated.
It would be really cool if it could be hosted on multiple servers which keep each other updated.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Network Multiplayer (Multi-human players)
by elcnesh » 03 Nov 2014, 07:25
I have some domain names (external hosting, which includes php and sql) which we could use But of course cardfore.org makes the most sense
- elcnesh
- Posts: 290
- Joined: 16 May 2014, 15:11
- Location: Netherlands
- Has thanked: 34 times
- Been thanked: 92 times
Re: Network Multiplayer (Multi-human players)
by drdev » 03 Nov 2014, 15:52
cardforge.org is the first thing I thought of, but it doesn't seem to have PHP and MySQL support from what I could tell. I tried connecting to it using WebMatrix with my FTP credentials that I use for publish Android builds, but it was returning that cardforge does not support PHP.
If that's not the case, could somebody tell me how to publish PHP to and create a MySQL database on cardforge?
If that's not the case, could somebody tell me how to publish PHP to and create a MySQL database on cardforge?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Network Multiplayer (Multi-human players)
by friarsol » 03 Nov 2014, 16:02
Probably just your credentials are only setup for FTPing. If you goto the cardforge website, the index redirects you to /index.php and I'm pretty sure the Mantis Bug Tracker (that we tried to use for a little bit) requires a Database (which is probably MySQL)drdev wrote:cardforge.org is the first thing I thought of, but it doesn't seem to have PHP and MySQL support from what I could tell. I tried connecting to it using WebMatrix with my FTP credentials that I use for publish Android builds, but it was returning that cardforge does not support PHP.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Network Multiplayer (Multi-human players)
by Fizanko » 03 Nov 2014, 17:11
Please, make that tracking of players by a server/database/whatever something optional and not forced on players that may not agree to being tracked by a server while playing Forge.
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Re: Network Multiplayer (Multi-human players)
by drdev » 03 Nov 2014, 20:03
It will be optional. As I've designed it in my head, you can either enter an IP address manually, post a game to this "server" for others to find, or click on one of those postings to challenge someone who already created a game. There will be no login required, and the only thing that will ever be shared if you create a game is your IP address, player name and avatar, and game format information. If you choose to join a game someone else posted, then this information will only be sent to that person and not the "server".Fizanko wrote:Please, make that tracking of players by a server/database/whatever something optional and not forced on players that may not agree to being tracked by a server while playing Forge.
Once a game has its players, the "server" no longer plays a role. Instead, one player's machine will act as the game server that the others will communicate with via sockets.
Does that make sense?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Network Multiplayer (Multi-human players)
by elcnesh » 03 Nov 2014, 20:33
Sounds good! The only other thing I think we should communicate is the Forge version number, to prevent mixed versions causing crashes in network games
- elcnesh
- Posts: 290
- Joined: 16 May 2014, 15:11
- Location: Netherlands
- Has thanked: 34 times
- Been thanked: 92 times
Re: Network Multiplayer (Multi-human players)
by drdev » 04 Nov 2014, 00:33
Yeah, I was planning to prevent playing against someone who's not on the same major version as you. Or maybe just disable network support unless you're on the most recent major version (it'd be a nice way to encourage people to update).elcnesh wrote:Sounds good! The only other thing I think we should communicate is the Forge version number, to prevent mixed versions causing crashes in network games
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Network Multiplayer (Multi-human players)
by Rob Cashwalker » 05 Nov 2014, 05:06
As friarsol postulated, it's a different set of credentials for mysql access. PHP should execute from just about any folder. Send me a PM to discuss what you need.drdev wrote:cardforge.org is the first thing I thought of, but it doesn't seem to have PHP and MySQL support from what I could tell. I tried connecting to it using WebMatrix with my FTP credentials that I use for publish Android builds, but it was returning that cardforge does not support PHP.
If that's not the case, could somebody tell me how to publish PHP to and create a MySQL database on cardforge?
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Network Multiplayer (Multi-human players)
by drdev » 07 Nov 2014, 20:22
I sent you a PM a few days ago but haven't heard back. Just following up on here in case you never got my PM.Rob Cashwalker wrote:As friarsol postulated, it's a different set of credentials for mysql access. PHP should execute from just about any folder. Send me a PM to discuss what you need.drdev wrote:cardforge.org is the first thing I thought of, but it doesn't seem to have PHP and MySQL support from what I could tell. I tried connecting to it using WebMatrix with my FTP credentials that I use for publish Android builds, but it was returning that cardforge does not support PHP.
If that's not the case, could somebody tell me how to publish PHP to and create a MySQL database on cardforge?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Network Multiplayer (Multi-human players)
by MIC132 » 21 Dec 2014, 17:19
What is the current progress on this feature?
Re: Network Multiplayer (Multi-human players)
by Hikarius » 24 Jan 2015, 12:45
Hello, I want to try programming Network Multiplayer for Forge can anybody give me your sources of last developments in this case that I can branch your code and did not start from scratch ? (sorry for my bad english)
- Hikarius
- Posts: 2
- Joined: 24 Jan 2015, 12:02
- Has thanked: 0 time
- Been thanked: 0 time
Re: Network Multiplayer (Multi-human players)
by Max mtg » 26 Jan 2015, 12:23
Has anyone written a multiplayer engine yet?
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Network Multiplayer (Multi-human players)
by elcnesh » 26 Jan 2015, 12:25
Nope. Also I don't have anything to add to the svn right now. Maybe Dan does, but otherwise I'd say: go ahead with experimenting on HEAD
- elcnesh
- Posts: 290
- Joined: 16 May 2014, 15:11
- Location: Netherlands
- Has thanked: 34 times
- Been thanked: 92 times
Re: Network Multiplayer (Multi-human players)
by drdev » 26 Jan 2015, 15:51
I am not actively working on anything beyond the TrackableObject stuff that's already done. So anyone interested in working on this should feel free to do so off of the code currently in trunk.
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Who is online
Users browsing this forum: No registered users and 15 guests