Help beta test my first multiplayer game?

psyonpsyon zei

een tijd geleden | Bericht #1
This is the first multiplayer game I have ever made. I jumped right in and did a realtime game. Hopefully when I update some of my turn based games to be multiplayer, it will be easier. If anyone is willing to beta test for me, please have a look at:
http://www.nonoba.com/psyon/multiplayer-combat

I look forward to any comments.

rdzrdz zei

een tijd geleden | Bericht #2
I think i have bug 1:
When the other player leaves the game i do not get a notice about this.
Only see that the other tank cannot be shot & does not move.

In the serverside code you would need to use something like next:


public override void UserLeft(Player user)
{
if (user == player1)
{
Broadcast("left", 0, player1.Username);
player1 = null;
}
else if (user == player2)
{
Broadcast("left", 1, player2.Username);
player2 = null;
}
}

At the local side the 'left' broadcast can then have some response:

case "left":{

//some code to reset game

break;
}
Laatst gewijzigd een tijd geleden

psyonpsyon zei

een tijd geleden | Bericht #3
The server side sends the "left" message, the client side just doesnt handle it yet. I didnt think people would want to just sit there and wait. What do you think the game should do when someone leaves?

rdzrdz zei

een tijd geleden | Bericht #4
At least it should show some message, i think.

'player .... has left the game'

(ps. If you are the first player in a game you also have to sit and wait)
Laatst gewijzigd een tijd geleden

mike950mike950 zei

een tijd geleden | Bericht #5
when testing in 2 browsers they both just sit there waiting for players
to join...
also i had multiplayer combat out for a while ..same name different game lol
http://nonoba.com/mike950/bw

psyonpsyon zei

een tijd geleden | Bericht #6
Mike, a few other people have mentioned that issue, but leave before I could get details from them. What version of flash do you have? What browser? What operating system?

Also, I saw your game after I initially uploaded mine. I'll probably change the name at some point.

mike950mike950 zei

een tijd geleden | Bericht #7
im in xp using ver 11 of firefox
but i doubt the version is causing it..
let me give you an error output from debugger
remember to always use the debugger
instantiation attempted at non-constructor
Bullet()

YaiEfYaiEf zei

een tijd geleden | Bericht #8
The game caused the flash debug player to bring down firefox because of the immense amount of unhandled errors. Creating a game results in a couple of errors (all related to the Bullet class). Joining my own game from another tab brought the browser down.

You should install the debug player yourself: http://www.adobe.com/support/flashplayer/downloads.html

psyonpsyon zei

een tijd geleden | Bericht #9
I didn't realize there was just a debugger player for the browsers. I used the debugger from the flash environment, and it showed no issues. Ill install the debugging player right now :)

psyonpsyon zei

een tijd geleden | Bericht #10
Ok, I have the debugger player installed, but I don't get any errors about the bullet class.

mike950mike950 zei

een tijd geleden | Bericht #11
try running it in internet explorer..thats where i get the errors

psyonpsyon zei

een tijd geleden | Bericht #12
The only error I get is a warning about meta-policy

I did make a small change though before I tested in IE. When I looked up the error you had pointed out, I found a line in the AS that might have cased it.

private var beeper:Beeper;

then later

this.beeper = new Beeper();

Some things I read said that having the variable name the same as the Class name would causes issues, but I thought the case might make a difference, and I also didn't know why it would only affect some people. Either way, I changed beeper to beepfx.

Antwoord op onderwerp

Schrijf je nu in om te kunnen antwoorden op onderwerpen

Nonoba

nonoba.nl is een onafhankelijke spelletjes site waar je zowel individueel als gezamenlijk spelletjes gratis kunt spelen.

Developer gereedschap

Als je een flash spelontwerper bent hebben we gave gereedschappen die je kunnen helpen om nog betere spellen te ontwikkelen.

Geweldige Spellen

Waarom probeer je niet een van de beste online flah spellen die wij hebben voor nop?

Copyright ©2007-2012 Nonoba™ - All rights reserved.46.8001ms on SERVER34096