[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

04/16/2007 at 10:14PM PDT, ID: 22515380
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

Two player online game in Flash without dedicated server?

Asked by sinsro in Adobe Flash, Massive Multiple Online Role Playing and Other Online Games, Game Programming

Tags: online, player, games, two

I am new to Flash, but an experienced game developer who made several multiuser games in various languages, but this time I am looking to Flash as the new Actionscript 3.0 seems quite promising... I have almost no experience with Flash coding from earlier though, so please bear with me...

I want to create a real-time two player game in Flash, played over an online connection. Normally, to make a real-time multiuser game you need a dedicated server or similar that will run a socket service for your clients to connect to.

Unfortunately, I do not have money to shell out for this as this is just my hobby project, I only have access to a standard web host with some basic scripting abilities like Perl or ASP, but I am wondering if there is a way to allow two Flash clients to connect directly if the IP address of both are known?

From what I have seen so far, there are some restrictions on how clients can connect. Only to the originating server, or perhaps to other IPs that's listed somehow on that server. The details seem a bit fuzzy to me, would appreciate some advice.

Basically, my idea is as follows:

1. Users connect to my webpage, where a script picks up their IP address and stores it in a small database.
2. Each connected client accesses this database and downloads the current IP list periodically. The list is updated continuously to ensure clients who left are no longer listed.
3. A client can then connect directly to any IP in the list, thus enabling a direct connection to that other client.
4. The game starts, and the clients will communicate everything directly through a socket connection. Making the communication fast (and inexpensive for me :) )...

I am aware there might be some firewall issues here, but besides that, is there a way to have two Flash clients connect directly in this way?

Oh, by the way, I only need to target AS3 clients.

Thanks :)
[+][-]04/17/07 02:21 AM, ID: 18923023

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/17/07 04:13 AM, ID: 18923395

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/17/07 06:09 AM, ID: 18923921

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Adobe Flash, Massive Multiple Online Role Playing and Other Online Games, Game Programming
Tags: online, player, games, two
Sign Up Now!
Solution Provided By: Blixtsystems
Participating Experts: 5
Solution Grade: A
 
 
[+][-]04/23/07 09:38 AM, ID: 18959644

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/27/07 02:12 PM, ID: 20361779

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/25/08 10:49 AM, ID: 21868152

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07/05/08 10:11 AM, ID: 21937653

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/30/09 04:15 AM, ID: 24744048

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/12/09 04:49 PM, ID: 25810404

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74