I've used gridproxy (part of libomv - <a href="http://lib.openmetaverse.org/wiki/Main_Page">http://lib.openmetaverse.org/wiki/Main_Page</a> ) to interface to other processes without modifying the LL viewer by writing a <i>gridproxy plugin</i> which is basically a small c# program in the form of a dll file. I believe there are some examples that come with libomv. Gridproxy monitors traffic between the server and the viewer and allows messages to be modified and injected into the traffic stream. It's probably not the most user-friendly way to accomplish what you want but it could be packaged into a fairly simple to use program.<div>
<br></div><div>Another method I've seen is to set up a process that monitors the chat/IM log files that the viewer can create. I've seen this method used fairly successfully for adding accessability features such as chat text-to-speech for visually impaired users.</div>
<div><br></div><div>Good luck with whatever path you choose :)<br><br><div class="gmail_quote">On Fri, Nov 11, 2011 at 12:43 AM, Edmund Edgar <span dir="ltr"><<a href="mailto:lists@edochan.com">lists@edochan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Not sure if this is the right place to ask, but wondering if anyone<br>
can help me with a problem I'm trying to solve while tinkering around<br>
with OpenSim/BitCoin integration. (I'm doing this mainly for my own<br>
entertainment - when we discussed it on opensim-users the other day<br>
the community didn't seem that into it).<br>
<br>
My ultimate aim is that rather than money being stored in a database<br>
on a central server, everyone would be in control of their own money,<br>
which would be stored locally on their PC. There would be a money<br>
module on the server which would deal with managing BitCoin addresses<br>
for avatars and confirming transactions, but rather than making<br>
transactions itself like the existing DTL server, it would just tell<br>
the client on the PC how much to pay and to what address, then confirm<br>
that the transaction had been made and deliver inventory etc.<br>
<br>
Rather than hacking BitCoin integration into the viewer, I'm thinking<br>
it might be good to run a separate piece of client software - a custom<br>
BitCoin client responsible for managing the user's money - alongside<br>
the viewer. When the money module on the server thinks the client<br>
should spend some money on something (eg because the user made a "buy"<br>
request with their viewer), I want it to send a message to the viewer,<br>
and have that message somehow get to the BitCoin client program.<br>
<br>
I think I know how to do this if I don't mind putting a human in the<br>
middle of the process: The money module tell the viewer to show the<br>
user a message saying, "Please pay 0.1 BitCoins to address xyz", and<br>
the user would open the BitCoin client and pay the money, then the<br>
server would check the payment and complete the transaction. But it<br>
would be better if I could somehow get the viewer to pass the<br>
information on to the client behind the scenes, without bothering the<br>
user.<br>
<br>
So without altering existing viewers, can anyone suggest a way to get<br>
a message from the server, via the viewer, to another process? The<br>
other process could be listening on a local port, watching a file or<br>
doing whatever it needs to do. I'm open to nasty hacks, but not<br>
really, really nasty hacks.<br>
<br>
PS. I'm new to OpenSim module development and I've never tried to hack<br>
the viewer, so be gentle with me if there's some kind of fundamental<br>
misunderstanding behind my question...<br>
<br>
--<br>
Edmund Edgar<br>
Founder, KK Social Minds<br>
Educational Technology for the Web and Virtual Worlds<br>
<br>
<a href="mailto:ed@socialminds.jp">ed@socialminds.jp</a><br>
<a href="tel:%2B81%20090%203912%203380" value="+819039123380">+81 090 3912 3380</a><br>
Skype: edmundedgar<br>
Second Life: Edmund Earp<br>
Linked In: edmundedgar<br>
Twitter: @edmundedgar<br>
<a href="http://www.socialminds.jp" target="_blank">http://www.socialminds.jp</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br></div>