Skip to content

Commit

Permalink
Fixed #83 : Friends' leader broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Neraud committed Jun 14, 2015
1 parent 582ffd4 commit 2354fd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ private PADCapturedFriendModel parseFriend(final JSONArray friendResult) throws
MyLog.entry();

//[4, 333300602, "NeraudMule", 17, 1, "140829151957", 9, 29, 6, 1, 0, 0, 0, 0, 2, 15, 1, 0, 0, 0, 0, 2, 15, 1, 0, 0, 0, 0]
// New [5, 329993422, "HFR|Neraud", 292, 1, "150613152858", 48, 50, 6, 1, 0, 0, 0, 0, 0, 1422, 99, 1, 13, 12, 9, 6, 0, 1217, 99, 6, 99, 99, 99, 6, 0]
final PADCapturedFriendModel friend = new PADCapturedFriendModel();
friend.setId(friendResult.getLong(1));
friend.setName(friendResult.getString(2));
Expand All @@ -175,10 +176,10 @@ private PADCapturedFriendModel parseFriend(final JSONArray friendResult) throws
MyLog.warn("error parsing lastActivityDate : " + e.getMessage());
}

final BaseMonsterStatsModel leader1 = extractFriendLeader(friendResult, 14);
final BaseMonsterStatsModel leader1 = extractFriendLeader(friendResult, 15);
friend.setLeader1(leader1);

final BaseMonsterStatsModel leader2 = extractFriendLeader(friendResult, 21);
final BaseMonsterStatsModel leader2 = extractFriendLeader(friendResult, 23);
friend.setLeader2(leader2);

MyLog.exit();
Expand Down
4 changes: 4 additions & 0 deletions PADListenerApp/src/main/res/xml/changelog_master.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog>
<release
version="" versioncode="">
<change>Fixed #83 : Friends' leader broken</change>
</release>
<release
version="2.1.6" versioncode="54">
<change>Updated Amazon server</change>
Expand Down

0 comments on commit 2354fd3

Please sign in to comment.