[Opensim-dev] Opensim-dev Digest, Vol 68, Issue 11 RESONSE TO MESSAGE 3 from Justin
Dave Gubser
gubser at dynacee.com
Fri Apr 19 23:57:38 UTC 2013
Greetings Justin,
I was surprised as well (regarding the change to Coarse Location
Updates) and was just doing a "once over" to see if I missed some
configuration setting before ripping into the server code to see WHY the
bots were receiving scrambled/inaccurate data streams from the server, the
moment I added a 23 bot. (this was tested on several servers and OS versions
.7.3, .4, .5 etc to verify and I did multiple modifications to the bots
client side interface to request less frequent updates TO NO AVAIL).
Moding the ini file with 100 for the course update and bang, worked/works
great. The interface for the bots, obviously, doesn't need or use any real
graphical interface except to log them on and set tasks.
I thought modifying C.L.U. might effect the ability of the bots to learn to
zero in (bows/arrows..etc) but that was also not the case and proves your
statement regarding (no effect on anything but human viewer notification of
"Dots".) Point: it does not screw up ballistic calcs or other timing in any
way that effects server responsiveness or information that might be time
sensitive for other calculations, that I could determine.
I was hoping, this simple solution might help someone else who might have
run into this same "wall" although , without diving into the server code and
hunting the dependencies down, I have no clue as to why the simple mod
works. BUT IT DOES :) and I as a human (uh...last time I checked) really
don't mind my browser mini-map only being updated every 2 seconds instead of
1. (occasionally, I get a nagging feeling that one day, I will be falling
into the pool of server code instead of occasionally dipping a toe in.)
Be well Justin,
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: Friday, April 19, 2013 2:48 PM
To: opensim-dev at lists.berlios.de
Subject: Opensim-dev Digest, Vol 68, Issue 11
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: Documentation for IClientNetworkServer (Sergiy Byelozyorov)
2. Re: Documentation for IClientNetworkServer (Justin Clark-Casey)
3. Re: Opensim-dev Client-side NPC development update (youtube)
(Justin Clark-Casey)
4. Re: AddRegion() not triggered (Justin Clark-Casey)
----------------------------------------------------------------------
Message: 1
Date: Fri, 19 Apr 2013 21:10:43 +0200
From: Sergiy Byelozyorov <rryk.ua at gmail.com>
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Documentation for IClientNetworkServer
Message-ID:
<CAHeh0keB2V9n=b_g8c32YmPUa46C8VC7ggqo7Vf=MMM6cUY8=w at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Thank you. This mailing list is in principle some kind of documentation. :-)
Btw, I have done some study of the LL protocol and wrote a small summary for
a few messages (that were logged by the server while a client has performed
a few simple actions such as walking and flying). I haven't found any
documentation on the protocol other than the one in the code, which is where
I have got the information from. Perhaps someone can use my research - where
can I post my study? Would be also great if I could update it as I will
continue to learn more about the protocol with time.
Sergiy
On Tue, Apr 16, 2013 at 11:06 PM, Justin Clark-Casey <
jjustincc at googlemail.com> wrote:
> This is very old code, some of which was originally present for load
> balancing experiments which have long been defunct and the original
> coders unavailable. Its purpose was also completely undocumented.
> Therefore, I have removed NetworkStop().
>
> As for AddScene, you can assume it will only be called once. There is
> a mechanism in OpenSimBase which looks like it was intended as a
> bypass (presumably so that AddScene() could be called multiple times
> on a single INetworkClientServer). But I believe this was again
> present for the above load balancing experiments and is effectively
defunct.
>
> I'm afraid no general documentation really exists for the client stack
> interfaces and mechanisms. The best we can do is try and fill in the
> blanks on request.
>
>
> On 15/04/13 15:27, Sergiy Byelozyorov wrote:
>
>> Also what's the difference between Stop and NetworkStop?
>>
>>
>> Sergiy
>>
>>
>> On Mon, Apr 15, 2013 at 4:21 PM, Sergiy Byelozyorov
<rryk.ua at gmail.com<mailto:
>> rryk.ua at gmail.com>> wrote:
>>
>> Hi,
>>
>> I am implementing a new client network server class. Is there any
>> documentation on IClientNetworkServer? In
>> particular I am interested whether AddScene may be called several
>> times or not.
>>
>> Sergiy
>>
>>
>>
>>
>> ______________________________**_________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/**mailman/listinfo/opensim-dev<https://lists
>> .berlios.de/mailman/listinfo/opensim-dev>
>>
>>
>
> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
> ______________________________**_________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/**mailman/listinfo/opensim-dev<https://lists.
> berlios.de/mailman/listinfo/opensim-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.berlios.de/pipermail/opensim-dev/attachments/20130419/714c6b5
6/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 19 Apr 2013 20:26:55 +0100
From: Justin Clark-Casey <jjustincc at googlemail.com>
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Documentation for IClientNetworkServer
Message-ID: <51719A7F.3070308 at googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
A great place to do this would be on new wiki page(s) linked from [1].
Please feel free just to create a wiki account and start editing! I haven't
yet written up any general information the LL viewer-server protocol and it
would be great to have some.
Another place for protocol information might be the libomv wiki [2], though
on a (very) casual glance I don't see any protocol-level doc apart from the
auto-extracted UDP message templates.
The other sources of protocol information would be the LL wiki.
[1] http://opensimulator.org/wiki/Communication_Protocols
[2] http://lib.openmetaverse.org/wiki/Developer_Portal
On 19/04/13 20:10, Sergiy Byelozyorov wrote:
> Thank you. This mailing list is in principle some kind of
> documentation. :-)
>
> Btw, I have done some study of the LL protocol and wrote a small
> summary for a few messages (that were logged by the server while a
> client has performed a few simple actions such as walking and flying).
> I haven't found any documentation on the protocol other than the one
> in the code, which is where I have got the information from. Perhaps
someone can use my research - where can I post my study? Would be also great
if I could update it as I will continue to learn more about the protocol
with time.
>
>
> Sergiy
>
>
> On Tue, Apr 16, 2013 at 11:06 PM, Justin Clark-Casey
<jjustincc at googlemail.com <mailto:jjustincc at googlemail.com>> wrote:
>
> This is very old code, some of which was originally present for load
balancing experiments which have long been
> defunct and the original coders unavailable. Its purpose was also
completely undocumented. Therefore, I have
> removed NetworkStop().
>
> As for AddScene, you can assume it will only be called once. There is
a mechanism in OpenSimBase which looks like
> it was intended as a bypass (presumably so that AddScene() could be
called multiple times on a single
> INetworkClientServer). But I believe this was again present for the
above load balancing experiments and is
> effectively defunct.
>
> I'm afraid no general documentation really exists for the client stack
interfaces and mechanisms. The best we can
> do is try and fill in the blanks on request.
>
>
> On 15/04/13 15:27, Sergiy Byelozyorov wrote:
>
> Also what's the difference between Stop and NetworkStop?
>
>
> Sergiy
>
>
> On Mon, Apr 15, 2013 at 4:21 PM, Sergiy Byelozyorov
<rryk.ua at gmail.com <mailto:rryk.ua at gmail.com>
> <mailto:rryk.ua at gmail.com <mailto:rryk.ua at gmail.com>>> wrote:
>
> Hi,
>
> I am implementing a new client network server class. Is there
any documentation on IClientNetworkServer? In
> particular I am interested whether AddScene may be called
several times or not.
>
> Sergiy
>
>
>
>
> _________________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de <mailto:Opensim-dev at lists.berlios.de>
> https://lists.berlios.de/__mailman/listinfo/opensim-dev
> <https://lists.berlios.de/mailman/listinfo/opensim-dev>
>
>
>
> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
> _________________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de <mailto:Opensim-dev at lists.berlios.de>
> https://lists.berlios.de/__mailman/listinfo/opensim-dev
> <https://lists.berlios.de/mailman/listinfo/opensim-dev>
>
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
------------------------------
Message: 3
Date: Fri, 19 Apr 2013 20:30:05 +0100
From: Justin Clark-Casey <jjustincc at googlemail.com>
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Opensim-dev Client-side NPC development
update (youtube)
Message-ID: <51719B3D.2050900 at googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Coarse location updates are used by the viewer to display the avatar green
dots on the minimap. Decreasing the
frequency (by increasing n frames) simply means that human viewers will see
the minimap updating less frequently.
This is completely unrelated to the position updates that actually change
your 3D view of other avatars, so I'm
surprised that increasing this value allows you to place more bots.
On 18/04/13 17:50, Dave Gubser wrote:
> 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
> ******************************************
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
------------------------------
Message: 4
Date: Fri, 19 Apr 2013 22:48:12 +0100
From: Justin Clark-Casey <jjustincc at googlemail.com>
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] AddRegion() not triggered
Message-ID: <5171BB9C.7030408 at googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 17/04/13 14:30, FoTo50 wrote:
> 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.
Perhaps you could pastebin the module code if it's not confidential so we
can take a quick look (though personally I
probably won't get a chance until Monday).
>
> 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:
At the moment, by default OpenSimulator loads all modules even if they are
disabled in their individual configurations
(e.g. by Enabled = false). This is wasteful and confusing. I believe there
is a mechanism for preventing load
altogether but I haven't used it myself so I don't remember what it is (not
very useful, I know). I will try and have a
look next week.
>
> [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 ?!?!?
Perhaps the Mono addins cache is getting corrupted, even though we haven't
seen this for a long time. You might want to
try deleting bin/addin-db-001 before restarting if this happens.
>
> 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
>>>
>>
>>
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
------------------------------
_______________________________________________
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 11
*******************************************
More information about the Opensim-dev
mailing list