Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 19:45

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 65 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: AA3
PostPosted: 07 Jul 2009 17:22 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
if someone is interested to the complete list of AA3 server it's possible to use the method I described in a quick paper some days ago.
in the following link there are all the servers with their query ports:

https://api.getgsc.com/?command=get_gam ... mit=100000

hope it helps


Top
 Profile  
 
 
 Post subject: Re: AA3
PostPosted: 12 Jul 2009 11:35 

Joined: 08 Jul 2009 05:55
Posts: 12
I'm a lite bit confused in this post:
musikit wrote:
got player info

basically
fieldnameplayerid fieldvalue

playerName21 leuri
playerSoldierName21 [MG]-Perses-
playerVersion21 3.0.0
playerServerIpAddress21 94.75.230.200
playerMapName21 94.75.230.200
playerClassRole21 T0F0R3
playerEnemyNeutralizedScore21 0
playerEnemySecuredScore21 0
playerExperience21 0
playerFireTeamIndex21 0
playerFlagFireteamLeader21 0
playerFlagSpectator21 0
playerFlagSquadLeader21 0
playerIpAddress21 XXX.XXX.XXX.XXX //ip address player connected from x'd out because i do kind like people sometimes
playerLeaderScore21 0
playerMedicScore21 0
playerObjectiveScore21 320
playerPing21 21
playerScore21 320
playerScoreShotsFired21 0
playerScoreShotsHit21 0
playerServerMapName21 Alley_day_cloudy
playerTeam21 Gold Team
playerTeamIndex21 1
playerTimePlayed21 62


there is a lot of playerinfo, but in i nerver get any of this detailed playerinfo on every server i query. Here is an example queryresult from a server with 29 players, can you tell me what am i doing wrong?

