flagflag  

Re: ObjectBuy

List posts in the topic

なし Re: ObjectBuy

msg# 1.2.1
depth:
2
Previous post - Next post | Parent - No child | Posted on 2013/4/22 18:01
iseki  Home away from home   Posts: 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
Votes:55 Average:5.64

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Who's Online

70 user(s) are online (4 user(s) are browsing Forum)

Members: 0
Guests: 70

more...

Access Counter

Today : 1574915749157491574915749
Yesterday : 1753317533175331753317533
Total : 2347889223478892234788922347889223478892234788922347889223478892
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com