Change font size
It is currently Fri May 24, 2013 11:09 am

Forum rules


Image



Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: New command line for autogenerating a block of regions.
PostPosted: Fri Apr 13, 2012 10:18 am 
Furious Typer

Joined: Tue Oct 28, 2008 4:53 pm
Posts: 80
This suggestion would definitely benefit opensim users.

A command line addition to the region console, that would allow the auto generation of blocks of regions, just by entering the block size ?x? and first map location x,y.

Something like:-

create block <x> <y> <map x> <map y>

The coding could follow the protocol of a megaregion and when something like 'create block 4 4 10000 10000' is entered only the name of the regions would be asked for, for each region, then a block of 4x4 regions starting at 10000,10000 would be created automatically, EG:-

command prompt
Region (Root) # create block 2 2 10000 10000 <enter>

command response
Region 1: enter region name _ Test Region <enter>
Region 2: enter region name _ Test Region2 <enter>
Region 3: " "
Region 4: " "
Enter 1st region coordinates: (x y) _
Enter 1st region port: _
Allow alternate ports [False]:
External host name [SYSTEMIP]:
These regions are not part of an estate, do you want them all to be part of the same estate [Y/N]: (if Y, then a list of current estates are listed, and 1 is selected, and all the generated regions are auto added to the selected estate,,, if N, then each region generated is asked the new estate name).

then, when all this info has been entered, a 2x2 block of regions are auto generated, with only the port being incremented, and the mapX and mapY, and UUID's auto generated for each region in the block.

Then it's up to the user if the block is to be a megaregion or not.

This will definitely take out the manual guesswork or figuring out the co-ordinates of a block of regions, especially if it's a large block of 4x4 (16), or larger, regions.


Top
 Profile  
 
 Post subject: Re: New command line for autogenerating a block of regions.
PostPosted: Fri Apr 13, 2012 12:29 pm 
That would be awesome! It would also be great if you could specify whether you want it to be a megaregion or not. That would make making megaregions trivial!


Top
  
 
 Post subject: Re: New command line for autogenerating a block of regions.
PostPosted: Fri Apr 13, 2012 2:29 pm 
Furious Typer

Joined: Tue Oct 28, 2008 4:53 pm
Posts: 80
Han Held wrote:
That would be awesome! It would also be great if you could specify whether you want it to be a megaregion or not. That would make making megaregions trivial!


The problem would be for asking if megaregion or not,,, is that the setting in the OpenSim.ini file 'CombineContiguousRegions = ' would have to be set manually, after using 'shutdown' in the console, then setting that line, to true, then starting up OpenSim.exe again for the setting to be re-read and the block of regions to become a megaregion, auto setting that flag by the program would not make any changes to the region(s), until opensim.exe has been restarted.

At least by using a console command to create the block, all one has to do then is to 'shutdown' OpenSim.exe, then open OpenSim.ini change the line to 'CombineContiguousRegions = true' then re start OpenSim.exe


Top
 Profile  
 
 Post subject: Re: New command line for autogenerating a block of regions.
PostPosted: Sat Apr 28, 2012 6:14 pm 
OSG Elite
User avatar

Joined: Sun Dec 07, 2008 4:40 am
Posts: 328
Location: variable
There is a third party tool called RegionGen21, that can do that.
Makes a block of 25 regions, complete with uuid's and locations based around 1000, 1000.
The files will need editing to locate well on OSGrid, from memory, it builds the old style region .xml files, but converting them to .ini style should not be too hard.

_________________
Greybeard.
I applied for the job as village idiot, seems they wanted someone smarter.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net