Code:
00000000h: 0E 00 61 74 74 72 69 62 75 74 65 4E 61 6D 65 73 ; ..attributeNames
00000010h: 07 B6 00 0E 00 73 65 72 76 65 72 56 65 72 73 69 ; .??...serverVersi
00000020h: 6F 6E 00 10 00 73 65 72 76 65 72 49 70 41 64 64 ; on...serverIpAdd
00000030h: 72 65 73 73 00 0F 00 73 65 72 76 65 72 48 6F 73 ; ress...serverHos
00000040h: 74 50 6F 72 74 00 10 00 73 65 72 76 65 72 51 75 ; tPort...serverQu
00000050h: 65 72 79 50 6F 72 74 00 12 00 73 65 72 76 65 72 ; eryPort...server
00000060h: 50 6C 61 79 65 72 43 6F 75 6E 74 00 10 00 73 65 ; PlayerCount...se
00000070h: 72 76 65 72 4C 6F 67 69 6E 4E 61 6D 65 00 10 00 ; rverLoginName...
00000080h: 73 65 72 76 65 72 41 64 6D 69 6E 45 6D 61 69 6C ; serverAdminEmail
00000090h: 0F 00 73 65 72 76 65 72 41 64 6D 69 6E 4E 61 6D ; ..serverAdminNam
000000a0h: 65 11 00 73 65 72 76 65 72 42 75 69 6C 64 4E 75 ; e..serverBuildNu
000000b0h: 6D 62 65 72 10 00 73 65 72 76 65 72 46 6C 61 67 ; mber..serverFlag
000000c0h: 43 68 65 61 74 73 0E 00 73 65 72 76 65 72 46 6C ; Cheats..serverFl
000000d0h: 61 67 43 6F 6F 70 16 00 73 65 72 76 65 72 46 6C ; agCoop..serverFl
000000e0h: 61 67 4C 65 61 73 65 64 53 65 72 76 65 72 18 00 ; agLeasedServer..
000000f0h: 73 65 72 76 65 72 46 6C 61 67 4F 66 66 69 63 69 ; serverFlagOffici
00000100h: 61 6C 53 65 72 76 65 72 12 00 73 65 72 76 65 72 ; alServer..server
00000110h: 46 6C 61 67 50 61 73 73 77 6F 72 64 14 00 73 65 ; FlagPassword..se
00000120h: 72 76 65 72 46 6C 61 67 50 75 6E 6B 62 75 73 74 ; rverFlagPunkbust
00000130h: 65 72 15 00 73 65 72 76 65 72 46 6C 61 67 53 69 ; er..serverFlagSi
00000140h: 6D 75 6E 69 74 69 6F 6E 73 0E 00 73 65 72 76 65 ; munitions..serve
00000150h: 72 46 6C 61 67 56 4F 49 50 0E 00 73 65 72 76 65 ; rFlagVOIP..serve
00000160h: 72 47 61 6D 65 4E 61 6D 65 0E 00 73 65 72 76 65 ; rGameName..serve
00000170h: 72 48 6F 73 74 4E 61 6D 65 15 00 73 65 72 76 65 ; rHostName..serve
00000180h: 72 48 6F 73 74 4E 61 6D 65 45 6E 63 6F 64 65 64 ; rHostNameEncoded
00000190h: 11 00 73 65 72 76 65 72 48 6F 73 74 57 65 62 73 ; ..serverHostWebs
000001a0h: 69 74 65 14 00 73 65 72 76 65 72 48 6F 73 74 69 ; ite..serverHosti
000001b0h: 6E 67 43 6F 6D 70 61 6E 79 0D 00 73 65 72 76 65 ; ngCompany..serve
000001c0h: 72 4D 61 70 4E 61 6D 65 19 00 73 65 72 76 65 72 ; rMapName..server
000001d0h: 4D 61 78 50 6C 61 79 65 72 45 78 70 65 72 69 65 ; MaxPlayerExperie
000001e0h: 6E 63 65 10 00 73 65 72 76 65 72 4D 61 78 50 6C ; nce..serverMaxPl
000001f0h: 61 79 65 72 73 13 00 73 65 72 76 65 72 4D 61 78 ; ayers..serverMax
00000200h: 53 70 65 63 74 61 74 6F 72 73 19 00 73 65 72 76 ; Spectators..serv
00000210h: 65 72 4D 69 6E 50 6C 61 79 65 72 45 78 70 65 72 ; erMinPlayerExper
00000220h: 69 65 6E 63 65 11 00 73 65 72 76 65 72 4D 69 73 ; ience..serverMis
00000230h: 73 69 6F 6E 53 69 7A 65 13 00 73 65 72 76 65 72 ; sionSize..server
00000240h: 4D 69 73 73 69 6F 6E 54 6F 75 72 49 44 11 00 73 ; MissionTourID..s
00000250h: 65 72 76 65 72 4D 69 73 73 69 6F 6E 54 79 70 65 ; erverMissionType
00000260h: 14 00 73 65 72 76 65 72 4D 69 73 73 69 6F 6E 56 ; ..serverMissionV
00000270h: 61 72 69 61 6E 74 15 00 73 65 72 76 65 72 4F 70 ; ariant..serverOp
00000280h: 65 72 61 74 69 6E 67 53 79 73 74 65 6D 1F 00 73 ; eratingSystem..s
00000290h: 65 72 76 65 72 51 75 61 6C 69 66 69 63 61 74 69 ; erverQualificati
000002a0h: 6F 6E 52 65 71 75 69 72 65 6D 65 6E 74 73 10 00 ; onRequirements..
000002b0h: 73 65 72 76 65 72 52 65 70 75 74 61 74 69 6F 6E ; serverReputation
000002c0h: 11 00 73 65 72 76 65 72 53 6B 69 6C 6C 52 61 74 ; ..serverSkillRat
000002d0h: 69 6E 67 10 00 73 65 72 76 65 72 53 70 65 63 74 ; ing..serverSpect
000002e0h: 61 74 6F 72 73 11 00 73 65 72 76 65 72 54 65 61 ; ators..serverTea
000002f0h: 6D 50 6C 61 79 65 72 73 0C 00 70 6C 61 79 65 72 ; mPlayers..player
00000300h: 4E 61 6D 65 30 00 13 00 70 6C 61 79 65 72 53 6F ; Name0...playerSo
00000310h: 6C 64 69 65 72 4E 61 6D 65 30 00 0F 00 70 6C 61 ; ldierName0...pla
00000320h: 79 65 72 56 65 72 73 69 6F 6E 30 00 17 00 70 6C ; yerVersion0...pl
00000330h: 61 79 65 72 53 65 72 76 65 72 49 70 41 64 64 72 ; ayerServerIpAddr
00000340h: 65 73 73 30 00 0F 00 70 6C 61 79 65 72 4D 61 70 ; ess0...playerMap
00000350h: 4E 61 6D 65 30 00 0C 00 70 6C 61 79 65 72 4E 61 ; Name0...playerNa
00000360h: 6D 65 31 00 13 00 70 6C 61 79 65 72 53 6F 6C 64 ; me1...playerSold
00000370h: 69 65 72 4E 61 6D 65 31 00 0F 00 70 6C 61 79 65 ; ierName1...playe
00000380h: 72 56 65 72 73 69 6F 6E 31 00 17 00 70 6C 61 79 ; rVersion1...play
00000390h: 65 72 53 65 72 76 65 72 49 70 41 64 64 72 65 73 ; erServerIpAddres
000003a0h: 73 31 00 0F 00 70 6C 61 79 65 72 4D 61 70 4E 61 ; s1...playerMapNa
000003b0h: 6D 65 31 00 0C 00 70 6C 61 79 65 72 4E 61 6D 65 ; me1...playerName
000003c0h: 32 00 13 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 ; 2...playerSoldie
000003d0h: 72 4E 61 6D 65 32 00 0F 00 70 6C 61 79 65 72 56 ; rName2...playerV
000003e0h: 65 72 73 69 6F 6E 32 00 17 00 70 6C 61 79 65 72 ; ersion2...player
000003f0h: 53 65 72 76 65 72 49 70 41 64 64 72 65 73 73 32 ; ServerIpAddress2
00000400h: 00 0F 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 ; ...playerMapName
00000410h: 32 00 0C 00 70 6C 61 79 65 72 4E 61 6D 65 33 00 ; 2...playerName3.
00000420h: 13 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E ; ..playerSoldierN
00000430h: 61 6D 65 33 00 0F 00 70 6C 61 79 65 72 56 65 72 ; ame3...playerVer
00000440h: 73 69 6F 6E 33 00 17 00 70 6C 61 79 65 72 53 65 ; sion3...playerSe
00000450h: 72 76 65 72 49 70 41 64 64 72 65 73 73 33 00 0F ; rverIpAddress3..
00000460h: 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 33 00 ; .playerMapName3.
00000470h: 0C 00 70 6C 61 79 65 72 4E 61 6D 65 34 00 13 00 ; ..playerName4...
00000480h: 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D ; playerSoldierNam
00000490h: 65 34 00 0F 00 70 6C 61 79 65 72 56 65 72 73 69 ; e4...playerVersi
000004a0h: 6F 6E 34 00 17 00 70 6C 61 79 65 72 53 65 72 76 ; on4...playerServ
000004b0h: 65 72 49 70 41 64 64 72 65 73 73 34 00 0F 00 70 ; erIpAddress4...p
000004c0h: 6C 61 79 65 72 4D 61 70 4E 61 6D 65 34 00 0C 00 ; layerMapName4...
000004d0h: 70 6C 61 79 65 72 4E 61 6D 65 35 00 13 00 70 6C ; playerName5...pl
000004e0h: 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 35 ; ayerSoldierName5
000004f0h: 00 0F 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E ; ...playerVersion
00000500h: 35 00 17 00 70 6C 61 79 65 72 53 65 72 76 65 72 ; 5...playerServer
00000510h: 49 70 41 64 64 72 65 73 73 35 00 0F 00 70 6C 61 ; IpAddress5...pla
00000520h: 79 65 72 4D 61 70 4E 61 6D 65 35 00 0C 00 70 6C ; yerMapName5...pl
00000530h: 61 79 65 72 4E 61 6D 65 36 00 13 00 70 6C 61 79 ; ayerName6...play
00000540h: 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 36 00 0F ; erSoldierName6..
00000550h: 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E 36 00 ; .playerVersion6.
00000560h: 17 00 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 ; ..playerServerIp
00000570h: 41 64 64 72 65 73 73 36 00 0F 00 70 6C 61 79 65 ; Address6...playe
00000580h: 72 4D 61 70 4E 61 6D 65 36 00 0C 00 70 6C 61 79 ; rMapName6...play
00000590h: 65 72 4E 61 6D 65 37 00 13 00 70 6C 61 79 65 72 ; erName7...player
000005a0h: 53 6F 6C 64 69 65 72 4E 61 6D 65 37 00 0F 00 70 ; SoldierName7...p
000005b0h: 6C 61 79 65 72 56 65 72 73 69 6F 6E 37 00 17 00 ; layerVersion7...
000005c0h: 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 41 64 ; playerServerIpAd
000005d0h: 64 72 65 73 73 37 00 0F 00 70 6C 61 79 65 72 4D ; dress7...playerM
000005e0h: 61 70 4E 61 6D 65 37 00 0C 00 70 6C 61 79 65 72 ; apName7...player
000005f0h: 4E 61 6D 65 38 00 13 00 70 6C 61 79 65 72 53 6F ; Name8...playerSo
00000600h: 6C 64 69 65 72 4E 61 6D 65 38 00 0F 00 70 6C 61 ; ldierName8...pla
00000610h: 79 65 72 56 65 72 73 69 6F 6E 38 00 17 00 70 6C ; yerVersion8...pl
00000620h: 61 79 65 72 53 65 72 76 65 72 49 70 41 64 64 72 ; ayerServerIpAddr
00000630h: 65 73 73 38 00 0F 00 70 6C 61 79 65 72 4D 61 70 ; ess8...playerMap
00000640h: 4E 61 6D 65 38 00 0C 00 70 6C 61 79 65 72 4E 61 ; Name8...playerNa
00000650h: 6D 65 39 00 13 00 70 6C 61 79 65 72 53 6F 6C 64 ; me9...playerSold
00000660h: 69 65 72 4E 61 6D 65 39 00 0F 00 70 6C 61 79 65 ; ierName9...playe
00000670h: 72 56 65 72 73 69 6F 6E 39 00 17 00 70 6C 61 79 ; rVersion9...play
00000680h: 65 72 53 65 72 76 65 72 49 70 41 64 64 72 65 73 ; erServerIpAddres
00000690h: 73 39 00 0F 00 70 6C 61 79 65 72 4D 61 70 4E 61 ; s9...playerMapNa
000006a0h: 6D 65 39 00 0D 00 70 6C 61 79 65 72 4E 61 6D 65 ; me9...playerName
000006b0h: 31 30 00 14 00 70 6C 61 79 65 72 53 6F 6C 64 69 ; 10...playerSoldi
000006c0h: 65 72 4E 61 6D 65 31 30 00 10 00 70 6C 61 79 65 ; erName10...playe
000006d0h: 72 56 65 72 73 69 6F 6E 31 30 00 18 00 70 6C 61 ; rVersion10...pla
000006e0h: 79 65 72 53 65 72 76 65 72 49 70 41 64 64 72 65 ; yerServerIpAddre
000006f0h: 73 73 31 30 00 10 00 70 6C 61 79 65 72 4D 61 70 ; ss10...playerMap
00000700h: 4E 61 6D 65 31 30 00 0D 00 70 6C 61 79 65 72 4E ; Name10...playerN
00000710h: 61 6D 65 31 31 00 14 00 70 6C 61 79 65 72 53 6F ; ame11...playerSo
00000720h: 6C 64 69 65 72 4E 61 6D 65 31 31 00 10 00 70 6C ; ldierName11...pl
00000730h: 61 79 65 72 56 65 72 73 69 6F 6E 31 31 00 18 00 ; ayerVersion11...
00000740h: 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 41 64 ; playerServerIpAd
00000750h: 64 72 65 73 73 31 31 00 10 00 70 6C 61 79 65 72 ; dress11...player
00000760h: 4D 61 70 4E 61 6D 65 31 31 00 0D 00 70 6C 61 79 ; MapName11...play
00000770h: 65 72 4E 61 6D 65 31 32 00 14 00 70 6C 61 79 65 ; erName12...playe
00000780h: 72 53 6F 6C 64 69 65 72 4E 61 6D 65 31 32 00 10 ; rSoldierName12..
00000790h: 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E 31 32 ; .playerVersion12
000007a0h: 00 18 00 70 6C 61 79 65 72 53 65 72 76 65 72 49 ; ...playerServerI
000007b0h: 70 41 64 64 72 65 73 73 31 32 00 10 00 70 6C 61 ; pAddress12...pla
000007c0h: 79 65 72 4D 61 70 4E 61 6D 65 31 32 00 0D 00 70 ; yerMapName12...p
000007d0h: 6C 61 79 65 72 4E 61 6D 65 31 33 00 14 00 70 6C ; layerName13...pl
000007e0h: 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 31 ; ayerSoldierName1
000007f0h: 33 00 10 00 70 6C 61 79 65 72 56 65 72 73 69 6F ; 3...playerVersio
00000800h: 6E 31 33 00 18 00 70 6C 61 79 65 72 53 65 72 76 ; n13...playerServ
00000810h: 65 72 49 70 41 64 64 72 65 73 73 31 33 00 10 00 ; erIpAddress13...
00000820h: 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 31 33 00 ; playerMapName13.
00000830h: 0D 00 70 6C 61 79 65 72 4E 61 6D 65 31 34 00 14 ; ..playerName14..
00000840h: 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 ; .playerSoldierNa
00000850h: 6D 65 31 34 00 10 00 70 6C 61 79 65 72 56 65 72 ; me14...playerVer
00000860h: 73 69 6F 6E 31 34 00 18 00 70 6C 61 79 65 72 53 ; sion14...playerS
00000870h: 65 72 76 65 72 49 70 41 64 64 72 65 73 73 31 34 ; erverIpAddress14
00000880h: 00 10 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 ; ...playerMapName
00000890h: 31 34 00 0D 00 70 6C 61 79 65 72 4E 61 6D 65 31 ; 14...playerName1
000008a0h: 35 00 14 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 ; 5...playerSoldie
000008b0h: 72 4E 61 6D 65 31 35 00 10 00 70 6C 61 79 65 72 ; rName15...player
000008c0h: 56 65 72 73 69 6F 6E 31 35 00 18 00 70 6C 61 79 ; Version15...play
000008d0h: 65 72 53 65 72 76 65 72 49 70 41 64 64 72 65 73 ; erServerIpAddres
000008e0h: 73 31 35 00 10 00 70 6C 61 79 65 72 4D 61 70 4E ; s15...playerMapN
000008f0h: 61 6D 65 31 35 00 0D 00 70 6C 61 79 65 72 4E 61 ; ame15...playerNa
00000900h: 6D 65 31 36 00 14 00 70 6C 61 79 65 72 53 6F 6C ; me16...playerSol
00000910h: 64 69 65 72 4E 61 6D 65 31 36 00 10 00 70 6C 61 ; dierName16...pla
00000920h: 79 65 72 56 65 72 73 69 6F 6E 31 36 00 18 00 70 ; yerVersion16...p
00000930h: 6C 61 79 65 72 53 65 72 76 65 72 49 70 41 64 64 ; layerServerIpAdd
00000940h: 72 65 73 73 31 36 00 10 00 70 6C 61 79 65 72 4D ; ress16...playerM
00000950h: 61 70 4E 61 6D 65 31 36 00 0D 00 70 6C 61 79 65 ; apName16...playe
00000960h: 72 4E 61 6D 65 31 37 00 14 00 70 6C 61 79 65 72 ; rName17...player
00000970h: 53 6F 6C 64 69 65 72 4E 61 6D 65 31 37 00 10 00 ; SoldierName17...
00000980h: 70 6C 61 79 65 72 56 65 72 73 69 6F 6E 31 37 00 ; playerVersion17.
00000990h: 18 00 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 ; ..playerServerIp
000009a0h: 41 64 64 72 65 73 73 31 37 00 10 00 70 6C 61 79 ; Address17...play
000009b0h: 65 72 4D 61 70 4E 61 6D 65 31 37 00 0D 00 70 6C ; erMapName17...pl
000009c0h: 61 79 65 72 4E 61 6D 65 31 38 00 14 00 70 6C 61 ; ayerName18...pla
000009d0h: 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 31 38 ; yerSoldierName18
000009e0h: 00 10 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E ; ...playerVersion
000009f0h: 31 38 00 18 00 70 6C 61 79 65 72 53 65 72 76 65 ; 18...playerServe
00000a00h: 72 49 70 41 64 64 72 65 73 73 31 38 00 10 00 70 ; rIpAddress18...p
00000a10h: 6C 61 79 65 72 4D 61 70 4E 61 6D 65 31 38 00 0D ; layerMapName18..
00000a20h: 00 70 6C 61 79 65 72 4E 61 6D 65 31 39 00 14 00 ; .playerName19...
00000a30h: 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D ; playerSoldierNam
00000a40h: 65 31 39 00 10 00 70 6C 61 79 65 72 56 65 72 73 ; e19...playerVers
00000a50h: 69 6F 6E 31 39 00 18 00 70 6C 61 79 65 72 53 65 ; ion19...playerSe
00000a60h: 72 76 65 72 49 70 41 64 64 72 65 73 73 31 39 00 ; rverIpAddress19.
00000a70h: 10 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 31 ; ..playerMapName1
00000a80h: 39 00 0D 00 70 6C 61 79 65 72 4E 61 6D 65 32 30 ; 9...playerName20
00000a90h: 00 14 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 ; ...playerSoldier
00000aa0h: 4E 61 6D 65 32 30 00 10 00 70 6C 61 79 65 72 56 ; Name20...playerV
00000ab0h: 65 72 73 69 6F 6E 32 30 00 18 00 70 6C 61 79 65 ; ersion20...playe
00000ac0h: 72 53 65 72 76 65 72 49 70 41 64 64 72 65 73 73 ; rServerIpAddress
00000ad0h: 32 30 00 10 00 70 6C 61 79 65 72 4D 61 70 4E 61 ; 20...playerMapNa
00000ae0h: 6D 65 32 30 00 0D 00 70 6C 61 79 65 72 4E 61 6D ; me20...playerNam
00000af0h: 65 32 31 00 14 00 70 6C 61 79 65 72 53 6F 6C 64 ; e21...playerSold
00000b00h: 69 65 72 4E 61 6D 65 32 31 00 10 00 70 6C 61 79 ; ierName21...play
00000b10h: 65 72 56 65 72 73 69 6F 6E 32 31 00 18 00 70 6C ; erVersion21...pl
00000b20h: 61 79 65 72 53 65 72 76 65 72 49 70 41 64 64 72 ; ayerServerIpAddr
00000b30h: 65 73 73 32 31 00 10 00 70 6C 61 79 65 72 4D 61 ; ess21...playerMa
00000b40h: 70 4E 61 6D 65 32 31 00 0D 00 70 6C 61 79 65 72 ; pName21...player
00000b50h: 4E 61 6D 65 32 32 00 14 00 70 6C 61 79 65 72 53 ; Name22...playerS
00000b60h: 6F 6C 64 69 65 72 4E 61 6D 65 32 32 00 10 00 70 ; oldierName22...p
00000b70h: 6C 61 79 65 72 56 65 72 73 69 6F 6E 32 32 00 18 ; layerVersion22..
00000b80h: 00 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 41 ; .playerServerIpA
00000b90h: 64 64 72 65 73 73 32 32 00 10 00 70 6C 61 79 65 ; ddress22...playe
00000ba0h: 72 4D 61 70 4E 61 6D 65 32 32 00 0D 00 70 6C 61 ; rMapName22...pla
00000bb0h: 79 65 72 4E 61 6D 65 32 33 00 14 00 70 6C 61 79 ; yerName23...play
00000bc0h: 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 32 33 00 ; erSoldierName23.
00000bd0h: 10 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E 32 ; ..playerVersion2
00000be0h: 33 00 18 00 70 6C 61 79 65 72 53 65 72 76 65 72 ; 3...playerServer
00000bf0h: 49 70 41 64 64 72 65 73 73 32 33 00 10 00 70 6C ; IpAddress23...pl
00000c00h: 61 79 65 72 4D 61 70 4E 61 6D 65 32 33 00 0D 00 ; ayerMapName23...
00000c10h: 70 6C 61 79 65 72 4E 61 6D 65 32 34 00 14 00 70 ; playerName24...p
00000c20h: 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E 61 6D 65 ; layerSoldierName
00000c30h: 32 34 00 10 00 70 6C 61 79 65 72 56 65 72 73 69 ; 24...playerVersi
00000c40h: 6F 6E 32 34 00 18 00 70 6C 61 79 65 72 53 65 72 ; on24...playerSer
00000c50h: 76 65 72 49 70 41 64 64 72 65 73 73 32 34 00 10 ; verIpAddress24..
00000c60h: 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D 65 32 34 ; .playerMapName24
00000c70h: 00 0D 00 70 6C 61 79 65 72 4E 61 6D 65 32 35 00 ; ...playerName25.
00000c80h: 14 00 70 6C 61 79 65 72 53 6F 6C 64 69 65 72 4E ; ..playerSoldierN
00000c90h: 61 6D 65 32 35 00 10 00 70 6C 61 79 65 72 56 65 ; ame25...playerVe
00000ca0h: 72 73 69 6F 6E 32 35 00 18 00 70 6C 61 79 65 72 ; rsion25...player
00000cb0h: 53 65 72 76 65 72 49 70 41 64 64 72 65 73 73 32 ; ServerIpAddress2
00000cc0h: 35 00 10 00 70 6C 61 79 65 72 4D 61 70 4E 61 6D ; 5...playerMapNam
00000cd0h: 65 32 35 00 0D 00 70 6C 61 79 65 72 4E 61 6D 65 ; e25...playerName
00000ce0h: 32 36 00 14 00 70 6C 61 79 65 72 53 6F 6C 64 69 ; 26...playerSoldi
00000cf0h: 65 72 4E 61 6D 65 32 36 00 10 00 70 6C 61 79 65 ; erName26...playe
00000d00h: 72 56 65 72 73 69 6F 6E 32 36 00 18 00 70 6C 61 ; rVersion26...pla
00000d10h: 79 65 72 53 65 72 76 65 72 49 70 41 64 64 72 65 ; yerServerIpAddre
00000d20h: 73 73 32 36 00 10 00 70 6C 61 79 65 72 4D 61 70 ; ss26...playerMap
00000d30h: 4E 61 6D 65 32 36 00 0D 00 70 6C 61 79 65 72 4E ; Name26...playerN
00000d40h: 61 6D 65 32 37 00 14 00 70 6C 61 79 65 72 53 6F ; ame27...playerSo
00000d50h: 6C 64 69 65 72 4E 61 6D 65 32 37 00 10 00 70 6C ; ldierName27...pl
00000d60h: 61 79 65 72 56 65 72 73 69 6F 6E 32 37 00 18 00 ; ayerVersion27...
00000d70h: 70 6C 61 79 65 72 53 65 72 76 65 72 49 70 41 64 ; playerServerIpAd
00000d80h: 64 72 65 73 73 32 37 00 10 00 70 6C 61 79 65 72 ; dress27...player
00000d90h: 4D 61 70 4E 61 6D 65 32 37 00 0D 00 70 6C 61 79 ; MapName27...play
00000da0h: 65 72 4E 61 6D 65 32 38 00 14 00 70 6C 61 79 65 ; erName28...playe
00000db0h: 72 53 6F 6C 64 69 65 72 4E 61 6D 65 32 38 00 10 ; rSoldierName28..
00000dc0h: 00 70 6C 61 79 65 72 56 65 72 73 69 6F 6E 32 38 ; .playerVersion28
00000dd0h: 00 18 00 70 6C 61 79 65 72 53 65 72 76 65 72 49 ; ...playerServerI
00000de0h: 70 41 64 64 72 65 73 73 32 38 00 10 00 70 6C 61 ; pAddress28...pla
00000df0h: 79 65 72 4D 61 70 4E 61 6D 65 32 38 00 0F 00 61 ; yerMapName28...a
00000e00h: 74 74 72 69 62 75 74 65 56 61 6C 75 65 73 07 B6 ; ttributeValues.??
00000e10h: 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 ; ...3.0.0...174.3
00000e20h: 36 2E 31 35 39 2E 31 36 00 05 00 38 37 37 37 00 ; 6.159.16...8777.
00000e30h: 06 00 33 39 33 30 30 00 03 00 32 39 00 0A 00 70 ; ..39300...29...p
00000e40h: 72 6F 63 6C 61 6E 57 41 00 03 00 4E 2F 41 03 00 ; roclanWA...N/A..
00000e50h: 4E 2F 41 09 00 30 32 5F 30 36 32 39 30 39 01 00 ; N/A..02_062909..
00000e60h: 30 01 00 30 01 00 31 01 00 31 01 00 30 01 00 31 ; 0..0..1..1..0..1
00000e70h: 01 00 30 01 00 30 14 00 33 30 33 72 64 2D 4C 53 ; ..0..0..303rd-LS
00000e80h: 47 20 41 41 33 20 53 65 72 76 65 72 1E 00 33 30 ; G AA3 Server..30
00000e90h: 33 72 64 20 4C 6F 67 69 73 74 69 63 61 6C 20 53 ; 3rd Logistical S
00000ea0h: 74 75 64 69 65 73 20 47 72 6F 75 70 14 00 33 30 ; tudies Group..30
00000eb0h: 33 72 64 2D 4C 53 47 20 41 41 33 20 53 65 72 76 ; 3rd-LSG AA3 Serv
00000ec0h: 65 72 0C 00 33 30 33 72 64 6C 73 67 2E 63 6F 6D ; er..303rdlsg.com
00000ed0h: 0E 00 50 72 6F 43 6C 61 6E 48 6F 73 74 69 6E 67 ; ..ProClanHosting
00000ee0h: 11 00 49 6D 70 61 63 74 5F 64 61 79 5F 63 6C 6F ; ..Impact_day_clo
00000ef0h: 75 64 79 09 00 39 39 39 39 39 39 39 39 39 02 00 ; udy..999999999..
00000f00h: 32 30 01 00 30 01 00 30 05 00 6C 61 72 67 65 03 ; 20..0..0..large.
00000f10h: 00 69 6E 66 02 00 61 6F 04 00 64 65 76 31 07 00 ; .inf..ao..dev1..
00000f20h: 57 69 6E 64 6F 77 73 03 00 41 6E 79 01 00 33 01 ; Windows..Any..3.
00000f30h: 00 30 01 00 30 01 00 30 09 00 41 6B 70 53 7B 38 ; .0..0..0..AkpS{8
00000f40h: 39 7D 00 0A 00 4A 6F 68 6E 5F 44 6F 65 32 00 06 ; 9}...John_Doe2..
00000f50h: 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E ; .3.0.0...174.36.
00000f60h: 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E ; 159.16...174.36.
00000f70h: 31 35 39 2E 31 36 00 06 00 41 70 70 61 6D 00 06 ; 159.16...Appam..
00000f80h: 00 41 70 70 61 6D 00 06 00 33 2E 30 2E 30 00 0E ; .Appam...3.0.0..
00000f90h: 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E ; .174.36.159.16..
00000fa0h: 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 07 ; .174.36.159.16..
00000fb0h: 00 42 6C 75 6E 74 73 00 07 00 42 6C 75 6E 74 73 ; .Blunts...Blunts
00000fc0h: 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 ; ...3.0.0...174.3
00000fd0h: 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 ; 6.159.16...174.3
00000fe0h: 36 2E 31 35 39 2E 31 36 00 07 00 42 72 75 73 63 ; 6.159.16...Brusc
00000ff0h: 61 00 07 00 42 72 75 73 63 61 00 06 00 33 2E 30 ; a...Brusca...3.0
00001000h: 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E ; .0...174.36.159.
00001010h: 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E ; 16...174.36.159.
00001020h: 31 36 00 10 00 43 61 6E 79 6F 6E 5F 50 61 72 64 ; 16...Canyon_Pard
00001030h: 61 6C 69 73 00 0A 00 4B 49 2E 43 61 6E 79 6F 6E ; alis...KI.Canyon
00001040h: 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 ; ...3.0.0...174.3
00001050h: 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 ; 6.159.16...174.3
00001060h: 36 2E 31 35 39 2E 31 36 00 07 00 44 65 65 62 6F ; 6.159.16...Deebo
00001070h: 31 00 07 00 44 65 65 62 6F 31 00 06 00 33 2E 30 ; 1...Deebo1...3.0
00001080h: 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E ; .0...174.36.159.
00001090h: 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E ; 16...174.36.159.
000010a0h: 31 36 00 09 00 48 75 6E 74 65 72 39 36 00 09 00 ; 16...Hunter96...
000010b0h: 48 75 6E 74 65 72 39 36 00 06 00 33 2E 30 2E 30 ; Hunter96...3.0.0
000010c0h: 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 ; ...174.36.159.16
000010d0h: 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 ; ...174.36.159.16
000010e0h: 00 11 00 4A 2E 4C 61 46 6C 61 73 68 5B 33 72 64 ; ...J.LaFlash[3rd
000010f0h: 49 44 5D 00 0F 00 4C 61 46 6C 61 73 68 5B 33 72 ; ID]...LaFlash[3r
00001100h: 64 49 44 5D 00 06 00 33 2E 30 2E 30 00 0E 00 31 ; dID]...3.0.0...1
00001110h: 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E 00 31 ; 74.36.159.16...1
00001120h: 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 04 00 4C ; 74.36.159.16...L
00001130h: 49 4B 00 08 00 4D 72 73 44 75 73 74 00 06 00 33 ; IK...MrsDust...3
00001140h: 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 ; .0.0...174.36.15
00001150h: 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 ; 9.16...174.36.15
00001160h: 39 2E 31 36 00 0C 00 53 6E 69 70 65 72 53 68 65 ; 9.16...SniperShe
00001170h: 65 70 00 0C 00 53 6E 69 70 65 72 53 68 65 65 70 ; ep...SniperSheep
00001180h: 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 ; ...3.0.0...174.3
00001190h: 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 ; 6.159.16...174.3
000011a0h: 36 2E 31 35 39 2E 31 36 00 0B 00 55 6E 63 6C 65 ; 6.159.16...Uncle
000011b0h: 53 6E 61 6B 65 00 0F 00 53 6F 6C 69 64 53 6E 61 ; Snake...SolidSna
000011c0h: 6B 65 48 65 61 64 00 06 00 33 2E 30 2E 30 00 0E ; keHead...3.0.0..
000011d0h: 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E ; .174.36.159.16..
000011e0h: 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0B ; .174.36.159.16..
000011f0h: 00 57 68 69 74 65 2D 44 6F 76 65 00 04 00 57 43 ; .White-Dove...WC
00001200h: 54 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E ; T...3.0.0...174.
00001210h: 33 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E ; 36.159.16...174.
00001220h: 33 36 2E 31 35 39 2E 31 36 00 05 00 58 74 72 6D ; 36.159.16...Xtrm
00001230h: 00 0C 00 2D 5B 75 6E 52 5D 58 74 72 6D 2D 00 06 ; ...-[unR]Xtrm-..
00001240h: 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E ; .3.0.0...174.36.
00001250h: 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E ; 159.16...174.36.
00001260h: 31 35 39 2E 31 36 00 0B 00 5B 33 43 52 5D 4E 61 ; 159.16...[3CR]Na
00001270h: 74 65 2E 00 0B 00 5B 33 43 52 5D 4E 61 74 65 2E ; te....[3CR]Nate.
00001280h: 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 ; ...3.0.0...174.3
00001290h: 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 ; 6.159.16...174.3
000012a0h: 36 2E 31 35 39 2E 31 36 00 07 00 5B 4B 49 5D 4C ; 6.159.16...[KI]L
000012b0h: 54 00 0A 00 5B 4B 49 5D 4C 6F 72 64 54 00 06 00 ; T...[KI]LordT...
000012c0h: 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 ; 3.0.0...174.36.1
000012d0h: 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 ; 59.16...174.36.1
000012e0h: 35 39 2E 31 36 00 0E 00 5B 4C 42 5D 43 5A 5F 47 ; 59.16...[LB]CZ_G
000012f0h: 65 6F 72 67 65 00 0E 00 5B 4C 42 5D 43 5A 5F 47 ; eorge...[LB]CZ_G
00001300h: 65 6F 72 67 65 00 06 00 33 2E 30 2E 30 00 0E 00 ; eorge...3.0.0...
00001310h: 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E 00 ; 174.36.159.16...
00001320h: 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0C 00 ; 174.36.159.16...
00001330h: 5F 3D 5E 4C 4F 54 55 53 5E 3D 5F 00 0C 00 5F 3D ; _=^LOTUS^=_..._=
00001340h: 5E 4C 4F 54 55 53 5E 3D 5F 00 06 00 33 2E 30 2E ; ^LOTUS^=_...3.0.
00001350h: 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 ; 0...174.36.159.1
00001360h: 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 ; 6...174.36.159.1
00001370h: 36 00 06 00 63 6C 79 72 6F 00 06 00 43 6C 79 72 ; 6...clyro...Clyr
00001380h: 6F 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E ; o...3.0.0...174.
00001390h: 33 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E ; 36.159.16...174.
000013a0h: 33 36 2E 31 35 39 2E 31 36 00 08 00 64 69 63 65 ; 36.159.16...dice
000013b0h: 30 30 37 00 08 00 64 69 63 65 30 30 37 00 06 00 ; 007...dice007...
000013c0h: 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 ; 3.0.0...174.36.1
000013d0h: 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 ; 59.16...174.36.1
000013e0h: 35 39 2E 31 36 00 0C 00 65 6B 73 2D 62 72 61 31 ; 59.16...eks-bra1
000013f0h: 39 37 35 00 10 00 53 68 69 6D 61 54 68 65 43 6F ; 975...ShimaTheCo
00001400h: 6D 70 6C 65 78 00 06 00 33 2E 30 2E 30 00 0E 00 ; mplex...3.0.0...
00001410h: 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E 00 ; 174.36.159.16...
00001420h: 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 05 00 ; 174.36.159.16...
00001430h: 65 72 61 79 00 09 00 45 72 61 79 54 75 6E 67 00 ; eray...ErayTung.
00001440h: 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 ; ..3.0.0...174.36
00001450h: 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 ; .159.16...174.36
00001460h: 2E 31 35 39 2E 31 36 00 04 00 66 75 75 00 04 00 ; .159.16...fuu...
00001470h: 46 75 75 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 ; Fuu...3.0.0...17
00001480h: 34 2E 33 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 ; 4.36.159.16...17
00001490h: 34 2E 33 36 2E 31 35 39 2E 31 36 00 0C 00 6C 65 ; 4.36.159.16...le
000014a0h: 5F 62 65 61 72 74 61 74 6F 00 0D 00 43 72 61 7A ; _beartato...Craz
000014b0h: 79 5F 53 74 72 6F 6E 67 00 06 00 33 2E 30 2E 30 ; y_Strong...3.0.0
000014c0h: 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 ; ...174.36.159.16
000014d0h: 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 ; ...174.36.159.16
000014e0h: 00 0B 00 6C 65 6E 67 72 61 6E 67 65 72 00 0C 00 ; ...lengranger...
000014f0h: 4C 65 6E 67 5F 52 61 6E 67 65 72 00 06 00 33 2E ; Leng_Ranger...3.
00001500h: 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 ; 0.0...174.36.159
00001510h: 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 ; .16...174.36.159
00001520h: 2E 31 36 00 09 00 70 69 72 61 6E 69 6A 61 00 09 ; .16...piranija..
00001530h: 00 70 69 72 61 6E 69 6A 61 00 06 00 33 2E 30 2E ; .piranija...3.0.
00001540h: 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 ; 0...174.36.159.1
00001550h: 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 ; 6...174.36.159.1
00001560h: 36 00 09 00 73 67 74 2D 62 65 72 74 00 09 00 73 ; 6...sgt-bert...s
00001570h: 67 74 2D 62 65 72 74 00 06 00 33 2E 30 2E 30 00 ; gt-bert...3.0.0.
00001580h: 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 ; ..174.36.159.16.
00001590h: 0E 00 31 37 34 2E 33 36 2E 31 35 39 2E 31 36 00 ; ..174.36.159.16.
000015a0h: 10 00 76 65 69 6C 65 64 5F 6D 61 67 69 63 71 6B ; ..veiled_magicqk
000015b0h: 72 00 08 00 67 65 61 74 6D 61 6E 00 06 00 33 2E ; r...geatman...3.
000015c0h: 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 ; 0.0...174.36.159
000015d0h: 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 35 39 ; .16...174.36.159
000015e0h: 2E 31 36 00 0D 00 77 6A 64 65 6F 64 69 64 30 37 ; .16...wjdeodid07
000015f0h: 31 32 00 0E 00 53 69 72 2E 48 61 43 68 61 6E 45 ; 12...Sir.HaChanE
00001600h: 75 6E 00 06 00 33 2E 30 2E 30 00 0E 00 31 37 34 ; un...3.0.0...174
00001610h: 2E 33 36 2E 31 35 39 2E 31 36 00 0E 00 31 37 34 ; .36.159.16...174
00001620h: 2E 33 36 2E 31 35 39 2E 31 36 00 07 00 79 65 74 ; .36.159.16...yet
00001630h: 69 30 39 00 08 00 4C 6F 4B 69 2D 37 39 00 06 00 ; i09...LoKi-79...
00001640h: 33 2E 30 2E 30 00 0E 00 31 37 34 2E 33 36 2E 31 ; 3.0.0...174.36.1
00001650h: 35 39 2E 31 36 00 0E 00 31 37 34 2E 33 36 2E 31 ; 59.16...174.36.1
00001660h: 35 39 2E 31 36 00 0A 00 72 65 73 75 6C 74 43 6F ; 59.16...resultCo
00001670h: 64 65 02 01 00 00 00                            ; de.....


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 13 Jul 2009 23:04 

