Message Board


Message Board > Competitions > unholy networking test

November 27, 2006, 00:05
DTM
Earthling!
821 posts

Hello!

Does anyone feel like doing some testing? YES! I know you do.

http://games.xzist.org/temp/unholybeta.zip

It's a network game. And I haven't tested it across the internet yet. Or without a http proxy. You can set a http proxy in the options if you are behind one.

Also in the options you can set your name and view the controls.

It uses UDP port 30000. And http.

Click "join game" first to connect to an active game if there is one.

So I have some questions:
- did "contacting master server" work? (and how long did it take?)
- if so, did you manage to connect to anyone else?

Thanks :)
____________
:o
#
November 27, 2006, 01:39
Sandman
F3n!x0r
1194 posts

I could not connect to the masterserver. My firewall didn't even ask to allow it. And what is this nettle.dll? It seems I got competition!
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
November 27, 2006, 09:39
Eckolin
Quite Whiskered
388 posts

I also could not connect to the masterserver (as you know), and my firewall did not ask me to allow it either.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 27, 2006, 11:38
Rincewind
programmer
1545 posts

Windows Firewall did ask me to allow it, and I did, but "news: error connecting to master server". :(

I am not behind a proxy or a NAT so stuff should work.
____________
Personal website: http://www.loijson.com
#
November 27, 2006, 13:58
DTM
Earthling!
821 posts

Damn. It must be my winsock code... I'll see if I can find a library to do the http stuff.
But could you post the first line (or few...) of the stdout.txt if you have time?

In theory the in game networking code might still work, that is you could connect to someone's IP using the specify option. I'll post my IP later if anyone wants to try :)

Quote:
And what is this nettle.dll? It seems I got competition!

It's probably too specific to this game - but you never know!

I did consider using your DLL, but I needed the experience using ENet, so I can use it in my c++ projects.
____________
:o
#
November 27, 2006, 14:39
Rincewind
programmer
1545 posts

HTTP_get: WSAStartup success!
Loaded map: map2
[SECTION][spawn][/SECTION]
[POINT]370,1800[/POINT]
[POINT]1560,1800[/POINT]
[SECTION][rocket_launcher][/SECTION]
[POINT]970,1820[/POINT]
[SECTION][health_mega][/SECTION]
[POINT]960,750[/POINT]
[SECTION][boosts][/SECTION]
[POINT]200,1850[/POINT]
[POINT]1710,1850[/POINT]
[SECTION][boost_vectors][/SECTION]
[POINT]250,1420[/POINT]
[POINT]1660,1420[/POINT]
Http Operation: news
Not using http proxy...
HTTP_get: no host entry: http://games.xzist.org, ERROR CODE:11004
Connection error 0.
____________
Personal website: http://www.loijson.com
#
November 27, 2006, 16:38
Sandman
F3n!x0r
1194 posts

Same and after that I got alot of:
Error: Unknown State
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
November 28, 2006, 00:16
DTM
Earthling!
821 posts

I've just replaced my code with another http library.

Please try again! --> http://games.xzist.org/temp/unholybeta.zip

[Edited on November 28, 2006 by DTM]
____________
:o
#
November 28, 2006, 00:25
yonni
None
420 posts
This version won't connect to the master server, neither did norton ask me to allow it.
____________
#
November 28, 2006, 01:53
DTM
Earthling!
821 posts

I modified it again. Third time lucky. :cry:
____________
:o
#
November 28, 2006, 01:58
Sandman
F3n!x0r
1194 posts

Saaaaaaaaame. :P
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
November 28, 2006, 09:29
Eckolin
Quite Whiskered
388 posts

Same, but a lot faster in not connecting.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 28, 2006, 13:37
DTM
Earthling!
821 posts

I think the problem might be I am connecting to "http://games.xzist.org" whereas it should be just "games.xzist.org". For me, I specify a proxy without "http://" in the options so it works.

I will upload another version later! :D
____________
:o
#
November 28, 2006, 13:41
Dennis
どこかにいる
2092 posts

