Jump to content
Sign in to follow this  
Sarrah12

MLPV2 in opensim

Recommended Posts

Hello,

Has anyone had any success running MLPV2 in Opensim?I'm new to scripting and i'm struggling trying to get the scripts to compile. I test all my animations in OS grid, so it would be really helpful if i get the MLPV2 running. If anyone has any tips regarding this, please let me know. 

Thank you in advance:)

 

Share this post


Link to post
Share on other sites

In avination I saw beds made with mplv2 and it's not so far different from OS grid. Also in inworldz I saw beds working good with mplv2 so I guess they should work good, but if the scripts allow you that use you can check yourself, read first good the scripts disclaimer.

Share this post


Link to post
Share on other sites

hmm, i checked it out. You're right, they do have beds working with mlpv2. But then again, like SL you need to pay for all the things in Avination.  I'm currently working on a research project and we don't have much money to spend, which is why OS grid was perfect for us. it would have been nice if there was any other altenative.

 

Share this post


Link to post
Share on other sites

Last time I looked the MLPV2 scripts use some memory management functions that were not supported in opensim.  Those you could comment out.  Then there were variable scoping differences that required revising some code.  I think the last issue was value assignment techniques that opensim did not support.

It has been done.  One of my alts had a modified version 2.5 ported.  But now he's forgotten lots of details. 

edit: There were some notes that I'll attempt to paste below

16 scripts
initial issues:
    Second LIfe memory managment features not supported in Opensim
    Opensim variable scope less granular than Second Life
    Odd list construction syntax used in SL may not provide same result here & need reworking Example "MenuStack = (list)menu + (MenuStack=[]) + MenuStack;"

Details for each script:

~memory
comment or revise related to unsupported memory management items
· 264, 269, 270, 276, 278,
revise some variables with scope issues
· 310-314 'name' becomes 'nam2'
    revise some statements doing multiple assignments
· 148 - multiple assignement warning - revised syntax
· 209 - multiple assignment warning - revised syntax

revise approach to use nam1, nam2, etc. for same variable name length.

~menu
ix scope issue.  plan to use jx, kx, etc.
· 262-262 ix becomes lx
174-185 revise button delaration syntax & scope problem. new local variable lbuttons used to avoid issues with global variable buttons.
531-534 comment unsupported memory managment, revised syntax

~menucfg
    167-173 using kx vice ix
    216-227 using lx vice ix
    306 comment unsupported memory managment
    103,176,177,178,179,248,249,254,255,267,268 revised multiple assignment syntax
--- review of changed reached here 11MAY2012
~pos
    48 memory managment

~pose
    ballIx scope issue - 86-88 using ballJx vice ballIx
    142-149 comment memory mgt not supported
    ix scope issue 216-218 kx vice ix

~poser
    added comment re OpenSim revisions, clean compile w/o further change

~poser1-6
    added comment re OpenSim revisions, clean compile w/o further changes

~props
    added comment re OpenSim revisions
    47 - comment memory mgmt unsupported function
    data scope issue - 283-287 dat1 vice data
    310 - comment memory mgmt unsupported function
    133-135, 250 - revised multiple assignment syntax

~swap
    added comment re OpenSim revisions
    data scope issu4e - 117-125 dat1 vice data
    143-144 - comment unsupported memory mgmt function
    149-150 - revised code due to unsupported memory mgmt function

~sequencer
    added comment re OpenSim revisions
    417-423 - comment unsupported memory mgmt function

~run
    added comment re OpenSim revisions
    192 - comment unsupported memory mgmt function

----
initial test gives 'no less than one button can be shown' script error... plus more
try reset scripts - msg that is OFF, start up... get the ready, click and get the same error
msgs follow:
---------------
[12:44 PM]  MLPV testing#001:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: LSL Runtime Error: No less than 1 button can be shown  Server stack trace:     at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.LSLError(String msg) in C:\Users\TestAV\OpenSIM\OpenSim073git\opensim-b92b922\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\LSL_Api.cs:line 10320    at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llDialog(String avatar, String message, list buttons, Int32 chat_channel) in C:\Users\TestAV\OpenSIM\OpenSim073git\opensim-b92b922\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\LSL_Api.cs:line 6523    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodP
---------------------
[12:43 PM]  MLPV testing#001: OFF (touch to switch on)
[12:44 PM]  MLPV testing#001 whispers: MLPV2 Starting, please wait
[12:44 PM]  MLPV testing#001: Reading .POSITIONS
[12:44 PM]  MLPV testing#001: 2 positions stored (~memory: 16384 bytes free,
[12:44 PM]  MLPV testing#001: 0 poses with swaps (~swap: 16384 bytes free),
[12:44 PM]  MLPV testing#001: Reading .MENUITEMS
[12:44 PM]  MLPV testing#001: loading 'MAIN MENU' menu
[12:44 PM]  MLPV testing#001: loading 'OPTIONS' menu
[12:44 PM]  MLPV testing#001: loading 'Height' menu
[12:44 PM]  MLPV testing#001: loading 'ShutDown...' menu
[12:44 PM]  MLPV testing#001: 38 menuitems loaded (~menucfg: 16384 bytes free)
[12:44 PM]  MLPV testing#001: 2 poses loaded (~pose: 16384 bytes free,
[12:44 PM]  MLPV testing#001: (~menu: 16384 bytes free,
[12:44 PM]  MLPV testing#001 whispers: MLPV2.5c: READY
-------------------------
relook the first script changes ~memory
revised scope changes for names... changed name1 to nam1, found another name at 310.... made that nam2.. tested, same error
relook 2nd script changes ~menu

5/9 – major issue found in menu buttons logic with scope issue.  Revised that and somewhat working now.  Failure to save default position after adjustment.

  MLPV testing#001: Timeout: save failed.  Try again
[06:44]  MLPV testing#001: 12 poses loaded (~pose: 16384 bytes free,

found ix / kx issue with active # balls logic, - fixed

working as far with one issue - timid animation ends with male standing
animation wasn't looped.
debug ...say code needs removing

  • Like 2

Share this post


Link to post
Share on other sites

Regardless of where MLPV2 scripts are found, you are legally entitled to request the source for the script.

MLPV2 is based on MLP, which was covered under the GNU Public License (GPL).  GPL makes if very clear that anyone using or modifying GPL-licensed software MUST publish the source code or provide it on request.

Since MLP was based on GPL, MLPV2 is also covered by it, and so is any script created from MLPV2.

Refusal to do so is a violation of the GPL license and is legally actionable.  If anyone refuses to comply with the terms of the GPL licence, please notify me as well as Miffy Fluffy (the author of MLP and XPOSE).

Thanks to the GPL license, nobody needs any permissions (from me or Miffy Fluffy or anyone else) to run MLPV2 scripts on other grids.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...