Joined: 13 Jul 2009 23:01
Posts: 10
Oh they made changes with the last 3.0.5 patch. not sure if just some changes or if they try to stop us from quering their servers. I can't figure it out, only know it's not working anymore :(

Query send to gameservers (looks like it's always the same and never changes)
Code:
0000   00 13 46 59 01 85 00 1a 92 d3 e5 b4 08 00 45 00  ..FY..........E.
0010   00 40 55 3e 40 00 80 11 00 00 c0 a8 b2 64 59 ca  .@U>@........dY.
0020   c4 0f e0 77 99 84 00 2c 91 24 4a 35 f7 57 02 00  ...w...,.$J5.W..
0030   02 00 01 00 69 3c 17 61 43 67 1f 2b 3c 51 6c 4d  ....i<.aCg.+<QlM
0040   42 06 5c 4b 2c 48 2f 01 07 08 45 1b 55 56        B.\K,H/...E.UV


Query Response from a gameserver, splitted it up in the 3 packets:
Code:
0000   00 1a 92 d3 e5 b4 00 13 46 59 01 85 08 00 45 00  ........FY....E.
0010   04 1c 34 52 00 00 77 11 7a 98 59 ca c4 0f c0 a8  ..4R..w.z.Y.....
0020   b2 64 99 84 e0 77 04 08 69 10 4a 35 16 fb 02 03  .d...w..i.J5....
0030   02 00 03 00 00 00 03 00 1b 94 5a 9a 32 3d fc fc  ..........Z.2=..
0040   b3 bf 0f 7d 18 db 20 73 c5 f7 3c 05 b5 93 c5 c9  ...}.. s..<.....
0050   77 8e a7 14 e2 ab 9d f9 66 a4 49 26 0d 80 89 a1  w.......f.I&....
0060   e4 37 b5 e8 11 78 58 39 9f 41 32 7c 88 a8 40 f3  .7...xX9.A2|..@.
0070   23 3f 7b 32 e4 c5 10 6a 75 f0 45 4c a2 e8 1f d4  #?{2...ju.EL....
0080   e3 59 8f 6b 05 87 81 93 5f 52 fd 94 26 1b 14 01  .Y.k...._R..&...
0090   96 53 cd 77 f2 fe 74 7c 97 84 b8 73 09 86 2c 57  .S.w..t|...s..,W
00a0   2c fc 13 f7 82 06 0c 25 b5 10 3f 1b 9f 7f ec 31  ,......%..?....1
00b0   3b 30 77 c9 d3 3f 3a 8e 9c fe 5d 0d 69 91 67 a3  ;0w..?:...].i.g.
00c0   59 f8 20 fd d4 ab db a2 2e aa 5c da 22 7b 86 fe  Y. .......\."{..
00d0   0d d6 30 08 96 da 35 85 1c 64 c9 2b 93 e3 2d d7  ..0...5..d.+..-.
00e0   ab 5f 42 5a e6 3e 49 f8 46 34 82 44 bf 68 fa b9  ._BZ.>I.F4.D.h..
00f0   dd 0f 9d 12 ab bd d7 e8 d6 af 00 f4 d8 11 03 e5  ................
0100   6c 77 ce 5e da 4b e0 01 04 91 61 01 3e 5a 84 de  lw.^.K....a.>Z..
0110   b9 4f 4f 88 c1 69 1c 3c 61 36 0b 09 0e 5e de 1a  .OO..i.<a6...^..
0120   d6 96 01 5d 98 70 e8 70 2b a8 56 7e c7 cb 7a 07  ...].p.p+.V~..z.
0130   fc 2d fb 3e a8 35 5c 99 be e2 38 b4 89 9b 3a 9c  .-.>.5\...8...:.
0140   5d 1b 0f 00 cb a5 7a 86 b2 d6 3f 67 c7 6c 2e 31  ].....z...?g.l.1
0150   d6 e6 8a 9a f8 7f 10 fd f3 f5 19 93 a7 1c bf 80  ................
0160   1c dd 96 38 17 1e 43 82 92 06 f1 01 aa 68 da 96  ...8..C......h..
0170   c5 cb 37 56 fa 85 1b 85 8b 13 0e da a4 fd 2b 5c  ..7V..........+\
0180   f0 15 2a f1 69 36 3b a6 69 5f ea 4e 24 7d 6a 77  ..*.i6;.i_.N$}jw
0190   0a 30 4b c4 d8 fe 6b 1f 22 73 fe b8 e7 86 4c 1c  .0K...k."s....L.
01a0   82 39 01 22 a3 3b 96 b2 57 7d 33 fa 36 96 ef b4  .9.".;..W}3.6...
01b0   1b c3 0f f4 df 0c e7 c8 7e dd ce ab 36 39 0c df  ........~...69..
01c0   df ef a0 29 5d 0f 08 43 c1 5e 1f 32 e5 a0 75 22  ...)]..C.^.2..u"
01d0   28 ac be 76 e0 e7 1a 65 6b 54 c6 5c a6 a0 05 2d  (..v...ekT.\...-
01e0   e9 43 ff 2a 08 92 1a ad cb f1 66 5b 53 7c 84 4d  .C.*......f[S|.M
01f0   a4 01 23 99 97 3a 8d 5f ef 0d ae 64 5a 2f 61 17  ..#..:._...dZ/a.
0200   71 82 9e 83 41 73 6e dd 2e 4e b4 21 f2 bd e9 6b  q...Asn..N.!...k
0210   10 4c ea cc a0 d2 ff 9d f2 00 a1 5d a2 9f 2f d9  .L.........]../.
0220   06 f7 ad e0 d0 7e 2f d1 33 f4 34 1c 77 f7 18 41  .....~/.3.4.w..A
0230   6d 89 d8 f4 a4 a6 91 3a 05 c1 e8 1f fe f3 29 55  m......:......)U
0240   7c 54 df 62 0b ad da 4d 0f fd 22 cd 8d 5c 34 58  |T.b...M.."..\4X
0250   93 77 40 4a 82 45 30 38 5b 4c b9 fa 76 da 52 1c  .w@J.E08[L..v.R.
0260   81 e5 53 4a a0 58 1b 56 6b de 68 17 1d 04 2a f6  ..SJ.X.Vk.h...*.
0270   59 f2 f5 27 13 24 c9 28 6f 13 41 15 8c c4 c9 45  Y..'.$.(o.A....E
0280   0d 00 ab 91 f1 f5 34 1c f2 a3 7d 85 9b 9d 50 ab  ......4...}...P.
0290   4d 5a d2 55 1f bf 60 9c 2a dc 41 80 cc 48 35 a7  MZ.U..`.*.A..H5.
02a0   29 77 90 ca a3 f7 de 42 4a 4b 52 0d 86 41 54 11  )w.....BJKR..AT.
02b0   7b 80 63 99 26 78 3f 92 2d 26 52 bf 5d cd d1 29  {.c.&x?.-&R.]..)
02c0   e1 aa a3 2f ce 5e e8 ac f6 e4 a3 12 55 f2 ab 85  .../.^......U...
02d0   e4 1a ca bc 01 7c 71 2f 26 7c 8c 56 4d 14 51 b3  .....|q/&|.VM.Q.
02e0   79 d7 bb 42 e1 cd 40 6b c4 e1 d0 ab 13 d0 23 8d  y..B..@k......#.
02f0   ff ff ee 1b c4 d3 fd 53 8b 91 3a 3c 58 f9 49 44  .......S..:<X.ID
0300   c4 fa 41 7d 16 9e d0 40 55 11 6e 41 d7 ff c5 90  ..A}...@U.nA....
0310   5e 5e 3d d0 06 66 ec 1c 7d 4d db 0a 76 55 56 8a  ^^=..f..}M..vUV.
0320   39 d7 b3 6f de 6a 0c 05 8c 35 93 77 11 01 8e a2  9..o.j...5.w....
0330   c7 62 e6 0f 83 95 b3 c2 1d 80 b7 b4 a1 72 ac c8  .b...........r..
0340   de 7e 6a aa 86 de 3e 4f 2d 38 fb 3f be 53 9e 55  .~j...>O-8.?.S.U
0350   b2 82 a9 80 f2 e2 82 80 48 89 16 ea ff b2 42 a3  ........H.....B.
0360   33 1c b1 60 70 dd 43 98 31 33 71 48 41 9b bf 46  3..`p.C.13qHA..F
0370   7d b0 20 e0 ae b2 fa db 13 cf 17 02 c5 aa b5 53  }. ............S
0380   0c 1a a1 d4 98 61 1d ca f3 41 43 2b 76 75 35 b6  .....a...AC+vu5.
0390   45 33 67 c4 26 6e b1 b6 ff f9 ce 66 06 ff 9e 7c  E3g.&n.....f...|
03a0   9f c9 3f 65 38 c9 87 a4 01 43 1e 7d 7d d5 04 b3  ..?e8....C.}}...
03b0   2f e9 52 fd d9 05 15 e8 a2 62 7e 6d 7f 48 94 de  /.R......b~m.H..
03c0   4e 78 2e 61 53 16 e0 c8 61 a8 c0 fb 52 a7 37 ee  Nx.aS...a...R.7.
03d0   11 06 6b 36 82 5d 54 d4 13 7c d8 fb 09 2d 56 a7  ..k6.]T..|...-V.
03e0   5a cb bb e7 25 30 f2 72 d7 5c 99 b9 a0 73 43 e8  Z...%0.r.\...sC.
03f0   7c 28 ce 46 2e be b7 4f b8 32 ad d0 c7 ba bd e6  |(.F...O.2......
0400   d6 de 99 96 50 fb 50 14 9d 71 0c a4 c3 ca 4e 2d  ....P.P..q....N-
0410   55 56 4a 09 9b 5f fa f0 f7 f7 9e d1 f5 65 12 36  UVJ.._.......e.6
0420   a1 c6 a9 fb 0c 75 72 d9 8e 35                    .....ur..5


Code:
0000   00 1a 92 d3 e5 b4 00 13 46 59 01 85 08 00 45 00  ........FY....E.
0010   04 1c 34 53 00 00 77 11 7a 97 59 ca c4 0f c0 a8  ..4S..w.z.Y.....
0020   b2 64 99 84 e0 77 04 08 b7 f7 4a 35 71 59 02 03  .d...w....J5qY..
0030   02 00 03 00 01 00 03 00 a8 c3 b2 d2 3b 69 ba 13  ............;i..
0040   9c 28 7c 84 ef 21 1e d3 3a 29 e4 0d 04 b0 05 55  .(|..!..:).....U
0050   96 3c 7d 00 b8 ba 61 f7 b2 89 4d 64 67 71 6d 4f  .<}...a...MdgqmO
0060   ae 3a c7 58 5d f3 f7 53 28 c1 b7 83 b0 97 9b 7a  .:.X]..S(......z
0070   bd a0 00 e0 1f 07 6a 07 80 dc b0 63 72 00 80 4b  ......j....cr..K
0080   b9 7c f0 a5 b3 d2 3b 1b 99 a1 f6 24 bf 82 4c 27  .|....;....$..L'
0090   a0 83 8b b5 c7 d1 63 d8 4e 56 09 79 4f 76 6d 55  ......c.NV.yOvmU
00a0   fc 62 d2 b7 7a 26 40 45 30 4c 15 01 4d 35 b3 33  .b..z&@E0L..M5.3
00b0   29 25 b8 49 47 d0 73 fb fe 59 f8 a0 44 fe 46 96  )%.IG.s..Y..D.F.
00c0   33 64 98 e8 ca 10 54 e2 38 d6 37 d2 f1 d5 2d 60  3d....T.8.7...-`
00d0   81 f4 d8 6d f3 a6 e3 d1 7c 46 b7 b3 17 b9 ab 50  ...m....|F.....P
00e0   50 d4 31 27 97 a9 89 9a 83 45 d9 02 66 bd c2 89  P.1'.....E..f...
00f0   ad d2 51 4a 36 f2 fe 17 b1 0a cc 84 87 f5 6e 4a  ..QJ6.........nJ
0100   4b 1c 4e 97 11 4c e8 80 7d 1e dc a6 ab 8d 9f ad  K.N..L..}.......
0110   e4 41 9c 56 3c 86 55 72 4b b2 53 3e c2 d8 48 64  .A.V<.UrK.S>..Hd
0120   f1 72 fa 35 0d be dc ef c1 01 40 55 48 8d 4a 87  .r.5......@UH.J.
0130   33 5a 85 de 81 16 1a 3c 7b ef 4c 78 68 1e ee 64  3Z.....<{.Lxh..d
0140   ff 3f 1d 23 28 aa ec 4a 5c 8b 0f 4c bd 9d 39 18  .?.#(..J\..L..9.
0150   84 b5 47 37 eb bf 53 95 46 20 70 0d 86 82 78 43  ..G7..S.F p...xC
0160   b9 b2 13 73 27 25 90 c7 16 13 0e 15 5f 84 b2 59  ...s'%......_..Y
0170   ae 0c 88 32 0c f6 e0 fd b5 d0 89 bd 12 52 e0 35  ...2.........R.5
0180   d8 96 e8 31 67 17 be 2a 48 2b ad 2c d9 77 98 9a  ...1g..*H+.,.w..
0190   b8 0f 7b 3a 5e fb 36 ea 55 c6 56 ea 80 78 b1 77  ..{:^.6.U.V..x.w
01a0   45 d7 58 70 64 ee 8e cf 00 db fc 8d c9 24 e1 b1  E.Xpd........$..
01b0   28 37 1e 42 13 62 07 9c fd bf 31 77 0a fb b5 fa  (7.B.b....1w....
01c0   31 9d 3f 28 ae ec 48 96 04 98 6b 85 e4 00 ab 10  1.?(..H...k.....
01d0   c8 ee a3 45 6d ca 4f 39 5f fc f5 ee 5c f0 ea b1  ...Em.O9_...\...
01e0   e0 36 da 0e f9 29 dd 0b 50 bc 60 af c5 01 21 5d  .6...)..P.`...!]
01f0   ba b9 6f 91 a3 9b 48 02 09 86 a9 0b e1 ea 8b 86  ..o...H.........
0200   80 39 2a 9d f7 f0 0a d2 29 78 69 ab f2 af b1 cb  .9*.....)xi.....
0210   f1 68 d2 41 ba 1c 91 71 5b 99 b6 ee 2c cb ff 84  .h.A...q[...,...
0220   aa 07 5f e1 25 51 8d 76 e1 1f 03 86 28 65 41 7e  .._.%Q.v....(eA~
0230   cb f8 f2 e6 7b 81 77 4d 13 37 68 3b 81 fe 77 ff  ....{.wM.7h;..w.
0240   80 2c 68 7b cc 0e 70 67 85 6e ed 70 8b d7 37 9a  .,h{..pg.n.p..7.
0250   7b cb 29 c1 46 a6 81 e7 72 a1 a5 73 77 5c 7c 0e  {.).F...r..sw\|.
0260   7f 93 97 3a c1 14 e8 d9 d6 e6 9e 64 2f 30 38 b8  ...:.......d/08.
0270   7a 9a ba 42 e6 f7 bb 75 8b 95 6e 5b 73 bf 54 49  z..B...u..n[s.TI
0280   a4 23 d7 e8 95 24 78 0b 57 ae 27 65 0b 34 a0 32  .#...$x.W.'e.4.2
0290   9f 0c bd db 33 1a 06 63 3e 9c 5f 63 21 89 e7 6d  ....3..c>._c!..m
02a0   c3 d9 f3 3c fc 0d f9 37 b6 be 7d e1 54 2e 9a 00  ...<...7..}.T...
02b0   9c 16 47 b6 fe f4 1c 22 79 ce 39 41 b0 d1 a9 ec  ..G...."y.9A....
02c0   3d b2 fc dd 4b 81 0f 4c 77 97 4b 6b 78 8d a3 3a  =...K..Lw.Kkx..:
02d0   b0 c2 eb 50 6c 3a 9a b3 20 f3 6a 02 3a 98 f6 df  ...Pl:.. .j.:...
02e0   57 8d 03 07 20 cc 08 84 f1 a3 69 af 40 6f 86 23  W... .....i.@o.#
02f0   a7 56 8c 53 23 55 12 b8 2c a0 a1 a8 4a ec fd 58  .V.S#U..,...J..X
0300   e5 e6 35 9c 79 41 3e 6e 61 31 2b de b8 85 8f d0  ..5.yA>na1+.....
0310   b1 ac 6a 0a b1 c8 f3 7c 94 66 a8 1e 7d fd 13 f2  ..j....|.f..}...
0320   32 dd 52 7d 30 54 f7 e4 39 76 b0 5a 00 24 77 c9  2.R}0T..9v.Z.$w.
0330   5c 81 1d c7 63 d5 d7 16 1c 82 8f 4c 50 bb 59 41  \...c......LP.YA
0340   d1 c2 73 cd fd 7d ea 50 a2 75 8c 9b 1c 58 c1 6d  ..s..}.P.u...X.m
0350   20 2f b6 27 72 e8 06 a9 5d 0a 7b d4 d3 28 82 1e   /.'r...].{..(..
0360   a3 5e c1 26 56 5d 2d f5 71 e1 74 d7 f3 45 9c d7  .^.&V]-.q.t..E..
0370   eb 0b 7c 38 84 03 39 23 dc 72 64 61 af ab e5 13  ..|8..9#.rda....
0380   da 4c ed 52 7e 01 9d f7 22 ac b2 4f a7 d1 07 01  .L.R~..."..O....
0390   ed d4 fb 4e b0 3d ea 16 d1 5d 6c 1b a2 b7 3a 2e  ...N.=...]l...:.
03a0   2f 1a 25 50 ab 55 e7 62 a2 ea 94 7b 2d 80 89 74  /.%P.U.b...{-..t
03b0   f8 bd ec e5 78 f8 58 6d a8 f1 b3 96 fe 85 7c 2c  ....x.Xm......|,
03c0   bc ad e2 d0 27 20 c0 f0 3a 80 04 b3 cc 3e 85 b4  ....' ..:....>..
03d0   10 eb 75 b1 ab 01 40 2e e6 bd b7 11 56 8e 30 ae  ..u...@.....V.0.
03e0   65 dd 5a 9d 3b f3 ab 28 2d 64 d1 7f 6f ac bc f2  e.Z.;..(-d..o...
03f0   cf 26 f3 3a 51 17 c6 f4 1a 0c 57 90 35 cb 40 9b  .&.:Q.....W.5.@.
0400   24 96 23 4f e1 79 1f 21 31 d5 34 cc 4f c1 0f 33  $.#O.y.!1.4.O..3
0410   f5 0d cb 0d bd 7f f6 e2 2f ad 15 55 c8 f3 5e e7  ......../..U..^.
0420   17 da 58 9f 62 cf d2 a5 3d f0                    ..X.b...=.


Code:
0000   00 1a 92 d3 e5 b4 00 13 46 59 01 85 08 00 45 00  ........FY....E.
0010   01 f4 34 54 00 00 77 11 7c be 59 ca c4 0f c0 a8  ..4T..w.|.Y.....
0020   b2 64 99 84 e0 77 01 e0 d9 cd 4a 35 07 e4 02 03  .d...w....J5....
0030   02 00 03 00 02 00 03 00 4d 1f 62 8b 70 ed 97 59  ........M.b.p..Y
0040   c5 e7 0c 12 64 e7 2b cf d7 0d 14 ac 66 eb f9 e0  ....d.+.....f...
0050   1f a2 2d 28 d5 52 e2 71 c6 4d 22 ed 06 d2 5a b0  ..-(.R.q.M"...Z.
0060   e1 b8 8d 2e f4 a2 13 3e 42 87 12 71 bf 09 c0 54  .......>B..q...T
0070   7f 58 d1 f1 a3 1b c8 32 3b c4 30 44 44 05 2b e5  .X.....2;.0DD.+.
0080   e4 34 f9 e1 d4 6e 3a 08 30 37 6d 5f cd 84 af 4a  .4...n:.07m_...J
0090   e2 30 6b 9d 23 16 fa 4d f7 ef d2 fa 6f a5 a6 9c  .0k.#..M....o...
00a0   7a 4c ba ed 69 b6 5a 10 5d 31 cb af 99 b6 9e b7  zL..i.Z.]1......
00b0   c3 5d 23 59 7d 58 c7 1e 3e 4e 4f 1d c8 3a f6 15  .]#Y}X..>NO..:..
00c0   fd 5c 22 88 46 b1 fb c7 2c 0d 3d 41 b2 d6 a0 2e  .\".F...,.=A....
00d0   27 9c e6 a9 c8 5b 6a 91 bd 48 67 bb 4b 88 e9 8a  '....[j..Hg.K...
00e0   c5 46 ef d4 3a 04 2a 53 03 89 9a ba 90 d4 37 f5  .F..:.*S......7.
00f0   48 83 86 45 40 fd 74 58 28 c1 5c f5 ad c8 22 dc  H..E@.tX(.\...".
0100   71 0c df da 8a b3 81 03 fe 28 92 56 8b 5e 4d 47  q........(.V.^MG
0110   b5 5c da e6 5a 46 5c 4b d0 d6 5f 45 d8 72 62 4a  .\..ZF\K.._E.rbJ
0120   49 e3 c9 fe ab ab 39 f5 f9 b5 dd 13 93 9e af 7e  I.....9........~
0130   1b 7f 3e 42 10 73 a3 60 72 6d d4 d0 e7 df 8a 3f  ..>B.s.`rm.....?
0140   26 33 eb 64 ec f9 68 06 89 9e 6b 0d 2e 4d 4f cf  &3.d..h...k..MO.
0150   70 4e 23 e1 14 91 8f 22 f5 92 7f c3 73 bc 38 65  pN#...."....s.8e
0160   3c f6 5a da f4 19 9c a9 ef 57 10 fb e6 a1 32 d7  <.Z......W....2.
0170   21 6d ac a0 69 27 93 55 8b 48 05 3c ab 57 11 b4  !m..i'.U.H.<.W..
0180   87 ad 82 f2 1d d1 a0 ca 2d 80 e1 21 83 02 74 0e  ........-..!..t.
0190   89 32 c9 26 5b de d6 81 9a 75 7a ff 0b c4 ff 1e  .2.&[....uz.....
01a0   74 d9 1b 30 82 6b 64 e5 fa 30 d1 f0 64 0d 5d d2  t..0.kd..0..d.].
01b0   55 61 95 4f 6e bb 5d 9c fc 78 bb 2c 4e 48 01 d0  Ua.On.]..x.,NH..
01c0   d0 8f ae ac 5b 24 00 dc ff 20 93 75 b2 41 c8 f5  ....[$... .u.A..
01d0   2e c9 b7 44 48 29 ce 5d e2 fa c6 9f a6 20 3d 28  ...DH).]..... =(
01e0   8c 65 30 5d d0 a1 bc 18 76 a0 e5 70 cf 8f 68 f7  .e0]....v..p..h.
01f0   1a be 3d 04 3d c1 77 4c 4f 57 c2 ed 59 95 19 d1  ..=.=.wLOW..Y...
0200   eb 7c                                            .|


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 13 Jul 2009 23:44 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
here I have the 3.0.5 server but that query you posted is invalid for the server.
are you sure that the packet you pasted is the correct one?
have you sent it to port 39300 (or 9002 in lan)?


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 00:22 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
well, the hypothesis was correct.
the developers have adopted the ssc encryption I have reversed just some hours ago: http://aluigi.org/papers.htm#aa3authdec
so the packet is still compressed but it's encrypted with the key "c6mw4it2kg7sz5o0813d9qyufenhj"


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 03:04 

Joined: 13 Jul 2009 23:01
Posts: 10
you rock!

but well ... my mommy always warned me to talk with guys like you :D :D

Take it as a compliment ;)

Thank you very much for everything! We would be lost without people like you!


Last edited by Fraggel on 14 Jul 2009 04:09, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 08:25 

Joined: 08 Jul 2009 05:55
Posts: 12
Thx for the information, i wonder that the new developers don't have other important things to do then playing with the serverquery, but it's like all the goverment related stuff, normal people can't understand how they tick.

What i have found out is that some server sends detailed playerinfo others ony this small i showed in my last post above. Also strange is that servers can mix these inforamtion, they send small and detailed information. So i have to rewrite my queryprotocol now, only 92 of the 460 server still respond (readable response) to my query so i think the rest is updated yet.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 10:26 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the real questions are:
- why the developers have decided to encrypt the queries? they are only informations like any other query's reply in the world so there is no logical reason to do it
- why some servers reply with so much detailed informations about the players like even their IP addresses?

in the meantime today I will update aa3authdec adding also the ssc_encrypt function needed for my tetsts and allowing to dump the decrypted stuff also in a file other than on the screen (so it's possible that the syntax will change, for sure the [offset] field).

I guess that this stuff is becoming very interesting in my point of view :)


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 11:41 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
just as I promised, that's the new version:

http://aluigi.org/papers.htm#aa3authdec

note that in future the tool could change name because the ssc_* code is not part of AA3 but of Leverage (http://leverage.pdnconnect.com) so it can work also with other games which use the same library like, for example, ARCA Sim Racing.
the only thing which can differ by AA3 are probably the various keys (like header_key and hash_key).


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 11:45 

Joined: 03 Jul 2009 17:07
Posts: 4
aluigi wrote:
- why some servers reply with so much detailed informations about the players like even their IP addresses?


About the detailed information, it seems that AA3 leaves ghost players in the query. At times if a server is empty you will not get the adv stats but you will get names and such. Try to query a very active server and you might get better information on the stats.

At least this is what was found on ACI AntiCheat forums.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 12:44 

Joined: 14 Jul 2009 12:42
Posts: 1
How do I convert a std::string to unsigned char/u8?


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 18:40 

Joined: 14 Jul 2009 18:38
Posts: 13
Is the encryption done on a per-packet level, or for the entire response? Basically, what I'm asking is should I concatenate the all the packets together, then decrypt them, or decrypt all the packets, then concatenate them.

Reason I ask is either way I do it, it fails to decompress afterwards.. unless I'm just forgetting to remove a header from each packet or something.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 19:41 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
for the query/reply packets the encryption is per-packet (so each packet must be decrypted separately) and uses a fixed key.
and the scc encryption is per-packet in general, indeed it works in the same way also in the authorization connections: each tcp block is indipendent by the others


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 21:14 

Joined: 13 Jul 2009 23:01
Posts: 10
if the data is compressed ... first uncompress and then decrypt or first decrypt and then uncompress !? and I have to decrypt each packet for its own, and not putting all packets together and then decrypt them?

So ... when I get a serverresponse with 3 encrypted and compressed packets, then I

- receive and decrypt each package
- put them all together in the right order
- uncompress this data

Is this correct? Or what I am doing wrong :-/ Decrypting single packets is no problem for me but somehow I can't get compressed and encrypted Multi-Packet Streams (AA3_MULTI_PACKET_QUERY_RESP - 02030200) to work here anymore. Was working fine up to 3.0.4 ...

Strange and annoying somehow to get all those packets together, uncompress and decrypt them ... wow ... why so complicated :-/


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 21:23 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the method should be the same of 3.0.4 (concatenate the packets from offset 10 less the last 4 bytes and then uncompress the resulted concatenated buffer) with the addition of the decryption performed on each packet so when you receive a packet decrypt it and then do the same things you did for version 3.0.4


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 21:24 

Joined: 13 Jul 2009 23:01
Posts: 10
yeah sounds easy :D I am trying all the day since sooo many hours. something still b0rked here, but I will find out soon ;)

But yeah, just wanted to make sure I am not completly on the wrong way. I am pretty sure that I am very close to it ... I don't give up :-)

Thanks for quick reply ;) much appreciated


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 21:35 

Joined: 14 Jul 2009 18:38
Posts: 13
Hm, maybe I'm missing a step here. I query the server, and get this as a reply:

Quote:
Packet one
000 4a 35 9b ba 02 03 02 00 03 00 00 00 02 00 1b 94 J5?????.... .......??
010 52 9f a5 ab 6d 13 5e 52 f2 e1 00 7e f9 88 d0 a3 R??????m.^R ?????.~??????????
020 cf ef d4 fb cc 80 94 c0 ac 24 19 5a 3c a3 6c 1d ?????????????????????? ??$.Z<??l.
030 4d 96 75 fa 2b 7f 7f 16 91 43 e3 94 d1 67 bf 96 M??u??+??????. ??C???????g?????
040 72 af bb 8c 6e 4c 22 ef df 33 16 ac be 75 e5 4b r???????nL"??? ???3.?????u??K
050 79 d6 f7 e6 f2 2c e3 46 2e 3a d7 6f 75 e9 50 c9 y???????????,??F .:???ou??P???
060 fe 42 5f d5 52 eb 20 b2 8d 1e cc 5c 5d 78 3f f5 ???B_???R?? ??? ??.???\]x????
070 a3 89 02 f8 ee 6a 14 ca 4f 64 94 f2 e5 7f a4 80 ????.????j.??? Od??????????????
080 dd 39 61 99 51 5f 00 98 e0 35 fc 69 1d 7b 10 12 ???9a??Q_.?? ??5???i.{..
090 0a 04 61 21 35 63 4d 76 f6 24 81 25 d0 e6 d5 a5 ..a!5cMv ??$??%??????????
0a0 93 b4 2b 6f a2 63 11 ff ee 4f 56 2f f2 83 fc c6 ?????+o??c.?? ??OV/???????????
0b0 7c 2e 84 ed 45 f2 47 92 89 48 eb c0 bb 01 1c 15 |.????E???G?? ??H????????...
0c0 54 d5 80 35 b5 41 a0 62 2f b9 27 89 3c e8 a6 d6 T?????5???A??b /???'??<???????
0d0 82 bd 4d 95 28 b3 1a 3a d0 e1 8f cd 1a 7c 13 a5 ?????M??(???.: ??????????.|.??
0e0 4c f9 99 9b 84 42 04 11 02 f8 c5 40 97 be 29 30 L?????????B.. .?????@?????)0
0f0 04 73 7b 66 68 85 89 af 18 a5 7b 6b 1f 59 ee 96 .s{fh?????? .??{k.Y????
100 c5 5c 55 94 02 ff 40 72 bb 43 0b 46 c8 bc 11 5f ???\U??.??@r ???C.F??????._
110 ff d4 bd 0c b3 33 eb 14 3d f0 99 5e cf 7b 2e 7b ????????.???3??. =?????^???{.{
120 a1 6f fd f4 3b c8 9b 61 3f 76 f0 4f 07 84 b6 71 ??o?????;?????a ?v???O.?????q
130 6f 9d 30 d3 60 64 e6 b9 28 89 03 10 ac e0 36 74 o??0???`d????? (??..????6t
140 e2 e3 67 01 a0 c4 01 e2 a8 a6 e0 ad 98 ea 4f 0c ????g.?????.?? ????????????O.
150 4c 44 16 3e 69 c9 01 db 72 f2 2d bf b3 c3 e7 61 LD.>i???.??? r???-???????????a
160 e1 b7 29 84 0e 0c ab e7 d1 a7 35 db 1c 50 26 0f ?????)??..???? ?????5???.P&.
170 86 c1 a9 bf b7 83 cf c8 0e 0b b8 27 66 fc d8 3c ?????????????????????? ..???'f??????<
180 4c 26 60 3f 92 29 17 3a 3b 92 12 28 24 7a fb 46 L&`???).: ;??.($z???F
190 35 d9 8b fc 2b c0 3f 58 74 90 36 78 a6 71 08 22 5????????+????X t??6x??q."
1a0 8e 9f 9b 79 47 e6 ab ba 00 d2 71 5a 33 87 ce 8d ??????yG??????? .???qZ3???????
1b0 69 11 65 32 e8 4f 6b 81 cc 62 a4 5e 17 4c dd 42 i.e2??Ok?? ???b??^.L???B
1c0 81 17 9e 99 94 0f d6 bb b7 1f 0b 36 66 18 ea d9 ??.???????.?????? ???..6f.?????
1d0 d9 d2 40 50 25 6c c4 13 0c fe 39 71 d6 c0 ec 1a ??????@P%l???. .???9q?????????.
1e0 ea 7a de 19 9e d1 81 32 62 11 df 6b 62 17 fa 6c ??z???.????????2 b.???kb.??l
1f0 26 8e bd 68 54 e7 43 2d 9b 52 9a 4e cc 4f 44 46 &?????hT??C- ??R??N???ODF
200 86 34 78 87 35 ca 0c b7 e4 03 c0 c5 81 9e f8 03 ??4x??5???.??? ??.?????????????.
210 fc 7b 7f d9 98 11 16 68 fd c8 23 01 c7 07 82 c0 ???{????????..h ?????#.???.?????
220 d4 ff 9f 9c 58 7e 35 61 4c 33 c1 f9 3d 04 0c a0 ?????????X~5a L3??????=..??
230 e5 20 8e bd 25 99 38 fe 24 4b 3c 30 6b f0 e4 1a ?? ?????%??8??? $K<0k?????.
240 92 65 f4 67 6b fb 26 fb 98 ba 04 2c ef 07 80 bb ??e???gk???&??? ?????.,???.?????
250 cd 37 f7 85 75 45 78 d5 2c 39 60 5c 71 42 f1 f4 ???7?????uEx??? ,9`\qB?????
260 b8 04 9f 69 24 9e 4e 94 fc 5a 02 59 c0 33 3d 6e ???.??i$???N?? ???Z.Y???3=n
270 3a 71 82 5c f0 27 90 7f c2 58 99 13 aa 18 df f1 :q??\???'????? ???X??.??.?????
280 1e 08 9a 36 8f 03 d2 5d 6f 51 9e db f9 ba 27 c8 ..??6??.???] oQ????????????'???
290 90 25 5b 8e 11 5a 0c a2 45 c9 e6 17 4f 93 6d 70 ??%[??.Z.?? E?????.O??mp
2a0 98 90 b4 ad ca e8 e6 9b 7d 64 c9 21 28 d2 da 00 ?????????????????? }d???!(??????.
2b0 ce 1d c8 28 4c 30 c5 71 4a 14 55 98 5f 91 ed ee ???.???(L0???q J.U??_??????
2c0 b6 19 82 c3 b0 c8 57 27 d3 1a 43 65 83 dd 15 33 ???.???????????W' ???.Ce?????.3
2d0 ad 32 91 1d 5f 6a 11 23 87 72 ca a0 b2 d0 15 58 ??2??._j.# ??r???????????.X
2e0 a1 fd ba d1 cc 69 d8 1c c4 a6 c8 73 29 d2 ba d4 ?????????????i???. ????????s)?????????
2f0 40 11 0c 3d 9a 31 41 ea f1 81 9b e1 53 99 5d 2a @..=??1A?? ????????S??]*
300 ab f5 52 46 a1 89 f6 fa 35 b8 fe a7 e8 d2 86 f2 ?????RF???????? 5??????????????????
310 c8 f9 d7 65 1d 88 05 13 b0 e9 bb 6d 3a 0a d0 e3 ?????????e.??.. ????????m:.?????
320 18 82 08 04 63 7e d7 b6 4e 8e 32 3d 08 b9 50 a4 .??..c~?????? N??2=.???P??
330 29 d9 cb 86 34 f1 e9 26 0d f9 17 42 8a cc 26 a3 )????????4????& .???.B?????&??
340 9a 67 a3 ff 5a ea 62 27 30 ae 8f 7d a4 74 ad 17 ??g????Z??b' 0????}??t??.
350 9c 4b eb ca 21 f2 ee f3 77 63 cf 86 f6 0d 6b 65 ??K?????!???????? wc???????.ke
360 a4 26 c8 b7 dd 96 e8 a4 48 3a 69 12 d7 ef 78 1c ??&??????????????? H:i.??????x.
370 68 dc 98 31 4e 2c b8 a7 b9 36 e6 4b f9 53 42 ba h?????1N,????? ???6??K???SB???
380 ff d9 ce d8 92 47 dc 19 62 d5 b1 26 7b 84 90 c1 ?????????????G???. b??????&{???????
390 a7 45 d7 66 36 18 7f b9 8c 86 ca 53 69 ce 90 a0 ??E???f6.?????? ???????Si???????
3a0 21 e0 ae c5 ae ab 85 0d 0b 2c 7b 53 35 49 3b d9 !?????????????. .,{S5I;???
3b0 42 dc df ac e1 06 09 61 af 69 ad 9f 1b 0a 76 4f B??????????..a ??i????..vO
3c0 ad 95 fa 36 0e 4b 78 a7 db 74 5e a0 f6 16 08 1b ??????6.Kx?? ???t^????...
3d0 fb e2 29 c7 a9 f2 66 7d 5a 39 0f ea 1d 42 a4 b2 ?????)?????????f} Z9.??.B?????
3e0 a9 ec 38 c5 3b f2 e2 63 8b 5c f5 3e 3d 48 df 10 ??????8???;?????c ??\???>=H???.
3f0 6b 2e 48 e4 65 c2 d5 a5 fe e6 de c6 36 a4 02 f9 k.H??e???????? ???????????6??.???

Packet two:
000 4a 35 14 c3 02 03 02 00 03 00 01 00 02 00 cc ed J5.???.... ......?????
010 b3 69 c8 2a b1 5e bb ea 85 36 e2 98 6b c3 bb de ???i???*???^????? ??6????k?????????
020 ca fc e1 97 9d c1 c1 0c a2 88 de b2 8f 2c 45 0f ??????????????????. ????????????,E.
030 d0 16 ec 93 c9 47 17 f9 f7 11 e0 c7 b6 cd bb 4b ???.????????G.??? ???.??????????????K
040 f0 43 a9 52 0a 1b 0c f3 83 98 03 df fa 25 a9 a4 ???C???R...??? ????.?????%?????
050 e2 38 90 c7 26 d2 e0 4c 07 48 6f 22 65 f3 84 5a ??8?????&?????L .Ho"e?????Z
060 f6 d9 72 88 c3 5e 7d b4 a4 91 6e 49 79 65 9d 38 ?????r?????^}??? ????nIye??8
070 6d f5 f5 5c be 39 1b db 7b 09 cc cf 4c 38 c0 56 m??????\???9.??? {.??????L8???V
080 ba ec c2 92 7f 74 6a 40 25 84 74 59 96 9b c3 d7 ??????????????tj@ %??tY??????????
090 1c 9e e6 6a 37 c3 46 29 74 cb b0 a8 b6 52 7d 04 .?????j7???F) t???????????R}.
0a0 ad e2 5f c3 65 a5 77 09 63 10 8e 13 bd cd 44 4c ????_???e??w. c.??.??????DL
0b0 50 0a 49 c6 01 e5 11 31 a2 a2 34 2c 25 66 91 49 P.I???.??.1 ????4,%f??I
0c0 f1 32 e3 d0 9b f5 38 a8 b0 b3 19 d7 49 bb a8 36 ??2??????????8?? ??????.???I?????6
0d0 1a f8 67 da c9 5d dd ea b2 af fd ae 19 a5 0b 96 .??g??????]????? ?????????.??.??
0e0 1b 85 e9 a1 e8 97 89 c1 20 48 b3 cb 9b a6 ce ca .??????????????? H????????????????
0f0 da 4a d0 1c 0f 4e a0 70 ef 39 6f 8a e4 59 60 3f ???J???..N??p ???9o????Y`?
100 06 c5 87 43 57 b1 46 de f6 bd b6 29 72 95 bb 7a .?????CW???F??? ????????)r?????z
110 6f ad 06 2c 50 2f 4e 8c a5 2e 52 94 26 09 cf 52 o??.,P/N?? ??.R??&.???R
120 7c 34 b0 bc 6a fd c6 c7 54 26 55 2d e7 b0 10 05 |4??????j???????? T&U-?????..
130 30 b6 64 76 a1 02 77 40 9e 39 2f d0 0e d4 b3 5d 0???dv??.w@ ???9/???.??????]
140 64 43 85 5f 26 28 6e 43 c4 7f 30 cb dd b7 3e b8 dC??_&(nC ??????0?????????>???
150 c7 e0 ce 18 c0 aa 29 7d 03 fb 59 ff bd 23 19 85 ????????.?????)} .???Y?????#.??
160 3a 05 a3 4f 4b 4a 64 d4 b2 5d 1f 4a da ae 63 72 :.??OKJd??? ???].J?????cr
170 2f ac 88 80 a6 b1 02 60 d8 74 61 b6 24 eb 81 a7 /???????????.` ???ta???$??????
180 55 c8 f8 1a bd f3 1e 62 4a 2f 21 52 18 f2 e4 4e U?????.??????.b J/!R.?????N
190 13 fd cf f2 11 68 20 2a 08 f3 7d 7e f7 c5 38 .????????.h * .???}~??????8


