User:Dz

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Welcome to the OpenSimulator Space of dz)
(added Sim Stats board)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
__FORCETOC__
  
 
== Welcome to the OpenSimulator Space of dz ==
 
== Welcome to the OpenSimulator Space of dz ==
Line 18: Line 19:
 
== NPC Utilities ==
 
== NPC Utilities ==
  
 +
[[User:Dz/NPC Scripts]]  Has the Latest NPC utilities
  
<source lang = "lsl">
 
  
// OpenSimian BotKiller
+
== Animation overrides ==
// Kills all the NPC's in the region.. Please use with discretion.
+
// Iterate over a list of avatar keys, using them as an arguments to osNpcRemove
+
// Add a delay to the timer if sim performance starts to drag during logouts
+
// Feel free to use/distribute/modify to suit your needs
+
// Prepared for transfer to MOSES grid -  D Osborn  5.3.2013
+
  
integer who2kill = 0;
+
[[User:Dz/AO]] Has the Latest Animation Overrides designed for OpenSimulator
integer howmany = 0;
+
list avatars = [];
+
  
default
 
{
 
    state_entry()
 
    {
 
      llSetText("waiting ", <1.0, 0.0, 0.0>, 1.0);
 
    }
 
  
    touch_end(integer total_number)  // should not change state in touch_start events....
+
== Avatar Proportion Scale ==
    {
+
      avatars = osGetAvatarList();
+
      howmany = llGetListLength(avatars)/3;
+
      state KillThem;
+
    }
+
  
    changed(integer change)    /Reset on region restart
+
[[User:Dz/Avatar Scale]] A simple scale to help you create more realistic avatar shapes
    {
+
      if (change & CHANGED_REGION_RESTART)
+
      {
+
          llResetScript();
+
      }
+
    }
+
}
+
  
state KillThem
 
  
{
+
== Media On a Prim Sim Statistics Board ==
    state_entry()
+
    {
+
      llSetText("Processing ", <1.0, 0.0, 0.0>, 1.0);
+
      llSetTimerEvent(3.0);                            // remove 1 every 3 seconds to minimize performance impact
+
    }
+
  
    timer()
+
[[User:Dz/SimStats]] A MOAP HTML hack to display Sim Statistics.
    {
+
      osNpcRemove(llList2Key(avatars,who2kill*3));  
+
      llSetText("Removed so far : " + (string) (who2kill + 1), <1.0, 0.0, 0.0>, 1.0);
+
     
+
      who2kill++;     
+
      if(who2kill>=howmany)
+
          state default;         
+
  
      llSetTimerEvent(3.0/ llGetRegionTimeDilation());  // Use timedilation to add to the delay if lagging
 
    }
 
 
 
  
    touch_end(integer interrupt)  // abort by touching the object while it is processing
+
== Media On a Prim Shoutcast Board ==
    {
+
      llResetScript();
+
    }
+
  
    changed(integer change)
+
[[User:Dz/ShoutCast]]  A note card controlled ShoutCast board using MOAP to display stream info.
    {
+
      if (change & CHANGED_REGION_RESTART)
+
      {
+
          llResetScript();
+
      }
+
    }
+
}
+
 
+
</source >
+

Latest revision as of 17:59, 1 September 2015


Contents

[edit] Welcome to the OpenSimulator Space of dz

I am generally involved in running OpenSim instances for fun, but I have been induced to try it for profit and the pursuit of scholarly credits.

I am an incessant lurker...It took me 2 years to add these 3 lines to my profile here.

I monitor the following OpenSimulator mailing-lists Opensim-Users, OpenSim-devs, libomv-dev. I can also be found lurking in the SL opensim group chat.

I have been administering Linux based OpenSim servers since release 6.1, mostly on Ubuntu. I have active avatars on OSGrid, ScienceSim, Inworldz, and that "SL" place.



[edit] NPC Utilities

User:Dz/NPC Scripts Has the Latest NPC utilities


[edit] Animation overrides

User:Dz/AO Has the Latest Animation Overrides designed for OpenSimulator


[edit] Avatar Proportion Scale

User:Dz/Avatar Scale A simple scale to help you create more realistic avatar shapes


[edit] Media On a Prim Sim Statistics Board

User:Dz/SimStats A MOAP HTML hack to display Sim Statistics.


[edit] Media On a Prim Shoutcast Board

User:Dz/ShoutCast A note card controlled ShoutCast board using MOAP to display stream info.

Personal tools
General
About This Wiki