Actually yes. I wanted to see if I could set an initial value at startup but it looks like the client/viewer will override the value, even if I hard code the initial value in RegionSettings.cs. ________________________________________ From: [email protected] [[email protected]] On Behalf Of Justin Clark-Casey [[email protected]] Sent: Thursday, March 05, 2015 2:30 PM To: [email protected] Subject: Re: [Opensim-dev] Agent Limit in Configuration File
It isn't possible to set AgentLimit in a config file at the moment. In principle it wouldn't be hard (in fact I banged out an untested patch at [1]). However, the problem then is that this value would get re-asserted on each subsequent startup, even if changed elsewhere. I don't know if this is what one would want. Out of interest, are you looking for something like this as part of some automated setup system? [1] https://gist.github.com/justincc/a6c48194eac4d41b6c34 On 03/03/15 18:58, Louden, Robert wrote: > Thanks, but I have added the MaxAgents to the Regions.ini file but it does > not change the agent limit. From my understanding, MaxAgents is the maximum > value for the agent limit and not the actual agent limit itself, which is the > avatar limit in the region. I want to set that avatar limit (agent limit) in > the Regions file. > > On a side note, updating the MaxAgents parameter in the Regions file doesn't > seem to restrict the agent limit. I am able to login more avatars than the > MaxAgents value. > > > Robert > ________________________________________ > From: [email protected] > [[email protected]] On Behalf Of Michelle Argus > [[email protected]] > Sent: Tuesday, March 03, 2015 3:15 PM > To: [email protected] > Subject: Re: [Opensim-dev] Agent Limit in Configuration File > > use MaxAgents in your region.ini > > See also http://opensimulator.org/wiki/Configuring_Regions > > On 03/03/15 20:13, Louden, Robert wrote: >> Is there a way to update the the agent limit through one of the >> configuration files (i.e. Regions.ini)? I have found that you can update it >> through the viewer, directly hard-coding it, or through the new console >> command as of 0.8.1. But no way to update the limit through a configuration >> file. >> >> >> Robert >> _______________________________________________ >> Opensim-dev mailing list >> [email protected] >> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > > _______________________________________________ > Opensim-dev mailing list > [email protected] > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > _______________________________________________ > Opensim-dev mailing list > [email protected] > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > -- Justin Clark-Casey (justincc) OSVW Consulting http://justincc.org http://twitter.com/justincc _______________________________________________ Opensim-dev mailing list [email protected] http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev _______________________________________________ Opensim-dev mailing list [email protected] http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
