Multiple Connection to Local Server

quackorquackor dijo

hace mucho tiempo | Publicación #1
Hello,

So I'm an ActionScript developer starting his adventure with Nonoba.

Here's a crucial question that I can't figure out (it's probably the newbie thing):
When I run sample app from the dev kit code and the local multiplayer server in my VS:Express for C#, how do I connect another player? Is it possible to do it over LAN? How else?

Thanks for your help.

quackorquackor dijo

hace mucho tiempo | Publicación #2
So nevermind that. I figured it out.

Didn't realize MakeMultiplayer in NonobaAPI.as had a String parameter with a default value of "localhost".

Passing it my box's IP number did the trick.
Publicación #3 eliminada

mefuzzymefuzzy (en línea) dijo

hace mucho tiempo | Publicación #4
This is a good question...
Could somebody give more details on what quackor found as a solution?

How do you pass "my box's IP number"? Setting the "p = [IP number]" or something?

And then what? Would I just compile my flp mutliple times and I could have multiple windows, each representing multiple connections?

Maybe its because I don't have any server administration experience, but this isn't very intuitive to me. Please help...

ChrisChris dijo

hace mucho tiempo | Publicación #5
By fare the easiest way to connect two clients to the same game is testing the game in a browser. Simply open up the game in two browsers. (You likely have to add the game as trusted for this.)

Otherwise your solution works, and it's actually in the documentation.

mefuzzymefuzzy (en línea) dijo

hace mucho tiempo | Publicación #6
Thanks Chris. It works as you said. I just had to put the local directory name in the address bar of the browsers and adjust my browser security settings.

I don't see that anywhere in the nonoba documentation. Maybe that information is considered to be a given.
Última edición hace mucho tiempo

Contestar al tema

Regístrate ahora para responder a éste tema

Juegamigo

juegamigo.com es un sitio de juegos independiente donde puedes jugar solo o en conjunto en los juegos multijugador de una manera gratuita.

Herramientas para Desarrolladores

Si eres un desarrollador de juegos flash, tenemos unas increíbles herramientas que te ayudarán a hacer aún mejores tus juegos.

Juegos Padrísimos

¿Por qué no jugar algunos de los mejores juegos flash en línea que tenemos?, ¡es completamente gratis!

Copyright ©2007-2012 Juegamigo™ - All rights reserved.343.2006ms on SERVER34096