steam-condenser 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/Gemfile.lock +21 -13
- data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +15 -17
- data/doc/A2S_INFO_Packet.html +5 -6
- data/doc/A2S_PLAYER_Packet.html +8 -9
- data/doc/A2S_RULES_Packet.html +8 -9
- data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +5 -6
- data/doc/AbstractL4DStats.html +130 -155
- data/doc/AbstractL4DWeapon.html +26 -49
- data/doc/AlienSwarmMission.html +69 -84
- data/doc/AlienSwarmStats.html +134 -142
- data/doc/AlienSwarmWeapon.html +23 -28
- data/doc/AppNews.html +56 -69
- data/doc/C2M_CHECKMD5_Packet.html +8 -10
- data/doc/CSSMap.html +28 -35
- data/doc/CSSStats.html +94 -101
- data/doc/CSSWeapon.html +34 -42
- data/doc/Cacheable.html +51 -59
- data/doc/Cacheable/ClassMethods.html +36 -42
- data/doc/DefenseGridStats.html +154 -179
- data/doc/DoDSClass.html +50 -62
- data/doc/DoDSStats.html +25 -28
- data/doc/DoDSWeapon.html +29 -36
- data/doc/Dota2BetaInventory.html +7 -10
- data/doc/Dota2Inventory.html +7 -10
- data/doc/Dota2Item.html +9 -11
- data/doc/GameAchievement.html +51 -62
- data/doc/GameClass.html +8 -10
- data/doc/GameInventory.html +92 -106
- data/doc/GameItem.html +93 -129
- data/doc/GameItemSchema.html +84 -97
- data/doc/GameLeaderboard.html +111 -132
- data/doc/GameLeaderboardEntry.html +20 -25
- data/doc/GameServer.html +188 -225
- data/doc/GameStats.html +91 -103
- data/doc/GameWeapon.html +19 -41
- data/doc/GoldSrcServer.html +19 -24
- data/doc/GoldSrcSocket.html +80 -85
- data/doc/L4D2Map.html +51 -58
- data/doc/L4D2Stats.html +101 -108
- data/doc/L4D2Weapon.html +15 -18
- data/doc/L4DExplosive.html +10 -12
- data/doc/L4DMap.html +38 -48
- data/doc/L4DStats.html +34 -37
- data/doc/L4DWeapon.html +6 -7
- data/doc/M2A_SERVER_BATCH_Packet.html +25 -27
- data/doc/M2C_ISVALIDMD5_Packet.html +10 -12
- data/doc/M2S_REQUESTRESTART_Packet.html +9 -11
- data/doc/MasterServer.html +75 -92
- data/doc/MasterServerSocket.html +11 -12
- data/doc/PacketFormatError.html +2 -2
- data/doc/Portal2Inventory.html +7 -10
- data/doc/Portal2Item.html +20 -25
- data/doc/Portal2Stats.html +9 -11
- data/doc/RCONAuthRequest.html +5 -6
- data/doc/RCONAuthResponse.html +5 -6
- data/doc/RCONBanError.html +5 -6
- data/doc/RCONExecRequest.html +5 -6
- data/doc/RCONExecResponse.html +8 -10
- data/doc/RCONGoldSrcRequest.html +8 -10
- data/doc/RCONGoldSrcResponse.html +8 -10
- data/doc/RCONNoAuthError.html +5 -6
- data/doc/RCONPacket.html +18 -42
- data/doc/RCONPacketFactory.html +18 -19
- data/doc/RCONSocket.html +37 -42
- data/doc/RCONTerminator.html +5 -6
- data/doc/RequestWithChallenge.html +5 -6
- data/doc/S2A_INFO2_Packet.html +52 -58
- data/doc/S2A_INFO_BasePacket.html +5 -6
- data/doc/S2A_INFO_DETAILED_Packet.html +41 -42
- data/doc/S2A_LOGSTRING_Packet.html +10 -12
- data/doc/S2A_PLAYER_Packet.html +20 -22
- data/doc/S2A_RULES_Packet.html +19 -21
- data/doc/S2C_CHALLENGE_Packet.html +9 -11
- data/doc/S2M_HEARTBEAT2_Packet.html +37 -40
- data/doc/Server.html +47 -71
- data/doc/SourceServer.html +55 -61
- data/doc/SourceSocket.html +48 -49
- data/doc/SteamCondenser.html +3 -4
- data/doc/SteamCondenser/Community.html +2 -2
- data/doc/SteamCondenser/Servers.html +2 -2
- data/doc/SteamCondenser/TimeoutError.html +5 -6
- data/doc/SteamCondenserError.html +9 -11
- data/doc/SteamGame.html +95 -113
- data/doc/SteamGroup.html +665 -155
- data/doc/SteamId.html +377 -418
- data/doc/SteamPacket.html +32 -71
- data/doc/SteamPacketFactory.html +58 -60
- data/doc/SteamPlayer.html +76 -93
- data/doc/SteamSocket.html +42 -65
- data/doc/StringIO.html +35 -40
- data/doc/TF2BetaInventory.html +7 -10
- data/doc/TF2Class.html +46 -57
- data/doc/TF2ClassFactory.html +16 -17
- data/doc/TF2Engineer.html +18 -22
- data/doc/TF2GoldenWrench.html +31 -38
- data/doc/TF2Inventory.html +7 -10
- data/doc/TF2Item.html +20 -25
- data/doc/TF2Medic.html +13 -16
- data/doc/TF2Sniper.html +9 -11
- data/doc/TF2Spy.html +18 -22
- data/doc/TF2Stats.html +35 -40
- data/doc/WebApi.html +53 -62
- data/doc/WebApiError.html +21 -22
- data/doc/XMLData.html +8 -9
- data/doc/_index.html +2 -2
- data/doc/file.CHANGELOG.html +3 -3
- data/doc/file.CONTRIBUTING.html +7 -7
- data/doc/file.LICENSE.html +3 -3
- data/doc/file.README.html +5 -5
- data/doc/frames.html +3 -6
- data/doc/index.html +5 -5
- data/doc/method_list.html +555 -519
- data/doc/top-level-namespace.html +2 -2
- data/lib/core_ext/stringio.rb +5 -3
- data/lib/steam-condenser/version.rb +1 -1
- data/lib/steam/community/steam_group.rb +48 -1
- data/lib/steam/community/steam_id.rb +1 -0
- data/pkg/steam-condenser-1.3.5/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.6/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +21 -13
- data/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +261 -231
- data/pkg/steam-condenser-1.3.7.gem +0 -0
- data/pkg/steam-condenser-1.3.7/CHANGELOG.md +233 -0
- data/pkg/steam-condenser-1.3.7/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.7/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/README.md +75 -0
- data/pkg/steam-condenser-1.3.7/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/doc/A2M_GET_SERVERS_BATCH2_Packet.html +424 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_INFO_Packet.html +259 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_PLAYER_Packet.html +294 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_RULES_Packet.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +260 -0
- data/pkg/steam-condenser-1.3.7/doc/AbstractL4DStats.html +998 -0
- data/pkg/steam-condenser-1.3.7/doc/AbstractL4DWeapon.html +726 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmMission.html +1540 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmStats.html +1004 -0
- data/pkg/steam-condenser-1.3.7/doc/AlienSwarmWeapon.html +635 -0
- data/pkg/steam-condenser-1.3.7/doc/AppNews.html +1428 -0
- data/pkg/steam-condenser-1.3.7/doc/C2M_CHECKMD5_Packet.html +340 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSMap.html +798 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSStats.html +859 -0
- data/pkg/steam-condenser-1.3.7/doc/CSSWeapon.html +880 -0
- data/pkg/steam-condenser-1.3.7/doc/Cacheable.html +903 -0
- data/pkg/steam-condenser-1.3.7/doc/Cacheable/ClassMethods.html +691 -0
- data/pkg/steam-condenser-1.3.7/doc/DefenseGridStats.html +2567 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSClass.html +1251 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSStats.html +516 -0
- data/pkg/steam-condenser-1.3.7/doc/DoDSWeapon.html +796 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2BetaInventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Dota2Item.html +386 -0
- data/pkg/steam-condenser-1.3.7/doc/GameAchievement.html +1244 -0
- data/pkg/steam-condenser-1.3.7/doc/GameClass.html +319 -0
- data/pkg/steam-condenser-1.3.7/doc/GameInventory.html +1455 -0
- data/pkg/steam-condenser-1.3.7/doc/GameItem.html +1864 -0
- data/pkg/steam-condenser-1.3.7/doc/GameItemSchema.html +1431 -0
- data/pkg/steam-condenser-1.3.7/doc/GameLeaderboard.html +1685 -0
- data/pkg/steam-condenser-1.3.7/doc/GameLeaderboardEntry.html +624 -0
- data/pkg/steam-condenser-1.3.7/doc/GameServer.html +2382 -0
- data/pkg/steam-condenser-1.3.7/doc/GameStats.html +1447 -0
- data/pkg/steam-condenser-1.3.7/doc/GameWeapon.html +585 -0
- data/pkg/steam-condenser-1.3.7/doc/GoldSrcServer.html +733 -0
- data/pkg/steam-condenser-1.3.7/doc/GoldSrcSocket.html +844 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Map.html +730 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Stats.html +979 -0
- data/pkg/steam-condenser-1.3.7/doc/L4D2Weapon.html +483 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DExplosive.html +372 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DMap.html +765 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DStats.html +560 -0
- data/pkg/steam-condenser-1.3.7/doc/L4DWeapon.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/M2A_SERVER_BATCH_Packet.html +428 -0
- data/pkg/steam-condenser-1.3.7/doc/M2C_ISVALIDMD5_Packet.html +381 -0
- data/pkg/steam-condenser-1.3.7/doc/M2S_REQUESTRESTART_Packet.html +380 -0
- data/pkg/steam-condenser-1.3.7/doc/MasterServer.html +1052 -0
- data/pkg/steam-condenser-1.3.7/doc/MasterServerSocket.html +294 -0
- data/pkg/steam-condenser-1.3.7/doc/PacketFormatError.html +173 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Item.html +597 -0
- data/pkg/steam-condenser-1.3.7/doc/Portal2Stats.html +398 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONAuthRequest.html +316 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONAuthResponse.html +304 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONBanError.html +251 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONExecRequest.html +316 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONExecResponse.html +404 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONGoldSrcRequest.html +361 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONGoldSrcResponse.html +365 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONNoAuthError.html +251 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONPacket.html +540 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONPacketFactory.html +299 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONSocket.html +691 -0
- data/pkg/steam-condenser-1.3.7/doc/RCONTerminator.html +303 -0
- data/pkg/steam-condenser-1.3.7/doc/RequestWithChallenge.html +232 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO2_Packet.html +410 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO_BasePacket.html +265 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_INFO_DETAILED_Packet.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_LOGSTRING_Packet.html +371 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_PLAYER_Packet.html +415 -0
- data/pkg/steam-condenser-1.3.7/doc/S2A_RULES_Packet.html +409 -0
- data/pkg/steam-condenser-1.3.7/doc/S2C_CHALLENGE_Packet.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/S2M_HEARTBEAT2_Packet.html +442 -0
- data/pkg/steam-condenser-1.3.7/doc/Server.html +850 -0
- data/pkg/steam-condenser-1.3.7/doc/SourceServer.html +887 -0
- data/pkg/steam-condenser-1.3.7/doc/SourceSocket.html +349 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser.html +154 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community.html +134 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AbstractL4DStats.html +1026 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AbstractL4DWeapon.html +749 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmMission.html +1557 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmStats.html +1013 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AlienSwarmWeapon.html +641 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/AppNews.html +1441 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSMap.html +805 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSStats.html +866 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/CSSWeapon.html +889 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Cacheable.html +911 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Cacheable/ClassMethods.html +695 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DefenseGridStats.html +2593 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSClass.html +1263 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSStats.html +520 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/DoDSWeapon.html +803 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2BetaInventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Item.html +388 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Dota2Match.html +505 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameAchievement.html +1100 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameClass.html +321 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameInventory.html +1469 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameItem.html +1900 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameItemSchema.html +1444 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameLeaderboard.html +1707 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameLeaderboardEntry.html +630 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStats.html +1461 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsSchema.html +771 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsValue.html +596 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameStatsValue/Instance.html +262 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/GameWeapon.html +608 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Map.html +737 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Stats.html +989 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4D2Weapon.html +486 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DExplosive.html +375 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DMap.html +775 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DStats.html +564 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/L4DWeapon.html +296 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Item.html +603 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/Portal2Stats.html +400 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamGame.html +1862 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamGroup.html +1018 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/SteamId.html +4430 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2BetaInventory.html +345 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Class.html +1186 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2ClassFactory.html +273 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Engineer.html +555 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2GoldenWrench.html +760 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Inventory.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Item.html +602 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Medic.html +463 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Sniper.html +372 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Spy.html +553 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/TF2Stats.html +728 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/UserStats.html +760 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/WebApi.html +1116 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Community/XMLData.html +274 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error.html +380 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/PacketFormat.html +173 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/RCONBan.html +253 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/RCONNoAuth.html +252 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/Timeout.html +254 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Error/WebApi.html +354 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Logging.html +616 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers.html +133 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/BaseServer.html +870 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/GameServer.html +2428 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/GoldSrcServer.html +738 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/MasterServer.html +819 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets.html +132 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2M_GET_SERVERS_BATCH2_Packet.html +427 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_INFO_Packet.html +260 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_PLAYER_Packet.html +295 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_RULES_Packet.html +296 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/BasePacket.html +462 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/M2A_SERVER_BATCH_Packet.html +430 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON.html +119 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/BasePacket.html +564 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthRequest.html +317 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONAuthResponse.html +305 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONExecRequest.html +317 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONExecResponse.html +406 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcRequest.html +363 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONGoldSrcResponse.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONPacketFactory.html +302 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RCON/RCONTerminator.html +304 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/RequestWithChallenge.html +233 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO2_Packet.html +416 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO_BasePacket.html +266 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_INFO_DETAILED_Packet.html +371 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_LOGSTRING_Packet.html +373 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_PLAYER_Packet.html +417 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2A_RULES_Packet.html +411 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/S2C_CHALLENGE_Packet.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Packets/SteamPacketFactory.html +532 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets.html +119 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/BaseSocket.html +733 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/GoldSrcSocket.html +862 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/MasterServerSocket.html +306 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/RCONSocket.html +709 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/Sockets/SourceSocket.html +367 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/SourceServer.html +892 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/Servers/SteamPlayer.html +1764 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenser/TimeoutError.html +253 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamCondenserError.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamGame.html +1932 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamGroup.html +1533 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamId.html +4258 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPacket.html +447 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPacketFactory.html +554 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamPlayer.html +1747 -0
- data/pkg/steam-condenser-1.3.7/doc/SteamSocket.html +702 -0
- data/pkg/steam-condenser-1.3.7/doc/StringIO.html +934 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2BetaInventory.html +327 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Class.html +1174 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2ClassFactory.html +272 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Engineer.html +551 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2GoldenWrench.html +753 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Inventory.html +351 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Item.html +597 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Medic.html +460 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Sniper.html +370 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Spy.html +549 -0
- data/pkg/steam-condenser-1.3.7/doc/TF2Stats.html +723 -0
- data/pkg/steam-condenser-1.3.7/doc/WebApi.html +1099 -0
- data/pkg/steam-condenser-1.3.7/doc/WebApiError.html +350 -0
- data/pkg/steam-condenser-1.3.7/doc/XMLData.html +273 -0
- data/pkg/steam-condenser-1.3.7/doc/_index.html +728 -0
- data/pkg/steam-condenser-1.3.7/doc/class_list.html +54 -0
- data/pkg/steam-condenser-1.3.7/doc/css/common.css +1 -0
- data/pkg/steam-condenser-1.3.7/doc/css/full_list.css +57 -0
- data/pkg/steam-condenser-1.3.7/doc/css/style.css +338 -0
- data/pkg/steam-condenser-1.3.7/doc/file.CHANGELOG.html +368 -0
- data/pkg/steam-condenser-1.3.7/doc/file.CONTRIBUTING.html +140 -0
- data/pkg/steam-condenser-1.3.7/doc/file.LICENSE.html +100 -0
- data/pkg/steam-condenser-1.3.7/doc/file.README.html +152 -0
- data/pkg/steam-condenser-1.3.7/doc/file_list.html +65 -0
- data/pkg/steam-condenser-1.3.7/doc/frames.html +25 -0
- data/pkg/steam-condenser-1.3.7/doc/index.html +152 -0
- data/pkg/steam-condenser-1.3.7/doc/js/app.js +214 -0
- data/pkg/steam-condenser-1.3.7/doc/js/full_list.js +178 -0
- data/pkg/steam-condenser-1.3.7/doc/js/jquery.js +4 -0
- data/pkg/steam-condenser-1.3.7/doc/method_list.html +3191 -0
- data/pkg/steam-condenser-1.3.7/doc/top-level-namespace.html +114 -0
- data/pkg/steam-condenser-1.3.7/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/steam_id.rb +495 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/web_api.rb +139 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/servers/source_server.rb +123 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/README.md +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_stats.rb +186 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_stats.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_item.rb +156 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard.rb +205 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_stats.rb +185 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_stats.rb +174 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/steam_id.rb +498 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/web_api.rb +130 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info2_packet.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_detailed_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet_factory.rb +108 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/game_server.rb +392 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/source_socket.rb +78 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_cacheable.rb +100 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/community/test_web_api.rb +98 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.5/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/CHANGELOG.md +228 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/CONTRIBUTING.md +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/README.md +75 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_mission.rb +120 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_stats.rb +140 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_item.rb +155 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard.rb +212 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_stats.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_stats.rb +179 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/steam_id.rb +495 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/web_api.rb +135 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info2_packet.rb +76 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_info_detailed_packet.rb +64 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/packets/steam_packet_factory.rb +113 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/game_server.rb +393 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/source_socket.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5.gem +0 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile +7 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Gemfile.lock +53 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/LICENSE +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/README.md +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/Rakefile +46 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/core_ext/stringio.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/packet_format_error.rb +13 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_ban_error.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/rcon_no_auth_error.rb +21 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/steam_condenser_error.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/timeout_error.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/errors/web_api_error.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser.rb +18 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/community.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/servers.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam-condenser/version.rb +11 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_stats.rb +186 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/app_news.rb +133 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/cacheable.rb +199 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_map.rb +61 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_stats.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/css/css_weapon.rb +69 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/defense_grid/defense_grid_stats.rb +238 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_class.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_stats.rb +62 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dods/dods_weapon.rb +67 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_beta_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/dota2/dota2_item.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_achievement.rb +109 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_class.rb +22 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_inventory.rb +171 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item.rb +156 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_item_schema.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard.rb +205 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_leaderboard_entry.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_stats.rb +175 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/game_weapon.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_stats.rb +185 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_map.rb +90 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_stats.rb +174 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_explosive.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_map.rb +65 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_stats.rb +73 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/l4d/l4d_weapon.rb +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/portal2/portal2_stats.rb +33 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_game.rb +193 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_group.rb +129 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/steam_id.rb +498 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_beta_inventory.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class.rb +92 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_engineer.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_inventory.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_item.rb +55 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_medic.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_sniper.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_spy.rb +41 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/tf2/tf2_stats.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/web_api.rb +130 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/community/xml_data.rb +27 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_info_packet.rb +24 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_player_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_rules_packet.rb +32 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/c2m_checkmd5_packet.rb +31 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet.rb +57 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/request_with_challenge.rb +19 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info2_packet.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_base_packet.rb +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_info_detailed_packet.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_logstring_packet.rb +30 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_player_packet.rb +44 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2a_rules_packet.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2c_challenge_packet.rb +35 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/s2m_heartbeat2_packet.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet.rb +52 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/packets/steam_packet_factory.rb +108 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/game_server.rb +392 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/goldsrc_server.rb +74 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/master_server.rb +188 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/server.rb +115 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/servers/source_server.rb +117 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/goldsrc_socket.rb +142 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/master_server_socket.rb +34 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/rcon_socket.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/source_socket.rb +78 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/sockets/steam_socket.rb +91 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/lib/steam/steam_player.rb +143 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/steam-condenser.gemspec +26 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_cacheable.rb +100 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/community/test_web_api.rb +98 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/pkg/steam-condenser-1.3.5/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/community/test_web_api.rb +111 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/servers/test_source_server.rb +134 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/pkg/steam-condenser-1.3.6/test/steam/sockets/test_steam_socket.rb +97 -0
- data/pkg/steam-condenser-1.3.7/steam-condenser.gemspec +25 -0
- data/pkg/steam-condenser-1.3.7/test/core_ext/test_stringio.rb +59 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/invalid.xml +2 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/sonofthor.xml +882 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/status_goldsrc +3 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/status_source +3 -0
- data/pkg/steam-condenser-1.3.7/test/fixtures/valve-members.xml +261 -0
- data/pkg/steam-condenser-1.3.7/test/helper.rb +48 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_cacheable.rb +103 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_steam_group.rb +83 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_steam_id.rb +144 -0
- data/pkg/steam-condenser-1.3.7/test/steam/community/test_web_api.rb +124 -0
- data/pkg/steam-condenser-1.3.7/test/steam/packets/test_steam_packet.rb +37 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_game_server.rb +296 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_goldsrc_server.rb +59 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_master_server.rb +131 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_server.rb +72 -0
- data/pkg/steam-condenser-1.3.7/test/steam/servers/test_source_server.rb +145 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_goldsrc_socket.rb +127 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_master_server_socket.rb +42 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_rcon_socket.rb +118 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_source_socket.rb +77 -0
- data/pkg/steam-condenser-1.3.7/test/steam/sockets/test_steam_socket.rb +97 -0
- data/test/fixtures/valve-members.xml +260 -230
- data/test/steam/community/test_steam_group.rb +19 -8
- metadata +840 -65
@@ -0,0 +1,74 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2008-2011, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'steam/servers/game_server'
|
7
|
+
require 'steam/servers/master_server'
|
8
|
+
require 'steam/sockets/goldsrc_socket'
|
9
|
+
|
10
|
+
# This class represents a GoldSrc game server and can be used to query
|
11
|
+
# information about and remotely execute commands via RCON on the server
|
12
|
+
#
|
13
|
+
# A GoldSrc game server is an instance of the Half-Life Dedicated Server (HLDS)
|
14
|
+
# running games using Valve's GoldSrc engine, like Half-Life Deathmatch,
|
15
|
+
# Counter-Strike 1.6 or Team Fortress Classic.
|
16
|
+
#
|
17
|
+
# @author Sebastian Staudt
|
18
|
+
# @see SourceServer
|
19
|
+
class GoldSrcServer
|
20
|
+
|
21
|
+
include GameServer
|
22
|
+
|
23
|
+
# Returns a master server instance for the default master server for GoldSrc
|
24
|
+
# games
|
25
|
+
#
|
26
|
+
# @return [MasterServer] The GoldSrc master server
|
27
|
+
def self.master
|
28
|
+
MasterServer.new *MasterServer::GOLDSRC_MASTER_SERVER
|
29
|
+
end
|
30
|
+
|
31
|
+
# Creates a new instance of a GoldSrc server object
|
32
|
+
#
|
33
|
+
# @param [String] address Either an IP address, a DNS name or one of them
|
34
|
+
# combined with the port number. If a port number is given, e.g.
|
35
|
+
# 'server.example.com:27016' it will override the second argument.
|
36
|
+
# @param [Fixnum] port The port the server is listening on
|
37
|
+
# @raise [SteamCondenserError] if an host name cannot be resolved
|
38
|
+
# @param [Boolean] is_hltv HLTV servers need special treatment, so this is
|
39
|
+
# used to determine if the server is a HLTV server
|
40
|
+
def initialize(address, port = 27015, is_hltv = false)
|
41
|
+
super address, port
|
42
|
+
|
43
|
+
@is_hltv = is_hltv
|
44
|
+
end
|
45
|
+
|
46
|
+
# Initializes the socket to communicate with the GoldSrc server
|
47
|
+
#
|
48
|
+
# @see GoldSrcSocket
|
49
|
+
def init_socket
|
50
|
+
@socket = GoldSrcSocket.new @ip_address, @port, @is_hltv
|
51
|
+
end
|
52
|
+
|
53
|
+
# Saves the password for authenticating the RCON communication with the
|
54
|
+
# server
|
55
|
+
#
|
56
|
+
# @param [String] password The RCON password of the server
|
57
|
+
# @return [true] GoldSrc's RCON does not preauthenticate connections so this
|
58
|
+
# method always returns `true`
|
59
|
+
# @see #rcon_exec
|
60
|
+
def rcon_auth(password)
|
61
|
+
@rcon_password = password
|
62
|
+
true
|
63
|
+
end
|
64
|
+
|
65
|
+
# Remotely executes a command on the server via RCON
|
66
|
+
#
|
67
|
+
# @param [String] command The command to execute on the server via RCON
|
68
|
+
# @return [String] The output of the executed command
|
69
|
+
# @see #rcon_auth
|
70
|
+
def rcon_exec(command)
|
71
|
+
@socket.rcon_exec(@rcon_password, command).strip
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,188 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2008-2011, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'errors/timeout_error'
|
7
|
+
require 'steam/packets/a2m_get_servers_batch2_packet'
|
8
|
+
require 'steam/packets/c2m_checkmd5_packet'
|
9
|
+
require 'steam/packets/s2m_heartbeat2_packet'
|
10
|
+
require 'steam/servers/server'
|
11
|
+
require 'steam/sockets/master_server_socket'
|
12
|
+
|
13
|
+
# This class represents a Steam master server and can be used to get game
|
14
|
+
# servers which are publicly available
|
15
|
+
#
|
16
|
+
# An intance of this class can be used much like Steam's server browser to get
|
17
|
+
# a list of available game servers, including filters to narrow down the search
|
18
|
+
# results.
|
19
|
+
#
|
20
|
+
# @author Sebastian Staudt
|
21
|
+
class MasterServer
|
22
|
+
|
23
|
+
include Server
|
24
|
+
|
25
|
+
# The default number of allowed retries
|
26
|
+
@@retries = 3
|
27
|
+
|
28
|
+
# The master server address to query for GoldSrc game servers
|
29
|
+
GOLDSRC_MASTER_SERVER = 'hl1master.steampowered.com', 27011
|
30
|
+
|
31
|
+
# The master server address to query for Source game servers
|
32
|
+
SOURCE_MASTER_SERVER = 'hl2master.steampowered.com', 27011
|
33
|
+
|
34
|
+
# The region code for the US east coast
|
35
|
+
REGION_US_EAST_COAST = 0x00
|
36
|
+
|
37
|
+
# The region code for the US west coast
|
38
|
+
REGION_US_WEST_COAST = 0x01
|
39
|
+
|
40
|
+
# The region code for South America
|
41
|
+
REGION_SOUTH_AMERICA = 0x02
|
42
|
+
|
43
|
+
# The region code for Europe
|
44
|
+
REGION_EUROPE = 0x03
|
45
|
+
|
46
|
+
# The region code for Asia
|
47
|
+
REGION_ASIA = 0x04
|
48
|
+
|
49
|
+
# The region code for Australia
|
50
|
+
REGION_AUSTRALIA = 0x05
|
51
|
+
|
52
|
+
# The region code for the Middle East
|
53
|
+
REGION_MIDDLE_EAST = 0x06
|
54
|
+
|
55
|
+
# The region code for Africa
|
56
|
+
REGION_AFRICA = 0x07
|
57
|
+
|
58
|
+
# The region code for the whole world
|
59
|
+
REGION_ALL = 0xFF
|
60
|
+
|
61
|
+
# Sets the number of consecutive requests that may fail, before getting
|
62
|
+
# the server list is cancelled (default: 3)
|
63
|
+
#
|
64
|
+
# @param [Fixnum] retries The number of allowed retries
|
65
|
+
def self.retries=(retries)
|
66
|
+
@@retries = retries
|
67
|
+
end
|
68
|
+
|
69
|
+
# Request a challenge number from the master server.
|
70
|
+
#
|
71
|
+
# This is used for further communication with the master server.
|
72
|
+
#
|
73
|
+
# @deprecated
|
74
|
+
# @note Please note that this is **not** needed for finding servers using
|
75
|
+
# {#servers}.
|
76
|
+
# @return [Fixnum] The challenge number from the master server
|
77
|
+
# @see #send_heartbeat
|
78
|
+
def challenge
|
79
|
+
failsafe do
|
80
|
+
@socket.send C2M_CHECKMD5_Packet.new
|
81
|
+
@socket.reply.challenge
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# Initializes the socket to communicate with the master server
|
86
|
+
#
|
87
|
+
# @see MasterServerSocket
|
88
|
+
def init_socket
|
89
|
+
@socket = MasterServerSocket.new @ip_address, @port
|
90
|
+
end
|
91
|
+
|
92
|
+
# Returns a list of game server matching the given region and filters
|
93
|
+
#
|
94
|
+
# Filtering:
|
95
|
+
# Instead of filtering the results sent by the master server locally, you
|
96
|
+
# should at least use the following filters to narrow down the results sent
|
97
|
+
# by the master server.
|
98
|
+
#
|
99
|
+
# Available filters:
|
100
|
+
#
|
101
|
+
# * `\type\d`: Request only dedicated servers
|
102
|
+
# * `\secure\1`: Request only secure servers
|
103
|
+
# * `\gamedir\[mod]`: Request only servers of a specific mod
|
104
|
+
# * `\map\[mapname]`: Request only servers running a specific map
|
105
|
+
# * `\linux\1`: Request only linux servers
|
106
|
+
# * `\emtpy\1`: Request only **non**-empty servers
|
107
|
+
# * `\full\1`: Request only servers **not** full
|
108
|
+
# * `\proxy\1`: Request only spectator proxy servers
|
109
|
+
#
|
110
|
+
# @note Receiving all servers from the master server is taking quite some
|
111
|
+
# time.
|
112
|
+
# @param [Fixnum] region_code The region code to specify a location of the
|
113
|
+
# game servers
|
114
|
+
# @param [String] filters The filters that game servers should match
|
115
|
+
# @param [Boolean] force Return a list of servers even if an error occured
|
116
|
+
# while fetching them from the master server
|
117
|
+
# @raise [SteamCondenser::TimeoutError] if too many timeouts occur while
|
118
|
+
# querying the master server
|
119
|
+
# @return [Array<Array<String>>] A list of game servers matching the given
|
120
|
+
# region and filters
|
121
|
+
# @see A2M_GET_SERVERS_BATCH2_Packet
|
122
|
+
# @see MasterServer.retries=
|
123
|
+
def servers(region_code = MasterServer::REGION_ALL, filters = '', force = false)
|
124
|
+
finished = false
|
125
|
+
current_server = '0.0.0.0:0'
|
126
|
+
server_array = []
|
127
|
+
|
128
|
+
begin
|
129
|
+
failsafe do
|
130
|
+
fail_count = 0
|
131
|
+
begin
|
132
|
+
@socket.send A2M_GET_SERVERS_BATCH2_Packet.new(region_code, current_server, filters)
|
133
|
+
begin
|
134
|
+
servers = @socket.reply.servers
|
135
|
+
servers.each do |server|
|
136
|
+
if server == '0.0.0.0:0'
|
137
|
+
finished = true
|
138
|
+
else
|
139
|
+
current_server = server
|
140
|
+
server_array << server.split(':')
|
141
|
+
end
|
142
|
+
end
|
143
|
+
fail_count = 0
|
144
|
+
rescue SteamCondenser::TimeoutError
|
145
|
+
raise $! if (fail_count += 1) == @@retries
|
146
|
+
if $DEBUG
|
147
|
+
puts "Request to master server #@ip_address timed out, retrying..."
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end while !finished
|
151
|
+
end
|
152
|
+
rescue SteamCondenser::TimeoutError
|
153
|
+
raise $! unless force
|
154
|
+
end
|
155
|
+
|
156
|
+
server_array
|
157
|
+
end
|
158
|
+
|
159
|
+
# Sends a constructed heartbeat to the master server
|
160
|
+
#
|
161
|
+
# This can be used to check server versions externally.
|
162
|
+
#
|
163
|
+
# @deprecated
|
164
|
+
# @param [Hash<Symbol, Object>] data The data to send with the heartbeat
|
165
|
+
# request
|
166
|
+
# @raise [SteamCondenserError] if heartbeat data is missing the
|
167
|
+
# challenge number or the reply cannot be parsed
|
168
|
+
# @return [Array<SteamPacket>] Zero or more reply packets from the server.
|
169
|
+
# Zero means either the heartbeat was accepted by the master or there
|
170
|
+
# was a timeout. So usually it's best to repeat a heartbeat a few
|
171
|
+
# times when not receiving any packets.
|
172
|
+
# @see S2M_HEARTBEAT2_Packet
|
173
|
+
def send_heartbeat(data)
|
174
|
+
reply_packets = []
|
175
|
+
|
176
|
+
failsafe do
|
177
|
+
@socket.send S2M_HEARTBEAT2_Packet.new(data)
|
178
|
+
|
179
|
+
begin
|
180
|
+
loop { reply_packets << @socket.reply }
|
181
|
+
rescue SteamCondenser::TimeoutError
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
reply_packets
|
186
|
+
end
|
187
|
+
|
188
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2011-2012, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'socket'
|
7
|
+
|
8
|
+
# This module is included by all classes implementing server functionality
|
9
|
+
#
|
10
|
+
# It provides basic name resolution features and the ability to rotate between
|
11
|
+
# different IP addresses belonging to a single DNS name.
|
12
|
+
#
|
13
|
+
# @author Sebastian Staudt
|
14
|
+
module Server
|
15
|
+
|
16
|
+
# Returns a list of host names associated with this server
|
17
|
+
#
|
18
|
+
# @return [Array<String>] The host names of this server
|
19
|
+
attr_reader :host_names
|
20
|
+
|
21
|
+
# Returns a list of IP addresses associated with this server
|
22
|
+
#
|
23
|
+
# @return [Array<String>] The IP addresses of this server
|
24
|
+
attr_reader :ip_addresses
|
25
|
+
|
26
|
+
# Creates a new server instance with the given address and port
|
27
|
+
#
|
28
|
+
# @param [String] address Either an IP address, a DNS name or one of them
|
29
|
+
# combined with the port number. If a port number is given, e.g.
|
30
|
+
# 'server.example.com:27016' it will override the second argument.
|
31
|
+
# @param [Fixnum] port The port the server is listening on
|
32
|
+
# @see init_socket
|
33
|
+
# @raise [SteamCondenserError] if an host name cannot be resolved
|
34
|
+
def initialize(address, port = nil)
|
35
|
+
address = address.to_s
|
36
|
+
address, port = address.split(':', 2) if address.include? ':'
|
37
|
+
|
38
|
+
@host_names = []
|
39
|
+
@ip_addresses = []
|
40
|
+
@ip_index = 0
|
41
|
+
@port = port
|
42
|
+
|
43
|
+
Socket.getaddrinfo(address, port, Socket::AF_INET, Socket::SOCK_DGRAM).
|
44
|
+
each do |address|
|
45
|
+
@host_names << address[2]
|
46
|
+
@ip_addresses << address[3]
|
47
|
+
end
|
48
|
+
|
49
|
+
@ip_address = @ip_addresses.first
|
50
|
+
|
51
|
+
init_socket
|
52
|
+
end
|
53
|
+
|
54
|
+
|
55
|
+
# Disconnect the connections to this server
|
56
|
+
#
|
57
|
+
# @note In the base implementation this does nothing, only connection-based
|
58
|
+
# communication channels have to be disconnected.
|
59
|
+
def disconnect
|
60
|
+
end
|
61
|
+
|
62
|
+
# Rotate this server's IP address to the next one in the IP list
|
63
|
+
#
|
64
|
+
# If this method returns `true`, it indicates that all IP addresses have been
|
65
|
+
# used, hinting at the server(s) being unreachable. An appropriate action
|
66
|
+
# should be taken to inform the user.
|
67
|
+
#
|
68
|
+
# Servers with only one IP address will always cause this method to return
|
69
|
+
# `true` and the sockets will not be reinitialized.
|
70
|
+
#
|
71
|
+
# @return [Boolean] `true`, if the IP list reached its end. If the list
|
72
|
+
# contains only one IP address, this method will instantly return
|
73
|
+
# `true`
|
74
|
+
# @see #init_socket
|
75
|
+
def rotate_ip
|
76
|
+
return true if @ip_addresses.size == 1
|
77
|
+
|
78
|
+
@ip_index = (@ip_index + 1) % @ip_addresses.size
|
79
|
+
@ip_address = @ip_addresses[@ip_index]
|
80
|
+
|
81
|
+
init_socket
|
82
|
+
|
83
|
+
@ip_index == 0
|
84
|
+
end
|
85
|
+
|
86
|
+
protected
|
87
|
+
|
88
|
+
# Execute an action in the context of this server's current IP address
|
89
|
+
#
|
90
|
+
# Any failure will cause the IP to rotate to the next IP in the server's IP
|
91
|
+
# list and the execution will be repeated for the next IP address. If the IP
|
92
|
+
# rotation reaches the end of the list, the error will be reraised.
|
93
|
+
#
|
94
|
+
# @param [Proc] proc The action to be executed in a failsafe way
|
95
|
+
# @see #rotate_ip
|
96
|
+
def failsafe(&proc)
|
97
|
+
begin
|
98
|
+
proc.call
|
99
|
+
rescue
|
100
|
+
raise $! if rotate_ip
|
101
|
+
if $DEBUG
|
102
|
+
puts "Request failed, retrying for #@ip_address..."
|
103
|
+
end
|
104
|
+
failsafe &proc
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# Initializes the socket(s) to communicate with the server
|
109
|
+
#
|
110
|
+
# @abstract Must be implemented in including classes to prepare sockets for
|
111
|
+
# server communication
|
112
|
+
def init_socket
|
113
|
+
end
|
114
|
+
|
115
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# This code is free software; you can redistribute it and/or modify it under
|
2
|
+
# the terms of the new BSD License.
|
3
|
+
#
|
4
|
+
# Copyright (c) 2008-2013, Sebastian Staudt
|
5
|
+
|
6
|
+
require 'errors/rcon_no_auth_error'
|
7
|
+
require 'steam/packets/rcon/rcon_auth_request'
|
8
|
+
require 'steam/packets/rcon/rcon_auth_response'
|
9
|
+
require 'steam/packets/rcon/rcon_exec_request'
|
10
|
+
require 'steam/packets/rcon/rcon_terminator'
|
11
|
+
require 'steam/servers/game_server'
|
12
|
+
require 'steam/servers/master_server'
|
13
|
+
require 'steam/sockets/rcon_socket'
|
14
|
+
require 'steam/sockets/source_socket'
|
15
|
+
|
16
|
+
# This class represents a Source game server and can be used to query
|
17
|
+
# information about and remotely execute commands via RCON on the server
|
18
|
+
#
|
19
|
+
# A Source game server is an instance of the Source Dedicated Server (SrcDS)
|
20
|
+
# running games using Valve's Source engine, like Counter-Strike: Source,
|
21
|
+
# Team Fortress 2 or Left4Dead.
|
22
|
+
#
|
23
|
+
# @author Sebastian Staudt
|
24
|
+
# @see GoldSrcServer
|
25
|
+
class SourceServer
|
26
|
+
|
27
|
+
include GameServer
|
28
|
+
|
29
|
+
# Returns a master server instance for the default master server for Source
|
30
|
+
# games
|
31
|
+
#
|
32
|
+
# @return [MasterServer] The Source master server
|
33
|
+
def self.master
|
34
|
+
MasterServer.new *MasterServer::SOURCE_MASTER_SERVER
|
35
|
+
end
|
36
|
+
|
37
|
+
# Creates a new instance of a server object representing a Source server,
|
38
|
+
# i.e. SrcDS instance
|
39
|
+
#
|
40
|
+
# @param [String] address Either an IP address, a DNS name or one of them
|
41
|
+
# combined with the port number. If a port number is given, e.g.
|
42
|
+
# 'server.example.com:27016' it will override the second argument.
|
43
|
+
# @param [Fixnum] port The port the server is listening on
|
44
|
+
# @raise [SteamCondenserError] if an host name cannot be resolved
|
45
|
+
def initialize(address, port = 27015)
|
46
|
+
super
|
47
|
+
end
|
48
|
+
|
49
|
+
# Disconnects the TCP-based channel used for RCON commands
|
50
|
+
#
|
51
|
+
# @see RCONSocket#close
|
52
|
+
def disconnect
|
53
|
+
@rcon_socket.close
|
54
|
+
end
|
55
|
+
|
56
|
+
# Initializes the sockets to communicate with the Source server
|
57
|
+
#
|
58
|
+
# @see RCONSocket
|
59
|
+
# @see SourceSocket
|
60
|
+
def init_socket
|
61
|
+
@rcon_socket = RCONSocket.new @ip_address, @port
|
62
|
+
@socket = SourceSocket.new @ip_address, @port
|
63
|
+
end
|
64
|
+
|
65
|
+
# Authenticates the connection for RCON communication with the server
|
66
|
+
#
|
67
|
+
# @param [String] password The RCON password of the server
|
68
|
+
# @return [Boolean] whether authentication was successful
|
69
|
+
# @see #rcon_authenticated?
|
70
|
+
# @see #rcon_exec
|
71
|
+
def rcon_auth(password)
|
72
|
+
@rcon_request_id = rand 2**16
|
73
|
+
|
74
|
+
@rcon_socket.send RCONAuthRequest.new @rcon_request_id, password
|
75
|
+
|
76
|
+
begin
|
77
|
+
@rcon_socket.reply
|
78
|
+
reply = @rcon_socket.reply
|
79
|
+
@rcon_authenticated = reply.request_id == @rcon_request_id
|
80
|
+
rescue Errno::ECONNRESET
|
81
|
+
raise RCONBanError
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# Remotely executes a command on the server via RCON
|
86
|
+
#
|
87
|
+
# @param [String] command The command to execute on the server via RCON
|
88
|
+
# @return [String] The output of the executed command
|
89
|
+
# @raise [RCONBanException] if the IP of the local machine has been banned on
|
90
|
+
# the game server
|
91
|
+
# @raise [RCONNoAuthException] if not authenticated with the server
|
92
|
+
# @see #rcon_auth
|
93
|
+
def rcon_exec(command)
|
94
|
+
raise RCONNoAuthError unless @rcon_authenticated
|
95
|
+
|
96
|
+
@rcon_socket.send RCONExecRequest.new(@rcon_request_id, command)
|
97
|
+
|
98
|
+
is_multi = false
|
99
|
+
response = []
|
100
|
+
begin
|
101
|
+
begin
|
102
|
+
response_packet = @rcon_socket.reply
|
103
|
+
|
104
|
+
if response_packet.is_a? RCONAuthResponse
|
105
|
+
@rcon_authenticated = false
|
106
|
+
raise RCONNoAuthError
|
107
|
+
end
|
108
|
+
|
109
|
+
if !is_multi && response_packet.response.size > 0
|
110
|
+
is_multi = true
|
111
|
+
@rcon_socket.send RCONTerminator.new(@rcon_request_id)
|
112
|
+
end
|
113
|
+
rescue Errno::ECONNRESET
|
114
|
+
@rcon_authenticated = false
|
115
|
+
raise RCONNoAuthError
|
116
|
+
end
|
117
|
+
response << response_packet.response
|
118
|
+
end while is_multi && !(response[-2] == '' && response[-1] == '')
|
119
|
+
|
120
|
+
response.join('').strip
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|