Jump to content

Sappher

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Everything posted by Sappher

  1. I don't know PHP well enough, and eventhough I'd be an interesting process to dig deeper into GameQ I don't really have time either right now.. I did some debugging and it seems that at GameQ::sockets_listen(), it never reaches any data: [.....] // We had error or no streams left, kill the loop if($streams === FALSE || ($streams <= 0)) { echo 'Ending loop...'; $loop_active = FALSE; break; } // Loop the sockets that received data back foreach($read AS $socket) { echo 'Got data... <br>'; // See if we have a response if(($response = stream_socket_recvfrom($socket, 8192)) === FALSE) { echo 'Waiting for response...'; continue; // No response yet so lets continue. } [.....] It never enters the foreach -loop, and the 'Ending loop...' echo I added gets printed. But as I said, this is probably nothing, as I don't have time to dig deeper into the GameQ class at the moment sadly. Hopefully you can check it out when you have time, this could be really helpful! Thank you in advance!
  2. Thanks for the quick answer. But as I said in my post, I've tried with different types, including source: array( 'id' => 'CCG OverPoch EU 3', 'type' => 'source', 'host' => '37.187.154.231:2402' ) with no luck. Can you try if this server works for you? It's up and running at the moment.
  3. Does this still work? I tried it with a DayZ OverPoch server (37.187.154.231:2402) with following: array( 'id' => 'CCG OverPoch EU 3', 'type' => 'armedassault2oa', 'host' => '37.187.154.231:2402' ) And it just says it's offline, eventhough the server is up and running. I've tried different types from 'source' to 'armedassault2' etc. Also tried other servers, disabled my firewall... Running this on Windows 7, with WAMP server. var_dump gives: array (size=17) 'gq_address' => string '37.187.154.231' (length=14) 'gq_dedicated' => boolean false 'gq_gametype' => boolean false 'gq_hostname' => boolean false 'gq_joinlink' => string 'steam://connect/37.187.154.231:2402/' (length=36) 'gq_mapname' => boolean false 'gq_maxplayers' => boolean false 'gq_mod' => boolean false 'gq_numplayers' => boolean false 'gq_online' => boolean false 'gq_password' => boolean false 'gq_port' => string '2402' (length=4) 'gq_protocol' => string 'source' (length=6) 'gq_transport' => string 'udp' (length=3) 'gq_type' => string 'armedassault2oa' (length=15) 'players' => array (size=0) empty 'teams' => array (size=0) empty
×