flagflag  If you want to see English page, please click "English" Button at Left.

Re: ObjectBuy

このトピックの投稿一覧へ

なし Re: ObjectBuy

msg# 1.2.1
depth:
2
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2013-4-22 18:01
iseki  Home away from home   投稿数: 1581
Hi unethika,

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
投票数:55 平均点:5.64

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

82 人のユーザが現在オンラインです。 (1 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 82

もっと...

アクセスカウンタ

今日 : 3121312131213121
昨日 : 9457945794579457
総計 : 2333007823330078233300782333007823330078233300782333007823330078
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com