Multiplayer Solution Idea

Discuss game development design and post your game ideas

Post » Fri Feb 17, 2017 4:27 pm

Please don't headbutt the table if i miss something obvious.

I would like to do something like this :

When players start the game, the game sends his/her IP to a mysql database. (all that would be needed is a function/object that determines the IP, everything else could be done by AJAX & http request)

The game reads the IPs from the database (e.g. via AJAX http request) and establishes a Connection and Shares data. (Object that connects and sends data to other IPs
would be required)

Advantages i see are, that there would be no signalling server required, multiplayer games could be created with normal webspace , players could play independent of whether there is a host.
B
9
S
3
G
4
Posts: 58
Reputation: 2,799

Post » Fri Feb 17, 2017 5:01 pm

@increase

Why did you delete this post then re-add it exactly as before?

If you are trying to bump your post up again then just add a reply with 'bump' in it.

It is perfectly acceptable to bump your own thread after 24 hours if no answer has been forthcoming, or your post has dropped off the first page.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Feb 17, 2017 5:15 pm

It was in the "How do I" Forum before -
i think it fits better here - that's why i deleted it there and posted it here.

What do you think about my Idea ?
B
9
S
3
G
4
Posts: 58
Reputation: 2,799

Post » Fri Feb 17, 2017 7:38 pm

IP addresses are not unique per person/device. That won't work I'm afraid.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Sat Feb 18, 2017 9:02 am

Well, then maybe username+IP -

oder just the Information that a Player sends to the signalling Server - it's just about getting a peer to peer Connection without anything in between.
B
9
S
3
G
4
Posts: 58
Reputation: 2,799


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests