Thank you very much for your kind response, Melanie.

You wrote:

>The region modules are Mono.Addins, so it really writes one module that is 
>both.

So, if with your explanation I have understood correctly, the only difference 
is that addin modules are compiled independently of opensimulator core and are
added by special plug methods while region modules are compiled with 
opensimulator source code so becoming part of the main code. Is it right?

>The only script that is still supported is LSL (Mono).

Oh, I'm sorry! :-( I had thought that C# scripts still worked because, in fact, 
many of those scripts compile and work. For example:

>================== CODE ======================
//c#
public void default_event_state_entry()
{
     llSay(0, "This is an incredibly useless program.");
}
>================ END OF CODE ================

That is why I was very excited about this possibility, which could perhaps make 
my task easier, as Jeff demonstrated with the example I referred.

>there is a special type of region module that can extend scripts in LSL to 
>provide 
>additional functionality, which is where you might want to go.

It is very possible. What is that module and where is its source code?

>However, MIDI timings are tight and you may want to implement most of the 
>MIDI and UDP specific code in the region module.

I understand. Thanks a lot.

Finally, do you know where could I find the whole current and updated 
opensimulator API and documentation in order to facilitate my task trying to 
write the
MIDI UDP Region Module? Thank you in advance.

Yours, 
Sam.

On Sat, 07 Jan 2023 01:13:58 +0000, you wrote:

>Region modules are Mono.Addins, so you really write a module that is both.
>
>
>
>C# scripting and MRM have been removed for security reasons. The only 
>scripting still supported is LSL(Mono).
>
>
>
>Region modules provide basic functionality, there is a special type of region 
>module that can extend scripting in LSL to provide additional functions, which 
>is where you may want to go. However, MIDI timings are tight and you may want 
>to implement most of the MIDI and UDP specific code in the region module.
>
>
>
>- Melanie
>
>
>
>
>
>
>
>---- On Fri, 06 Jan 2023 15:34:19 +0000 Sam <opensim....@egipturismo.com> 
>wrote ---
>
>
>
>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 
>>>> <mailto:misterb...@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 
>>>>> mailto:Opensim-users@opensimulator.org 
>>>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users 
>>>>> 
>>>> _______________________________________________ 
>>>> Opensim-users mailing list 
>>>> mailto:Opensim-users@opensimulator.org 
>>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users 
>_______________________________________________ 
>Opensim-users mailing list 
>mailto:Opensim-users@opensimulator.org 
>http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to