You are not logged in.
#1 02 Apr 2007 7:34 am
- AmbassadorKosh
- Experienced Member
- From: Ukraine, Kiev
- Registered: Nov 2006
- Posts: 18
- Website
analysis getbackendinfo
if I think correctly DICE/EA use getbackendinfo for next:
a client gets information what it is needed to have for the receipt of one or another reward
from the results upon request in getbackendinfo.aspx
for example:
at the results we have line
Code:
... awards.setData 203 "6,41, ,30" "9,19,tac,180000" "9,28,tasl,180000" "9,29,tasm,180000" ...
it means that for the receipt of reward 203 (Distinguished Service Medal)
statistics of player must satisfy to four terms
Code:
"6,41, ,30" "9,19,tac,180000" "9,28,tasl,180000" "9,29,tasm,180000"
we will consider each
1. "6,41, ,30"
player_score['rplScore'] >= 30 (as in statistics the great number of different scores we are interests us exactly "Team score for one round" or "twsc")
2. "9,19,tac,180000"
'tac' >= 180000 (tac - Time As Commander in sec)
3. "9,28,tasl,180000"
'tasl' >= 180000 (tasl - Time As Squad Leader in sec)
4. "9,29,tasm,180000"
'tasm' >= 180000 (tasm - Time As Squad Member in sec)
first order:
1 - logical 'OR' (in third order specified parameters and in fourth order specified value equal to one of these parameters)
3 - int points
5 - have award
6 - int IAR (In Aa Round)
9 - time for kit (in sec)
10 - time IAR (in sec)
11 - total time (it can be only for maps)(in sec)
second order:
first order = 6:
1 - kills while Support ("kkls-3" in stats)
2 - kills while Recon ("kkls-0")
41 - IAR Team score ("twsc")
50 - Squad Leader beacon spawns ("slbcn")
third order:
parm name
fourth order:
values
I will be thankful if someone will have time to decompose value of first two from four parameters
Code:
awards.setData 100_1 "6,1, ,12" awards.setData 100_2 "6,1, ,20" "9,23,ktt-3,54000" awards.setData 100_3 "6,1, ,30" "9,23,ktt-3,180000" awards.setData 101_1 "6,2, ,12" awards.setData 101_2 "6,2, ,20" "9,20,ktt-0,54000" awards.setData 101_3 "6,2, ,30" "9,20,ktt-0,180000" awards.setData 102_1 "6,3, ,12" awards.setData 102_2 "6,3, ,20" "9,21,ktt-1,54000" awards.setData 102_3 "6,3, ,30" "9,21,ktt-1,180000" awards.setData 103_1 "6,4, ,12" awards.setData 103_2 "6,4, ,20" "9,22,ktt-2,54000" awards.setData 103_3 "6,4, ,30" "9,22,ktt-2,180000" awards.setData 104_1 "6,50, ,10" awards.setData 104_2 "6,50, ,20" "1,113,slpts,300" awards.setData 104_3 "6,50, ,30" "1,113,slpts,600" awards.setData 105_1 "6,5, ,7" awards.setData 105_2 "6,5, ,10" "1,5,wkls-12,50" awards.setData 105_3 "6,5, ,17" "1,5,wkls-12,150" awards.setData 106_1 "6,7, ,5" awards.setData 106_2 "6,7, ,7" "1,7,wkls-5;wkls-11,50" awards.setData 106_3 "6,7, ,18" "1,7,wkls-5;wkls-11,300" awards.setData 107_1 "6,8, ,10" awards.setData 107_2 "6,8, ,15" "1,8,klse,50" awards.setData 107_3 "6,8, ,20" "1,8,klse,300" awards.setData 108_1 "10,18, ,180" awards.setData 108_2 "6,9, ,15" "9,148,vtp-12;vtp-3;wtp-30,72000" awards.setData 108_3 "6,9, ,30" "9,148,vtp-12;vtp-3;wtp-30,180000" awards.setData 109_1 "6,40, ,30" awards.setData 109_2 "10,150, ,1200" "1,40,csgpm-0,1000" awards.setData 109_3 "10,150, ,1500" "1,40,csgpm-0,4000" awards.setData 110_1 "6,39, ,30" awards.setData 110_2 "10,149, ,1200" "1,39,csgpm-1,1000" awards.setData 110_3 "10,149, ,1500" "1,39,csgpm-1,4000" awards.setData 111_1 "6,42, ,8" awards.setData 111_2 "6,42, ,10" "9,128,etpk-1,36000" awards.setData 111_3 "6,42, ,15" "9,128,etpk-1,216000" "1,42,rps,200" awards.setData 112_1 "6,43, ,8" awards.setData 112_2 "6,43, ,10" "9,129,etpk-5,36000" awards.setData 112_3 "6,43, ,15" "9,129,etpk-5,216000" "1,43,hls,400" awards.setData 113_1 "6,45, ,8" awards.setData 113_2 "6,45, ,10" "9,130,etpk-6,36000" awards.setData 113_3 "6,45, ,15" "9,130,etpk-6,180000" "1,45,resp,400" awards.setData 114_1 "10,141, ,900" awards.setData 114_2 "6,11, ,15" "9,114,atp,90000" awards.setData 114_3 "6,11, ,35" "9,114,atp,180000" awards.setData 115_1 "10,142, ,900" awards.setData 115_2 "6,12, ,15" "9,25,vtp-10;vtp-4,90000" awards.setData 115_3 "6,12, ,35" "9,25,vtp-10;vtp-4,180000" awards.setData 116_1 "10,151, ,600" awards.setData 116_2 "6,116, ,5" "9,115,vtp-1;vtp-4;vtp-6,90000" awards.setData 116_3 "6,116, ,12" "9,115,vtp-1;vtp-4;vtp-6,144000" awards.setData 117_1 "6,46, ,8" awards.setData 117_2 "6,46, ,15" "9,27,tgpm-1,108000" awards.setData 117_3 "6,46, ,30" "9,27,tgpm-1,216000" awards.setData 118_1 "6,47, ,8" awards.setData 118_2 "6,47, ,15" "9,27,tgpm-1,108000" awards.setData 118_3 "6,47, ,30" "9,27,tgpm-1,216000" awards.setData 119_1 "6,48, ,2" awards.setData 119_2 "6,49, ,1" "1,48,tcd,10" awards.setData 119_3 "6,48, ,3" "6,49, ,1" "1,48,tcd,40" awards.setData 200 "6,127, ," awards.setData 201 "6,126, ," awards.setData 202 "6,125, ," awards.setData 203 "6,41, ,30" "9,19,tac,180000" "9,28,tasl,180000" "9,29,tasm,180000" awards.setData 204 "6,59, ,1" "5,62,100_1,1" "5,63,101_1,1" "5,64,102_1,1" "5,65,103_1,1" "5,66,105_1,1" "5,67,106_1,1" "5,68,107_1,1" awards.setData 205 "6,59, ,1" "5,69,100_2,1" "5,70,101_2,1" "5,71,102_2,1" "5,72,103_2,1" "5,73,105_2,1" "5,74,106_2,1" "5,75,107_2,1" awards.setData 206 "6,59, ,1" "5,76,100_3,1" "5,77,101_3,1" "5,78,102_3,1" "5,79,103_3,1" "5,80,105_3,1" "5,81,106_3,1" "5,82,107_3,1" awards.setData 207 "11,30,tt,540000" "3,51,cpt,1000" "3,52,dcpt,400" "3,41,twsc,5000" awards.setData 208 "10,145, ,180" "11,31,attp-0,540000" "1,54,awin-0,300" awards.setData 209 "10,146, ,180" "11,32,attp-1,540000" "1,55,awin-1,300" awards.setData 210 "6,60, ,1" "11,26,tgpm-0,288000" "1,13,kgpm-0,8000" "1,15,bksgpm-0,25" awards.setData 211 "6,61, ,1" "11,27,tgpm-1,288000" "1,14,kgpm-1,8000" "1,16,bksgpm-1,25" awards.setData 212 "6,12, ,30" "9,25,vtp-10;vtp-4,360000" "1,12,vkls-10;vkls-4,8000" awards.setData 213 "6,11, ,25" "9,24,vtp-0;vtp-1;vtp-2,360000" "1,11,vkls-0;vkls-1;vkls-2,8000" awards.setData 214 "6,17, ,27" "6,83, ,0" "9,30,tt,648000" awards.setData 215 "11,30,tt,360000" "3,43,hls,400" "3,42,rps,400" "3,45,resp,400" awards.setData 216 "6,85, ,0.25" awards.setData 217 "6,86, ,10" "9,33,vtp-4,90000" awards.setData 218 "6,14, ,10" "11,27,tgpm-1,540000" "1,133,mbr-1-0;mbr-1-1;mbr-1-2;mbr-1-3;mbr-1-5;mbr-1-10;mbr-1-12,70" awards.setData 219 "6,17, ,20" "1,51,cpt,100" "1,42,rps,70" awards.setData 300 "10,18, ,300" "6,9, ,15" awards.setData 301 "10,142, ,600" "6,12, ,20" awards.setData 302 "6,120, ,10" awards.setData 303 "10,143, ,1200" "9,28,tasl,144000" awards.setData 304 "10,38, ,1200" "6,34, ,40" "9,19,tac,288000" awards.setData 305 "6,41, ,15" "9,29,tasm,36000" "9,28,tasl,36000" "9,19,tac,36000" awards.setData 306 "10,144, ,1080" "6,41, ,40" "9,29,tasm,72000" awards.setData 307 "6,41, ,55" "9,29,tasm,90000" "9,28,tasl,180000" awards.setData 308 "6,34, ,45" "9,19,tac,216000" "5,87,wlr,2" awards.setData 309 "10,141, ,1200" "6,11, ,20" awards.setData 310 "6,110, ,10" "9,121,vtp-0;vtp-1;vtp-2;vtp-6,36000" awards.setData 311 "9,99,mtt-0-0;mtt-1-0,0" "9,101,mtt-0-2;mtt-1-2,0" "9,103,mtt-0-4,0" "9,104,mtt-0-5;mtt-1-5,0" "9,108,mtt-0-9,0" "9,32,attp-1,432000" awards.setData 312 "9,100,mtt-0-1;mtt-1-1,0" "9,102,mtt-0-3;mtt-1-3,0" "9,105,mtt-0-6,0" "9,106,mtt-0-7,0" "9,107,mtt-0-8,0" "9,31,attp-0,432000" awards.setData 313 "6,17, ,20" "1,88,bksgpm-0;bksgpm-1,10" awards.setData 314 "6,17, ,10" "6,83, ," "11,30,tt,180000" awards.setData 315 "6,17, ,10" "11,30,tt,432000" "1,88,bksgpm-0;bksgpm-1,10" awards.setData 316 "3,10,vkls-7,200" awards.setData 317 "6,86, ,15" "9,33,vtp-4,90000" awards.setData 318 "6,138, ,15" "9,137,vtp-12,36000" awards.setData 319 "6,39, ,10" "11,36,ctgpm-1,90000" awards.setData 400 "6,89, ,5" awards.setData 401 "6,89, ,10" awards.setData 402 "6,48, ,4" awards.setData 403 "6,109, ,4" awards.setData 404 "6,86, ,10" awards.setData 406 "6,47, ,7" awards.setData 407 "6,139, ,5" awards.setData 408 "6,110, ,5" awards.setData 409 "6,93, ,8" awards.setData 410 "6,8, ,8" awards.setData 411 "6,44, ,8" awards.setData 412 "6,124, ," awards.setData 413 "6,7, ,4" awards.setData 414 "6,9, ,10" awards.setData 415 "6,6, ,10" awards.setData 120_1 "6,152, ,6" awards.setData 120_2 "6,152, ,10" "9,153,mtt-1-10;mtt-2-10;mtt-2-11;mtt-1-12;mtt-2-12,7200" awards.setData 120_3 "6,152, ,14" "9,153,mtt-1-10;mtt-2-10;mtt-2-11;mtt-1-12;mtt-2-12,18000" awards.setData 121_1 "10,154, ,300" awards.setData 121_2 "6,156, ,8" "9,155,vtp-14;vtp-15,3600" awards.setData 121_3 "6,156, ,12" "9,155,vtp-14;vtp-15,14400" awards.setData 320 "6,157, ,5" "5,158,vkls-15,40" awards.setData 321 "6,152, ,15" "5,159,mwin-1-12;mwin-2-12,2" "5,160,mwin-1-10;mwin-2-10,2" "5,161,mwin-2-11,2" awards.setData 322 "6,162, ,9" "9,163,vtp-14,7200" awards.setData 323 "7,164,vdstry-15,4" "7,165,vdstry-14,2" "7,166,vdths-15,5" "7,167,vdths-14,5" awards.setData 416 "6,168, ,"
Last edited by AmbassadorKosh (02 Apr 2007 7:58 am)
Offline
#2 02 Apr 2007 9:09 am
Re: analysis getbackendinfo
getbackendinfo returns python code that executed in the client. in your game directory you have classes for awards, ranks and so on, and I'm pretty sure that the setData method sets the state of those objects to whatever parameters are there. unfortunately I don't know enough python to understand the specifics of what parameters set which object members. there was a guy around here that did some stats libraries in python, may want to contact him to help w/ it.
Offline
#3 03 Apr 2007 4:01 am
- AmbassadorKosh
- Experienced Member
- From: Ukraine, Kiev
- Registered: Nov 2006
- Posts: 18
- Website
Re: analysis getbackendinfo
Excuse me, I already very much talked on a forum not excellent English, but hope I am understood .
I agree that getbackendinfo returns a python's code with information about awarding.
But for what is this information passed to the client? - I think only for a show requirements in BFHQ of one or another award (also same touches ranks).
Information about ranks is passed to both - the server and client, but information about rewards is
passed only to the client, because a server knows all of it from medals_data.py (analogy of bf2).
Server does not need dynamic recovery of these data.
More frequent than all of server have information about rewards after long to introduction them
in a playing process.
EA extended an answer for a client, what not often to produce patches for a client for the change
of such information.
I caught for these information what to utillize them in the system of "dynamic updates" of official information with by information
of privat-statistics systems.
i.e. to utillize these information similarly as a server loads requirements for ranks at a start.
Offline
#4 08 May 2007 10:44 am
- winsr
- Extreme Member
- Registered: Mar 2007
- Posts: 90
Re: analysis getbackendinfo
ok, here is the list of values, for the first and second columns. (or at least the way i used them in my program)
First column
Indentifier Name
1 Global Points
6 IAR
9 Hours (this and number 11 have some difference, just dont know which one =P)
10 Minutes
11 Hours
Second Column
Criteria Name
1 Kills with Support Kit
2 Kills with Recon Kit
3 Kills with Assault Kit
4 Kills with Engineer Kit
5 Kills with Knife
6 Kills with Shotgun
7 Kills with Handgun
8 Kills with Explosives
9 Kills with Air Defense
10 Kills in Ground Defense
11 Kills with Armor
12 Kills with Air Vehicle
13 Total Kills in Coquest mode
14 Total kills in Titan mode
15 Best kill strike while Conquest
16 Best Kill strike while Titan
17 Total Kills
18 Total Time in Air defense
19 Total Time as Commander
20 Total Time with recon kit
21 Total Time with assault kit
22 Total Time with engineer kit
23 Total Time with support kit
24 Total time in Armor
25 Total Time in Air Vehicle
26 Total time played in Conquest mode
27 Total Time played in Titan mode
28 Total Time as Squad leader
29 Total Time as Squad member
30 Total Time Played
31 Total Time Played as EU Team
32 Total Time Played as PAC Team
33 Total Time in Air Transport
34 Total Commander Score
35 ?
36 Commander Time Titan Mode
37 ?
38 Commander Time
39 Titan Commander score
40 Conquest Commander score
41 Teamwork Score
42 Repair Points
43 Heal Points
44 Revive Points
45 Resupply Points
46 Titan Attack score
47 Titan Defend score
48 Consoles Destroyed
49 Cores destroyed
50 Squad leader becon spawns
51 Captured Control Points
52 Defended Control Points
53 ?
54 Wins as EU Team
55 Wins as PAC team
56 ?
57 ?
58 ?
59 Distinguished Combat efficency Pin
60 Explosive Efficiency Pin
61 Problem Solver Pin
62 Support Service Badge Bronze
63 Recon Service Badge Bronze
64 Assault Service Badge Bronze
65 Engineer Service Badge Bronze
66 Collectors Service Badge Bronze
67 Pistol Commendation Badge Bronze
68 Explosive Gallantry Badge Bronze
69 Support Service Badge Silver
70 Recon Service Badge Silver
71 Assault Service Badge Silver
72 Engineer Service Badge Silver
73 Collectors Service Badge Silver
74 Pistol Commendation Badge Silver
75 Explosive Gallantry Badge Silver
76 Support Service Badge Gold
77 Recon Service Badge Gold
78 Assault Service Badge Gold
79 Engineer Service Badge Gold
80 Collectors Service Badge Gold
81 Pistol Commendation Badge Gold
82 Explosive Gallantry Badge Gold
83 No Team kills or Team Damage / Team vehicle damage
84 ?
85 Kill:Death Ratio
86 Titan Air Drops
87 Win:Loss Ratio
88 Total Best Kill strike
89 Kill Strike
90 ?
91 ?
92 ?
93 Dog Tags
94 ?
95 ?
96 ?
97 ?
98 ?
99 Played Suez Canal Map
100 Played Verdun Map
101 Played Shuhia Taiba Map
102 Played Minsk Map
103 Played Camp Gibraltar Map
104 Played Sidi Power Plant Map
105 Played Fall of Berlin Map
106 Played Belgrade Map
107 Played Cerbere Landing Map
108 Played Tunis Harbor Map
109 Titan Guns Destroyed
110 Road Kills
111 ?
112 ?
113 Squad Leader Success Points
114 Time in Tank
115 Time in Transport Vehicle
116 Roadkills in Transport Vehicle
117 ?
118 ?
119 ?
120 seconds in Parachute
121 Time in Ground Vehicle
122 ?
123 ?
124 Surviving the Titan Assault
125 First Place in a round
126 Second Place in a round
127 Third Place in a round
128 Time with repair tool
129 Time with Medic Hub
130 Time with Ammo Hub
131 ?
132 ?
133 Best Round Titan Mode
134 ?
135 ?
136 ?
137 Total Time in Titan AA Gun
138 Kills in Titan AA Gun
139 Heashots with a Sniper Rifle
140 ?
141 Time in armor
142 Time in Air Vehicle
143 Squad Leader Time
144 Squad Member Time
145 Time Played as EU Team
146 Time Played as PAC Team
147 ?
148 Time in Air Defense
149 Time as Titan Commander
150 Time as Conquest Commander
151 Time in Transport vehicle
152 Kills while Playing any Northern Strike Map
153 Time Playing any Northern Strike Map
154 Time in Northern Strike Vehicle
155 Total Time in Northern Strike Vehicle
156 Kills in Northern Strike Vehicle
157 Roadkills in Hachimoto Vehicle
158 Total Kills with Hachimoto
159 Wins on Port Babaria Map
160 Wins on Bridge at Remagen Map
161 Wins on Liberation at Leipzig Map
162 Kills with Goliath
163 Total Time with Goliath
164 Destroyed Hachimotos
165 Destroyed Goliaths
166 Deaths by Hachimoto
167 Deaths by Goliath
168 Capturing the PAC home base in Assault Lines Mode
Offline
#5 11 May 2007 11:45 am
- AmbassadorKosh
- Experienced Member
- From: Ukraine, Kiev
- Registered: Nov 2006
- Posts: 18
- Website
Re: analysis getbackendinfo
thx
Offline
#6 15 May 2007 7:58 am
- freak
- Senior Member
- Registered: Mar 2007
- Posts: 32
Re: analysis getbackendinfo
hello,
i had an problem, when i want to request how much kills a player with the pioneer IAR had, how must the code look like?
Offline