Doom2 server query

Ask about a PHP problem here.
Post Reply
jarrodatt
Posts: 13
Joined: Wed Sep 26, 2012 12:21 am

Doom2 server query

Post 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. )
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Doom2 server query

Post 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...
jarrodatt
Posts: 13
Joined: Wed Sep 26, 2012 12:21 am

Re: Doom2 server query

Post 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.
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Doom2 server query

Post by Helx »

I think you should just double check configurations, both on PHP and your server.
jarrodatt
Posts: 13
Joined: Wed Sep 26, 2012 12:21 am

Re: Doom2 server query

Post 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.
Post Reply