Giter Club home page Giter Club logo

gameq's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gameq's Issues

Allow reserved ip addresses

Fix the hostname testing to allow 127.0.0.1 as well as 10.10 and 192.168. blocks. Filter has a check for these so use that.

IPV6 Support?

Are you going to add IPV6 support to GameQ?

With the recent news that Europe has hit the address limit - most countries aren't far off and the forced change might happen sooner than later.

Warning: Invalid CRT parameters detected

too many this messages
Warning: Invalid CRT parameters detected in C:\xampp\htdocs\amursk-portal.ru\game_stats\GameQ.php on line 771

I scan the list for about 30 local game servers, and query the state of the script, there are many this warnings

sory for my bad english

[ Query for the same type css, cscz, cs16 ]

Examples for Counter-Strike 1.6 (123.123.123.123:27015):

$servers[] = array("id" => "1", "type" => "css", "host" => "123.123.123.123:27015");
$servers[] = array("id" => "2", "type" => "cs16", "host" => "123.123.123.123:27015");

In this way it works:
$servers[] = array("id" => "1", "type" => "css", "host" => "123.123.123.123:27015");

This also works:
$servers[] = array("id" => "2", "type" => "cs16", "host" => "123.123.123.123:27015");

It works with any type.

How do I get the value $ data ['gamename'] and $ data ['steamid']?

These values ​​are in HLSW.

Querying Speed

Seems to be some speed issues when doing queries. If queries finish faster than the current setting for reading from the socket the section is still hung until the read timeout passes (currently 800000 us). Need to speed this up to match the results from v1 without off-lining servers that are slow in responding.

KillingFloor

  1. The killingfloor protocol seems to be having some problems. I'm not sure what it is, but running from example.php (and replacing the server info) gives me some weird values for ping, maxplayers and playercount.
    maxplayers 1415933281
    ping 6647929
    playercount 1195789067
    Any idea what it is? Does the protocol need to be updated? Did I do something wrong?
  2. Fatal error: Uncaught exception 'GameQException' with message 'length OOB' in C:\xampp\htdocs\gameq\gameq\buffer.php:106 Stack trace: #0 C:\xampp\htdocs\gameq\gameq\buffer.php(223): GameQ_Buffer->read(114) # 1 C:\xampp\htdocs\gameq\gameq\protocols\unreal2.php(127): GameQ_Buffer->readPascalString(1) # 2 [internal function]: GameQ_Protocols_Unreal2->process_details() # 3 C:\xampp\htdocs\gameq\gameq\protocols\core.php(547): call_user_func_array(Array, Array) # 4 C:\xampp\htdocs\gameq\GameQ.php(452): GameQ_Protocols_Core->processResponse() # 5 C:\xampp\htdocs\gameq\GameQ.php(434): GameQ->filterResponse(Object(GameQ_Protocols_Killingfloor)) # 6 C:\xampp\htdocs\gameq\examples\index.php(39): GameQ->requestData() # 7 {main} thrown in C:\xampp\htdocs\gameq\gameq\buffer.php on line 106
    This only happens when querying the following server: 198.143.169.182:7708. The querying worked fine for this in v1.
  3. Warning: Invalid CRT parameters detected in C:\xampp\htdocs\gameq\GameQ.php on line 771
    This happens when querying anything.

TeamSpeak 3 - server down

When add the two servers TimSpik 3, at 20 second data request, the server hangs after a short interval of time

CoD MW3 TeknoGod server not work

CoD MW3 TeknoGod server is not ansvers from any ports
net_query = Port 55100
net_port = 27016
net_authPort 8766
net_masterServerPort = 27017

GameQ not getting correct data.

Im trying to use the gameQ library to get my gameserver status, however, it does not work properly. Before i downloaded V2 it pretty much worked (i didnt notice v2 at first) but now it will only give me TF2 server status. It doesnt matter which game i try, it always returns TF2.

servers = $this->config->item('gameservers'); $this->games = array('l4d2', 'css', 'csgo'); $this->instance = new GameQ(); } ``` public function getServers($online = true){ $servers = array(); $count = 0; ``` foreach($this->servers AS $gameserver){ foreach($this->games AS $key => $game){ $servers[] = array('id' => $count, 'type' => $game, 'host' => $gameserver); $count++; } } $this->instance->addServers($servers); $this->instance->setOption('timeout', 4); // Seconds $this->instance->setFilter('normalise'); $this->instance->setOption('debug', TRUE); $data = $this->instance->requestData(); return $data; } ``` ?>

The result from the $servers array looks like this:

