Closed GoogleCodeExporter closed 9 years ago
For some reason it looks like a ObjectId was sent into the Item Template
Retrieval, when it should be the ItemId.
See if this fixes your issue:
Index: GameServer/src/gameserver/services/PrivateStoreService.java
===================================================================
--- GameServer/src/gameserver/services/PrivateStoreService.java (revision 144)
+++ GameServer/src/gameserver/services/PrivateStoreService.java (working copy)
@@ -226,7 +226,7 @@
int i = 0;
for (int itemObjId : store.getSoldItems().keySet()) {
if (i == tradeItem.getItemId())
- newTradeList.addPSItem(itemObjId, tradeItem.getCount());
+ newTradeList.addPSItem(tradeItem.getItemId(),
tradeItem.getCount());
i++;
}
}
Original comment by ZeroSign...@gmail.com
on 7 Mar 2011 at 5:15
Attachments:
Original comment by ZeroSign...@gmail.com
on 7 Mar 2011 at 6:58
Now it says "item template not found for itemid 0"
Original comment by Acu...@gmail.com
on 7 Mar 2011 at 9:04
Issue 18 has been merged into this issue.
Original comment by ZeroSign...@gmail.com
on 7 Mar 2011 at 2:07
I have had a better look at this issue, there needs to be quite a allot of code
modification. Will provide a patch in a couple days.
Original comment by ZeroSign...@gmail.com
on 7 Mar 2011 at 6:12
See:
http://aionxemu.com/viewtopic.php?f=6&t=718
Original comment by ZeroSign...@gmail.com
on 9 Mar 2011 at 2:23
Selling Weapons is still bugged see link above.
Original comment by ZeroSign...@gmail.com
on 15 Mar 2011 at 5:10
The Private Store works fine with Patch however all weapons corrupt the Private
Store Items after it for Buyers. Someone needs to sniff and obtain correct
Weapon packet section structure for SM_PRIVATE_STORE.
Original comment by ZeroSign...@gmail.com
on 17 Mar 2011 at 12:09
Original comment by ZeroSign...@gmail.com
on 23 Mar 2011 at 5:08
Private Stored are Committed Revision 222. However in InventoryPacket the
Weapon Packet structure still needs fixing or it corrupts the Trading Items
List.
Original comment by ZeroSign...@gmail.com
on 26 Mar 2011 at 12:19
Issue 193 has been merged into this issue.
Original comment by ZeroSign...@gmail.com
on 28 Mar 2011 at 12:47
Original comment by ZeroSign...@gmail.com
on 6 Apr 2011 at 1:59
Original comment by ZeroSign...@gmail.com
on 6 Apr 2011 at 1:59
Weapons should now be able to be sold in Private Stores.
Committed Revision 246.
Original comment by ZeroSign...@gmail.com
on 6 Apr 2011 at 8:36
Original comment by ZeroSign...@gmail.com
on 20 Apr 2011 at 9:26
This line don't exist in "PrivateStore" service
int i = 0;
for (int itemObjId : store.getSoldItems().keySet()) {
if (i == tradeItem.getItemId())
- newTradeList.addPSItem(itemObjId, tradeItem.getCount());
+
newTradeList.addPSItem(tradeItem.getItemId(),tradeItem.getCount());
i++;
}
}
Original comment by apophis1...@gmail.com
on 20 Apr 2011 at 9:47
That Fix above was bugged and replaced by proper working code.
Original comment by ZeroSign...@gmail.com
on 20 Apr 2011 at 9:49
yes,i know but i don't find this line :(
Original comment by apophis1...@gmail.com
on 20 Apr 2011 at 10:05
this line for (int itemObjId : store.getSoldItems().keySet()) {
or this line
- newTradeList.addPSItem(itemObjId, tradeItem.getCount());
Original comment by apophis1...@gmail.com
on 20 Apr 2011 at 10:06
Correct, and you shouldnt be able too, the patch in Comment 1 was completely
incorrect.
Original comment by ZeroSign...@gmail.com
on 20 Apr 2011 at 12:44
Original issue reported on code.google.com by
Acu...@gmail.com
on 3 Mar 2011 at 6:31