[Opensim-dev] Opensim-dev Client-side NPC development update (youtube)

Dave Gubser gubser at dynacee.com
Thu Apr 18 16:50:43 UTC 2013


NPCs and General Number of AVs in a sim:

UpdateCoarseLocationsEveryNFrames in Opensimdefaults.ini (in the bin folder)
I found, what appears to be a bottleneck related to the # of users in a
simulator/servers ability to update each users position (to each other).
Experimenting with over 22 NPC on my sims, generated missing or corrupted AV
position information communications from the server. Adding the
UpdateCoarseLocationsEveryNFrames = 50 (experiment with values that work for
you) allowed me to place 50 plus bots (all actually going someplace and
performing functions) on sims with this added line, modification. It also
appears to have no effect on any other part of the simulator. The question
being, by modifying my Opensim.ini with the line, am I going to break
something else?... some bad effect?
For fun, I included a Youtube vid of the latest npc updates:
http://www.youtube.com/watch?v=HxrdbV9OFYw
-Dave


-----Original Message-----
From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of
opensim-dev-request at lists.berlios.de
Sent: Thursday, April 18, 2013 3:00 AM
To: opensim-dev at lists.berlios.de
Subject: Opensim-dev Digest, Vol 68, Issue 9

Send Opensim-dev mailing list submissions to
	opensim-dev at lists.berlios.de

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.berlios.de/mailman/listinfo/opensim-dev
or, via email, send a message with subject or body 'help' to
	opensim-dev-request at lists.berlios.de

You can reach the person managing the list at
	opensim-dev-owner at lists.berlios.de

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Opensim-dev digest..."


Today's Topics:

   1. Re: AddRegion() not triggered (FoTo50)


----------------------------------------------------------------------

Message: 1
Date: Wed, 17 Apr 2013 15:30:19 +0200
From: FoTo50 <info at foto50.com>
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] AddRegion() not triggered
Message-ID: <516EA3EB.5090701 at foto50.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi Justin

My other 2 modules (search and profile) do not run into this issue,
allthough they are more or less structured the same way. The money module is
like all my others a shared module. When I add debug lines to the log, I can
see it running through "Initialise(IConfigSource source)" 
and then never hear/read anything of it anymore. Not AddRegion() or
RegionLoaded() or anything else ... and it either receives AddRegion for all
regions or for none. When I check with "show modules" it tells me that it is
not even loaded (running here 0.7.5 stable btw), allthough some custom
console commands of the module are working.

Thanks for the hint with the log level of "RegionModulesControllerPlugin".
Turning this to "DEBUG" I get sometimes a line (when it loads correctly)
like:

DEBUG -
OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPl
ugin
[REGIONMODULE]: Deferred load of jOpenSimMoneyModule and a bit later then
DEBUG -
OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPl
ugin
[REGIONMODULE]: Adding scene testregion to shared module jOpenSimMoneyModule
(deferred)

... but when it fails, it writes only the first one and then later it adds
the BetaGridLikeMoneyModule instead, allthough this should be disabled by
configuration in OpenSim.ini:

[Startup]
...
economymodule = jOpenSimMoneyModule
...

Also something "interesting": once it failed to startup correct, it will
fail to startup correct most of time later at restart. Renaming the
containing folder helps sometimes ?!?!?

Greetz
Georg



Am 16.04.2013 22:37, schrieb Justin Clark-Casey:
> I'm not sure what would cause this behaviour, since AddRegion() should 
> always be triggered on startup and if there was a general problem then 
> there would be many problems with core modules.
>
> Do any other modules suffer this issue?  Is this a shared or 
> non-shared module?  Does the module receive AddRegion for other 
> regions?  Does the module receive other events?
>
> You can see more information on module startup if you change the 
> RegionModulesControllerPlugin log level in OpenSim.exe.config.  In 
> fairly recent dev versions of OpenSimulator there is also a "show 
> modules" command which will show loaded modules.
>
> On 16/04/13 16:01, FoTo50 wrote:
>> Hi
>>
>> Developing a third party (currency) module I run into some strange 
>> behaviour. Sometimes AddRegion() is triggered at startup, sometimes 
>> it is not triggered. Does somebody know what could cause this 
>> behaviour? (running on several plattforms, but mostly under 
>> linux/mono 2.10.8.1)
>>
>> Greetz
>> FoTo50 alias Georg
>>
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.berlios.de/pipermail/opensim-dev/attachments/20130417/d714da1
3/attachment-0001.html>

------------------------------

_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

End of Opensim-dev Digest, Vol 68, Issue 9
******************************************




More information about the Opensim-dev mailing list