array(3) { ["id"]=> int(0) ["type"]=> string(4) "l4d2" ["host"]=> string(14) "109.201.136.66" } [1]=> array(3) { ["id"]=> int(1) ["type"]=> string(3) "css" ["host"]=> string(14) "109.201.136.66" } [2]=> array(3) { ["id"]=> int(2) ["type"]=> string(4) "csgo" ["host"]=> string(14) "109.201.136.66" } [3]=> array(3) { ["id"]=> int(3) ["type"]=> string(4) "l4d2" ["host"]=> string(14) "109.201.136.67" } [4]=> array(3) { ["id"]=> int(4) ["type"]=> string(3) "css" ["host"]=> string(14) "109.201.136.67" } [5]=> array(3) { ["id"]=> int(5) ["type"]=> string(4) "csgo" ["host"]=> string(14) "109.201.136.67" } [6]=> array(3) { ["id"]=> int(6) ["type"]=> string(4) "l4d2" ["host"]=> string(14) "109.201.136.68" } [7]=> array(3) { ["id"]=> int(7) ["type"]=> string(3) "css" ["host"]=> string(14) "109.201.136.68" } [8]=> array(3) { ["id"]=> int(8) ["type"]=> string(4) "csgo" ["host"]=> string(14) "109.201.136.68" } } ?>

This is my output array of gameserver data:

