I am currently working on a full inventory view, from the web. I want to include the display of the awakenings and the upgrades. Sp far i have got a table of the item id's up. What I am currently working on is figuring out the awake code, from the INVENTORY_TBL.
For those who did not see how the m_Inventory code looks like here it is:
This corresponds to the m_apIndex which maps the slots where the items go. I am now trying to figure out an algorithm that creates the awakes and the elements/upgrades.
(Sidenote: My English sucked at above, sorry, I've been up for 16 hours now
For those who did not see how the m_Inventory code looks like here it is:
Code:
0,500,0,0,,1,0,3600000,0,0,0,-1367267205,1,0,0,0,0/
1,16722,0,0,,1,0,9000000,0,0,0,-1177264204,0,0,0,0,0/
2,4805,0,0,,9,0,0,0,0,0,-24516137,0,0,0,0,0/
3,4806,0,0,,1,0,-1,0,0,0,-2050955612,0,0,0,0,0/
4,22505,0,0,,1,0,7200000,0,0,2,1183714363,0,0,0,0,0/
5,5104,0,0,,1,0,-1,0,0,0,2012191601,0,0,0,0,0/
6,21029,0,0,,1,0,-1,0,0,0,-1582266442,0,0,0,0,0/
7,2035,0,0,,2,0,-1,0,0,0,610567834,0,0,0,0,0/
8,2036,0,0,,1,0,-1,0,0,0,1035776021,0,0,0,0,0/
9,26468,0,0,,1,0,-1,0,0,0,1972121811,0,0,0,0,0/
10,26528,0,0,,1,0,-1,0,0,0,604414262,0,0,0,0,0/
11,21041,0,0,,1,0,-1,0,0,1,-2008666152,0,0,0,0,0/
12,26456,0,0,,997,0,-1,0,0,0,363438754,0,0,0,0,0/
13,5102,0,0,,1,0,-1,0,0,0,-2085854648,0,0,0,0,0/
14,11,0,0,,1,0,-1,0,0,0,-1218819801,0,0,0,0,0/
15,21054,0,0,,1,0,-1,0,0,0,1609339101,0,0,0,0,0/
16,21029,0,0,,1,0,-1,0,0,0,-599511839,0,0,0,0,0/
17,21051,0,0,,1,0,-1,0,0,0,897136242,0,0,0,0,0/
18,21053,0,0,,1,0,-1,0,0,0,666959636,0,0,0,0,0/
19,20113,0,0,,1,0,-1,0,0,0,-377012745,0,0,0,0,0/
20,21086,0,0,,1,0,-1,0,0,0,-869923242,0,0,0,0,0/
21,20186,0,0,,1,0,-1,0,0,0,-1874135923,0,0,0,0,0/
22,20187,0,0,,1,0,-1,0,0,0,2029933852,0,0,0,0,0/
23,26854,0,0,,1,0,-1,0,0,0,2073373662,0,0,0,0,0/
24,26464,0,0,,1,0,-1,0,0,0,-1507507647,0,0,0,0,0/
25,2830,0,0,,2,0,-1,0,0,0,-1347870776,0,0,0,0,0/
26,2950,0,0,,86,0,-1,0,0,0,18986978,0,0,0,0,0/
27,20129,0,0,,1,0,-1,0,0,0,-1897765827,0,0,0,0,0/
28,5819,0,0,,1,0,-1,0,0,0,558464813,0,0,0,0,0/
29,20126,0,0,,1,0,-1,0,0,0,-2085122598,0,0,0,0,0/
30,20127,0,0,,1,0,-1,0,0,0,1843194238,0,0,0,0,0/
31,22545,0,0,,1,0,-1,0,0,2,1343638380,10,0,0,0,0/
32,22546,0,0,,1,0,4500000,0,0,2,-511476442,10,4,20,0,0/
33,22547,0,0,,1,0,4500000,0,0,2,105214927,10,4,20,0,0/
34,22548,0,0,,1,0,4500000,0,0,2,508370718,10,4,20,0,0/
35,16597,0,0,,1,0,3600000,0,0,0,-1624877184,0,0,0,0,0/
36,22500,0,0,,1,0,7200000,0,0,2,-1994239522,10,2,20,0,0/
38,16721,0,0,,1,0,3600000,0,0,0,-1037065081,0,0,0,0,0/
39,26419,0,0,,150,0,0,0,0,0,-367434763,0,0,0,0,0/
40,16723,0,0,,1,0,5850000,0,0,0,-1915893795,0,0,0,0,0/
41,16724,0,0,,1,0,4500000,0,0,0,-982409390,0,0,0,0,0/
42,506,0,0,,1,0,5850000,0,0,0,-649968956,0,0,0,0,0/
43,510,0,0,,1,0,4500000,0,0,0,421942701,0,0,0,0,0/
44,21,0,0,,1,0,7200000,0,0,0,-1808047902,0,0,0,0,0/
45,2800,0,0,,90,0,0,0,0,0,-2053550989,0,0,0,0,0/
46,26468,0,0,,1,0,-1,0,0,0,-870152076,0,0,0,0,0/
47,22500,0,0,,1,0,7200000,0,0,2,77658764,10,4,20,0,0/
48,30085,0,0,,1,0,9000000,0,0,0,-150362013,0,0,0,0,0/
49,16599,0,0,,1,0,5850000,0,0,0,-1975977474,0,0,0,0,0/
50,16600,0,0,,1,0,4500000,0,0,0,249693535,0,0,0,0,0/
51,21011,0,0,,1,0,0,0,0,0,-2061636897,0,0,0,0,0/
52,21011,0,0,,1,0,0,0,0,0,362565213,0,0,0,0,0/
$
(Sidenote: My English sucked at above, sorry, I've been up for 16 hours now
Last edited:

