[Opensim-users] How could I get this module.

Sam opensim.sam at egipturismo.com
Fri Jan 6 15:34:19 UTC 2023


Hello and Happy New Year!

A couple of questions. First one:

1) When I say UDP data, I always have in mind a possible MIDI implementation to opensimulator. But studying your kind indications (I am still on it) I have come
across a dilemma that I don't know how to solve: 

Taking into account that the program to capaciting opensim with these three basic functions: 

a.- receiving UDP MIDI data (from a MIDI instrument on internet via RTP, for example), 
b.- processing simultaneously those UDP MIDI data in any way (a simple example: showing in the chat who sends the data MIDI said data in line-by-line text mode)
and 
c.- send those UDP MIDI data in real time to another overseas midi Instrument plugged to opensimulator (so that another MIDI instrument could make work another
MIDI piano there) 

would not be created to enable only one or several regions with those MIDI abilities (it does not seem a priori that it should be a feature of one or several
regions) but to enable with full MIDI asynchronous multithread capabilities to every client avatar connecting to the opensimulator server ... What would be more
suitable, implementing a Mono.Addin plugin or a Region Module plugin?

And the second question:

2) I've seen that equipping opensimulator with MIDI capabilities could also be tried by using those special inworld C# scripting (writing in the first header
line "//c#", alowing it previously that way in the INI files).

However, every time I try to create a C# script following Justin Clark's old instructions (for example, like the one contributed here by Jeff years ago --"Re:
fun with UDP," about synchronized MIDI sliders) I see that, right now, it doesn't work and gives all kinds of errors when trying to compile. So how could we
solve this?

In short, can anyone tell me where I can get current updated documentation for opensim 0.9.2.1 status of all the API used by opensimulator, both for its
creation and, specially, for the internal C# scripting language to work nowadays?

Thank you very much in advance.

Yours,
Sam



On Fri, 30 Dec 2022 18:41:39 +0100, you wrote:

>Thank you very much, Mister Blue, Mic Bowman and Seth Nygard for your valuable guidance and clues.
>
>I'm going to start studying them right now and I'll tell you. 
>
>I hope all of you have a peaceful and rewarding end of the year.
>
>Sam
>
>On Fri, 30 Dec 2022 12:03:57 -0500, you wrote:
>
>>https://github.com/cmickeyb/dispatcher
>>
>>On 2022-12-30 11:58 a.m., Mic Bowman wrote:
>>> a long time ago i wrote a module that provided some of what you want. it
>>> almost certainly doesn't work any more but might give you a starting point.
>>> https://sites.google.com/site/opensimdispatcher/project-definition
>>> https://github.com/cmickeyb/dispatcher
>>>
>>> and a video of a connection between a traffic simulator connected to
>>> opensim region through the dispatcher
>>> https://www.youtube.com/watch?v=32HB5gnjtPk&ab_channel=MicBowman
>>>
>>> --mic
>>>
>>>
>>> On Thu, Dec 29, 2022 at 6:37 PM Mister Blue <misterblue at misterblue.com>
>>> wrote:
>>>
>>>> For modules, start with http://opensimulator.org/wiki/IRegionModule and
>>>> look at some existing region modules. The easiest way to add a modules is
>>>> to put it into the addon_modules directory in the OpenSim source tree and
>>>> have it build as part of OpenSimulator. For 'addon_modules, you create a
>>>> prebuild.xml file with the building instructions for prebuild.exe and then
>>>> your module is included into OpenSimulator. An example is
>>>> https://github.com/Herbal3d/Loden (a module for a project I'm working on)
>>>> where you should check out prebuild-loden.xml and Loden/LodenModule.cs as
>>>> an example of a repository that is checked out into addon_modules and
>>>> builds in OpenSim.
>>>>
>>>> As for UDP transmission, you can use any of the usual C# input and output
>>>> libraries. The code that usually receives and sends UDP is in
>>>> OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs. I doubt it would be
>>>> usable for general UDP sending and receiving but it could be an example of
>>>> how it is done.
>>>>
>>>> == mb
>>>> Opensim-users mailing list
>>>> Opensim-users at opensimulator.org
>>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>>>>
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at opensimulator.org
>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


More information about the Opensim-users mailing list