array(139) { ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(13) "Team Fortress" ["game_dir"]=> string(2) "tf" ["gq_address"]=> string(14) "109.201.136.66" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["gq_mapname"]=> string(11) "cp_dustbowl" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(2) "tf" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "l4d2" ["hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["map"]=> string(11) "cp_dustbowl" ["max_players"]=> int(20) ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_friendlyfire"]=> string(1) "0" ["mp_highlander"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_tournament_stopwatch"]=> string(1) "1" ["mp_weaponstay"]=> string(1) "0" ["mp_windifference"]=> string(1) "0" ["mp_windifference_min"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(108) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["steamappid"]=> int(440) ["sv_accelerate"]=> string(2) "10" ["sv_airaccelerate"]=> string(2) "10" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_registration_message"]=> string(20) "No account specified" ["sv_registration_successful"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(3) "100" ["sv_tags"]=> string(2) "cp" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_allow_player_use"]=> string(1) "0" ["tf_arena_change_limit"]=> string(1) "1" ["tf_arena_first_blood"]=> string(1) "1" ["tf_arena_force_class"]=> string(1) "0" ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_override_cap_enable_time"]=> string(2) "-1" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tf_birthday"]=> string(1) "0" ["tf_bot_count"]=> string(1) "0" ["tf_ctf_bonus_time"]=> string(2) "10" ["tf_damage_disablespread"]=> string(1) "0" ["tf_force_holidays_off"]=> string(1) "0" ["tf_gamemode_arena"]=> string(1) "0" ["tf_gamemode_cp"]=> string(1) "1" ["tf_gamemode_ctf"]=> string(1) "0" ["tf_gamemode_mvm"]=> string(1) "0" ["tf_gamemode_payload"]=> string(1) "0" ["tf_gamemode_sd"]=> string(1) "0" ["tf_max_charge_speed"]=> string(3) "750" ["tf_maxspeed"]=> string(3) "400" ["tf_medieval"]=> string(1) "0" ["tf_medieval_autorp"]=> string(1) "1" ["tf_mm_servermode"]=> string(1) "0" ["tf_mm_strict"]=> string(1) "0" ["tf_mm_trusted"]=> string(1) "0" ["tf_mvm_death_penalty"]=> string(1) "0" ["tf_mvm_min_players_to_start"]=> string(1) "3" ["tf_overtime_nag"]=> string(1) "0" ["tf_playergib"]=> string(1) "1" ["tf_server_identity_disable_quickplay"]=> string(1) "0" ["tf_teamtalk"]=> string(1) "0" ["tf_use_fixed_weaponspreads"]=> string(1) "0" ["tf_weapon_criticals"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [1]=> array(139) { ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(13) "Team Fortress" ["game_dir"]=> string(2) "tf" ["gq_address"]=> string(14) "109.201.136.66" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["gq_mapname"]=> string(11) "cp_dustbowl" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(2) "tf" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(3) "css" ["hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["map"]=> string(11) "cp_dustbowl" ["max_players"]=> int(20) ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_friendlyfire"]=> string(1) "0" ["mp_highlander"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_tournament_stopwatch"]=> string(1) "1" ["mp_weaponstay"]=> string(1) "0" ["mp_windifference"]=> string(1) "0" ["mp_windifference_min"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(108) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["steamappid"]=> int(440) ["sv_accelerate"]=> string(2) "10" ["sv_airaccelerate"]=> string(2) "10" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_registration_message"]=> string(20) "No account specified" ["sv_registration_successful"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(3) "100" ["sv_tags"]=> string(2) "cp" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_allow_player_use"]=> string(1) "0" ["tf_arena_change_limit"]=> string(1) "1" ["tf_arena_first_blood"]=> string(1) "1" ["tf_arena_force_class"]=> string(1) "0" ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_override_cap_enable_time"]=> string(2) "-1" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tf_birthday"]=> string(1) "0" ["tf_bot_count"]=> string(1) "0" ["tf_ctf_bonus_time"]=> string(2) "10" ["tf_damage_disablespread"]=> string(1) "0" ["tf_force_holidays_off"]=> string(1) "0" ["tf_gamemode_arena"]=> string(1) "0" ["tf_gamemode_cp"]=> string(1) "1" ["tf_gamemode_ctf"]=> string(1) "0" ["tf_gamemode_mvm"]=> string(1) "0" ["tf_gamemode_payload"]=> string(1) "0" ["tf_gamemode_sd"]=> string(1) "0" ["tf_max_charge_speed"]=> string(3) "750" ["tf_maxspeed"]=> string(3) "400" ["tf_medieval"]=> string(1) "0" ["tf_medieval_autorp"]=> string(1) "1" ["tf_mm_servermode"]=> string(1) "0" ["tf_mm_strict"]=> string(1) "0" ["tf_mm_trusted"]=> string(1) "0" ["tf_mvm_death_penalty"]=> string(1) "0" ["tf_mvm_min_players_to_start"]=> string(1) "3" ["tf_overtime_nag"]=> string(1) "0" ["tf_playergib"]=> string(1) "1" ["tf_server_identity_disable_quickplay"]=> string(1) "0" ["tf_teamtalk"]=> string(1) "0" ["tf_use_fixed_weaponspreads"]=> string(1) "0" ["tf_weapon_criticals"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [2]=> array(139) { ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(13) "Team Fortress" ["game_dir"]=> string(2) "tf" ["gq_address"]=> string(14) "109.201.136.66" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["gq_mapname"]=> string(11) "cp_dustbowl" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(2) "tf" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "csgo" ["hostname"]=> string(36) "[Nforce.com]NFOrce Gaming TF2 Server" ["map"]=> string(11) "cp_dustbowl" ["max_players"]=> int(20) ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_friendlyfire"]=> string(1) "0" ["mp_highlander"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_tournament_stopwatch"]=> string(1) "1" ["mp_weaponstay"]=> string(1) "0" ["mp_windifference"]=> string(1) "0" ["mp_windifference_min"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(108) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["steamappid"]=> int(440) ["sv_accelerate"]=> string(2) "10" ["sv_airaccelerate"]=> string(2) "10" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_registration_message"]=> string(20) "No account specified" ["sv_registration_successful"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(3) "100" ["sv_tags"]=> string(2) "cp" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_allow_player_use"]=> string(1) "0" ["tf_arena_change_limit"]=> string(1) "1" ["tf_arena_first_blood"]=> string(1) "1" ["tf_arena_force_class"]=> string(1) "0" ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_override_cap_enable_time"]=> string(2) "-1" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tf_birthday"]=> string(1) "0" ["tf_bot_count"]=> string(1) "0" ["tf_ctf_bonus_time"]=> string(2) "10" ["tf_damage_disablespread"]=> string(1) "0" ["tf_force_holidays_off"]=> string(1) "0" ["tf_gamemode_arena"]=> string(1) "0" ["tf_gamemode_cp"]=> string(1) "1" ["tf_gamemode_ctf"]=> string(1) "0" ["tf_gamemode_mvm"]=> string(1) "0" ["tf_gamemode_payload"]=> string(1) "0" ["tf_gamemode_sd"]=> string(1) "0" ["tf_max_charge_speed"]=> string(3) "750" ["tf_maxspeed"]=> string(3) "400" ["tf_medieval"]=> string(1) "0" ["tf_medieval_autorp"]=> string(1) "1" ["tf_mm_servermode"]=> string(1) "0" ["tf_mm_strict"]=> string(1) "0" ["tf_mm_trusted"]=> string(1) "0" ["tf_mvm_death_penalty"]=> string(1) "0" ["tf_mvm_min_players_to_start"]=> string(1) "3" ["tf_overtime_nag"]=> string(1) "0" ["tf_playergib"]=> string(1) "1" ["tf_server_identity_disable_quickplay"]=> string(1) "0" ["tf_teamtalk"]=> string(1) "0" ["tf_use_fixed_weaponspreads"]=> string(1) "0" ["tf_weapon_criticals"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [3]=> array(119) { ["bot_quota"]=> string(1) "0" ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(22) "Counter-Strike: Source" ["game_dir"]=> string(7) "cstrike" ["gq_address"]=> string(14) "109.201.136.67" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["gq_mapname"]=> string(7) "de_dust" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(7) "cstrike" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "l4d2" ["hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["map"]=> string(7) "de_dust" ["max_players"]=> int(20) ["metamod_version"]=> string(6) "1.8.7V" ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_c4timer"]=> string(2) "45" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_freezetime"]=> string(1) "6" ["mp_friendlyfire"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_hostagepenalty"]=> string(1) "5" ["mp_limitteams"]=> string(1) "2" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_roundtime"]=> string(1) "5" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_startmoney"]=> string(3) "800" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_weaponstay"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(88) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["sm_advertisements_version"]=> string(5) "0.5.5" ["sm_nextmap"]=> string(8) "de_dust2" ["sm_quakesounds_version"]=> string(3) "1.8" ["sourcemod_version"]=> string(5) "1.4.4" ["steamappid"]=> int(240) ["sv_accelerate"]=> string(1) "5" ["sv_airaccelerate"]=> string(2) "10" ["sv_allowminmodels"]=> string(1) "1" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_competitive_minspec"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_enableboost"]=> string(1) "0" ["sv_enablebunnyhopping"]=> string(1) "0" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_nostats"]=> string(1) "0" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(2) "75" ["sv_tags"]=> string(0) "" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [4]=> array(119) { ["bot_quota"]=> string(1) "0" ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(22) "Counter-Strike: Source" ["game_dir"]=> string(7) "cstrike" ["gq_address"]=> string(14) "109.201.136.67" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["gq_mapname"]=> string(7) "de_dust" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(7) "cstrike" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(3) "css" ["hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["map"]=> string(7) "de_dust" ["max_players"]=> int(20) ["metamod_version"]=> string(6) "1.8.7V" ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_c4timer"]=> string(2) "45" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_freezetime"]=> string(1) "6" ["mp_friendlyfire"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_hostagepenalty"]=> string(1) "5" ["mp_limitteams"]=> string(1) "2" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_roundtime"]=> string(1) "5" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_startmoney"]=> string(3) "800" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_weaponstay"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(88) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["sm_advertisements_version"]=> string(5) "0.5.5" ["sm_nextmap"]=> string(8) "de_dust2" ["sm_quakesounds_version"]=> string(3) "1.8" ["sourcemod_version"]=> string(5) "1.4.4" ["steamappid"]=> int(240) ["sv_accelerate"]=> string(1) "5" ["sv_airaccelerate"]=> string(2) "10" ["sv_allowminmodels"]=> string(1) "1" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_competitive_minspec"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_enableboost"]=> string(1) "0" ["sv_enablebunnyhopping"]=> string(1) "0" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_nostats"]=> string(1) "0" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(2) "75" ["sv_tags"]=> string(0) "" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [5]=> array(119) { ["bot_quota"]=> string(1) "0" ["coop"]=> string(1) "0" ["deathmatch"]=> string(1) "1" ["decalfrequency"]=> string(2) "10" ["dedicated"]=> string(1) "d" ["game_descr"]=> string(22) "Counter-Strike: Source" ["game_dir"]=> string(7) "cstrike" ["gq_address"]=> string(14) "109.201.136.67" ["gq_dedicated"]=> string(1) "d" ["gq_gametype"]=> bool(false) ["gq_hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["gq_mapname"]=> string(7) "de_dust" ["gq_maxplayers"]=> int(20) ["gq_mod"]=> string(7) "cstrike" ["gq_numplayers"]=> int(0) ["gq_online"]=> bool(true) ["gq_password"]=> int(0) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "csgo" ["hostname"]=> string(50) "[NFOrce.com] Public 1 - SODStatsme/Dust+Dust2 only" ["map"]=> string(7) "de_dust" ["max_players"]=> int(20) ["metamod_version"]=> string(6) "1.8.7V" ["mp_allowNPCs"]=> string(1) "1" ["mp_autocrosshair"]=> string(1) "1" ["mp_autoteambalance"]=> string(1) "1" ["mp_c4timer"]=> string(2) "45" ["mp_disable_respawn_times"]=> string(1) "0" ["mp_fadetoblack"]=> string(1) "0" ["mp_falldamage"]=> string(1) "0" ["mp_flashlight"]=> string(1) "0" ["mp_footsteps"]=> string(1) "1" ["mp_forceautoteam"]=> string(1) "0" ["mp_forcerespawn"]=> string(1) "1" ["mp_fraglimit"]=> string(1) "0" ["mp_freezetime"]=> string(1) "6" ["mp_friendlyfire"]=> string(1) "0" ["mp_holiday_nogifts"]=> string(1) "0" ["mp_hostagepenalty"]=> string(1) "5" ["mp_limitteams"]=> string(1) "2" ["mp_match_end_at_timelimit"]=> string(1) "0" ["mp_maxrounds"]=> string(1) "0" ["mp_respawnwavetime"]=> string(4) "10.0" ["mp_roundtime"]=> string(1) "5" ["mp_scrambleteams_auto"]=> string(1) "1" ["mp_scrambleteams_auto_windifference"]=> string(1) "2" ["mp_stalemate_enable"]=> string(1) "0" ["mp_stalemate_meleeonly"]=> string(1) "0" ["mp_startmoney"]=> string(3) "800" ["mp_teamlist"]=> string(16) "hgrunt;scientist" ["mp_teamplay"]=> string(1) "0" ["mp_teams_unbalance_limit"]=> string(1) "1" ["mp_timelimit"]=> string(1) "0" ["mp_tournament"]=> string(1) "0" ["mp_weaponstay"]=> string(1) "0" ["mp_winlimit"]=> string(1) "0" ["nextlevel"]=> string(0) "" ["num_bots"]=> int(0) ["num_players"]=> int(0) ["num_rules"]=> int(88) ["os"]=> string(1) "l" ["password"]=> int(0) ["players"]=> array(0) { } ["protocol"]=> int(17) ["r_AirboatViewDampenDamp"]=> string(3) "1.0" ["r_AirboatViewDampenFreq"]=> string(3) "7.0" ["r_AirboatViewZHeight"]=> string(3) "0.0" ["r_JeepViewDampenDamp"]=> string(3) "1.0" ["r_JeepViewDampenFreq"]=> string(3) "7.0" ["r_JeepViewZHeight"]=> string(4) "10.0" ["r_VehicleViewDampen"]=> string(1) "1" ["secure"]=> int(1) ["sm_advertisements_version"]=> string(5) "0.5.5" ["sm_nextmap"]=> string(8) "de_dust2" ["sm_quakesounds_version"]=> string(3) "1.8" ["sourcemod_version"]=> string(5) "1.4.4" ["steamappid"]=> int(240) ["sv_accelerate"]=> string(1) "5" ["sv_airaccelerate"]=> string(2) "10" ["sv_allowminmodels"]=> string(1) "1" ["sv_alltalk"]=> string(1) "0" ["sv_bounce"]=> string(1) "0" ["sv_cheats"]=> string(1) "0" ["sv_competitive_minspec"]=> string(1) "0" ["sv_contact"]=> string(0) "" ["sv_enableboost"]=> string(1) "0" ["sv_enablebunnyhopping"]=> string(1) "0" ["sv_footsteps"]=> string(1) "1" ["sv_friction"]=> string(1) "4" ["sv_gravity"]=> string(3) "800" ["sv_maxspeed"]=> string(3) "320" ["sv_noclipaccelerate"]=> string(1) "5" ["sv_noclipspeed"]=> string(1) "5" ["sv_nostats"]=> string(1) "0" ["sv_password"]=> string(1) "0" ["sv_pausable"]=> string(1) "0" ["sv_rollangle"]=> string(1) "0" ["sv_rollspeed"]=> string(3) "200" ["sv_specaccelerate"]=> string(1) "5" ["sv_specnoclip"]=> string(1) "1" ["sv_specspeed"]=> string(1) "3" ["sv_steamgroup"]=> string(0) "" ["sv_stepsize"]=> string(2) "18" ["sv_stopspeed"]=> string(2) "75" ["sv_tags"]=> string(0) "" ["sv_voiceenable"]=> string(1) "1" ["sv_wateraccelerate"]=> string(2) "10" ["sv_waterfriction"]=> string(1) "1" ["teams"]=> array(0) { } ["tf_arena_max_streak"]=> string(1) "3" ["tf_arena_preround_time"]=> string(2) "10" ["tf_arena_round_time"]=> string(1) "0" ["tf_arena_use_queue"]=> string(1) "1" ["tv_enable"]=> string(1) "0" ["tv_password"]=> string(1) "0" ["tv_relaypassword"]=> string(1) "0" ["version"]=> int(49) } [6]=> array(16) { ["gq_address"]=> string(14) "109.201.136.68" ["gq_dedicated"]=> bool(false) ["gq_gametype"]=> bool(false) ["gq_hostname"]=> bool(false) ["gq_mapname"]=> bool(false) ["gq_maxplayers"]=> bool(false) ["gq_mod"]=> bool(false) ["gq_numplayers"]=> bool(false) ["gq_online"]=> bool(false) ["gq_password"]=> bool(false) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "l4d2" ["players"]=> array(0) { } ["teams"]=> array(0) { } } [7]=> array(16) { ["gq_address"]=> string(14) "109.201.136.68" ["gq_dedicated"]=> bool(false) ["gq_gametype"]=> bool(false) ["gq_hostname"]=> bool(false) ["gq_mapname"]=> bool(false) ["gq_maxplayers"]=> bool(false) ["gq_mod"]=> bool(false) ["gq_numplayers"]=> bool(false) ["gq_online"]=> bool(false) ["gq_password"]=> bool(false) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(3) "css" ["players"]=> array(0) { } ["teams"]=> array(0) { } } [8]=> array(16) { ["gq_address"]=> string(14) "109.201.136.68" ["gq_dedicated"]=> bool(false) ["gq_gametype"]=> bool(false) ["gq_hostname"]=> bool(false) ["gq_mapname"]=> bool(false) ["gq_maxplayers"]=> bool(false) ["gq_mod"]=> bool(false) ["gq_numplayers"]=> bool(false) ["gq_online"]=> bool(false) ["gq_password"]=> bool(false) ["gq_port"]=> int(27015) ["gq_protocol"]=> string(6) "source" ["gq_transport"]=> string(3) "udp" ["gq_type"]=> string(4) "csgo" ["players"]=> array(0) { } ["teams"]=> array(0) { } } } ?>

As you can see, the incorrect data is being shown.

Can't add more than 1 CSS server

Hi!
I'm having trouble with adding more than one CS:Source server.
When i'm added first CSS server, GameQ is working (monitoring, servers). But, when i'm added second CSS server, GameQ isn't working. I'm seeing just white page, no more.

i'm didn't have troubles with other servers, just with CSS. Help!

Stops working after some time, then gets back if queried frequently.

Hi Austing, it's Mikhail :)

All is working good, except one tiny issue. I don't even sure it's GameQ issue.

I have TS and Arma2 server queries on one simple page showing player list.

If I reload page with my query some few times during one minute then the queries somehow stop receiving replies. I mean connection is established but nothing else. Then in some 5-10 minutes all get's back and works perfectly. If reloads happen not frequent - works fine. If too fast, seems blocked or someting.

Can you guaess what can be the cause and how to deal with it?

P.s. I have only idea of building cache system and query data once in 5 mins by cron table.

Thanks in advance!

Generic Source Protocol

Source's A2S query system is used by every valve game/mod. Can you add a generic query called "source"? Using gmod or tf2, etc. is confusing for other games/mods.

Questions about supported games

I noticed a few things on the supported games list.

It says GameQ supports America's Army and America's Army 3, but what about America's Army 2 ?

What about Battlefield Bad Company 1, Call of Duty 4: Modern Warfare 1 and 2 and the other F.E.A.R versions (2, etc.) ?

Also, can you add a generic named query for "source". Makes it less confusing when dealing with multiple source servers.

P.S. Your script has totally saved me. I was looking for something that supported certain games and i not only found it in your script but got a lot more than i was planning on supporting. So i'll be donating once these issues are answered.

Arma 2 (Armed Assault 2) is broken

All arma 2 servers time out. I'm not sure if its a server issue (im testing against random gametracker servers) but ive tried around 20 and they all dont respond.

old halflife protocol

Please,
add the old halflife protocol for counter-strike 1.5 servers

thanks in advance

php 5.3 and gameq

Hi, i'm using the latest version of gameq, but it's running on php 5.3, some time ago in another hosting (with php 5.2) it work perfectly, but now my new hosting have only php 5.3 and some functions, as stream_socket_client(), and other updated with 5.3, sometimes give this error: PHP Warning: stream_socket_client(): failed to bind to '0:10002', system said: Address already in use in /home/*****/Austinb-GameQ/GameQ/Communicate.php on line 119. There are any updates for solve this problem? What you think?

Listening seems to take longer than it should

It appears that the listening side for the response is not closing properly (i.e. quickly). Need to test to verify but it appears that the listening loop runs for the entire timeout setting instead of using that to break the loop if a response takes too long.

Support for Minecraft?

Any plans to add minecraft support? Information on the minecraft protocol is at http://wiki.vg/Query

One major caveat you'll hit though (and most status scripts for minecraft suffer from this), when there's over 100 players on a server- the script times out when querying for the player list.

Gametracker was able get around this, but i have no idea how they did it.

CSS Players Bug

Hi! I have bug with CSS query. Wrong players count.
Playing: 110/119, BUT REALLY 0/10 ! Please, tell me how i can fix it.

Sorry for my bad english.

rename classes from GameQ to GameQ2

Since GameQ V2 does not yet have all the support of GameQ1 is there any way you can rename your classes to GameQ2 so we can use both v1 and v2?

Currently its not possible to use both v1 and v2 in the same script (looping over and over) - it causes issues.

If you renamed the classes we could use both versions at the same time and would help a lot.

thanks!

CS:GO can be added. its working

Hi,

I didnt knew if i should open a new issue but i only want to confirm that CS:GO is working perfectly with the GameQ Source engine.

Code:

class GameQ_Protocols_Csgo extends GameQ_Protocols_Source
{
protected $name = "csgo";
protected $name_long = "Counter-Strike: Global Offensive";
}

I'm running 8 Servers and all are working!

Thank you

Just some misspelling

The name for all Armed Assault protocols is misspelled (the long name is correct).

Just change it from "armedassualt" to "armedassault".

php 5.2 supported

hi again 2 questions here

  1. php 5.2 is now working ok - the site says requires 5.3 still - any plan to change that?

  2. do you have paypal donations setup?

AA3 query

After new 3.2 version of AA3 GameQ stopped working.
I have tested this GameQ 2 version but so far I have not got it to work (with plain game server ip and with different query ports).
Only info what I get is that "The server did not respond within the specified time.".

I tested server ports and they should be open but before I contact to my server provider, I'd like to know if someone got this to work .

Minecraft not working

Hi,

thanks for this Library!

I have a Bug with minecraft.
I enabled the query on the server but i get this bug:

Fatal error: Uncaught exception 'GameQException' with message 'length OOB' in /var/www/web5/html/interface/system/gameq/buffer.php:106 Stack trace: #0 /var/www/web5/html/interface/system/gameq/buffer.php(282): GameQ_Buffer->read(2) #1 /var/www/web5/html/interface/system/gameq/protocols/gamespy3.php(131): GameQ_Buffer->readInt16() #2 /var/www/web5/html/interface/system/gameq/protocols/gamespy3.php(203): GameQ_Protocols_Gamespy3->preProcess_all(Array) #3 [internal function]: GameQ_Protocols_Gamespy3->process_all() #4 /var/www/web5/html/interface/system/gameq/protocols/core.php(547): call_user_func_array(Array, Array) #5 /var/www/web5/html/interface/system/GameQ.php(452): GameQ_Protocols_Core->processResponse() #6 /var/www/web5/html/interface/system/GameQ.php(434): GameQ->filterResponse(Object(GameQ_Protocols_Minecraft)) #7 /var/www/web5/html/interface/overview.php(60): GameQ->requestData() #8 /var/www/web5/html/interface/index.php(25): include('/var/www/web5/h...') #9 {main} thrown in /var/www/web5/html/interface/system/gameq/buffer.php on line 106

I am using Bukkit 1.2.5 R4

All other Games (ts3, css, tf2) are working! But when i add the Minecraft server, all is crashing.

Thank you!

TeamSpeak 3 query

I'm wondering why GameQ query 'spams' server.
It always send 3 connects at the same time to the server.
And there is always multiply connection lost.

TS Server Log
14.6.2012 12:46:04 VirtualServer Info query client connected 'Unknown from xx.xxx.xxx.xx:40240'(id:265)
14.6.2012 12:46:04 VirtualServer Info query client connected 'Unknown from xx.xxx.xxx.xx:55633'(id:265)
14.6.2012 12:46:04 VirtualServer Info query client connected 'Unknown from xx.xxx.xxx.xx:42125'(id:265)
14.6.2012 12:46:05 VirtualServer Info query client disconnected 'Unknown from xx.xxx.xxx.xx:40240'(id:265) reason 'reasonmsg=connection lost'
14.6.2012 12:46:05 VirtualServer Info query client disconnected 'Unknown from xx.xxx.xxx.xx:55633'(id:265) reason 'reasonmsg=connection lost'
14.6.2012 12:46:05 VirtualServer Info query client disconnected 'Unknown from xx.xxx.xxx.xx:42125'(id:265) reason 'reasonmsg=connection lost'

stripcolor filter

any way we can get that added to v2? v1 has it - pretty well needed for quake games.

good job on the updates btw :D testing php 5.2 on iis again, took out the exception for bzip2 and everything works!

going to keep testing

America's Army 3

America's Army 3 after update to version 3.2 does not work anymore!
Could you fix it?

P.S. Thank you for your good script

Bzip2 and zlib

Hey, ive seen in the requirements that these 2 are required, but iam planning to integrate this into a prooduct ( have it working )

On my test site i dont have bzip2 and zlib, i commented out the requirement check error.

Anything else i should comment out so it dont come to errors regarding this 2?
I assume it runs a lot slower without it?
anyway to speed it up without these 2?

So far iam having no issues beside speed with this great script and ips where the servers query port is different than the default games port / is not setup correctly.

Thank you,
Seb

UT3 Response not complete

It seems that the parsing side of the UT3 protocol is not complete. Needs to be rechecked from the ground up as there appear to be several bugs with what is being returned.

America's Army 3

Thank you very much, the script works! trying to get the ping player, but the result is displayed empty. How can this be solved? :(
Sorry for my bad english and thank you again! :)

Array ( [myserver] => Array ( [dedicated] => d [game_descr] => America's Army 3.2 (Leased Official) [game_dir] => aa3game [gq_address] => 194.153.116.38 [gq_dedicated] => d [gq_gametype] => [gq_hostname] => [Honor Server] [GerAES] Honor Server [gq_mapname] => Impact [gq_maxplayers] => 24 [gq_mod] => aa3game [gq_numplayers] => 23 [gq_online] => 1 [gq_password] => 0 [gq_port] => 27020 [gq_protocol] => source [gq_transport] => udp [gq_type] => aa3 [hostname] => [Honor Server] [GerAES] Honor Server [map] => Impact [max_players] => 24 [num_bots] => 0 [num_players] => 23 [os] => w [password] => 0 [players] => Array ( [0] => Array ( [id] => 0 [name] => Twister [score] => 2 [time] => 8436.8642578125 [gq_name] => Twister [gq_kills] => [gq_deaths] => [gq_score] => 2 [gq_ping] => ) [1] => Array ( [id] => 0 [name] => NolekMaster [score] => 1 [time] => 6725.2412109375 [gq_name] => NolekMaster [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [2] => Array ( [id] => 0 [name] => Ogorski [score] => 1 [time] => 6459.9638671875 [gq_name] => Ogorski [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [3] => Array ( [id] => 0 [name] => SkinniNorris [score] => 1 [time] => 6267.1665039062 [gq_name] => SkinniNorris [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [4] => Array ( [id] => 0 [name] => beornot [score] => -1 [time] => 5421.5874023438 [gq_name] => beornot [gq_kills] => [gq_deaths] => [gq_score] => -1 [gq_ping] => ) [5] => Array ( [id] => 0 [name] => GermanPunk [score] => 3 [time] => 5290.0268554688 [gq_name] => GermanPunk [gq_kills] => [gq_deaths] => [gq_score] => 3 [gq_ping] => ) [6] => Array ( [id] => 0 [name] => VonNikon [score] => 0 [time] => 5089.6806640625 [gq_name] => VonNikon [gq_kills] => [gq_deaths] => [gq_score] => 0 [gq_ping] => ) [7] => Array ( [id] => 0 [name] => drndadoo [score] => 0 [time] => 4731.8994140625 [gq_name] => drndadoo [gq_kills] => [gq_deaths] => [gq_score] => 0 [gq_ping] => ) [8] => Array ( [id] => 0 [name] => Talovej [score] => 2 [time] => 4705.25 [gq_name] => Talovej [gq_kills] => [gq_deaths] => [gq_score] => 2 [gq_ping] => ) [9] => Array ( [id] => 0 [name] => ^HeaT^Susi [score] => 10 [time] => 4238.6284179688 [gq_name] => ^HeaT^Susi [gq_kills] => [gq_deaths] => [gq_score] => 10 [gq_ping] => ) [10] => Array ( [id] => 0 [name] => skautorion_o [score] => 1 [time] => 3261.9279785156 [gq_name] => skautorion_o [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [11] => Array ( [id] => 0 [name] => TheBraveBaboon [score] => 8 [time] => 2763.8830566406 [gq_name] => TheBraveBaboon [gq_kills] => [gq_deaths] => [gq_score] => 8 [gq_ping] => ) [12] => Array ( [id] => 0 [name] => DonSchufro [score] => -2 [time] => 2525.7119140625 [gq_name] => DonSchufro [gq_kills] => [gq_deaths] => [gq_score] => -2 [gq_ping] => ) [13] => Array ( [id] => 0 [name] => .stoffe [score] => -1 [time] => 1982.8968505859 [gq_name] => .stoffe [gq_kills] => [gq_deaths] => [gq_score] => -1 [gq_ping] => ) [14] => Array ( [id] => 0 [name] => rats._mug [score] => 0 [time] => 1530.8377685547 [gq_name] => rats._mug [gq_kills] => [gq_deaths] => [gq_score] => 0 [gq_ping] => ) [15] => Array ( [id] => 0 [name] => Restrepo [score] => 1 [time] => 1357.4569091797 [gq_name] => Restrepo [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [16] => Array ( [id] => 0 [name] => ColonelMustard [score] => 1 [time] => 906.70642089844 [gq_name] => ColonelMustard [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [17] => Array ( [id] => 0 [name] => B1elhen77 [score] => 1 [time] => 607.86871337891 [gq_name] => B1elhen77 [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [18] => Array ( [id] => 0 [name] => Wilson [score] => -1 [time] => 506.59957885742 [gq_name] => Wilson [gq_kills] => [gq_deaths] => [gq_score] => -1 [gq_ping] => ) [19] => Array ( [id] => 0 [name] => Kobra [score] => 1 [time] => 468.66540527344 [gq_name] => Kobra [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [20] => Array ( [id] => 0 [name] => _.die[+]now. [score] => -1 [time] => 401.94650268555 [gqname] => _.die[+]now. [gq_kills] => [gq_deaths] => [gq_score] => -1 [gq_ping] => ) [21] => Array ( [id] => 0 [name] => ^JABOL [score] => 1 [time] => 298.3020324707 [gq_name] => ^JABOL [gq_kills] => [gq_deaths] => [gq_score] => 1 [gq_ping] => ) [22] => Array ( [id] => 0 [name] => CahiR [score] => 0 [time] => 71.590293884277 [gq_name] => CahiR [gq_kills] => [gq_deaths] => [gq_score] => 0 [gq_ping] => ) ) [protocol] => 7 [secure] => 1 [steamappid] => 13140 [teams] => Array ( ) [version] => 49 ) )

teamspeak 2 support

we're looking to finally upgrade to gameq2 as its now supporting several important fixes over gameq1 - but there is no ts2 support.

I cant mix gameq1 and 2 in the same script so it has to be either-or

any interest in getting ts2 supported?

gamespy code not working?

I try the type code of gamespy, gamespy2, gamespy3 but none work - sorry if I am missing something simple.

$gcode="gamespy2";
$fip="xxxxx";
$fport="12200";

$servers = array(array('id' => 'server', 'type' => $gcode, 'host' => $fip.":".$fport));

Change GameQException to an option & add sub-exception handling

For multiple servers when trying to make a call and something fails it throws an exception and causes it to die where the error happens instead of continuing on.

Solution should be as follows:

  1. Make throwing of GameQException optional (except where requirements are necessary i.e. php includes).
  2. Make a secondary exception handler for just the protocol side of the GameQ system that can be caught internally (and externally) and will allow the server requestData loop to continue after setting the rest of the information from the throwing method as an empty array. Name: GameQProtocolException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.