I then run the tool on it like so:
aa3authdec.exe -f decoded.1 c6mw4it2kg7sz5o0813d9qyufenhj rawpackets.1
aa3authdec.exe -f decoded.2 c6mw4it2kg7sz5o0813d9qyufenhj rawpackets.2

Looking at those two files, I don't see anything resembling the standard AAH3 query headers, that I saw in the compressed packets.. I just get the following

Quote:
Packet one
000 29 2a f5 3b fb 5c 1c 44 5a 0f 50 44 0b 4d 41 d0 )*???;???\.D Z.PD.MA???
010 ce c4 38 59 9b 36 45 00 b3 10 ea 78 85 1b 3b 26 ??????8Y??6E. ???.??x??.;&
020 37 3a 78 72 2a 0a 4d 58 3c cc 34 0c 3c c0 c7 78 7:xr*.MX <???4.<??????x
030 52 8c be c7 d9 58 13 6a 8c d4 a2 1d 26 e3 83 33 R???????????X.j ???????.&????3
040 a7 80 09 71 bb 2e 3e 89 39 a3 7f e5 1a c2 92 f9 ????.q???.>?? 9???????.????????
050 6f e7 29 1d 07 dd c4 a3 6a 7e 8e ed 41 86 fa c4 o??)..???????? j~????A???????
060 2a fa 44 86 d7 fd c2 dd 65 cc da 99 03 72 1a 82 *??D????????????? e????????.r.??
070 5e 26 98 f9 1d 82 7c b4 e6 7e ab 7c 54 c7 c6 62 ^&?????.??|??? ??~??|T??????b
080 90 d4 9e 7f 1f 3e 7a 25 66 54 1f e6 08 af 80 ed ???????????.>z% fT.??.??????
090 dd b9 79 bb 96 19 f6 96 a6 1f d2 cb 8a 5e 96 9e ??????y?????.???? ??.????????^?????
0a0 e0 dd 1a d8 a1 3f e8 77 f3 99 07 5a 04 bd 8f 94 ?????.????????w ?????.Z.???????
0b0 ce e9 b5 65 b9 d3 d1 74 9f 7f c6 f8 c7 e9 c9 e3 ????????e?????????t ????????????????????
0c0 f1 5c 13 b5 c9 96 0e 7a c1 34 2d 79 82 b3 ea 3c ??\.????????.z ???4-y???????<
0d0 a9 6d 2f e7 20 8e 63 be ba fa 21 de a3 c9 5b 08 ???m/?? ??c??? ?????!????????[.
0e0 eb 44 04 f8 a4 8b ed 42 54 69 98 f6 46 37 ad 94 ??D.????????B Ti????F7????
0f0 72 b1 65 07 3e eb e0 7e 6f e9 eb 5a 0d d5 34 4b r???e.>????~ o????Z.???4K
100 6f f8 54 27 b5 b4 b3 0e 5d 53 4b df b3 f1 16 2e o??T'?????????. ]SK????????..
110 12 65 fc 3b 15 d4 3c ae 3d 55 55 18 a8 92 12 69 .e???;.???<?? =UU.????.i
120 27 53 32 00 1f 32 83 db 1f 87 6b c4 8e b5 41 9c 'S2..2????? .??k????????A??
130 59 51 7f 6c 65 f3 65 4a 66 3d c7 08 cc de 82 43 YQ???le???eJ f=???.????????C
140 ad 08 48 e6 52 b6 b3 dc 55 97 88 9c fc ff d5 5b ??.H??R????????? U??????????????[
150 a8 b5 49 30 2f c8 55 79 7d dd c2 f5 38 7b 02 85 ?????I0/???Uy }?????????8{.??
160 02 71 d5 f6 88 2c 7a d5 67 8e 6d 8c 50 d1 92 5c .q???????,z??? g??m??P?????\
170 23 93 85 61 86 c4 78 36 1d 70 34 5f 93 be 4d 9a #????a?????x6 .p4_?????M??
180 d6 8e af d4 34 e1 6e f1 d4 c6 aa 27 d1 85 cc 7c ??????????4??n?? ????????'????????|
190 4d ed d9 fb 9a 38 ef 9c 91 de 50 6e 6a 5a 67 96 M??????????8????? ?????PnjZg??
1a0 7b 45 43 fb 5e 0e 3d ba f0 2c 2f 67 dc ce e0 6d {EC???^.=??? ???,/g????????m
1b0 4c 4c 49 b0 0b 6c 05 9f 91 41 07 70 ed 75 a9 ab LLI???.l.?? ??A.p??u?????
1c0 b2 8d 59 ad a0 01 7c 4a 8c b8 d8 ac 0e 93 e4 1b ?????Y????.|J ??????????.????.
1d0 cf f2 6f f3 c5 4b 15 65 e9 db 89 f1 38 b4 ea d0 ??????o??????K.e ?????????8????????
1e0 d2 cc 3a 93 ca ba 14 59 30 eb 0c 1a 0d 08 61 57 ??????:????????.Y 0??....aW
1f0 1e d4 b4 97 0b 55 c0 99 3d 58 4e 1a ac 59 d8 6c .????????.U????? =XN.??Y???l
200 c3 c0 c2 23 00 3f f6 9a 68 65 63 23 d1 04 1f 07 ?????????#.????? hec#???...
210 39 20 8c e8 ba ec 90 42 3b 7c 8f 02 b9 72 99 d0 9 ????????????B ;|??.???r?????
220 3e f1 57 3f dd cb 9b 95 1f fc 94 bb 49 9c ed 7a >??W??????????? .????????I????z
230 59 ed ec ba c7 bd 02 fd c4 53 83 06 a8 7f c6 ea Y??????????????.?? ???S??.??????????
240 4a 29 6c ad 8b 77 7b 2f 8b 40 86 5f 95 07 3c cd J)l????w{/ ??@??_??.<???
250 ec d5 c1 e4 60 f8 23 74 b0 a4 c1 8d fe a4 71 96 ???????????`??#t ???????????????q??
260 59 e8 13 59 3e 39 60 7d 4c 4a 8b b2 98 b2 8e 81 Y??.Y>9`} LJ??????????????
270 a4 62 70 29 be 96 12 93 7e 1b 2b 7a 77 4c dd 8d ??bp)?????.?? ~.+zwL?????
280 44 fe a6 fa 47 74 52 74 e7 93 86 b8 cd c7 cb eb D???????GtRt ????????????????????
290 63 a9 4d e4 db 69 36 d0 0a 71 12 f4 45 b1 f4 49 c???M?????i6??? .q.???E??????I
2a0 91 f2 dc c4 16 0b eb b9 2b 3d b0 b1 9a d1 8f 82 ???????????..????? +=???????????????
2b0 c1 f0 e3 41 3b ff 07 14 9d be 90 18 16 75 99 2c ????????A;??.. ???????..u??,
2c0 e1 a9 68 d0 14 32 5c 1d b7 eb fa d4 0c d7 9a ae ?????h???.2\. ??????????.???????
2d0 47 5a d1 d3 b4 2d 46 e1 1b 95 a6 89 c8 e0 8f bd GZ?????????-F?? .????????????????
2e0 96 60 30 7a 6d 88 7e fc ab bc 04 6b 0d 8f 6e 69 ??`0zm??~??? ?????.k.??ni
2f0 d1 08 7b 2f dd a3 3f 06 67 c9 a6 57 bf ab db 76 ???.{/??????. g?????W????????v
300 d2 c0 7f 65 12 86 af 14 41 2e 95 a0 13 e2 b7 82 ?????????e.????. A.????.???????
310 61 d4 ec 78 e5 9e 80 ec 4a d5 b6 7e 66 3c 82 f1 a??????x?????????? J??????~f<????
320 b2 78 09 48 b3 d1 c2 9c 50 29 90 1d 39 24 bb ae ???x.H??????????? P)??.9$?????
330 3f ee 28 eb b8 18 04 46 93 ba fe ad 0e 74 a5 25 ???(?????..F ??????????.t??%
340 80 31 41 47 c0 10 d6 af 3b 98 a2 80 94 59 b5 5d ??1AG???.????? ;????????Y???]
350 b5 54 62 08 76 cc 58 58 36 96 c1 e2 1a 30 b9 31 ???Tb.v???XX 6???????.0???1
360 80 00 5a e7 32 ba 8c 2d cf 1c ad b9 1b 49 e0 4f ??.Z??2?????- ???.?????.I??O
370 52 75 f1 b9 6f ca 42 c9 f2 39 4b 0c d8 e1 82 86 Ru?????o???B??? ???9K.?????????
380 7e 96 b1 19 c4 dc 40 e8 73 02 b1 ab 1f ba ec 77 ~?????.??????@?? s.?????.??????w
390 03 ea e3 6a 19 1b eb 03 46 9e f2 23 6e 38 4b ac .????j..??. F??????#n8K??
3a0 c6 2d 69 38 e9 2d 5b f7 32 77 e6 4c 9c 59 b7 65 ???-i8??-[??? 2w??L??Y???e
3b0 d8 f5 de 4f c8 0a 38 c4 ba 72 3a a6 b0 09 f6 1a ?????????O???.8??? ???r:?????.??.
3c0 f0 52 92 ad f3 16 33 33 83 66 70 17 70 a9 a9 0b ???R???????.33 ??fp.p??????.
3d0 e9 76 bd 35 79 55 28 c0 6f 67 3d 45 85 6d 7a a4 ??v???5yU(??? og=E??mz??
3e0 0c 42 aa 52 3a 7b 7b f9 fc 33 ad eb 84 3d 9e 4a .B??R:{{??? ???3??????=???J
3f0 e0 3f 7e fe 48 c1 f9 95 47 70 b2 94 1c 6c ca 3c ???~???H???????? Gp?????.l???<

Packet two
000 29 2a 7a cd 82 5c 1c 44 5a 0f 51 45 0b 4d 96 7e )*z?????\.D Z.QE.M??~
010 56 d3 a3 b5 c6 a7 ed 5d 7c b0 df 7c f1 c2 1b 30 V???????????????] |??????|?????.0
020 4f 2c 5e 2b 17 1a 59 c1 fe 6e 5f 23 67 fc 61 43 O,^+..Y??? ???n_#g???aC
030 dd 91 a7 37 52 82 43 ed 05 e0 f3 4d 12 2e 2d ea ???????7R??C?? .?????M..-??
040 f8 ee f7 bd 01 1d 47 bb 79 54 c1 83 2d d6 8e 5a ??????????..G??? yT?????-?????Z
050 1b 92 a0 5b f2 f7 39 aa 49 25 44 18 1c 8c 34 83 .????[??????9?? I%D..??4??
060 b1 69 f2 f6 1b d9 2a 86 4a 6a f7 2e 32 4b a5 ed ???i?????.???*?? Jj???.2K????
070 5d 94 13 aa e9 81 20 aa c3 27 9e 19 c0 29 e5 d0 ]??.?????? ?? ???'???.???)?????
080 21 66 e8 d7 3a 3b 3b 97 7b 20 26 5e b3 c4 b3 fb !f?????:;;?? { &^????????????
090 0e 35 64 77 df bb 5d c2 7b 72 0c 77 61 8c 8a 97 .5dw??????]??? {r.wa??????
0a0 7f b5 38 00 ca 3e 48 e7 88 4b 80 be 77 bc 79 a6 ??????8.???>H?? ??K?????w???y??
0b0 68 e1 5c 83 d6 80 90 81 17 be f3 cb b5 10 23 32 h??\??????????? .????????????.#2
0c0 08 1e 97 33 02 0c 22 28 94 a1 19 19 a9 95 b7 d2 ..??3.."( ????..???????????
0d0 d1 b0 40 82 8e 81 4a a9 08 d6 1d cf c3 13 9a 23 ??????@??????J??? .???.??????.??#
0e0 8f 6f 08 b2 f2 32 b5 1f a6 fb 5e 0b c1 23 52 89 ??o.??????2???. ?????^.???#R??
0f0 56 56 f7 d6 23 47 02 88 47 82 63 af 17 2e ba 6c VV??????#G.?? G??c??..???l
100 05 a2 1f 22 37 af fb a4 bc e0 08 0d 66 62 95 a1 .??."7??????? ?????..fb????
110 a7 8c 3e a0 d6 2b 85 93 3d 13 40 19 8b 09 81 a1 ????>?????+???? =.@.??.????
120 d3 d5 24 05 06 56 eb 20 d2 bc 9e 03 0c 61 d3 4e ??????$..V?? ?????????..a???N
130 72 25 00 9d 01 54 92 22 29 3b 5b e4 ae 48 33 ef r%.??.T??" );[????H3???
140 02 2e 0a 5a 8a dc 30 12 98 22 81 2a df e7 f9 9e ...Z?????0. ??"??*???????????
150 97 9a 35 ce a0 02 1e f7 aa a5 bf c1 76 95 1c 9f ????5?????..??? ??????????v??.??
160 3d 18 ed b7 06 2f f3 29 37 17 bd 37 07 e9 29 64 =.?????./???) 7.???7.??)d
170 f7 57 c9 7f a8 e7 87 53 63 d9 92 17 40 eb 03 58 ???W????????????S c?????.@??.X
180 54 79 d9 69 3e 14 bd a0 fd 0a 24 6e 97 31 5b 6b Ty???i>.????? ??.$n??1[k
190 63 ef b9 b1 ae aa 58 f1 9f c1 78 23 3d bf e3 c?????????????X?? ?????x#=?????


Any idea's? I've been looking at this for awhile and I haven't really come up with anything that I'm doing wrong.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 21:38 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
you missed -o 10 for specifying that the part to decrypt starts at offset 10 of the packet


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 23:04 

Joined: 14 Jul 2009 18:38
Posts: 13
Yep, that was it thanks.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 14 Jul 2009 23:53 

Joined: 13 Jul 2009 23:01
Posts: 10
hmmmpf, feeling stupid now! With all those bits and bytes flying around in my head I probably don't see what I am doing wrong all the time.

I query a empty gameserver which responds with one single encrypted and compressed packet (see attachment below).

My Tool and aa3authdec shows me this result and yes I used the offset-10:

Code:
- open c6mw4it2kg7sz5o0813d9qyufenhj
- open query_dump2.dat
78 da 75 93 fb 6f da 30 10 c7 af 45 5d d5 3d 68   x.u..o.0...E].=h
e9 63 dd 7e 1a fb 69 8f 1f 58 80 b6 b4 3f 32 d6   .c.~..i..X...?2.
6d 48 5d cb a0 a2 93 a6 09 99 f8 00 ab 8e 9d f9   mH].............
d1 36 fb eb e7 84 24 04 a6 45 56 e4 fb dc d9 e7   .6....$..EV.....
fb da 57 06 62 8c 62 63 6b f0 92 04 a8 37 df 43   ..W.b.bck....7.C
19 34 aa 3b 54 43 54 9a 49 01 3b a9 dd 0d db 94   .4.;TCT.I.;.....
2a d4 1a b6 53 f2 55 6a d3 93 ca e4 21 df 2d aa   *...S.Uj....!.-.
28 21 bb 29 e9 71 12 a1 ea 48 2b 16 51 17 72 ca   (!.).q...H+.Q.r.
44 9c 2d 27 6d 1a 30 71 1e 10 c6 b7 8b 24 8e a9   D.-'m.0q.....$..
a4 e0 a3 65 9c 5e da 60 8c 2a 5b f5 99 93 69 67   ...e.^.`.*[...ig
86 c4 e8 72 91 48 19 3e 2f d8 17 48 34 d2 41 62   ...r.H.>/..H4.Ab
bf 28 f0 ab c9 84 f9 8c f0 b9 67 b7 e0 e9 11 ad   .(........g.....
ef a5 a2 fb 45 66 c5 ed d8 6a 83 ea a0 40 07 2c   ....Ef...j...@.,
b0 82 19 a7 d2 d2 11 86 57 dd 5e 66 7f 71 35 c4   ........W.^f.q5.
75 94 0b 9a c5 f6 c1 8a 7d 2e 7c 49 91 56 0a f8   u.......}.|I.V..
06 c7 9a 19 dc 2f 20 26 5c 7d 41 48 44 f4 2c a5   ...../ &\}AHD.,.
df 48 18 2f 7f 99 9b 0f 73 c9 cf 1f 42 54 0c 85   .H./....s...BT..
8f 3b ab 2e bd b7 20 83 10 7d 43 8c 54 3a df 81   .;.... ..}C.T:..
89 d5 1d 2a b9 4b c7 2f 62 c0 fe e0 de 32 ba 96   ...*.K./b....2..
56 75 3f ad c4 5d 47 61 7e f8 14 0d 89 62 44 98   Vu?..]Ga~....bD.
ac f8 2b 97 81 c4 45 0d 22 27 6d f0 2a 7f 46 84   ..+...E."'m.*.F.
33 77 3b 24 56 b6 8f bf 2d 53 18 a0 30 3a 2b a5   3w;$V...-S..0:+.
8f a1 35 89 37 4b 39 b8 65 9c f7 93 bd b2 a0 45   ..5.7K9.e......E
69 59 d0 35 92 20 95 e0 29 84 c9 24 d6 ce 83 bd   iY.5. ..)..$....
d4 1a 48 4e 59 06 b7 53 98 f6 81 07 87 59 d4 72   ..HNY..S.....Y.r
3b 2c 22 d3 bb 88 41 de 55 43 c2 6d d2 56 8f a0   ;,"...A.UC.m.V..
59 f3 6a b1 af 51 3f a9 35 8e 8e 6b 8d fa 69 ad   Y.j..Q?.5..k..i.
79 0c 1b 70 da 6a b5 62 ff 59 d3 f3 60 1d ea ae   y..p.j.b.Y..`...
05 7d c9 99 b8 9d 67 d2 50 82 cb 0f ed e4 b7 05   .}....g.P.......
5e 63 e4 b5 bc 53 ef 6c 0d bc 64 d4 93 e1 e5 ff   ^c...S.l..d.....
d7 70 ec 9d 98 59 b5 47 14 f1 67 ee 08 d5 ae 98   .p...Y.G..g.....
38 d1 55 54 ed e3 94 c5 42 6e c1 5b f7 9e 85 bc   8.UT....Bn.[....
17 ef 0e a1 1d b8 6b f6 c9 1b 5d 6d ab 20 aa 36   ......k...]m. .6
ab f3 ac 85 98 c2 b4 02 5d f7 fc 7c 33 a2 24 1a   ........]..|3.$.
f9 5c 5a 1a 6d c1 59 f6 ad 43 e3 68 7e ac 0d e0   .\Z.m.Y..C.h~...
44 4d b1 04 4c 4c 4a 60 c8 ac 04 14 ef 36 e1 86   DM..LLJ`.....6..
09 2a ef 75 09 da 22 5a 83 66 56 83 f7 04 7e 36   .*.u.."Z.fV...~6
3b fd 5f 63 f5 03 29 2c 19 ff d5 ed 1f f0 18 dc   ;._c..),........
75 58 6e 3a ae                                    uXn:.


