llGiveMoney()
- このフォーラムに新しいトピックを立てることはできません
- このフォーラムではゲスト投稿が禁止されています
llGiveMoney()
msg# 1
iseki
投稿数: 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.
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.
投票数:122
平均点:4.02
Re: llGiveMoney()
msg# 1.1
chrisby
投稿数: 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
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
投票数:132
平均点:2.50
Re: llGiveMoney()
msg# 1.1.1
iseki
投稿数: 1581
Hi chrisby
OK. Please wait for a while.
OK. Please wait for a while.
投票数:79
平均点:5.44
Re: llGiveMoney()
msg# 1.1.1.1
chrisby
投稿数: 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 :)
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 :)
投票数:93
平均点:4.41
Re: llGiveMoney()
msg# 1.1.1.1.1
iseki
投稿数: 1581
Hi chrisby
引用:
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?
引用:
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?
投票数:82
平均点:4.15
Re: llGiveMoney()
msg# 1.2
master
投稿数: 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
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
投票数:104
平均点:3.65
Re: llGiveMoney()
msg# 1.2.1
chrisby
投稿数: 23
Please bare with me as my servers are down for maintainance , when tyhey are back up i will perform more tests
投票数:108
平均点:3.52
Re: llGiveMoney()
msg# 1.2.1.1
chrisby
投稿数: 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
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
投票数:141
平均点:5.82
Re: llGiveMoney()
msg# 1.2.1.1.1
chrisby
投稿数: 23
this was with the latest svn of opensim and money server and happens on standalone and grid mode
投票数:94
平均点:4.04
Re: llGiveMoney()
msg# 1.2.1.1.1.1
admin
投稿数: 245
引用:
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?
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?
投票数:92
平均点:3.80
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1
admin
投稿数: 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.
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.
投票数:134
平均点:3.28
Re: llGiveMoney()
msg# 1.2.1.1.2
admin
投稿数: 245
引用:
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......
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......
投票数:92
平均点:6.20
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1
chrisby
投稿数: 23
there is a typo in your instructions :) it should say
./build.sh
:)
./build.sh
:)
投票数:84
平均点:5.48
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1
chrisby
投稿数: 23
just trying to be helpfull :)
I love your work :)
MMany Thanks
I love your work :)
MMany Thanks
投票数:72
平均点:5.00
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1
chrisby
投稿数: 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 :(
in opensim console it says user not found :(
投票数:92
平均点:3.70
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.1
admin
投稿数: 245
引用:
Please teach me full message, and which the message is OpenSim or Money Server?
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?
投票数:95
平均点:4.32
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.2
admin
投稿数: 245
引用:
Possibly does this av means avatar that receives money?
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?
投票数:82
平均点:3.54
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.1.1
chrisby
投稿数: 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
the owner of the cube was not online
in opensim.exe console says user(uuid) not found
moneyserver.exe console says nothing
投票数:79
平均点:4.94
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.1.1.1
chrisby
投稿数: 23
opensim console says
[MONEY]: Client 02f5b247-82c6-4ad5-9df0-da6055771e5d not found
[MONEY]: Client 02f5b247-82c6-4ad5-9df0-da6055771e5d not found
投票数:88
平均点:5.11
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1
admin
投稿数: 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?
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
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
投票数:89
平均点:6.07
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1
chrisby
投稿数: 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
now i just see loading in my viewer with nothing on any consoles
very strange
投票数:78
平均点:5.00
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2
chrisby
投稿数: 23
引用: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
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.
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
投票数:153
平均点:5.49
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1
chrisby
投稿数: 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
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
投票数:87
平均点:5.29
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1
iseki
投稿数: 1581
Ok. Very well. :)
Next job is problem of "sale original" :)
Thanks
Next job is problem of "sale original" :)
Thanks
投票数:79
平均点:4.56
Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1
chrisby
投稿数: 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
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
投票数:73
平均点:5.48
Re: Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1.1
master
投稿数: 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
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
投票数:78
平均点:4.10
Re: Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1.1.1
iseki
投稿数: 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.
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.
投票数:128
平均点:3.36
Re: Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1
chrisby
投稿数: 23
the owner of an object with an llgivemoney script in it is ignored
投票数:99
平均点:5.05
Re: Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1.1
iseki
投稿数: 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
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
投票数:145
平均点:3.38
Re: Re: llGiveMoney()
msg# 1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1
chrisby
投稿数: 23
llgivemoney events are not triggered for OWNER of script
投票数:100
平均点:4.50
Re: llGiveMoney()
msg# 1.3
master
投稿数: 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
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
投票数:113
平均点:3.98
Re: llGiveMoney()
msg# 1.4
master
投稿数: 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.
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.
投票数:107
平均点:4.02
Re: llGiveMoney()
msg# 1.4.1
chrisby
投稿数: 23
Thanks Iseki,
I have solved this now :)
Hope You Are Well :)
Chris
I have solved this now :)
Hope You Are Well :)
Chris
投票数:84
平均点:4.88
Re: llGiveMoney()
msg# 1.5
master
投稿数: 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
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
投票数:80
平均点:4.88