More OpenSIM stuff
I have tested a little more with opensim now, updated top the lates svn stuff and got more sql stuff. Updated my config as well loot of stuff to be tested.
My config is now:
[Startup] gridmode = false physics = basicphysics storage_plugin = "OpenSim.DataStore.MonoSqlite.dll" standalone_authenticate = true standalone_welcome = "Balp Test Server"
On startup I get an error from jpeg handling.
Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0-x86_64.so at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded (OpenJPEGNet.OpenJPEG/LibslImage&) at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000] at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000] at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]
A chat log from the #opensim IRC
<MW__> p-phunk, at moment you need a db file for inventory and then another
one for each region, (later hopefully we will support a single file
for all the regions in a instance ) but its likely that inventory
will stay separate.
<MW__> a empty inventory database file is included in svn (inventoryStore.db)
if you recreate it or whatever, then it needs that name (the prim
databases can be named whatever you want as you set their names in
the region.xml file ...the Datastore value)
<p-phunk> I just imported the 2 sql files into a single db
<p-phunk> and it works
<p-phunk> unless you mean something else?
<p-phunk> the table names dont clash so its ok
<MW__> oh cool if it works
<p-phunk> I dont know why, but not everything is getting saved
<p-phunk> is the region saved at intervals or somehting?
<p-phunk> maybe Im building and then shutting down too fast
<MW__> but think if you add more than one region to a instance (ie more than
one region.xml file in the region folder) then you will need
separate database files for them as they all use the same table
types but need their own tables.
<p-phunk> yeah Im only testing 1 region
<MW__> yeah currently the regions only backup something like every 2 minutes
<p-phunk> oh ok
<p-phunk> does typing backup on the consol work now?
<MW__> I'm not sure
<p-phunk> ok
<p-phunk> Im noticing shift drag copying is really busted
<p-phunk> when yuou shift copy a copy of something the first copy bounces back
to the original position it was in
<dalien> p-phunk oh, you got the inventory/assets save working ?
<p-phunk> yeah
<p-phunk> oh I dunno about inv
<dalien> means - it survives the restart and all ?
<p-phunk> but prims I rezz are appearing after shitdown
<p-phunk> not all of them though
<p-phunk> yeah
<MW__> actually seems we have backup set for every minute , if you want to
change the timing , go to scene.cs line 233: if (storageCount >
600) and change the 600 (seconds multiplied by 10)
<p-phunk> mw had that working a few revs ago when I tested it
<p-phunk> no it doesnt matter MW I just wanted to see if it was saved on
timer, that would explain why some prims werent there after restart
<dalien> p-phunk: anything special to do to do it ?
<p-phunk> yes
<p-phunk> a few things
<p-phunk> grab a copy of sqlite3
<p-phunk> storage only works with sqlite right now
<dalien> ok
<p-phunk> is there any way i can save my current terrain instead of having to
flatten each time?
<p-phunk> right now I use terrain fill 23 just to flatten the region
<dalien> p-phunk: not sure if you can export. but the terrain load from PNG
definitely has a bug.
<dalien> i need to file a ticket on that ![]()
<p-phunk> mw, you think you can hook up some storage of the terrain
??
<p-phunk> so a restart remembers it
<dalien> well, should be possible... maybe not today, since I plan to play a
bit into this funny thing called "RL". they say the resolution is
pretty good.
<dalien> but the load from PNG works - i need to see if I can do the save to
PNG.
<dalien> actually, I think maybe next week i might have some time - since i
will be in a business trip
<p-phunk> but loading the terrain still has to be a mnual thing on the console
right
<p-phunk> ?
<p-phunk> Im just talking about saving my flat region here so I dont have to
flatten it on the console each time I restart
<p-phunk> its just easier to do build testing ona flat sim instead of that
generated one
<dalien> ah. but can't you just add the command somewhere ?
<p-phunk> no nothing automated
<dalien> wait
<p-phunk> I have to type: terrain fill 23 each time
<p-phunk> Ive just set autentication to true, but how do I create user
accounts?
<p-phunk> wanted to test inventory saves
<p-phunk> nvm
<p-phunk> its: create user
<p-phunk> I was just making a typo
<dalien> p-phunk: ok, to get the terrain saved...
<dalien> after flattening it
<dalien> do "terrain save F32 default.r32"
<dalien> then on the next startup it will load it from this file
<p-phunk> oh thanks man
<p-phunk> let me try it
<p-phunk> interesting
<p-phunk> I saved a flat region at 23M height
<p-phunk> now after it reloads, its height is 1381
<p-phunk> looks like there is a multiplier at work
<dalien> ahha.
<dalien> well, at least you got the flat land ? ![]()
<p-phunk> I see it is 60.0 in estate settings xml
<p-phunk> Ill change it and try a reload
<p-phunk> yeah cool thanks man
<dalien> oki ![]()
<dalien> yw ![]()
<p-phunk> 23 x 60 gets the hight Im seeing now
-:- SignOff DeltaCzuk: #opensim ()
<p-phunk> yep that was it. Its all good now ![]()
<dalien> cool!
<dalien> (topic for a blogpost)
<p-phunk> mw is the man...
<p-phunk> my notecards saved
<p-phunk> and I can view the text I typed in them after a restart
<dalien> whoa
<dalien> inventory now works ?????
<AdamZaius> It does? ![]()
<p-phunk> yeah some things are working ![]()
<dalien> 13:18:09) p-phunk: my notecards saved
<dalien> (13:18:19) p-phunk: and I can view the text I typed in them after a
restart
<dalien> p-phunk: ok, now please please share step by step what did you do to
get it working ![]()
<p-phunk> you need to set standalone autentication to true in opensim.ini
<p-phunk> then type: create user
<p-phunk> on the console
<p-phunk> then when you log in with that user any folder you create and
notecards are remmebered
<p-phunk> you need to use sqlite though
<adjohn> this doesn't work on grid mode?
<p-phunk> no I dont think so
<p-phunk> mw is working on standalone right now
<dalien> ah - p-phunk, and sqlite - that should be the change of the library
in the opensim.ini ?
<p-phunk> put this in opensim.ini
<p-phunk> storage_plugin = "OpenSim.DataStore.MonoSqlite1.dll"
<p-phunk> standalone_authenticate = true
<dalien> ahha
<p-phunk> in region/default.xml set your db
<p-phunk> mine is datastore="opensimdb"
<p-phunk> you have to create those tables in sqlite
<dalien> hmm interesting the MonoSqlite1 - is it something very new ?
<dalien> i did a checkout couple days ago and do not see it built...
<p-phunk> yeah newish
<dalien> ah wait
<dalien> i do not have "1" ![]()
<p-phunk> Im on windows so I dump the sql files into sqlite like this:
<p-phunk> type sqlite3-prims.sql | sqlite3.exe opensimdb
<p-phunk> and sqlite3-inventory.sql | sqlite3.exe opensimdb
<dalien> ok let me check
<dalien> hmmm interesting - looks like they were checkout later...
<dalien> i can see only prims, not inventory
<dalien> ok - and then that is basically it ?
<p-phunk> its in share/sql
<p-phunk> yep
<dalien> yeah i have only prims, not inventory - so the inventory code must've
been bleeding ![]()
<dalien> ok
<dalien> i *really* have to run - but thanks a ton p-phunk, I will give it a
run and will blog it if it works ![]()
<dalien> (as well as the terrain save thingie ![]()
<p-phunk> cool
<p-phunk> we should siki it
<p-phunk> wiki
<dalien> indeed.
<p-phunk> but things change too fast
<p-phunk> so I wasnt sure
<dalien> thats my concern
<p-phunk> this is too new
<dalien> blog is easier
<dalien> more volatile
<dalien> (and i already have it ![]()
<dalien> so i will just post it there so folks can hit if they search
<p-phunk> cool whats the url?
<dalien> once it settles down a bit - we can transfer on wiki
<dalien> daltonic.blogspot.com
<dalien> a mish mash of everything, but i do tag, so you can filter out the
noise ![]()
<p-phunk> sweet adding it to ggole reader
<p-phunk> google*
<dalien> oki... gonna run now. else i am going to be late and it is not good
![]()
<dalien> thx again and ttyl
Popularity: 9% [?]
Additional comments powered by BackType