Re: ObjectBuy
iseki
投稿数: 1581
Hi unethika,
I see.
Thank you for your comment.
I am going to correct it at next version.
Thanks.
I see.
Thank you for your comment.
I am going to correct it at next version.
Thanks.
--- MoneyModule.cs- 2013-04-22 17:56:50.000000000 +0900
+++ MoneyModule.cs 2013-04-22 17:58:44.000000000 +0900
@@ -690,12 +690,21 @@
{
UUID receiverId = sceneObj.OwnerID;
ulong regionHandle = sceneObj.RegionHandle;
+ bool ret = TransferMoney(remoteClient.AgentId, receiverId, salePrice,
+ (int)TransactionType.PayObject, sceneObj.UUID, regionHandle, "Object Buy");
+ if (ret)
+ {
+ mod.BuyObject(remoteClient, categoryID, localID, saleType, salePrice);
+ }
+
+ /*
if (mod.BuyObject(remoteClient, categoryID, localID, saleType, salePrice))
{
ulong regionHandle = sceneObj.RegionHandle;
TransferMoney(remoteClient.AgentId, receiverId, salePrice,
(int)TransactionType.PayObject, sceneObj.UUID, regionHandle, "Object Buy");
}
+ */
}
}
else
投票数:79
平均点:6.20
投稿ツリー
-
ObjectBuy
(unethika, 2013-4-20 19:43)
- Re: ObjectBuy (iseki, 2013-4-20 22:40)
-
Re: ObjectBuy
(unethika, 2013-4-21 7:52)
- Re: ObjectBuy (iseki, 2013-4-22 18:01)