But I can't uncompress this data :-/ But I don't know why :(

I absolutly did not any problems with old versions for me, I thought I understood this and I coded my own tools easily, but that encryption is driving me crazy! Multipackage streams also have the same problem. It detects everything from the header and is sorting the packages into correct order always, but I am always stuck when trying to decompress this data. I already tried to put the first 10 bytes back into the front of that data after it got decrypted, but it didn't help. So which bytes exactly do I have to uncompress, where should I start / stop. Just the above decrypted query response, or do I have to add something else to it !? In my old <3.04 scanner I always uncompressed the whole server query response, only removed the header by starting at that position where byte \x78 was located. My output above also starts with \x78, but something not right :-(

Anyone here already managed to get a 'readable' server query response from a gameserver when data is compressed and encrypted? With stuff like "attributeNames", "serverHostName" and all the other infos!?


Attachments:
query_dump2.dat [633 Bytes]
Downloaded 39 times
Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 03:21 

Joined: 08 Jul 2009 05:55
Posts: 12
I recieved 3 packets, then i used ur tool with this cmds:
Quote:
aa3authdec.exe -f 001.out -o 14 c6mw4it2kg7sz5o0813d9qyufenhj 001.raw
aa3authdec.exe -f 002.out -o 14 c6mw4it2kg7sz5o0813d9qyufenhj 002.raw
aa3authdec.exe -f 003.out -o 14 c6mw4it2kg7sz5o0813d9qyufenhj 003.raw

Ok i got 3 files, the first one started with \x78 which looked good for uncompress. I merged the file all 3 after another, but in the middel of uncompressed buffer the data has been messed up. So it seems that only the first packet has been decompressed correctly. So does anyone has any idea whats wrong?


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 03:32 

Joined: 08 Jul 2009 05:55
Posts: 12
ok a one packet response works fine, here ist the raw data:
Code:
00000000h: 4A 35 B5 47 02 02 02 00 03 00 1B 94 AA 24 AC BE ; J5??G.......?????$????
00000010h: 78 7E 37 BC CB 2E 33 2D FE E1 91 CC 23 D5 A2 7D ; x~7????.3-?????????#????}
00000020h: 83 D9 29 0E 90 D4 58 13 D5 A5 EC 73 04 1F E3 F5 ; ????).????X.??????s..????
00000030h: F9 9D AE A5 3E 64 C5 EA 15 5D 2F 87 20 C6 43 A2 ; ????????>d????.]/??? ??C??
00000040h: 29 4A EC C6 09 54 04 EA 82 7B E7 00 1C 9E DF 96 ; )J????.T.?????{??..???????
00000050h: 61 F3 1A 40 FB 0C B3 84 C7 93 FA 18 17 4F 4F 18 ; a??.@??.????????????..OO.
00000060h: 89 C5 C6 D7 0D 65 B2 53 41 B8 F5 D8 59 98 01 C0 ; ?????????.e??SA??????Y??.??
00000070h: 1D 34 4A 80 A1 EB 97 99 90 91 DF 25 45 74 1D 3F ; .4J????????????????????%Et.?
00000080h: 7C 23 D0 D3 24 9C F1 49 C8 04 3D B9 ED 9E 6A 14 ; |#????$????I??.=??????j.
00000090h: F4 70 49 5C 67 42 77 A4 9C BF BB 95 2C FB C3 3E ; ??pI\gBw???????????,????>
000000a0h: 9A BD 31 34 B9 18 AF BB AE 00 B4 3A 1C CA 02 70 ; ????14??.??????.??:.??.p
000000b0h: 35 FA F4 87 BD 84 FE 12 51 20 01 42 A8 C8 9F B8 ; 5??????????????.Q .B????????
000000c0h: 96 EF F8 21 FB CA 6F 2D 54 29 CB 53 92 C7 E8 4F ; ???????!????o-T)??S???????O
000000d0h: 5D 31 D7 F6 AF D0 A5 C1 AF 4E 13 87 15 C3 07 1B ; ]1??????????????N.???.??..
000000e0h: 42 37 86 E5 1A F9 35 84 62 E2 FA 9E 63 3C 71 ED ; B7?????.??5???b??????c<q??
000000f0h: DC F6 9F 4E F2 E0 A5 17 CD 1B C1 6D 6A 80 00 84 ; ??????N??????.??.??mj???.???
00000100h: C0 E8 CD 68 C5 07 1A AE 8A 86 F3 0E F5 AC A0 24 ; ??????h??..?????????.???? $
00000110h: EF 74 71 45 79 2D B8 15 24 54 11 89 41 31 FB EA ; ??tqEy-??.$T.???A1????
00000120h: 8C C5 92 49 F9 72 F1 0B CD 7B 73 F3 C9 65 FE 98 ; ???????I??r??.??{s????e????
00000130h: C2 EB 42 B3 62 61 29 71 A6 A8 2C E0 59 A7 46 F8 ; ????B??ba)q????,??Y??F??
00000140h: 43 40 28 17 53 19 FD 67 60 55 11 F5 77 D7 4D CC ; C@(.S.??g`U.??w??M??
00000150h: FB 26 7F 2D DC 9B 60 CF 33 91 D6 28 E1 30 C6 5F ; ??&-?????`??3?????(??0??_
00000160h: 6D 6B B5 D1 C6 02 BD E0 00 1B C2 76 44 94 B5 18 ; mk??????.????..??vD?????.
00000170h: BE ED 64 A4 80 49 D6 11 40 63 CD C4 09 9F E8 10 ; ????d?????I??.@c????.????.
00000180h: 52 34 55 BF 28 8E 6F AA 7C 84 AC AF 3D 08 2A 70 ; R4U??(??o??|???????=.*p
00000190h: 8D 87 FB 43 03 69 29 27 04 30 6E 7C B9 8E 1E A3 ; ???????C.i)'.0n|????.??
000001a0h: 59 4C 84 C2 2B E1 B5 03 FC 12 5B 41 81 A8 EF CA ; YL?????+????.??.[A????????
000001b0h: 3F 3F 78 B0 DC 7A 6B 8E 9A 02 6B 30 D2 CC 40 74 ; ??x????zk????.k0????@t
000001c0h: 81 1B 12 3D 33 EF 60 15 53 9E 11 0A 19 8F DF BD ; ??..=3??`.S??...??????
000001d0h: F4 FA 85 6D 6A 14 AB 9F 16 DD 19 C9 E8 2F 10 4C ; ???????mj.????.??.????/.L
000001e0h: 4B FE 84 25 D6 78 1F 8E 38 52 1F C7 AF 6D 88 F0 ; K?????%??x.??8R.????m????
000001f0h: F4 FD 18 12 AB C1 5B 0A 73 46 96 A4 60 B5 66 AD ; ????..????[.sF?????`??f??
00000200h: C5 55 93 4A A9 7F 05 BA DD B0 D0 80 CC D5 3A BE ; ??U???J??.???????????????:??
00000210h: 1C 86 24 3A F5 90 AA C9 5A 76 4E B3 B8 40 10 01 ; .???$:????????ZvN????@..
00000220h: 85 A1 5E 64 DC FC A9 7D 14 8E 41 B0 0F C3 7B 23 ; ?????^d??????}.??A??.??{#
00000230h: F6 80 E6 21 35 1F A5 A0 6A 2E 28 74 BC 1B B9 8F ; ???????!5.?? j.(t??.????
00000240h: CC 89 98 32 5F D4 74 E2 8D 9F 5D 7C 80 32 CD 59 ; ???????2_??t??????]|???2??Y
00000250h: 44                                              ; D


then the decrypted data, with a nice \x78 for decompress:
Code:
00000000h: 78 DA 65 94 CB 4F DB 40 10 87 27 A1 14 51 89 40 ; x??e?????O??@.???'??.Q???@
00000010h: 78 54 ED A1 2A 97 F6 56 E3 24 95 42 8E 21 A5 25 ; xT????*?????V??$???B??!??%
00000020h: 12 85 34 46 E1 50 55 68 63 4F 92 15 FB 70 F7 41 ; .???4F??PUhcO???.??p??A
00000030h: 70 FF FA AE 8D ED 98 60 AD 2C CD 37 33 BB 33 E3 ; p????????????`??,??73??3??
00000040h: DF BA 01 C4 18 45 A7 D6 E0 15 E1 A8 B7 3E 41 03 ; ????.??.E??????.??????>A.
00000050h: 34 AA 07 54 13 54 9A 4A 01 7B B9 3D 8C FB 51 A4 ; 4??.T.T??J.{??=????Q??
00000060h: 50 6B D8 CD C9 85 D4 66 24 95 29 43 7E 59 54 49 ; Pk???????????f$???)C~YTI
00000070h: 46 F6 73 32 62 24 41 35 90 56 AC A2 2E E5 9C 8A ; F??s2b$A5??V????.??????
00000080h: F4 B4 92 F4 23 4E C5 39 27 94 ED 56 49 1A D3 CC ; ?????????#N??9'?????VI.????
00000090h: C1 99 A5 2C BA B2 7C 8A AA C8 FA CE C8 7C B0 40 ; ???????,????|????????????|??@
000000a0h: 62 74 A3 4A A4 8C DF 56 EC 4B 24 1A A3 20 B3 DF ; bt??J??????V??K$.?? ????
000000b0h: 55 F8 F5 6C 46 43 4A D8 93 67 BF E2 19 11 AD 97 ; U????lFCJ?????g????..?????
000000c0h: 52 45 87 55 66 C5 FD D4 6A 83 EA A8 42 03 CA AD ; RE???Uf??????j??????B.????
000000d0h: A0 C6 4D E9 59 09 93 EB E1 A8 B0 7F B8 1E D2 3E ;  ??M??Y.?????????????.??>
000000e0h: 1A 95 99 A5 F6 D1 9A 7D 2E 42 19 61 D4 AC E0 5B ; .??????????????}.B.a??????[
000000f0h: 9C 6A 6A F0 B0 82 A8 70 FD F1 98 88 64 27 A7 3F ; ??jj?????????p????????d'???
00000100h: 49 9C A6 BF 2F CD C7 A7 91 9F 3F C6 A8 28 8A 10 ; I??????/????????????????(??.
00000110h: F7 D6 5D FA 60 45 82 18 43 43 8C 54 BA DC 81 8A ; ????]??`E???.CC??T????????
00000120h: F5 1D 9A A5 4B A7 8A 08 E8 3F 3C 78 8E 6E A4 55 ; ??.????K????.???<x??n??U
00000130h: C3 6F 6B 71 37 49 5C 16 9F A3 09 51 94 08 53 34 ; ??okq7I\.????.Q???.S4
00000140h: 7F ED 4E 20 69 53 41 E2 46 CB 3F 96 32 22 8C BA ; ??N iSA??F??????2"????
00000150h: AF 43 D2 C9 8E F1 AF A5 0A 39 0A A3 8B 56 C6 18 ; ??C????????????.9.?????V??.
00000160h: 5B 93 79 8B 23 83 7B CA D8 38 DB AB 08 5A B5 56 ; [???y???#??{????8????.Z??V
00000170h: 04 DD 20 E1 F9 08 76 57 BA 9F 10 66 33 E1 BF 86 ; .?? ????.vW????.f3???????
00000180h: 8E E7 7B BE BB 00 AD D6 A9 D7 6A 77 9D D5 6E F5 ; ????{????.????????jw????n??
00000190h: 60 13 4E BB DD 6E EA EE 75 7C 1F EA E0 3B E1 52 ; `.N????n????u|.????;??R
000001a0h: 9E 4E 87 30 27 8A 85 AB 0D 36 E0 EA A4 9F BD B6 ; ??N???0'???????.6????????????
000001b0h: C1 6F DF F9 5D FF D4 EF D5 C0 CF 56 2B 5B 7E F9 ; ??o????]????????????V+[~??
000001c0h: FE 00 C3 3C FD F8 EC 29 FF F8 CB EF E1 D9 9F E3 ; ??.??<??????)????????????????
000001d0h: 0B 29 DC 24 8F 5E BA 07 8C 88 BD 17 F8 33 70 4C ; .)??$??^??.??????.??3pL
000001e0h: 6F 84 F6 96 A8 8D 40 E3 85 92 7B C4 9E 2C F5 F4 ; o????????????@????????{????,????
000001f0h: 84 4E 43 97 E4 2D 0C 67 4D 48 65 18 54 65 B4 03 ; ???NC?????-.gMHe.Te??.
00000200h: 63 22 C2 C5 5D 44 92 BB 99 9C 6F 43 AF 78 EA D0 ; c"????]D??????????oC??x????
00000210h: FE 5A 83 B6 AB 74 13 18 51 73 DC 00 2A 66 75 08 ; ??Z??????t..Qs??.*fu.
00000220h: E5 2B 88 F0 A1 B5 05 B7 54 44 72 A9 37 A0 2F 92 ; ??+????????.??TDr??7 /???
00000230h: 1A 74 8A 2E FD 37 E0 7E 0F 96 99 81 53 72 BD 06 ; .t??.??7??~.????????Sr??.
00000240h: 00 FF 01 8C 78 73 BB                            ; .??.??xs??


and after decompressing it looks so:
Code:
00000000h: 0E 00 61 74 74 72 69 62 75 74 65 4E 61 6D 65 73 ; ..attributeNames
00000010h: 07 25 00 0E 00 73 65 72 76 65 72 56 65 72 73 69 ; .%...serverVersi
00000020h: 6F 6E 00 10 00 73 65 72 76 65 72 49 70 41 64 64 ; on...serverIpAdd
00000030h: 72 65 73 73 00 0F 00 73 65 72 76 65 72 48 6F 73 ; ress...serverHos
00000040h: 74 50 6F 72 74 00 10 00 73 65 72 76 65 72 51 75 ; tPort...serverQu
00000050h: 65 72 79 50 6F 72 74 00 12 00 73 65 72 76 65 72 ; eryPort...server
00000060h: 50 6C 61 79 65 72 43 6F 75 6E 74 00 10 00 73 65 ; PlayerCount...se
00000070h: 72 76 65 72 4C 6F 67 69 6E 4E 61 6D 65 00 10 00 ; rverLoginName...
00000080h: 73 65 72 76 65 72 41 64 6D 69 6E 45 6D 61 69 6C ; serverAdminEmail
00000090h: 0F 00 73 65 72 76 65 72 41 64 6D 69 6E 4E 61 6D ; ..serverAdminNam
000000a0h: 65 11 00 73 65 72 76 65 72 42 75 69 6C 64 4E 75 ; e..serverBuildNu
000000b0h: 6D 62 65 72 10 00 73 65 72 76 65 72 46 6C 61 67 ; mber..serverFlag
000000c0h: 43 68 65 61 74 73 0E 00 73 65 72 76 65 72 46 6C ; Cheats..serverFl
000000d0h: 61 67 43 6F 6F 70 16 00 73 65 72 76 65 72 46 6C ; agCoop..serverFl
000000e0h: 61 67 4C 65 61 73 65 64 53 65 72 76 65 72 18 00 ; agLeasedServer..
000000f0h: 73 65 72 76 65 72 46 6C 61 67 4F 66 66 69 63 69 ; serverFlagOffici
00000100h: 61 6C 53 65 72 76 65 72 12 00 73 65 72 76 65 72 ; alServer..server
00000110h: 46 6C 61 67 50 61 73 73 77 6F 72 64 14 00 73 65 ; FlagPassword..se
00000120h: 72 76 65 72 46 6C 61 67 50 75 6E 6B 62 75 73 74 ; rverFlagPunkbust
00000130h: 65 72 15 00 73 65 72 76 65 72 46 6C 61 67 53 69 ; er..serverFlagSi
00000140h: 6D 75 6E 69 74 69 6F 6E 73 0E 00 73 65 72 76 65 ; munitions..serve
00000150h: 72 46 6C 61 67 56 4F 49 50 0E 00 73 65 72 76 65 ; rFlagVOIP..serve
00000160h: 72 47 61 6D 65 4E 61 6D 65 0E 00 73 65 72 76 65 ; rGameName..serve
00000170h: 72 48 6F 73 74 4E 61 6D 65 15 00 73 65 72 76 65 ; rHostName..serve
00000180h: 72 48 6F 73 74 4E 61 6D 65 45 6E 63 6F 64 65 64 ; rHostNameEncoded
00000190h: 11 00 73 65 72 76 65 72 48 6F 73 74 57 65 62 73 ; ..serverHostWebs
000001a0h: 69 74 65 14 00 73 65 72 76 65 72 48 6F 73 74 69 ; ite..serverHosti
000001b0h: 6E 67 43 6F 6D 70 61 6E 79 0D 00 73 65 72 76 65 ; ngCompany..serve
000001c0h: 72 4D 61 70 4E 61 6D 65 19 00 73 65 72 76 65 72 ; rMapName..server
000001d0h: 4D 61 78 50 6C 61 79 65 72 45 78 70 65 72 69 65 ; MaxPlayerExperie
000001e0h: 6E 63 65 10 00 73 65 72 76 65 72 4D 61 78 50 6C ; nce..serverMaxPl
000001f0h: 61 79 65 72 73 13 00 73 65 72 76 65 72 4D 61 78 ; ayers..serverMax
00000200h: 53 70 65 63 74 61 74 6F 72 73 19 00 73 65 72 76 ; Spectators..serv
00000210h: 65 72 4D 69 6E 50 6C 61 79 65 72 45 78 70 65 72 ; erMinPlayerExper
00000220h: 69 65 6E 63 65 11 00 73 65 72 76 65 72 4D 69 73 ; ience..serverMis
00000230h: 73 69 6F 6E 53 69 7A 65 13 00 73 65 72 76 65 72 ; sionSize..server
00000240h: 4D 69 73 73 69 6F 6E 54 6F 75 72 49 44 11 00 73 ; MissionTourID..s
00000250h: 65 72 76 65 72 4D 69 73 73 69 6F 6E 54 79 70 65 ; erverMissionType
00000260h: 14 00 73 65 72 76 65 72 4D 69 73 73 69 6F 6E 56 ; ..serverMissionV
00000270h: 61 72 69 61 6E 74 15 00 73 65 72 76 65 72 4F 70 ; ariant..serverOp
00000280h: 65 72 61 74 69 6E 67 53 79 73 74 65 6D 1F 00 73 ; eratingSystem..s
00000290h: 65 72 76 65 72 51 75 61 6C 69 66 69 63 61 74 69 ; erverQualificati
000002a0h: 6F 6E 52 65 71 75 69 72 65 6D 65 6E 74 73 10 00 ; onRequirements..
000002b0h: 73 65 72 76 65 72 52 65 70 75 74 61 74 69 6F 6E ; serverReputation
000002c0h: 11 00 73 65 72 76 65 72 53 6B 69 6C 6C 52 61 74 ; ..serverSkillRat
000002d0h: 69 6E 67 10 00 73 65 72 76 65 72 53 70 65 63 74 ; ing..serverSpect
000002e0h: 61 74 6F 72 73 11 00 73 65 72 76 65 72 54 65 61 ; ators..serverTea
000002f0h: 6D 50 6C 61 79 65 72 73 0F 00 61 74 74 72 69 62 ; mPlayers..attrib
00000300h: 75 74 65 56 61 6C 75 65 73 07 25 00 06 00 33 2E ; uteValues.%...3.
00000310h: 30 2E 30 00 0E 00 31 31 38 2E 31 32 37 2E 30 2E ; 0.0...118.127.0.
00000320h: 32 31 39 00 05 00 38 37 37 37 00 06 00 33 39 33 ; 219...8777...393
00000330h: 30 30 00 02 00 30 00 10 00 69 6D 70 65 72 69 61 ; 00...0...imperia
00000340h: 6C 62 75 73 68 6D 65 6E 00 03 00 4E 2F 41 03 00 ; lbushmen...N/A..
00000350h: 4E 2F 41 09 00 30 32 5F 30 37 30 38 30 39 01 00 ; N/A..02_070809..
00000360h: 30 01 00 30 01 00 31 01 00 31 01 00 30 01 00 31 ; 0..0..1..1..0..1
00000370h: 01 00 30 01 00 31 1D 00 49 6D 70 65 72 69 61 6C ; ..0..1..Imperial
00000380h: 20 42 75 73 68 6D 65 6E 20 2D 5B 49 42 5D 20 48 ;  Bushmen -[IB] H
00000390h: 6F 6E 6F 75 72 15 00 49 6D 70 65 72 69 61 6C 20 ; onour..Imperial
000003a0h: 42 75 73 68 6D 65 6E 20 43 6C 61 6E 10 00 49 6D ; Bushmen Clan..Im
000003b0h: 70 65 72 69 61 6C 20 42 75 73 68 6D 65 6E 26 00 ; perial Bushmen&.
000003c0h: 6D 65 6D 62 65 72 73 2E 77 65 73 74 6E 65 74 2E ; members.westnet.
000003d0h: 63 6F 6D 2E 61 75 2F 77 73 62 2F 69 62 63 6C 61 ; com.au/wsb/ibcla
000003e0h: 6E 2E 68 74 6D 6C 11 00 47 61 6D 65 53 65 72 76 ; n.html..GameServ
000003f0h: 65 72 48 6F 73 74 69 6E 67 0D 00 52 61 6E 63 68 ; erHosting..Ranch
00000400h: 5F 64 61 79 5F 66 6F 67 09 00 39 39 39 39 39 39 ; _day_fog..999999
00000410h: 39 39 39 02 00 32 34 01 00 32 01 00 30 05 00 6C ; 999..24..2..0..l
00000420h: 61 72 67 65 03 00 69 6E 66 02 00 63 6F 04 00 64 ; arge..inf..co..d
00000430h: 65 76 31 07 00 57 69 6E 64 6F 77 73 03 00 41 6E ; ev1..Windows..An
00000440h: 79 01 00 33 01 00 30 01 00 30 01 00 30 0A 00 72 ; y..3..0..0..0..r
00000450h: 65 73 75 6C 74 43 6F 64 65 02 01 00 00 00       ; esultCode.....


looks good for parsing like in 3.0.4, but what is the problem with merging multiple packets?


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 03:42 

Joined: 15 Jul 2009 03:37
Posts: 2
You need to merge all the packets together, bar the headers, before attempting to decrypt them. As with the compression, the encryption runs across packet boundaries.

Rifle


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 04:09 

Joined: 13 Jul 2009 23:01
Posts: 10
thanks for sharing Quaker, very helpfull (at least for me ^^).

Well, looks like I am on the right way. my decrypted data looks 100% identical like yours when I query that server. Starting with \x78 and ending with \xBB so I am on the right way I think ... guess the problem is the way I try to decompress the data, will try something else now ...


Last edited by Fraggel on 15 Jul 2009 05:20, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 04:58 

Joined: 15 Jul 2009 03:37
Posts: 2
If you're running into problems inflating the data it's problem because it was either not combined or decrypted correctly (or a combination of both). Is there a specific server you're having problems inflating the data fragmented over multiple packets. If you give me the IP I can post a dump from ever step so you can see where you're running into troubles.

Rifle


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 05:23 

Joined: 13 Jul 2009 23:01
Posts: 10
I make some progress now I think, I finally see some stuff readable now (attributeNames%??????serverVersion???)

*HURRAY*

But that was just single packet, now let me take a look at the other Multi Packet Servers :p

Thanks for your help guys! Really appreciated. It sometimes can be very annoying if you are stuck in those millions of bits and bytes and nothing works because only one of 1000 bits is wrong :p

Image


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 12:19 

Joined: 08 Jul 2009 05:55
Posts: 12
Ok, here what i found out:
First i have to say, that in my opinion it is better to do the output in "aa3authdec.c" like this:

Code:
int main(int argc, char *argv[]){
   :
   :
   fwrite(buff 1, buffsz, fdo);
}   

instead of this:
Code:
int main(int argc, char *argv[]){
   :
   :
   fwrite(buff + offset, 1, buffsz - offset, fdo);
}   

the reason for this is, when u recieve the packets and you do a realtime decryption of the packet, you know the number of packets you will recieve. A one packet response you have to decrypt like this

Code:
main -f 1.out -o 10 c6mw4it2kg7sz5o0813d9qyufenhj 1.raw

the you will find a \x78 at position 10, now you know its only one packet you have to deal with. If this fails, use this method:
Code:
main -f 1.out -o 14 c6mw4it2kg7sz5o0813d9qyufenhj 1.raw

On a multipacket response you will find the packetnumber at position 10 and the total number of packets on position 12, datasegment will start at position 14. I have to say that the first packet on every server i queried allways looked like the method i descibed above. In version prior then v3.0.5 i did the merging like this:

Code:
/*
u_char   **ptrBuff   -> *buff[MULTIBUFF_COUNT],
int   *len_ptrBuff   -> &len_buff[MULTIBUFF_COUNT],
*/
boolean MultiPacketMergeAArmy3(u_char **ptrBuff, int *len_ptrBuff, int ptrBuff_count, u_char *recvBuff, int *len_recvBuff){

   if(ptrBuff_count == 1){
      if(uncompress(recvBuff, len_recvBuff, (*ptrBuff + 10), (*len_ptrBuff - 10)) == Z_OK){
         return TRUE;
      }
   }else{
      char   *position, buffer[MULTIBUFF_SIZE*MULTIBUFF_COUNT];
      int   i, j, len;
      
      len = 0;
      position = buffer;
      for(i = 0; i < ptrBuff_count; i++){      //maybe the packets won't come in the right order
         for(j = 0; j < ptrBuff_count; j++){   //so we do this job
            if(*(*(ptrBuff + j) + 10) == i){
               len = *(len_ptrBuff + j) - 14;
               memcpy(position, (*(ptrBuff + j) + 14), len);
               position += len;
            }
         }
      }
      len = position - buffer;
      if(uncompress(recvBuff, len_recvBuff, buffer, len) == Z_OK){
         return TRUE;
      }
   }
   return FALSE;
}


It always worked fine and never failed, but now i cannot merge the packets like i did it b4, so maybe one will find a solution and can post it here, thx.
Finally i have to say, that the method using the "aa3.key.db" file doesn't work for me, i have to use "c6mw4it2kg7sz5o0813d9qyufenhj" as encrypt key.


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 13:49 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
Quote:
the reason for this is, when u recieve the packets and you do a realtime decryption of the packet, you know the number of packets you will recieve.
you must check the header of the packet before the decryption because header and data are two distinct things (handled separately also by the same AA3).

Quote:
Finally i have to say, that the method using the "aa3.key.db" file doesn't work for me, i have to use "c6mw4it2kg7sz5o0813d9qyufenhj" as encrypt key.
aa3.key.db is required only for decrypting the communication with the authentication server auth.aa3.americasarmy.com where is used a different key in each data block.
the query stuff uses only c6mw4it2kg7sz5o0813d9qyufenhj for both decryption and encryption


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 14:00 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
a correction to what I said in a previous post.
the packets act only as container of the original compressed and encrypted informations so I was wrong when I talked about the steps "decrypt->concatenate->decompress" because the correct one is "concatenate->decrypt->decompress".

sorry for the mistake, it was my fault because I didn't consider the fragmented packets (with the data starting at offset 14 instead of the classical 10) and didn't perform a real local test here (which should NEVER happen because everything must be tested before claiming or confirming something).

I guess that now Fraggel and Quaker will hate me :)


Top
 Profile  
 
 Post subject: Re: AA3
PostPosted: 15 Jul 2009 14:45 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the following function calculates the 16 bit crc which must be placed at offset 2 of each query packet (the field after the 0x354a sign).
I know that at the moment AA3 doesn't verify this field but it's not excluded that it will be checked in the next patches (>= 3.0.6) so take note of it:
Code:
u16 aa3_query_crc(u8 *data, int datalen) {
    static const u8 mykey[] = "l26aquiwy814m05kpt37vxc9osrnf";
    u16     crc;
    int     i,
            mykeylen;
    u8      a;

    mykeylen = strlen(mykey) + 1;
    crc = 0x14fe;
    a = mykey[0] ^ data[0];
    for(i = 0; i < datalen;) {
        crc ^= a << ((i & 1) << 3);
        i++;
        a = mykey[i % mykeylen] ^ data[i] ^ data[i - 1];
    }
    return(crc);
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 65 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron