Multiple Connection to Local Server

quackorquackor sagði

fyrir löngu síðan | Færsla #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 sagði

fyrir löngu síðan | Færsla #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.
Færslu #3 eytt

mefuzzymefuzzy (tengd(ur)) sagði

fyrir löngu síðan | Færsla #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 sagði

fyrir löngu síðan | Færsla #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 (tengd(ur)) sagði

fyrir löngu síðan | Færsla #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.
Síðast breytt fyrir löngu síðan

Svara þræði

Skráðu þig núna til að svara þráðum

Spilatorg

Velkomin(n) á spilatorg.is. Spilatorg er sjálfstæð leikjasíða þar sem þú getur spilað bæði einstaklings- og fjölspilunarleiki frítt.

Tól hönnuða

Ef þú ert flash leikja hönnuður, þá erum við með nokkur frábær tól til að hjálpa þér að búa til jafnvel enn betri leiki.

Frábærir leikir

Af hverju prófarðu ekki nokkra af bestu flash netleikjunum sem við erum með, algjörlega frítt?

Copyright ©2007-2012 Spilatorg™ - All rights reserved.29.0017ms on SERVER34097