How would you connect to an ftp server then? How will it know the difference without mentioning the protocol?
____________
Kwakkel
#
November 28, 2006, 15:15
Caspah
Gladiator
203 posts
same problem.. could not connect to master server. I have no firewall except for windows (which popped up, so i unblocked the game) and no router/proxies i have to worry about..
____________
"clowns to the left of me, jokers to the right. here i am, stuck in the middle with you." ~Stealers Wheel
#
November 28, 2006, 19:23
TheMI3
Starving Artist
520 posts

Couldn't connect either. I havent a proxy (or firewall as I understand).
____________
This is my Blog. There are many like it, but this one is mine!
(Now actual posts on it)
http://www.chiefillustrator.com
#
November 28, 2006, 19:29
DTM
Earthling!
821 posts

I've updated it again! It's bound to work this time!

http://games.xzist.org/temp/unholybeta.zip

TheMI3 if you are at Uni you probably have a proxy.

Quote:
How would you connect to an ftp server then? How will it know the difference without mentioning the protocol?

You do the protocol yourself, to get a file with http just send the string "GET /path/to/file.php" or something. Before this in the connect function you specify the port to, 80 for http or I think 21 for ftp.

[Edited on November 28, 2006 by DTM]
____________
:o
#
November 28, 2006, 19:34
Eckolin
Quite Whiskered
388 posts

Found masterserver. No games there, though.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 28, 2006, 19:38
yonni
None
420 posts
Worked perfectly, I could connect to the server and start a new game.

Is the bot supposed to follow you arround quite so doggedly? And there doesn't seem to be and graphics for bullets but I can kill the bot by clicking repeatedly on it.
____________
#
November 28, 2006, 20:18
DTM
Earthling!
821 posts

Yay! :D Thanks for testing everyone!!!

The bot is just to test the weapons really, I may not have bots in the finished game. This was just to test the networking.

Don't forget the rocket launcher! (press q/e to change weapon)

Oh, and I updated it again. :O This time to use port 27960, the same as quake. And you can window it with alt+enter.

[Edited on November 28, 2006 by DTM]
____________
:o
#
November 28, 2006, 22:02
Rincewind
programmer
1545 posts

Works now yes. No games found though.
____________
Personal website: http://www.loijson.com
#
November 29, 2006, 15:52
Caspah
Gladiator
203 posts
connected to master server :)
____________
"clowns to the left of me, jokers to the right. here i am, stuck in the middle with you." ~Stealers Wheel
#
November 29, 2006, 23:28
DTM
Earthling!
821 posts

bah. Does anyone have two computers with maybe two different IP addresses they can test it on? Or... shock horror - a friend they can test it with?

This is annoying. I think it's the university firewall blocking it. So it might actually work. I mean an actual two person game, not just the master server, that's just downloading VIRUSES from the internet. Actually I meant it's downloading a list of peers.

You see I left it running yesterday and today. So you should have connected to me. What I really mean, is I can't possibly envisage my coding being to blame, no, it must be firewalls and NAT and everything else.

I've posted on Gamedev.net also asking about NAT and various things but they will probably ignore it so does anyone here know anything about the effects of them? That is, can anyone diagnose the problem and find a solution without me having to understand it?

Also how can I tell for sure if an outgoing port is open (and not just the firewall saying it is, it might be lying)? Or maybe open is the wrong word. Forwarded? Allowed?
____________
:o
#
November 30, 2006, 00:08
yonni
None
420 posts
I have 2 computers in my house that I can test it on (or two that I can log onto anyway), but as they both go through the same wireless router, they both have the same external IP (the one that the internet sees), would this be ok?

Unfortunately, I'd probably have to find time when no-one else is here (as the rest of my family are wank with computers) to test it, but it could be done.

I'll give it a go asap.
____________
#
November 30, 2006, 00:39
DTM
Earthling!
821 posts

I really don't know about the external IP. But maybe you could use the specify option with the internal IP of the other game. If that works I suppose it ought to work over the internet.

It would be great if you could try it :)
____________
:o
#

Page 1 , 2


Message Board > Competitions > unholy networking test

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!