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

llGiveMoney()

  • このフォーラムに新しいトピックを立てることはできません
  • このフォーラムではゲスト投稿が禁止されています

なし llGiveMoney()

msg# 1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 .3 .4 .5 | 投稿日時 2010-8-20 13:45
iseki  Home away from home   投稿数: 1581
I corrected the problem of llGiveMoney().
But llGiveMoney() works only when the payer is logging in.
I can correct llGiveMoney() works always. But the problem of security will be caused in it.

Corrected Currency 0.7_1 is here
http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=15

Thanks.
投票数:111 平均点:3.60
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-21 7:45
chrisby  Not too shy to talk   投稿数: 23
Hi Iseki,

I would very much like the source to make llgivemoney work without the user logged in as i want to run it on a private grid that only my familly use

many thanks

chrisby
投票数:97 平均点:3.09

なし Re: llGiveMoney()

msg# 1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-21 8:05
iseki  Home away from home   投稿数: 1581
Hi chrisby

OK. Please wait for a while.
投票数:76 平均点:5.39

なし Re: llGiveMoney()

msg# 1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-21 9:05
chrisby  Not too shy to talk   投稿数: 23
i have also found a bug :(

if i make a cube and then set it for sale, then someone buys it NO money changes between accounts, nothing is logged in the money server console at all but the item is transfered to the person who bought it

i havent looked into this as yet but thought i would report it here, i will also report any thing i find which might help resolve this bug

Many Thanks and keep up the good work :)

anything i can do to help then please message me :)
投票数:83 平均点:4.10

なし Re: llGiveMoney()

msg# 1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-21 23:53 | 最終変更
iseki  Home away from home   投稿数: 1581
Hi chrisby

引用:

chrisby wrotes:

if i make a cube and then set it for sale, then someone buys it NO money changes between accounts, nothing is logged in the money server console at all but the item is transfered to the person who bought it

Sorry, I can not understand this situation well. :(
On my OpenSim, Money Server works well when object is bought and sold.
Can money be exchanged by between avatars?
投票数:76 平均点:4.21
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 0:02
master  Just can't stay away   投稿数: 138
I also would like a copy of the source to make llgivemoney work without the user logged in.
Mostly for study.

As far as the other problem, I have not seen a problem with money not swapped, P 2 P or purchase.
I will try new test's though.

tnx
投票数:98 平均点:3.47

なし Re: llGiveMoney()

msg# 1.2.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 0:30
chrisby  Not too shy to talk   投稿数: 23
Please bare with me as my servers are down for maintainance , when tyhey are back up i will perform more tests
投票数:105 平均点:3.43

なし Re: llGiveMoney()

msg# 1.2.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 | 投稿日時 2010-8-22 1:22
chrisby  Not too shy to talk   投稿数: 23
i re checked using a completely clean system and db

make a cube inworld
set it for sale original for 10
use a different av to buy it

the object transfers but no money transfers

however if it is set to sell a copy then it works fine
投票数:135 平均点:6.07

なし Re: llGiveMoney()

msg# 1.2.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 1:32
chrisby  Not too shy to talk   投稿数: 23
this was with the latest svn of opensim and money server and happens on standalone and grid mode
投票数:93 平均点:4.09

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 1:54
admin  Webmaster   投稿数: 245
引用:

chrisby wrotes:
this was with the latest svn of opensim and money server and happens on standalone and grid mode

I checked r/13632 of git and 0.7.0.1, but did not check latest OpenSim.

I corrected opensim currency server for 0.7.0.1 and for r/13632 just now.

Which do you need currency server for 0.7.0.1 or for latest version?
投票数:86 平均点:3.72

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 | 投稿日時 2010-8-22 2:03 | 最終変更
admin  Webmaster   投稿数: 245
Hi chrisby

1. If you need currency server for v0.7.0.1, see fllow.

You need not compile OpenSim again.
Please execute ./build.sh in opensim.currency-0.7_2 directory.
And add enableForceTransfer=true line to [MoneyServer] section in MoneyServer.ini
Please see opensim.currency-0.7_2/config/MoneyServer.ini
After edit MoneyServer.ini. please restart OpenSim.Grid.MoneyServer.exe and OpenSim.exe
Then, llGiveMoney() function works normally even if payer doesn't login to Opensim,

Download: http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=15

ex)
cd (Top Directory of OpenSim)
tar zxfv (Download Directory)/opensim.currency-0.7_2.tar.gz
cd opensim.currency-0.7_2
./buid.sh
cd ../bin
vi MoneyServer.ini


2. If you need currency server for latest version, please wait for a few days.
投票数:115 平均点:3.48

なし Re: llGiveMoney()

