qw3rty Posted March 22, 2006 Share Posted March 22, 2006 (edited) Hi, The game is already working online, but I haven't included a lobby yet.You can only play in "direct connect" mode - that means you have to know one NDS's public IP, and enter that on the client side. There are still some bugs though (it crashes at the end of the match on the server side,when the statistics are shown, but that should be fixed in a few hours), but it works quite well during the match. You can download the binary HERE. As soon I have eliminated all problems of the online-mode, I'm gonna implement a lobby.... Gameplay : Blubb is a mix of Battleships and Minesweeper. Each player has four ships with different attributes at the beginning.The ships use, unlike battleships, only one square per ship.In each round, you can either move a ship, or shoot with a ship.To move a ship, click on it (with A), then move with the d-pad.You have to use ALL your movepoints.To shoot, click on the ship you want to shoot, then DON'T move, but click "A" again.You can only shoot on the adjacent fields. If you miss, the NDS will tell you how much ships of the enemy are in proximity. If you know minesweeper, you'll soon know how to find your enemy. How to connect to another NDS : Blubb uses the firmware-connection-setting (currently only #1 !), use mariokart or any other online-game to configure the settings.You have to use (as usual) :-no WEP-Static IP-Static DNS (not important, because I don't use DNS yet) Blubb uses port 9999 UDP, BOTH parties, the client and the server have to forward that port to their NDS. I have not implemented a lobby yet, that means, that you have to have a date with another NDS-player.To connect :Click on "NETPLAY" in the main menu, then choose either server or client (one side must be server, the other client).The client is asked for the servers public IP then - so the person who is server must tell the client his IP (through an instant messenger for example).The server-side should start the netgame FIRST (so it is already listening on port 9999 when the client connects) - it should work anyways, but just to be sure, try to start the netplay in the proper order) Please tell me what you like, and more important, the things you dislike.You can contact me on MSN-messenger at dreamflat@hotmail.com, I'm allways searching for testers (bugfixing the online part is a tedious job - I can need any help I can get ) P.S. : Is there anyone, who knows, why I have to forward port 9999 on the client side too ?This is how I connect :-the client sends his login packet from clientIP:9999 to serverIP:9999-The server send his answer from serverIP:9999 to clientIP:9999.If I don'T have portmapping activated on the client side, the answer doesn't come through.... I thought the router should now where to send the packet, because it came back from the same port to the same port ?!It seems to work in wifichat too....Bafio, anybody ? Edited March 22, 2006 by qw3rty Link to comment Share on other sites More sharing options...
sgstair Posted March 22, 2006 Share Posted March 22, 2006 (edited) ...P.S. : Is there anyone, who knows, why I have to forward port 9999 on the client side too ?This is how I connect :-the client sends his login packet from clientIP:9999 to serverIP:9999-The server send his answer from serverIP:9999 to clientIP:9999.If I don'T have portmapping activated on the client side, the answer doesn't come through.... I thought the router should now where to send the packet, because it came back from the same port to the same port ?!It seems to work in wifichat too....Bafio, anybody ?<{POST_SNAPBACK}> You should use a random port on the client side, then it should work, I think. - next version of the lib will do this automaticly if you don't bind the socket. -Stephen Edited March 22, 2006 by sgstair Link to comment Share on other sites More sharing options...
qw3rty Posted March 22, 2006 Author Share Posted March 22, 2006 (edited) Huh - why does a random port work ? Is it enough, if I use a DIFFERENT port for the client ?btw. I open ONE port right after connecting to the AP, and never close it. P.S. : The binary on my webpage was just updated - the end of the game shouldn't crash the server anymore, and I fixed the statistics.Some minor cosmetical fixes included too (you don't have to input the serverIP again for new matches.) P.P.S. : kudos to you Stephen for your work on the wifi-lib You made my dream of online-Blubb possible... THANK YOU ! Edited March 22, 2006 by qw3rty Link to comment Share on other sites More sharing options...
QazzaQY2K Posted March 22, 2006 Share Posted March 22, 2006 GREAT work qw3rty! u deserv a hug from my sisster .. anyway keep up the good work Link to comment Share on other sites More sharing options...
qw3rty Posted March 22, 2006 Author Share Posted March 22, 2006 Thanks I could need a hug from your sister If anybody has time, I urgently need testers.Contact me via messenger : MSN : dreamflat@hotmail.comICQ : 157831620 Link to comment Share on other sites More sharing options...
GrupstraNDS Posted March 22, 2006 Share Posted March 22, 2006 Hey, I might be on again onite to try it out, I'll message you on MSN if I can. The last test went good, even though I got my butt handed to me. >.< Anyone who hasnt tried this, get a hold of him, its a fun game to play online. Link to comment Share on other sites More sharing options...
qw3rty Posted March 22, 2006 Author Share Posted March 22, 2006 (edited) I just updated the binary on my site.It doesn't need portmapping on the clientside anymore Sgstair, using a DIFFERENT port on the client side solved the porblems. THANK YOU I'm currently trying to implement the chat....maybe tomorow we'll have pictochat functionality EDIT : I updated the download on my page - I included a sneak-a-peek preview of the chat-interface....however - sending messages isn't implemented yet.But you can already draw nice pictures Edited March 22, 2006 by qw3rty Link to comment Share on other sites More sharing options...
qw3rty Posted March 24, 2006 Author Share Posted March 24, 2006 (edited) I have implemented picture-chat now !But it isn't tested yet....but at least it shouldn't crash the program. If anybody tries the chat, and it WOKRS, please tell me. Updated DOWNLOAD EDIT : I just verifies, that the chat gets transferred, although there are parts of the message missing on the bottom. Edited March 24, 2006 by qw3rty Link to comment Share on other sites More sharing options...
Robert Posted March 24, 2006 Share Posted March 24, 2006 Sounds like a nice game there qw3erty. Thanks for making it available! Link to comment Share on other sites More sharing options...
teo95gr Posted March 24, 2006 Share Posted March 24, 2006 Sounds like a nice game there qw3erty. Thanks for making it available!<{POST_SNAPBACK}>Yeah, he's right. Link to comment Share on other sites More sharing options...
qw3rty Posted March 25, 2006 Author Share Posted March 25, 2006 I have updated the binary on my page.Now the messages should be transferred completely, and it could work in both directions (untested), although it may crash the game, as soon the waiting player sends a message. If chatting works both ways, without crashing the game, please add a reply to this topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now