Page 1 of 1

Doom2 server query

Posted: Sat Mar 16, 2013 5:55 pm
by jarrodatt
Hello,

Sorry if this is in wrong area, I was wondering if you or someone could do a tut on php querying a doom2 server as I can't figure it out I have been doing some tut from this site its a wonderful learning tool for me at least.

The biggest issue is that I can't get the socket to do anything UDP 10666 and up

Any help please.

note: I've tried what php.net suggest but i get this error:

Warning: stream_socket_server(): unable to connect to udp://127.0.0.1:10666 (An attempt was made to access a socket in a way forbidden by its access permissions. )

Re: Doom2 server query

Posted: Sat Mar 16, 2013 9:03 pm
by Helx
I moved this thread to the PHP sub-forum.

About your problem, I think that you need to open up that port from your router.
If you want to check if it's open, use this: http://www.yougetsignal.com/tools/open-ports/

Edit: Oh, but you're accessing it locally? That's odd...

Re: Doom2 server query

Posted: Sat Mar 16, 2013 9:25 pm
by jarrodatt
Yes i'm doing it locally, I run zandronum for server and yes ports are open on router and firewall.

i found this reference page of flags but dont know where to begin in using them:
http://wiki.zandronum.com/Launcher_protocol

I found a 3rd party app "LGSL" at http://www.greycube.com/site/news.php

But i'd prefer to do something a bit more simple kinda like the Minecraft query.

Re: Doom2 server query

Posted: Mon Mar 18, 2013 3:25 am
by Helx
I think you should just double check configurations, both on PHP and your server.

Re: Doom2 server query

Posted: Wed Mar 20, 2013 2:39 am
by jarrodatt
I've triple checked and all is ok but after 3 days of searching I,m getting closer here's what i have so far just basic:
http://bearlyconnected.com:81/serv_doom.php

Stupid udp ports.