msg# 1.2.1.1.2
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-22 2:35 | 最終変更
admin  Webmaster   投稿数: 245
引用:

chrisby wrotes:
i re checked using a completely clean system and db

make a cube inworld
set it for sale original for 10
use a different av to buy it

the object transfers but no money transfers

however if it is set to sell a copy then it works fine

You are right!!
If we set object to sale original, no money exchamged at OpenSim v0.7.0.1

Well, it seems to take time for this solution......
投票数:88 平均点:6.14

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 2:45
chrisby  Not too shy to talk   投稿数: 23
there is a typo in your instructions :) it should say
./build.sh

:)
投票数:79 平均点:5.44

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 2:52
chrisby  Not too shy to talk   投稿数: 23
just trying to be helpfull :)

I love your work :)
MMany Thanks
投票数:66 平均点:5.30

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 | 投稿日時 2010-8-22 3:12
chrisby  Not too shy to talk   投稿数: 23
i juyst tried your fix that makes llgivemoney work when av is not logged in and it doesnt work

in opensim console it says user not found :(
投票数:88 平均点:3.64

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 5:03
admin  Webmaster   投稿数: 245
引用:

chrisby wrotes:
i juyst tried your fix that makes llgivemoney work when av is not logged in and it doesnt work

in opensim console it says user not found :(

Please teach me full message, and which the message is OpenSim or Money Server?
投票数:92 平均点:4.24

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.2
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-22 5:16 | 最終変更
admin  Webmaster   投稿数: 245
引用:

i juyst tried your fix that makes llgivemoney work when av is not logged in and it doesnt work

Possibly does this av means avatar that receives money?
投票数:80 平均点:3.50

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 5:18
chrisby  Not too shy to talk   投稿数: 23
i tried to sell a copy of a cube for 10

the owner of the cube was not online

in opensim.exe console says user(uuid) not found
moneyserver.exe console says nothing
投票数:74 平均点:4.73

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 5:20
chrisby  Not too shy to talk   投稿数: 23
opensim console says
[MONEY]: Client 02f5b247-82c6-4ad5-9df0-da6055771e5d not found
投票数:85 平均点:5.06

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 5:42 | 最終変更
admin  Webmaster   投稿数: 245
It seems that OpenSim.Forge.Currency.dll is old or OpenSim.exe does not restart.


1. Do you restart OpenSim.exe ?

2. Please check source code of opensim.currency-0.7_2/OpenSim.Forge.Currency/MoneyServer.cs
Is it the same as the under?

 247             bool ret;
 248             if (LocateClientObject(fromID)!=null)
 249             {
 250                 ret = TransferMoney(fromID, toID, amount, 2, 0, 0, description);
 251             }
 252             else
 253             {
 254                 ret = ForceTransferMoney(fromID, toID, amount, 2, 0, 0, description);
 255             }
 256 
 257             return ret;


3. Please compile again.

OpenSim's bin directory and opensim.currency-0.7_2 directory must be at same directory.

# rm bin/OpenSim.Forge.Currency.dll
# rm bin/OpenSim.Grid.MoneyServer.exe
# cd opensim.currency-0.7_2
# ./build.sh
投票数:70 平均点:5.00

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-22 6:03
chrisby  Not too shy to talk   投稿数: 23
i confirmed that the code is present and then followed your instructions directly

now i just see loading in my viewer with nothing on any consoles

very strange
投票数:72 平均点:4.86

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 6:38
chrisby  Not too shy to talk   投稿数: 23
引用:

admin wrotes:
Hi chrisby

1. If you need currency server for v0.7.0.1, see fllow.

You need not compile OpenSim again.
Please execute ./build.sh in opensim.currency-0.7_2 directory.
And add enableForceTransfer=true line to [MoneyServer] section in MoneyServer.ini
Please see opensim.currency-0.7_2/config/MoneyServer.ini
After edit MoneyServer.ini. please restart OpenSim.Grid.MoneyServer.exe and OpenSim.exe
Then, llGiveMoney() function works normally even if payer doesn't login to Opensim,

Download: http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=15

ex)
cd (Top Directory of OpenSim)
tar zxfv (Download Directory)/opensim.currency-0.7_2.tar.gz
cd opensim.currency-0.7_2
./buid.sh
cd ../bin
vi MoneyServer.ini


2. If you need currency server for latest version, please wait for a few days.
these are the instructions i followed however i have just noticed that the forge currency dll did not get re written due to a build failure

it says [csc] /opt/newopensim/trunk/opensim.currency-0.7_2/OpenSim.Forge.Currency/MoneyModule.cs(303,16): error CS0246: The type or namespace name `EconomyData' could not be found. Are you missing a using directive or an assembly reference?

when trying to compile a new forge currency dll
投票数:150 平均点:5.53

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 7:01
chrisby  Not too shy to talk   投稿数: 23
ok firstly let me apologize

it works very well now

my system for some reasone didnt want to compile the tar version but works very very well with the svn version

just so you know i am using it on the latest code from opensim svn system so it seems to be ok with opensim head

manythanks for your hard work and patience :)

Chris
投票数:85 平均点:5.29

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-22 9:52 | 最終変更
iseki  Home away from home   投稿数: 1581
Ok. Very well. :)

Next job is problem of "sale original" :)

Thanks
投票数:72 平均点:4.44

なし Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-23 12:10
chrisby  Not too shy to talk   投稿数: 23
Hi Iseki,
I hope that you are well :)

I have found another bug

if the owner of an object with a script that uses llGivemoney tries to use it he cant , he is totally ignored however others can use it without problem

Anything I can do to help , Please ask :)

Chris
投票数:67 平均点:5.37

なし Re: Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-23 13:14
master  Just can't stay away   投稿数: 138
Have the same problem here. You cant pay your selph (thats normal) but if there were some kinda raffle or something it woun't let a host that is the owner start it.
Also i see the same problem of selling a one of a kind item. All other sales work ok though.
Other wise seems quite stable at this point.
Test on Win and linux.

tnx
投票数:75 平均点:4.00

なし Re: Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-23 15:02 | 最終変更
iseki  Home away from home   投稿数: 1581
Yes, I inserted "if (sender==receiver) return true;" in top of (Force)TransferMony() function.
Because anything doesn't change consequentially.

Sorry, I can not understand this problem well. Please teach me the concrete situation of problems.

---
PS.
24-26 Aug. is summer vacation. I'll go to the hot spring with my family. :)
Therefore, I cannot answer for those days.
投票数:119 平均点:3.36

なし Re: Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-23 18:01
chrisby  Not too shy to talk   投稿数: 23
the owner of an object with an llgivemoney script in it is ignored
投票数:93 平均点:4.84

なし Re: Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-23 18:54 | 最終変更
iseki  Home away from home   投稿数: 1581
Does it mean that it needs to occur of event?

I do not understand...... :(

If you need self money transfer, edit OpenSim.Forge.Currency/MoneyModule.cs and delete if (sender==receiver) return true; from TransferMoney() and ForceTransferMoney(). And execute ./build again.

Thanks
投票数:140 平均点:3.29

なし Re: Re: llGiveMoney()

msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-23 21:30
chrisby  Not too shy to talk   投稿数: 23
llgivemoney events are not triggered for OWNER of script
投票数:97 平均点:4.54
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-24 1:16
master  Just can't stay away   投稿数: 138
Well a simple example is when a 'Sploder' type function is need. This is used alot in clubs.
You the OWNER of the 'sploder' cannot pay into it, to set the prize. It ignores them when they pay into the pot. (No event is triggered).

This also makes for problems when making a new game of some sort as the Owner cant trigger it.
Usualy it would trigger no matter who payed and then later see that is was the owner and not process the actual money transfer to the owner. (cant pay your selph because its a loop and not the problem) as it should.

A test might be make a script that makes a light flash for a few seconds when it's payed. Then you can see that for the owner the light will never flash but to anyone else it will work.

tnx
投票数:106 平均点:3.96
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2010-8-24 1:33
master  Just can't stay away   投稿数: 138
Another test is with a simple vendor. The owner test's the vendor by paying it to make sure the item is dispensed.
The owner will see no change money wise and that's correct But it should still give them the object.
If someone else pays the vendor it works ok.
投票数:102 平均点:3.92

なし Re: llGiveMoney()

msg# 1.4.1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-8-27 4:46
chrisby  Not too shy to talk   投稿数: 23
Thanks Iseki,

I have solved this now :)

Hope You Are Well :)

Chris
投票数:81 平均点:4.94
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2010-9-26 16:39
master  Just can't stay away   投稿数: 138
Mmmm Iseki and chisby .. you 2 should get together.

hes got good patches and i got some security stuff to add in (x-ten(128) enc Php). I have been combining his and yours and my own and find it quite stable. I think of the 3 (what i use) may make the next gen of a basic currency system.
End of the day, it works and soild as rock!

Btw.. i think i know what the mysql issue is when it runs outta connections.. still working on that :)

Anyway not for me to say for others but between you both.. it just works now :)

tnx
投票数:73 平均点:4.93

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 6687668766876687
昨日 : 1412914129141291412914129
総計 : 2345229723452297234522972345229723452297234522972345229723452297
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com