lbsa71
c202a7d0aa
* Copied 'Friends' functionality from the MySQLUserData to MSSQLUserData
...
[Provided by openlifegrid.com]
2008-02-13 13:55:03 +00:00
lbsa71
4880bd121e
* Split out MSSQLManager Test/Init into each provider.
...
* Made regions table name configurable (MSSQL only)
* Added a note in ini.example pointing out that the sql resources have to change if you change table names
* Removed duplicate picker method from GridData interface
[Provided by openlifegrid.com]
2008-02-13 13:39:51 +00:00
lbsa71
bcd3a5b28b
* Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
...
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Jeff Ames
001ce95e4c
Clean up more unnecessary String.Format calls
2008-02-13 03:38:18 +00:00
Justin Clarke Casey
a1a206cb05
* Clean up LIBRARY INVENTORY messages
2008-02-13 02:43:41 +00:00
Justin Clarke Casey
45638cc141
Commenting and a spelling correction
2008-02-13 01:04:27 +00:00
Justin Clarke Casey
1677bde480
* Clean up the agent's asset transactions when it is removed from the scene
...
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey
365cf8e455
* Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
...
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey
2018cf312b
Refactor: factor a method out of AgentAssetTransactionsManager
2008-02-12 22:41:57 +00:00
Justin Clarke Casey
c0211c1ca2
* Add missing locking to mysql inventory plugin
...
* Should resolve mantis 542
2008-02-12 22:24:12 +00:00
Justin Clarke Casey
6a3455a98c
* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
...
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
MW
7bbb9a08cb
Re-enabled Inventory creation of body parts
2008-02-11 20:54:46 +00:00
Justin Clarke Casey
c80c6e9774
Documenting and minor tweaks
2008-02-11 20:10:44 +00:00
Tedd Hansen
7156d7ae51
Moved share/sql/mysql-AvatarAppearance.sql to OpenSim/Framework/Data.MySQL/Resources/AvatarAppearance.sql as described in share/sql/mysql_README.txt
...
Thanks dmiles_afk
2008-02-11 18:24:00 +00:00
lbsa71
e399141dfb
* Added some connection debugging
2008-02-11 14:09:35 +00:00
Sean Dague
c654df5dfd
From: dirk husemann <hud@zurich.ibm.com>
...
these two patches fixe the terrain load exception that occurs when
restarting OpenSim on PPC32 by making terrain loading endian clean.
it does NOT fix the client crash exception. need to hunt that one down.
2008-02-11 12:38:51 +00:00
Teravus Ovares
a56664cf59
* um, Prim crossings? Experimental.
...
* Backup your database just in case.
2008-02-11 01:43:54 +00:00
Dalien Talbot
c935b308e6
The very beginnings of attachments (no detachments! :)
2008-02-10 22:23:11 +00:00
lbsa71
e0424254bd
* Refactored permissions handling to extract info out of permisisons block in ClientView
...
* Changed some uint constants to Enum values
2008-02-10 14:27:21 +00:00
Jeff Ames
e207284fef
Clean up logging calls using String.Format explicitly
2008-02-10 01:57:59 +00:00
lbsa71
e9eaf8e949
* fixed typo. thanks, nebadon!
2008-02-09 22:26:28 +00:00
lbsa71
7486762aa0
* Refactored some asset code and in the process uncovered a bug; now, I think first transfer of asset should start faster.
2008-02-09 22:23:36 +00:00
lbsa71
0b0bb28fd5
* added count of texture data bytes and asset bytes
2008-02-09 21:50:45 +00:00
lbsa71
e2ed5bf6b9
* Added count of temporary assets
2008-02-09 21:25:34 +00:00
lbsa71
176a1fe382
* added two new commands (for debug/disaster recovery)
...
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c)
'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items.
'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09 21:17:47 +00:00
Teravus Ovares
07d0f558c4
* Fixed nebadon's UserServer crash bug from yesterday.
...
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Justin Clarke Casey
d546859bc1
* Change logger to handle [<entry>] where <entry> contains non alphabetic characters
...
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Justin Clarke Casey
2dc94870aa
Mostly debugging verbosity which I shall very shortly comment out.
...
Just want to try this out on windows quickly.
2008-02-09 00:14:34 +00:00
Justin Clarke Casey
16f8f19a54
* Stop asset transactions hanging around after they've completed
...
* Still not enough to solve the memory leak, though hopefully this is another step on the path
* All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08 23:42:19 +00:00
Justin Clarke Casey
f05f583613
Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end
2008-02-08 22:39:08 +00:00
Adam Frisby
a1625a5410
* Applying mantis 339 patches round 2 -- Thanks daedius
2008-02-08 17:54:30 +00:00
Sean Dague
598c5a95d9
fix the issue found on IRC this morning. The logging call was mistructured
...
so threw and exception when attempting to log that we missed an asset and
were waiting for it.
2008-02-08 15:29:53 +00:00
Teravus Ovares
3674257095
* This update contains a bucket-full of network optimizations.
...
* ParcelProperties are sent only when needed instead of on any movement
* Terse Updates and other temporary data packets are marked unreliable
* After a certain amount of users, the sim actually sends updates on things less
* Experimental
* Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
2008-02-07 08:15:38 +00:00
Jeff Ames
49622dfbc5
Update version numbers to 0.5
2008-02-07 04:41:08 +00:00
Charles Krinke
c076eab633
Additional debugging print on LOGOUT if/else in userServer.
2008-02-07 03:13:30 +00:00
Sean Dague
caa255bcdf
make a couple more changes to get us back very close to old color scheme
2008-02-06 20:59:31 +00:00
Sean Dague
2d7fbf6137
ummm... removed 1 too many newlines, formating a bit better now
2008-02-06 20:34:50 +00:00
Justin Clarke Casey
548bbc97e5
* Chasing down memory leak where memory used by a client is not returned on client logout
...
* This code may or may not be on the right track, but I want to save my work so far.
2008-02-06 20:34:18 +00:00
Sean Dague
b3e85daf02
pass 1 on getting colors back to the console
2008-02-06 20:32:37 +00:00
Jeff Ames
3a1947f658
Removed super-stealth mode from PasswdPrompt. (Now you can see the prompt)
2008-02-06 10:11:10 +00:00
Jeff Ames
355d0fdb95
Revert color console changes until a cross-platform method is found.
2008-02-06 07:36:14 +00:00
Jeff Ames
d76d604ce9
Added colors back to console output.
...
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
MW
33c4631c6d
some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user.
2008-02-05 13:02:03 +00:00
Tedd Hansen
1d95f0521d
Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
...
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
Teravus Ovares
ca5aadfbff
* Refactored the sound calls to SceneObjectPart
...
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames
99844ee4c0
Added copyright statements.
2008-02-05 03:20:51 +00:00
Teravus Ovares
ba142c0410
* Fixing the console write on shutdown where the object is already disposed.
2008-02-05 02:10:01 +00:00
Justin Clarke Casey
baefa05b57
* Rebase all current servers on common abstract BaseOpenSimServer class
...
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Justin Clarke Casey
bde363b572
* Synchronize asset storage operations to mysql as well as reads
...
* This may help with asset server mysql problems, since both the previous osgrid failures occurred when both a read and write were attempted in the same second
2008-02-04 17:30:53 +00:00
Justin Clarke Casey
cd658ea845
A smidgen more error info for the asset server
2008-02-04 17:07:37 +00:00
Justin Clarke Casey
a1c9349d47
Refactor only: serve stats objects directly through StatsManager singleton
2008-02-04 16:22:58 +00:00
Teravus Ovares
3ff5ad1ed3
Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, llTriggerSound, llPlaySound, llPreloadSound.
...
* Time to make music boxes?
2008-02-04 14:40:46 +00:00
MW
755ad9e3e0
First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
...
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database.
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby
6fbc64af5e
* Whole buncha stuff.
2008-02-04 10:39:30 +00:00
Adam Frisby
35a8c95e1d
* Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
2008-02-04 10:28:39 +00:00
Adam Frisby
d12f253cca
* Default inventory permissions patch ( #444 ), courtesy of alex_carnell -- thanks!
2008-02-04 10:24:37 +00:00
Charles Krinke
c61d0075c1
Thanks to Brianw for pointing out the definition of OwnerUUID
...
needed to be consistent with the definition of owner_uuid.
They are both varchar(36) now.
2008-02-03 18:05:59 +00:00
alondria
742ed9537d
Implements LSL function llDialog().
...
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02 22:53:01 +00:00
Brian McBee
bd32563c4c
fix for error on null owner_uuid field
2008-02-02 18:20:25 +00:00
Charles Krinke
281245f433
Change casting slightly for reading owner_uuid from mysql.
2008-02-02 17:33:12 +00:00
Charles Krinke
6a1d9e8da1
Thank you very much daTwitch for your first contribution to the C# simulator.
...
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +00:00
Tedd Hansen
3a6405d2f7
In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :)
2008-02-02 16:03:10 +00:00
Teravus Ovares
2d6c21e8fc
* Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
...
* Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Tedd Hansen
2db5de3e72
Added commands to change config file from console:
...
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)
ScriptEngine will react correctly to any config change made while it is running.
2008-02-02 07:35:51 +00:00
Tedd Hansen
b089ccfa3d
Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
...
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
Tedd Hansen
41516fa2c3
Last patch was a disaster... reset terrain whenever bug occurred. Trying again with some modifications on Mutex.
2008-02-02 05:28:39 +00:00
Tedd Hansen
1fa510d26d
And one more patch before sleep
...
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Charles Krinke
599f8b884b
Add last entry "owner_uuid" back into regions table definition.
2008-02-02 04:17:38 +00:00
Teravus Ovares
d4f32649cd
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
2008-02-02 03:57:57 +00:00
Tedd Hansen
f4ddf5cf28
Removed "Loading inventory for Primitive" message.
...
Fixed small bug in thread counter.
2008-02-01 20:19:29 +00:00
lbsa71
f72b834b25
* setting some readonlies
2008-01-31 10:56:40 +00:00
Justin Clarke Casey
a4bf98f4ba
* Add asset/texture cache statistics to region server console
...
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey
881f295e70
* Add 'asset not found' statistics to grid asset server stats
2008-01-30 22:13:47 +00:00
Justin Clarke Casey
dee0d1e55d
* Print out exception information when a mysql asset fetch fails
...
* Attempt reconnection on fetch and create exceptions.
2008-01-30 17:39:40 +00:00
Justin Clarke Casey
ce07854a45
* Insert 'assets served per hour' speed to asset server stats
2008-01-30 17:19:32 +00:00
Justin Clarke Casey
beefbb46d2
* Add total logouts (and total logins) to server side user stats
...
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
2008-01-28 22:00:38 +00:00
Justin Clarke Casey
fa5fe6b7f6
* Move AssetStatsReporter to Framework.Statistics
...
* The hooks are still plugged in too high at the asset server, but then next layer down is the database and this may be refactored soon.
* This change will requires a prebuild
2008-01-28 19:49:07 +00:00
Jeff Ames
582d0a29d5
Set svn properties.
2008-01-26 04:26:12 +00:00
Justin Clarke Casey
7c20ad021e
* Add missed out evn:eol-style native
...
* I intended to think about refactoring the servers to use this common base class, but temporary laziness won out.
* I'm leaving this here as a reminder/mind poke and for reasons of laziness (again)
* If people object to me leaving this kind of thing lying around, please say
2008-01-25 19:40:48 +00:00
Justin Clarke Casey
90c853685c
* Add very basic initial login stats to the user server
...
* Typing 'stats' on the command line will given total number of successful logins today and yesterday
* A little bit more to come, probably
* Refactoring will follow next
2008-01-25 19:24:25 +00:00
Justin Clarke Casey
ff59280e9e
* Reinsert 3 second land loading delay of r3132 accidentally removed in r3141.
...
* Sorry Tedd!
2008-01-24 10:08:11 +00:00
Teravus Ovares
09a616e1ea
* Added ReadEtcIssue to Util
...
* If you have Debian running, you should get a platform line that says, 'Found Debian!' when starting up your sim.
* If someone running Debian will confirm this does occur, that would be most helpful.
2008-01-23 23:32:19 +00:00
Sean Dague
781187e16f
put the number in front of the migrations to make them easier to deal with
2008-01-23 20:42:50 +00:00
Justin Clarke Casey
51146fc80d
* Changing log messages to use 24 hour clock rather than 12 hour - hope nobody objects
2008-01-23 19:38:12 +00:00
Teravus Ovares
5cf96daaf2
* Enabled dead region tracking for ChildAgentDataUpdates
...
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region
* Enabled Child_Get_Tasks in grid mode.
* When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
2008-01-22 08:52:51 +00:00
Teravus Ovares
3fe6b2280d
* Shutting down child agents properly in neighbor regions.
2008-01-21 23:04:42 +00:00
Justin Clarke Casey
c3594ba7d1
* Following on from sdague's r3144, commenting out other parts of TribalMedia
...
* This should resolve the current build problem
2008-01-21 18:39:54 +00:00
Justin Clarke Casey
46fe6e2f97
* Scripts edited within a prim will now be persisted correctly
...
* On restart the latest save will be restored rather than the very first dragged in scripts
* Also add previously missed out database commits to separate prim inventory commit path (sigh)
2008-01-21 16:42:53 +00:00
Sean Dague
38991ba0e6
comment out use of the TribalMedia data mapper layer
...
for now. It doesn't build on new mono at the moment, and
isn't currently used. Please make sure this functions on
mono 1.2.6 prior to adding it back in for the main tree.
2008-01-21 16:40:23 +00:00
Justin Clarke Casey
331aef2bae
Method rename
2008-01-21 15:17:09 +00:00
Justin Clarke Casey
7ca8e28a9a
Properly lock new separate database accesses
2008-01-21 15:12:00 +00:00
Justin Clarke Casey
504ae63669
* Make object persistence more granular by separating prim and prim inventory persistence
2008-01-21 15:06:49 +00:00
Charles Krinke
a025f527cf
Add additional mainlog data to LogOffUser
...
to aid in debugging.
2008-01-21 03:45:50 +00:00
Teravus Ovares
da99c2ab10
* Stopped Physical Object saving on SQLite got commented out in my last commit.. un commenting it out now.
2008-01-21 03:13:44 +00:00
Teravus Ovares
a3851b3812
* Added hooks for logout to all IUserService and all that implement it.
...
* Added a Logout message with a name on the console
* Added a *fixme* message to figure out why the current agent session is null
* After updating you may notice that there's a login <user> and also a logout<user>
2008-01-20 23:08:50 +00:00
Brian McBee
59d7165f40
Graceful failure of teleport to unavailable regions might actually work now.
...
I blame all bugs on the age of my brain cells.
2008-01-20 21:11:55 +00:00
Brian McBee
730e2d6d7c
Check if remote simulator is up before attempting teleport. Teleport to a remote region should now fail gracefully if remote simulator is down.
2008-01-20 19:12:00 +00:00
Tedd Hansen
8ffefd2bd6
Tedds temp fix for startup crash: Waiting 3 seconds for stuff to catch up. (Someone please fix! :)) Lets see if it works every time or just some ;)
2008-01-20 12:05:16 +00:00
Tedd Hansen
cc635a651a
Most is back in its original state :) Hope I didn't break anything... *looks innocent*
2008-01-19 22:23:22 +00:00
Tedd Hansen
459b614b86
That didn't work -- added more debugging
2008-01-19 21:55:43 +00:00
Tedd Hansen
056b2940b4
That didn't work, trying with TableAdapter.FillSchema(DataSet, SchemaType.Source)
2008-01-19 21:51:16 +00:00
Tedd Hansen
462fc84eb2
Removed mega-debugging.
...
Possibly solved startup crash.
Moved MySQL Commit() to inside each functions respective dataset access mutex because if not other threads would be waiting until function released mutex and modify the dataset before the function could commit
2008-01-19 21:42:03 +00:00
Tedd Hansen
4b56e0e324
removed additional debugging, added temp mega-debugging to StoreLandObject
2008-01-19 21:33:39 +00:00
Brian McBee
17c25796b8
checking return code may make failed teleports fail more gracefully.
2008-01-19 20:34:54 +00:00
Tedd Hansen
ca772be0d4
Still hunting, added debug output
2008-01-19 11:17:12 +00:00
Tedd Hansen
ef50e6875c
Still looking for that startup crash bug. Added some exception handling in prim object load.
2008-01-19 11:08:07 +00:00
Sean Dague
333826903c
parametrize like clauses for avatar picker
2008-01-17 20:42:22 +00:00
Justin Clarke Casey
e13feaa375
* More prim inventory synchronization
...
* Remove some mysql verbosity
2008-01-16 21:43:22 +00:00
Justin Clarke Casey
b33da2538e
* Fix mantis 345 - it is now possible to duplicate prims directly in the region again without breakage
...
* This includes their inventories
* Also, this revision properly synchronizes prim inventory crud.
2008-01-16 20:27:12 +00:00
Justin Clarke Casey
57519b6dba
* Store task inventory when an object is taken into agent inventory
...
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact.
* As for earlier, at this stage only scripts can be placed in inventory
* This isn't an efficient implementation, a better one will probably need to come along soonish
2008-01-16 18:35:34 +00:00
lbsa71
2c69b006a7
* added missing using clause
2008-01-16 14:52:47 +00:00
lbsa71
5e757d2ad1
* More work on getting the database framework to actually work
2008-01-16 12:25:13 +00:00
Teravus Ovares
5958192398
* Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimStatsReporter
...
* This doesn't take into account the throttler, it just assumes the throttle limit isn't reached.
2008-01-16 03:33:46 +00:00
Justin Clarke Casey
c15eec2cb0
* Restore non dash asset UUID persistence which was made dashed in r3069
...
* Apologies, any sqlite databases created between r3069 and this change will now contain unfindable assets.
* But sqlite asset databases used previous to r3069 will now work again.
* This change may have been done on purpose, so it's not impossible it will be re-reverted
2008-01-15 22:16:43 +00:00
Jeff Ames
258a4dc282
Set svn:eol-style.
2008-01-15 20:24:35 +00:00
lbsa71
f5103b98be
* Renamed a bunch of Data baseclasses for clarity and readability
...
(Slowly getting there)
2008-01-15 20:07:02 +00:00
lbsa71
47c6529523
* Some morw work on specializing the database framework for OpenSim
2008-01-15 10:15:39 +00:00
Adam Frisby
b25f9f322c
* Mother of all commits:
...
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Jeff Ames
84c3a317c1
Set svn:eol-style.
2008-01-14 22:37:45 +00:00
lbsa71
6d751411b7
* Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to support LLVector3, LLQuaternion and LLUUID
...
* Added PrimitiveBaseShapeTableMapper to show how it's done
NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
2008-01-14 22:34:19 +00:00
Sean Dague
b49ae37e89
my Exists check was slow and wrong. This fixes issues people
...
were just having on IRC. Thanks to Grumly57 for helping to sort
this out.
2008-01-14 21:35:49 +00:00
Sean Dague
20cf62b417
good bye ADO.NET to assets, notice faster startup time
2008-01-14 20:42:27 +00:00
Sean Dague
db40ffb43f
move db open to initialization, which is where it should have been
...
all allong
2008-01-14 19:47:59 +00:00
MW
62157b6dde
Applied patch from melanie (thank you) for mantis issue# 338
2008-01-13 22:47:10 +00:00
Justin Clarke Casey
48be04df1d
* Do database implementation for prim inventory items in mysql
...
* Properly clean up items when a region object is deleted
* Update persisted prim when an inventory script is changed
* No user functionality yet
2008-01-11 17:00:21 +00:00
Sean Dague
50ece51dbc
manually open the db connection. Mono does this automatically, .NET doesn't
2008-01-11 15:55:00 +00:00
Tedd Hansen
7f071dd193
Log instead of crash (User login, getting friends list)
2008-01-11 15:46:43 +00:00
lbsa71
cdd378a2c2
* returnin LLUUID.Zero rather than LLUUID.Random on webkey null
2008-01-11 15:19:43 +00:00
Justin Clarke Casey
1e981a7c1c
Switch prim items type representation to use int rather than strings.
2008-01-11 14:55:27 +00:00
lbsa71
8ccc470e2a
* quick fix to fix if webLoginKey is null in DB, return random key (I guess LLUUID.Zero would be a security hazard)
2008-01-11 07:41:14 +00:00
Teravus Ovares
901f403823
* Just an update to the default login form
2008-01-10 23:31:37 +00:00
Sean Dague
8ebaf7aa41
move Friends list to not use ADO.NET layer, it now hits the sqlite
...
db directly when needed
2008-01-10 21:32:22 +00:00
Sean Dague
13736995d2
add sqlite database definitions as Resources for SQLite.dll
2008-01-10 19:38:37 +00:00
lbsa71
2f023f6362
* removed unused PrimScale on PrimitiveBaseShape (use Scale instead)
...
* ignored bin
2008-01-10 13:37:59 +00:00
lbsa71
690a7a347b
* Undid XmlIgnore thingy as it did cause breakage
2008-01-10 12:07:49 +00:00
lbsa71
ed314e19ff
* Sorted members for great justice
2008-01-10 11:17:26 +00:00
lbsa71
f1c2dca7c1
* ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape and ProfileHollow
2008-01-10 08:56:03 +00:00
Jeff Ames
5a6fd21a2c
Whitespace cleanup.
2008-01-10 06:49:29 +00:00
Teravus Ovares
a962653e04
* After fighting with it a bit more, Opensim is now compatible with the most recent release client(RC) on the linden labs download page.
...
* Don't forget, you need -loginuri *and* -loginpage
* Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/
* The ?method=login is important, don't forget to add it
* If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-10 04:37:03 +00:00
Teravus Ovares
85fe8ed085
* This update enables the web_login method.
...
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09 22:05:28 +00:00
Teravus Ovares
49fe4eb3cd
* This may be broken.. it hasn't been tested, however I wanted to get the last database changes in before sdauge changes them significantly.
2008-01-09 18:57:03 +00:00
Sean Dague
411d06c94e
moving Region store for SQLite into the OpenSim.Framework.Data.SQLite
...
namespace to mirror what is done with MySQL. This will require a
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
2008-01-09 18:41:20 +00:00
lbsa71
b469990972
* Added helpers to convert from LSL PrimitiveParams values to PrimitiveBaseShape values
2008-01-09 18:26:40 +00:00
lbsa71
c0252073d0
* removed another superfluous debug message
2008-01-09 09:31:07 +00:00
Teravus Ovares
fd2603bcf4
* ok, last mySQL webloginkey related update tonight.
2008-01-09 04:24:33 +00:00
Teravus Ovares
dfe01df2fc
* almost an oops
2008-01-09 04:17:35 +00:00
Teravus Ovares
e1aa83e965
* Added a hashtable based HTTP processor in preparation of the web_login_key
...
* Added the web_login_key to the users table
* Added happy configurable http error message pages
* This update is large enough to have 'awe' value.. so backup your users or weep.
* Not tested on MSSQL, even though I added code to update the tables!
2008-01-09 04:13:04 +00:00
Brian McBee
bafdac7874
dump_assets_to_file=true will now cause the asset to go into a UserAssets subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!)
2008-01-09 03:57:53 +00:00
Brian McBee
19ed64b114
Third part of CharlieO's library rework. We now have library organization! Thanks CharlieO!
2008-01-09 03:52:07 +00:00
Teravus Ovares
6e8c3ac782
* Enabling the LLSD Login method by jhurliman so libSecondLife clients work on OpenSim again.
2008-01-07 20:00:37 +00:00
mingchen
1718c39e10
*Added ability to update only necessary data on insertRegion for the grid server.
2008-01-07 15:23:00 +00:00
Teravus Ovares
bbac579849
* More message server methods
2008-01-07 07:48:35 +00:00
Teravus Ovares
f43e75762a
* Adding More to the MessageServer classes.
...
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Teravus Ovares
04dbcee74c
* A few more Message Server comms related updates
2008-01-06 20:10:29 +00:00
Teravus Ovares
b8efd5f294
* Added some userserver glue for communications with the message server
...
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-06 18:18:19 +00:00
Justin Clarke Casey
679923ec87
Factor out TaskInventoryItem
2008-01-06 01:56:29 +00:00
Brian McBee
79c2892303
Fix for typo in updateInventoryItem in MSSQLInventoryData.cs (thanks Grumly!)
2008-01-05 20:12:43 +00:00
Tedd Hansen
966f639ad6
Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
...
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +00:00
Teravus Ovares
db3edff5d5
* Applying jhurliman's LLSD login enablement patch.
...
* I'm keeping it deactivated until some issues are resolved.
* I'm patching it in deactivated so the patch doesn't get outdated
* I've deactivated it by commenting out the handler for the application/xml+llsd content type.
* While I've tested this as much as possible on my setup and found the deactivated code doesn't cause any problems, consider this update experimental (event though it's deactivated)
2008-01-05 06:05:25 +00:00
lbsa71
710cb7589e
* possibly the least significant commit so far into 2008
2008-01-04 21:18:01 +00:00
mingchen
81b4c7be3e
*Added ability to skip any use of the console when configuring and assume default value. This is useful when the server is running by itself and a new region request is added without sufficient information
2008-01-04 14:14:15 +00:00
Teravus Ovares
960b7e93b1
* Added the ability for estate managers to use the magic secondlife blue card of death to send out region and estate messages.
...
* Switched over Region Restart notices to the magic secondlife blue card of death method.
2008-01-04 02:24:05 +00:00
Teravus Ovares
0c555883d5
* Made covenant changes made in the estate tools persist across sim restarts.
2008-01-03 23:46:43 +00:00
lbsa71
b95efbb689
* Added lock to Contains to avoid enumeration exceptions
2008-01-03 12:55:23 +00:00
Johan Berntsson
3f78e55ef4
Packet recycling has been temporarily disabled to avoid the performance problems reported in Mantis 281
2008-01-03 05:06:55 +00:00
Johan Berntsson
047aba2067
I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems
2008-01-03 00:59:12 +00:00
Teravus Ovares
a72d33d3a5
* Added the ability for Region Owners to add and remove estate managers using the estate tools.
...
* Estate managers get abilities like the region owner for now.
* Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet)
* Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
2008-01-02 20:25:47 +00:00
Johan Berntsson
d893c91249
Fixed buffer overrun bug in ZeroDecodeCommand
2008-01-02 16:35:50 +00:00
lbsa71
459a4b0bb5
* Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.
...
The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
2008-01-02 12:12:36 +00:00
Teravus Ovares
3a83be1721
* Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
...
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71
4b4ee98070
* Trying to address TextureSender issues
...
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
2008-01-02 09:07:11 +00:00
lbsa71
20653830fb
* Refactored out function to load specified AssetSet Xml
...
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2008-01-02 07:13:34 +00:00
Teravus Ovares
3aa0f32ce3
* Fixed an issue where the RegionFlags and SimAccess settings were being saved incorrectly. If your region is already having an issue on boot with parsing [region_flags] or [sim_access], then this won't solve your issue. Default value for region_flags is 0 and default value for sim_access is 21 in the EstateSettings.XML file
2008-01-02 04:10:55 +00:00
Teravus Ovares
2f43578386
* Re-wrote IM that sends the friend request so that it displays the name of the person who sent the request, or (hippos) if it can't find it.
2008-01-02 03:05:18 +00:00
Teravus Ovares
3738bc8899
* Updates UserServer
...
* Updates OSG1UserServices
* Friends list is now persistent in grid mode.
* You can add, new friends and remove them
2008-01-02 00:54:50 +00:00
Teravus Ovares
b4c9b6bd19
* You can add and remove a friend in standalone now within the same simulator. It saves.
...
* You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet.
* I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
2008-01-01 06:12:04 +00:00
Justin Clarke Casey
b8975ecbd9
Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
...
directory
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Teravus Ovares
3180432deb
* Added database and UserManagerBase glue for FriendsList management
...
* Don't forget to run prebuild
2007-12-31 22:56:43 +00:00
Justin Clarke Casey
5ef1433e95
Correctly output library inventory folder type and version information
2007-12-31 18:26:24 +00:00
Justin Clarke Casey
60fa75ac04
Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
...
showing up as texture folders, even though they are configured with the same types as the agent inventory folders. This should be resolved soon.
2007-12-31 03:33:21 +00:00
Teravus Ovares
57a1132585
* Fixed References in Prebuild so the project compiles
...
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
Justin Clarke Casey
76e74a7667
Add an extra check that we don't create new inventory folders for a user that already has a root folder
2007-12-30 19:40:44 +00:00
Justin Clarke Casey
7d04cf8d4e
Shift default OpenSim library into its own directory
2007-12-30 19:05:11 +00:00
Teravus Ovares
32438ab1b9
* This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
...
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares
14368d9a73
* Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance.
2007-12-30 04:12:08 +00:00
Justin Clarke Casey
40e89678b7
Make inventory items nominate explicit inventory folders rather than hardcoding
2007-12-29 19:41:50 +00:00
Justin Clarke Casey
1b1649791f
Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
...
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Teravus Ovares
0631151e08
* Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie.
2007-12-28 23:19:03 +00:00
Justin Clarke Casey
505067658a
Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml
2007-12-28 22:49:32 +00:00
Justin Clarke Casey
27f7f76d04
Move OpenSimAssetSet assets file up into assets pending further changes
2007-12-28 22:32:52 +00:00
Justin Clarke Casey
4ae10034bd
Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main
2007-12-28 22:13:43 +00:00
Justin Clarke Casey
7cf9a8d4f9
Move inventory contents configuration files to bin/inventory folder
2007-12-28 18:01:20 +00:00
Teravus Ovares
f64d94f8ca
* Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
...
* Various Refactorings
2007-12-28 14:24:14 +00:00
Jeff Ames
1a484fcabf
Set svn:eol-style.
2007-12-28 08:56:44 +00:00
Adam Johnson
79496381fc
Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
...
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71
8cd72beb86
* Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
...
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares
5bd5770ed2
* Patch from Melanie. Thanks Melanie!
...
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Teravus Ovares
67bbed8202
* Added ability to create new prim on existing prim (rezzing prim from inventory on other prim coming soon). No more new prim buried in the ground by accident.
...
* The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
2007-12-28 05:25:21 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71
d508d77122
* removed always true if
2007-12-27 21:06:44 +00:00
Teravus Ovares
d82ed9a8c5
* Fixed MonoSQLite Update Table routine
...
* Charles, this will fix the red issue.
* Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
2007-12-27 18:49:16 +00:00
Justin Clarke Casey
997a2907e2
Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
...
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached). These
were working before so they must have broken in the last month. Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
lbsa71
87e2a694e2
* AssetServerBase: _ProcessRequest is now called GetAsset
...
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Teravus Ovares
cbf5ff4a93
* Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
...
* SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE
* The first time you run OpenSim after updating past this revision, you'll see a lot of Errors. Be calm, shutdown the simulator, and start it again and your prims table will be updated.
* MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
2007-12-27 05:37:48 +00:00
Justin Clarke Casey
54d9fbc0fe
Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
...
No user functionality yet. This code is not turned on, so there is no possibility
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares
c7fc0dbeb7
* Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
...
* Deletes the solution file from OpenSim.Gui
2007-12-26 21:06:51 +00:00
Justin Clarke Casey
e9efd5bee2
Small non-functional inventory changes
2007-12-25 18:11:56 +00:00
Teravus Ovares
69cc4596b1
* Added some ugly hackish code to the user server to start implementing the new login method. You still can't yet log-in via the new method. Does not interfere with normal userserver operation, ie safe to update if you want.
2007-12-24 23:35:30 +00:00
Justin Clarke Casey
280a5cba8b
Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
...
No user functionality yet.
Refactoring to follow.
2007-12-24 22:35:01 +00:00
Charles Krinke
f28f917c61
Revert most of the regionName message stuff.
2007-12-24 19:27:52 +00:00
Charles Krinke
60b5130cff
Add regionName to OGS1 regionUp report.
2007-12-24 17:21:07 +00:00
Justin Clarke Casey
57b2bc21a9
Log message tweaking
2007-12-24 05:24:53 +00:00
Justin Clarke Casey
77a2755e14
Yet more inventory debugging messages
2007-12-23 11:43:46 +00:00
Justin Clarke Casey
c545cc8cd9
Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems
2007-12-23 02:14:29 +00:00
Justin Clarke Casey
c470efea57
Make copying of scripts into prim inventories more reliable on the first attempt when the asset server is lagging by formalising the de facto polling.
...
This may not be the best solution in the long run, but should improve things for now.
This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures
for the main map view.
2007-12-22 19:48:01 +00:00
Justin Clarke Casey
ed0f8bd572
minor refactor
2007-12-22 16:45:44 +00:00
Justin Clarke Casey
42bc256e4f
Refix bug where inventory textures don't appear in prim edit texture selection box
...
unless previously expanded in inventory.
2007-12-21 19:47:45 +00:00
Teravus Ovares
a453672edb
* Remapped the Connection shutdown path.
...
* This fixes a *bunch* of Mantis bugs related to the following
* -- Neighbouring simulators not appearing after relog
* -- Login to simulator only to be logged off by simulator.
* -- ThreadAbort
* -- Unable to shutdown circuitCode: x
2007-12-21 16:55:03 +00:00
Teravus Ovares
23f761231d
* and another :/
2007-12-20 23:37:41 +00:00
Teravus Ovares
f1f57ca267
* Fixed implicit .ToString() in shape fetch.
2007-12-20 23:34:30 +00:00
Teravus Ovares
97c78ce0fd
* fixed a few Implicit uses of .ToString()
2007-12-20 23:25:19 +00:00
Justin Clarke Casey
e2fa5efb59
Revert a couple of UUIDs back to hyphenated since we actually sometimes store as hyphenated, sometimes not...
2007-12-20 22:56:30 +00:00
Justin Clarke Casey
30a8e27c40
Convert an sqlite user LLUUID I'd missed
2007-12-20 22:42:24 +00:00
Teravus Ovares
7cd8f808c8
* Matched up all previous .ToString() references (r2764) in OpenSim.Framework.Data.MySQL with Justincc's Util.ToRawUuidString()
2007-12-20 22:36:18 +00:00
Justin Clarke Casey
288e7def7d
Convert some inventory ids I managed to miss
2007-12-20 21:49:21 +00:00
Justin Clarke Casey
f1ebe79824
Fix up other sqlite db interactions to use non-hyphenated uuid
...
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :)
This patch will not fix grid problems.
May be bugs present due to conversions I didn't spot.
I personally probably don't have any more time for this today. I'm also not entirely convinced this is the right way forward
so this might be a handy pause for thought. I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-20 19:13:34 +00:00
Justin Clarke Casey
dd1e2c8eb9
Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated form
...
Apply method to UUID crud in SqliteInventoryStore as an initial test
This appears now to successfully recover inventory upon login
This will almost certainly only work on standalone
2007-12-20 18:43:39 +00:00
Teravus Ovares
8aae909412
* Added a configuration parameter on the Grid Server to disallow forceful banlists.
...
* Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
2007-12-20 06:31:03 +00:00
Jeff Ames
be2ad79e52
Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532
2007-12-20 05:43:02 +00:00
Jeff Ames
36a8f70931
Extended svn:eol-style to check some other file types.
2007-12-20 01:01:42 +00:00
Justin Clarke Casey
45567b71b8
Refactor asset request processing for consistent status information on whether an asset was actually found or not
2007-12-19 18:05:45 +00:00
Jeff Ames
6702b03733
Misc. cleanup:
...
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
mingchen
bd16dddce5
*Added Ban Lines around parcels for banned avatars, but there is no actual blocking done yet.
...
*Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-19 04:28:54 +00:00
mingchen
fd3195ea53
*Parcels now fully work on MySQL as a datastore after a few tweaks and bug fixes after testing
2007-12-18 23:48:36 +00:00
mingchen
43b82099ca
*Fixed MySQLDataStore bug causing errors on startup
2007-12-18 22:20:42 +00:00
mingchen
20eecd4155
*Using Mysql as the datastore should now store parcels across multiple sessions
2007-12-18 20:31:51 +00:00
mingchen
128f2b1e1b
*Parcels and their access lists now store over multiple sessions when the datastore is sqlite
2007-12-18 17:42:02 +00:00
Teravus Ovares
ccc8ffaaec
* Added Incomplete Handling of the RegionInfoRequest packet
...
* Added Incomplete Handling of the EstateCovenantRequest packet
* Added Incomplete Handling of the EstateOwnerMessageRequest.ChangeEstateCovenantid method
* Fixed a race condition with avatar animations
2007-12-18 12:08:34 +00:00
lbsa71
03635aa336
* Renamed AgentWearable to AvatarWearable
...
* Made Terrain texture temp (it's re-created on every run)
2007-12-18 07:57:06 +00:00
Teravus Ovares
afe63faa2e
* Fix for mantis 0000040 After client logout remote host closed connection on Simulator makes sim unuseable->'Closed Connection Called'
...
* I've fundamentally changed a few things, so this is experimental
* The routine that I used needs to be tested on Linux. I don't expect it to cause a problem, but hey, it might.
* Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
2007-12-18 00:34:42 +00:00
Teravus Ovares
adf7afb606
* Turned all instances of ForEach loops in ClientManager into Local Arrays.
...
* Added Locking while the Copy is taking place.
* Added an error message to describe what's actually happening.
2007-12-17 20:24:49 +00:00
mingchen
d845da215f
*Land has now been linked to the StorageManager. Next step is to fill in the functions for the different datastore interfaces for Land Objects.
2007-12-17 03:49:13 +00:00
Charles Krinke
5bec7f5ff3
Clean up the Login message on UserServer console just
...
before CustomizeResponse is called (this one redundant).
2007-12-16 23:37:40 +00:00
mingchen
e2ed1a4e1f
*Adding and Removing Avatars from the Access/Ban List for a parcel now works, but the actual ban lines, etc are not done.
2007-12-16 19:53:27 +00:00
Justin Clarke Casey
2061f55007
Reposition 'user profile not found' messages to stop spurious messages caused by other usermanager usage
...
This should stop the regular spurious messages in the grid user console
2007-12-16 13:57:08 +00:00
Justin Clarke Casey
019d662606
Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one
2007-12-15 21:58:07 +00:00
Teravus Ovares
e3dd15bef0
* Added support for multiple terrain blocks to be edited at the same time
...
* Now sending South and East cords to the terrain editor..
* No new functionality from a user perspective
* Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
2007-12-15 17:10:12 +00:00
lbsa71
653a41fa03
* some work on not storing the circuitPack (bad thing if we're going to reuse packets)
...
* some work on encapsulation, code convention compliance and beautification.
* also, some ignores
2007-12-15 12:19:29 +00:00
Brian McBee
8a8c89a0f3
Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
...
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
Jeff Ames
53b5fa4974
Set svn:eol-style. Cleaned up set-eol-style.sh a bit.
2007-12-15 02:36:31 +00:00
Charles Krinke
0ef0c9f4fb
Thanks, Justin, for:
...
Message to confirm inventory retrieval rather than simply
relying on the absence of a not found message.
2007-12-14 21:19:13 +00:00
Charles Krinke
4e7763f8de
Thank you Justin for:
...
0000188: Clean up of some AssetCache.ProcessAssetQueue() code
2007-12-14 20:09:44 +00:00
lbsa71
9ed2b26232
* Just making Create public
2007-12-14 15:29:51 +00:00
lbsa71
0a4a5bbcef
* ARequest changed name to AssetRequest and moved to own file.
...
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req )
* Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14 08:47:15 +00:00
Teravus Ovares
79935881aa
* Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls
2007-12-14 07:55:33 +00:00
Teravus Ovares
fef8c77a8a
patch from justincc for Mantis #163 - Opening a script in inventory longer than 1500characters can cause looping crash.
2007-12-14 00:54:12 +00:00
Jeff Ames
8d995a5a5d
Minor cleanup
2007-12-13 18:45:32 +00:00
lbsa71
1cf4278862
* Debugging Shape
...
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
Teravus Ovares
2fd2e0285c
* Killed hard coded heart after stats update
...
* Did some voodoo math on the sim FPS to make the values 0-50
2007-12-12 13:36:53 +00:00
Teravus Ovares
83f727bb7c
* Patch from justincc to fix Inconsistent automatic mysql table creation - see bug 169
2007-12-12 01:23:15 +00:00
MW
909fcd554f
A few minor changes/additions/fixes.
2007-12-11 16:05:53 +00:00
lbsa71
ffd60baa48
* The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
...
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee
16903ec488
Implementing updateinventoryfolder: Should now be able to rename folders in inventory
2007-12-11 03:51:32 +00:00
Jeff Ames
712efda9b9
added copyright notices
2007-12-11 01:26:06 +00:00
Sean Dague
ce1ed11aba
enable autocreation of mysql inventory tables again. I think
...
I stopped the looping issue on continous upgrade with this as well.
2007-12-10 22:12:52 +00:00
Teravus Ovares
2349dc2e27
* Added comments to many methods in the listed files.
2007-12-10 21:12:38 +00:00
Teravus Ovares
eac9bc6889
* More refactoring to prepare for draw distance based agent sim notification.
2007-12-10 19:16:50 +00:00
Jeff Ames
40fd37f95a
Refactored animation handling in ScenePresence. Now maintains a list of current animations.
...
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW
611327e104
more work on texture downloading.
...
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
2007-12-10 05:25:16 +00:00
Jeff Ames
e278d07220
refactored ChatModule a bit.
...
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares
e595f82489
* Hooked up the GridComm event ChildDataUpdate to the scene.
...
* Added List<RegionInfo> m_neighbours to Scene
* Hooked up the OnRegionUp event to m_neighbours list
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Sean Dague
934c54de5a
From Justin Casey (IBM)
...
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Teravus Ovares
1074e5adc8
* Added more info to ChildAgentDataUpdate
...
* Added (at sdauge's suggestion) byte[] GetThrottlesPacked(float multiplier)
2007-12-09 18:05:08 +00:00
Teravus Ovares
f2b175ef08
* Added some inter-region comms glue for allowing sims to chat amongst themsevles about an agent behind the agent's back.
...
* Will be using this glue Tomorrow/today to tell other regions what the agent's draw distance is and what region they're actually in so the region can make decisions on what prim to send, if any.
2007-12-09 05:59:49 +00:00
Brian McBee
890a7c2e80
Adding an explicit close() and dispose() in the hope that it might help with assetserver issues.
2007-12-08 23:47:41 +00:00
Brian McBee
383eccc543
hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
...
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee
beca2373e1
Allow moving, deleting, and restoring objects in inventory.
...
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Sean Dague
0855066968
This patch fixes mantis 105. Basically, it stops the index exception when
...
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.
From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Jeff Ames
5e08911400
set svn:eol-style
2007-12-08 10:04:06 +00:00
Teravus Ovares
5f516c9fb2
* All remoting calls are now using Serializable values
...
* There's still goofyness though, because other regions are denying child agent avatar.
* Still more debugging required.
2007-12-07 23:21:32 +00:00
MW
a71f4c021b
"Borrowed" the LLSD class from a older version of libsl, so that our LLSD decoding (used by CAPS) works again.
2007-12-07 22:29:16 +00:00
Teravus Ovares
25ec01311d
* Serialized data properly for the InterRegionSingleton InformRegionChild method
...
* This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking.
2007-12-07 18:20:34 +00:00
Teravus Ovares
cbc8a27b34
* Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable.
...
* Created converter constructors between sAgentCircuitData and AgentCircuitData
2007-12-07 15:56:16 +00:00
lbsa71
9414d6a1e1
* miniscule changes just to keep myself in synch
2007-12-07 13:49:33 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Teravus Ovares
57f666497b
* Added hacked support for 'anyone can move' and 'anyone can copy'.
...
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set).
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames
a45118d35e
added one more command to the console help.
2007-12-07 02:00:35 +00:00
Sean Dague
1ad83bcf1b
reversing the r2599 patch, as this started causing CreateThread errors for
...
me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop()
wasn't doing what was desired on Mono. The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames
73599c0f25
removed obsolete Verbose() function
2007-12-06 18:17:44 +00:00
lbsa71
395637acdd
* now the throttle timer is stopped whilst processing Queue so that it won't fire twice
...
* started to refactored throttling method
* some code convention refactorings
2007-12-06 14:08:22 +00:00
MW
44caa7ae8e
Fixed conversation bug in InventoryConfig
2007-12-06 10:29:53 +00:00
Jeff Ames
4bde56457f
removed some duplicate hard-coded port numbers. changed ports to uint.
2007-12-06 01:41:41 +00:00
MW
d2736437d4
Some refactoring of the RestObjectPoster (and related classes).
2007-12-05 19:02:57 +00:00
Teravus Ovares
71fd737a66
* Applied MSSQL Patch from akokko, Thanks! akokko
...
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
Teravus Ovares
bb824eadee
* Refactored Permissions into ScenePresence as requested by MW
...
* Un-hackerized generating the client_flags
* Now handling the ObjectPermissions Update packet
* Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
Teravus Ovares
a553e6f67c
* Avatar picker works in grid mode now.
...
* To test, click the communicate button, then click the 'add' button and type a name. You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated. If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +00:00
Adam Frisby
01db4cd71d
* More console message fixes
...
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
Adam Frisby
be7ae3dd3e
* Removed 12 compiler warnings.
2007-12-04 08:18:09 +00:00
Adam Frisby
e820159fb5
* Fixed compile issue.
2007-12-04 07:56:23 +00:00
Adam Frisby
7d5f032203
* Added SSL Support to HttpListener
...
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
Sean Dague
8f58a9a107
From Justin Casey (IBM)
...
While exploring what it would take to get the 'new script' button working,
I encountered the fact, some way down in the rabbit hole, that if a user
renamed an item in their inventory and logged out (without a restart of
the simulator), on log in the new name was not preserved.
As far as I can see, this was because any updates which didn't occur
inside a transaction were ignored by opensim. This patch pays attention
to those changes. It generates a new asset when an item is updated and
changes the user's inventory properties appropriately. I believe this
behaviour is in line with the copy-on-write semantics used in the Second
Life protocol - perhaps it could be optimized if we knew for sure that the
only copy of the object was in the user's inventory.
This also means that if you rename an item (e.g. a script) before you drag
it into an object's inventory, the inventory will receive the item's most
recent name and description.
2007-12-03 20:06:01 +00:00
Sean Dague
c29105aa3e
This is a simple patch which just renames an IClientAPI method to
...
SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).
From Justin Casey (IBM)
2007-12-03 17:24:27 +00:00
Jeff Ames
4c0ddacc16
minor meaningless changes
2007-12-03 07:26:27 +00:00
MW
ac77c32453
Attempt to fix mantis issue #82 , taking prims into inventory and then rezzing them in another region.
2007-12-02 20:43:21 +00:00
MW
5ae8759de1
Added some error handling (and console output) to BaseHttpServer.
...
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
MW
cac98171e5
Very partial Avatar Appearance (ie, clothes/body parts) "storage". In standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist.
...
Just need to store this data out to a database.
2007-12-02 14:56:23 +00:00
MW
86ae8e97cd
Fixes a bug that my last commit introduced.
2007-12-02 14:12:56 +00:00
MW
80609c2b15
Some refactoring , mainly on Inventory code.
2007-12-02 13:59:15 +00:00
MW
b92df4aaaf
New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly.
2007-12-02 10:21:17 +00:00
MW
5c866bc6ff
as a Test, attempted to disable mysql inventory table auto creation.
2007-12-01 21:03:10 +00:00
MW
4dee53c7fb
Attempt to fix mantis issue # 73
2007-12-01 20:57:14 +00:00
MW
5df851761a
Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
...
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW
fff468dcfe
Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add.
2007-12-01 16:40:26 +00:00
MW
27f182ac54
Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
...
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule.
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Teravus Ovares
b287015028
* Fixed a bug in my 'user already logged in' fix that could cause a null reference exception.
2007-11-30 21:01:03 +00:00
Sean Dague
b167507e32
Patch for mantis 0000015: Textures don't display in the object
...
properties window
From Justin Casey (IBM)
2007-11-30 20:16:40 +00:00
Sean Dague
d2fe290bb6
return of the inv-lib-root patch from Justin Casey (IBM)
...
Should fix libsl login ability. No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
Teravus Ovares
3ab3392def
* This extends my first hack to clear out the useragent table for that specific user.
...
* This helps people who have multiple records in their useragent table.
* This update should be looked at.. because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares
57e6b51639
* Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy
2007-11-30 02:01:12 +00:00
Teravus Ovares
5eb091ceee
* Temporary fix for 'User already online' issue in standalone mode.
...
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
Sean Dague
d3ab5ad506
revert r2510, this seems to break normal logins, at least from
...
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague
af9eb87ad1
return an appropriate inv_lib_root, which the libsl folks have
...
identified as the reason libsl can't currently connect to OpenSim.
Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Teravus Ovares
4bd38fc65a
* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
2007-11-29 15:24:31 +00:00
Jeff Ames
6d7ce67db1
fixed duplicate login in standalone mode (mostly untested in grid mode)
2007-11-29 07:22:11 +00:00
Teravus Ovares
81ba94fde8
* Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
...
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames
2364e6779b
set svn:eol-style
2007-11-29 01:57:59 +00:00
MW
ac77c50ba9
Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
...
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares
b7d596a6af
* Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
...
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Teravus Ovares
082f2baebe
Fixed an event in the events chain in inter-region communications.
...
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee
232613638f
Attempt to handle MYSQL error fetching assets
2007-11-26 16:39:00 +00:00
Teravus Ovares
175b6115f1
* Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
2007-11-26 05:02:18 +00:00
Brian McBee
35472b3666
Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of.
2007-11-25 21:21:44 +00:00
Teravus Ovares
d263a044b1
* Added the ability to restart your individual sims from within them using the estate tools.
...
* The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Adam Frisby
0951f895ef
* Removed references to "new LLUUID()", replaced with LLUUID.Zero.
2007-11-24 10:36:54 +00:00
Teravus Ovares
944b118c62
* Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
...
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Teravus Ovares
52714c339e
* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
2007-11-24 01:38:36 +00:00
lbsa71
fb2588b409
* Refactored NumPackets calculation
2007-11-23 13:21:39 +00:00
Teravus Ovares
f97aeab916
* Quelled a Log format exception in the logging routines.
...
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares
999eec603e
Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
...
* Consider this experimental.. however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71
ae5999c3d5
* removed erroneous comments
2007-11-22 15:43:28 +00:00
Teravus Ovares
e69c810486
* Added code to capture the draw distance setting from the client.
...
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
Teravus Ovares
7cb38712d5
* Did some initial work for prim crossing. Just glue so far.
...
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague
ec5186c98a
there is no real reason to write this value back to estate settings,
...
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
lbsa71
ce3a87daa5
* Changed namespace
2007-11-19 11:20:36 +00:00
Teravus Ovares
615b40b68b
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18 15:54:05 +00:00
Jeff Ames
924026d01c
cleaned up some mono compiler warnings
2007-11-18 15:14:37 +00:00
Jeff Ames
d10c79d421
first stab at implementation of CopyInventoryItem
2007-11-18 13:50:46 +00:00
Dalien Talbot
793813a6a6
Added handler for MapNameRequest - OnMapNameRequest
2007-11-18 04:00:04 +00:00
MW
a4a1ff3d9b
Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client.
2007-11-17 12:03:20 +00:00
Jeff Ames
6ad471abc0
set svn:eol-style
2007-11-17 08:39:59 +00:00
Jeff Ames
a473289738
minor cleanup of some dodgy bits
2007-11-17 08:14:17 +00:00
Jeff Ames
946db5461c
catch exceptions when loading malformed xml files
2007-11-17 05:53:12 +00:00
MW
483377adae
More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode.
2007-11-16 13:39:11 +00:00
lbsa71
3aed77bd2c
*** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
...
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
lbsa71
57ff76850d
* Added MySQLDataStore (adapted from MonoSqlite
...
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Teravus Ovares
179695909a
* Implemented the little friendly pop tooltip messages that appear when you hover your mouse over prim with the object name, description, ownerid.. etc.
2007-11-15 07:32:24 +00:00
Teravus Ovares
3cb2b5eb66
* Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
...
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
2007-11-14 11:56:57 +00:00
Brian McBee
666bd6f06e
Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it.
2007-11-14 06:00:03 +00:00
Teravus Ovares
9f6b3e2357
* Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
...
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
Sean Dague
eb41ec00c9
first pass on unlinking of objects. From Jay Clarke (IBM)
2007-11-13 19:57:11 +00:00
MW
297cc7ef4f
Some work on cleanly removing Regions.
2007-11-13 12:23:05 +00:00
MW
7f8a69f181
Some work on being able to set/send a users Buddylist info. (added handling code to LoginResponse).
...
And as a test each user signing in will get the test account ("Mr OpenSim") as a friend (online/offline status will not currently show up)
2007-11-13 10:47:39 +00:00
Teravus Ovares
d9d35f9fd7
* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
...
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Jeff Ames
ad002835d3
enable typing animation for chat, maybe
2007-11-12 20:25:59 +00:00
Dalien Talbot
8039c31e88
Patch from Mathias Soeken (thanks Mathias!) to take care of the color
...
and alpha argument of the llSetText command.
2007-11-11 22:23:34 +00:00
Brian McBee
46fbcad2aa
Fixed bug in assetcache where certain textures were not being packetized correctly
2007-11-11 00:11:34 +00:00
Adam Frisby
3a5ae43d5e
* Fixed compile issue.
2007-11-09 02:13:07 +00:00
Adam Frisby
c93f7188c7
* Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
...
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
Teravus Ovares
9e9dad1cde
* Added Rotational Velocity reporting for Client Interpolation to Terse Updates
...
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague
65eb1852a3
add SendSunPos function to IClientAPI to let us pull all the sun
...
calculation logic into a module
2007-11-07 20:29:30 +00:00
lbsa71
ee1fcc729c
* Added better logging to AssetCache
...
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
lbsa71
f6c8c10d3f
* Substituted som 'GenericCall' with Action<>
...
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW
73fbacea1f
Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
...
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
Adam Frisby
7896a0c453
* Temporarily reverted SQL syntax.
2007-11-05 01:35:17 +00:00
Adam Frisby
181dd8d8dc
* Changed MySQL Syntax on Region Updates for Grid Server.
2007-11-04 23:31:35 +00:00
MW
d56ed8fe9c
Some more refactoring
2007-11-04 22:22:53 +00:00
Adam Frisby
9f4ae7230f
* Small touchup of console messages
2007-11-04 20:37:55 +00:00
MW
18ae60db37
Deleted Regionloader .csproj files.
2007-11-04 14:40:16 +00:00
Jeff Ames
2d1c255e8c
normalized line endings
2007-11-04 14:34:45 +00:00
MW
e50a2e2ce2
Applying Teravus patch # 557. Some glue code for the updating of prim's velocity.
2007-11-04 14:06:41 +00:00
MW
19fe9a0208
Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice.
2007-11-04 10:40:28 +00:00
Tleiades Hax
dfc6108f1b
removed our own inplementation of UUID's, it wasn't used anywhere.
2007-11-04 06:15:43 +00:00
mingchen
b51a900beb
*Master Avatar can be specified by a previous UUID in either grid mode or standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified.
2007-11-03 17:49:45 +00:00
lbsa71
5b4e4cb3ac
* Removed unused UDPServerBase
2007-11-03 15:51:02 +00:00
mingchen
51488ee7f4
*Moved region loading into its own interface IRegionLoader
...
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
2007-11-03 15:09:21 +00:00
MW
91c2c3c096
testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly)
2007-11-03 14:04:59 +00:00
Sean Dague
21e47f8ef0
debug tracing for asset server hangs
2007-11-01 22:01:26 +00:00
Tleiades Hax
317ef312bd
Need to clean up resources when creating/updating assets
2007-11-01 21:38:41 +00:00
Tleiades Hax
cb2ae6eaed
2007-11-01 21:36:47 +00:00
lbsa71
4fad66f855
* Diuerse beavtificatems
2007-11-01 19:19:05 +00:00
MW
7a66eff8af
renamed FetchAsset to RequestAsset on IAssetServer, as think its a more fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback.
2007-11-01 17:28:38 +00:00
MW
88f04731ca
Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more).
2007-11-01 15:54:59 +00:00
Charles Krinke
8af272b3ab
Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation.
2007-11-01 03:56:54 +00:00
lbsa71
b3aa6e616b
* Took a stab at #500 by making sure there is only one place stuff gets added, and that that place is thread-aware.
...
* Refactored it to TryGetValue instead of Contains
2007-10-31 20:39:52 +00:00
Tleiades Hax
5fb956f75a
Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server
2007-10-31 18:49:40 +00:00
Sean Dague
048939fbb5
fix typo in filename
2007-10-31 14:08:12 +00:00
lbsa71
0d528e1d22
* Added a streamhandler that does streams both in and out
...
* The RestDeserialisehandler now does streams and returns an object instead of string
2007-10-31 12:45:03 +00:00
MW
720065ef9e
forgotten file
2007-10-31 09:26:06 +00:00
MW
a9ad16b13a
some small changes
2007-10-31 09:18:24 +00:00
Jeff Ames
f42afe81af
added .dat extension to dumped asset files
2007-10-31 08:07:20 +00:00
Jeff Ames
13854d562f
fixed filenames in log messages
2007-10-31 07:56:31 +00:00
lbsa71
064404ab40
* Moved OpenSim/Framework/General to OpenSim/Framework for great justice.
2007-10-31 07:28:23 +00:00
Jeff Ames
7f0d836d35
made illogical bitwise operations logical
2007-10-31 05:29:51 +00:00
Jeff Ames
98b238cf6b
set svn:eol-style
2007-10-31 01:21:04 +00:00
Tleiades Hax
6a8d8f54e8
Step one on the long march towards grid based inventory. Introduction of an InevntoryServer
2007-10-30 22:42:34 +00:00
Jeff Ames
ecb2305a04
temporary fix for sitting collisions in ODE
2007-10-30 09:56:29 +00:00
lbsa71
67e12b95ea
* Optimized usings
...
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7
as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
...
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW
f6e8cbbd06
Fixed a bug in SQLAssetServer that only seemed to be a problem when running under the MS .net Runtime, but was fine with mono.
2007-10-29 15:58:52 +00:00
MW
0837f6b78d
fixed one bug (where the assets we read and created from the OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite
2007-10-29 14:37:08 +00:00
lbsa71
27b5fad56d
* Removed AssetNotFound as it crashes client
...
* Fixed introduced bugs in ScenePresence
2007-10-29 12:59:04 +00:00
lbsa71
03d49b0217
* ModuleLoader: Privatized some too-public fields
...
* Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient
* SceneManager: Added ForEachScene
* Worked some on appearances.
2007-10-29 11:54:31 +00:00
MW
27f003b683
Started the process of cleaning up AssetCache and moving most of the code into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache.
2007-10-29 09:51:23 +00:00
Jeff Ames
7c6ef95f2f
normalized line endings
2007-10-29 07:57:38 +00:00
Jeff Ames
2cf117cc6c
Added preliminary support for sitting on prims
2007-10-28 03:58:46 +00:00
mingchen
d56da1c831
*Replaced -useexecutepath with an updated -inifile extension. You can now specify either a filename (will use the default config path, or you can specify a full path.
2007-10-28 03:41:34 +00:00
lbsa71
fb6aa6eafc
* Added 'Jim' and 'Goblin' shapes; not available in inventory yet though
2007-10-27 11:45:52 +00:00
Tleiades Hax
adf4a3b9fd
Added method to create default config file in region server(OpenSim) following along the same priciples as in the other servers.
2007-10-26 15:35:17 +00:00
lbsa71
070047ce1b
* Added prototypical AvatarFactory module interface to load avatar parameters
...
* Added dump_assets_to_file option to enable asset dumping for debug
* normalized some namespaces
* InventoryFolder renamed to InventoryFolderImpl to
2007-10-26 14:08:36 +00:00
Tleiades Hax
75be841839
Region ground texture was not marked as temporary, when being created, and assetcache did not check if an asset was temporary prior to uploading the cache to the asset server. Consequently the asset server was constantly being swamped by temporary ground textures.
2007-10-26 13:12:49 +00:00
Tleiades Hax
5e7dba7268
Very early first implementation of grid based assets.
...
Run this on a major grid, and weep
2007-10-26 11:46:27 +00:00
Sean Dague
461eaf188e
fix line endings
2007-10-25 15:43:48 +00:00
Sean Dague
32869aec47
apply http://bug.opensecondlife.org/view.php?id=512 from chillken
...
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Tleiades Hax
60e4541865
Created a generic RESTClient component, which simplifies querying for resources from REST based web-services.
...
Currently it supports a barebones scheme for specifying the path of the resource and querying asynchroneously. POST method is still wacky and a good solid scheme for handling timeout still remain.
2007-10-25 09:26:47 +00:00
Tleiades Hax
62e695d3ee
Preparing for grid wide assets
2007-10-24 04:11:09 +00:00
Tleiades Hax
44ee28d963
Part of supporting gridwide assetss. A little premature release, but I'm tired of conflicts.
2007-10-24 04:07:41 +00:00
Adam Frisby
0c9933fd0f
* Added "create-region" console command. Syntax: create-region <name> <region.xml filename>
...
* Spring cleaning.
2007-10-23 12:44:12 +00:00
Adam Frisby
3143768468
* Removed plenty more untagged console messages. Everything now has shiny groups. :)
2007-10-22 22:37:39 +00:00
Adam Frisby
5dad0ed729
* Return of R2162. /Take that SVN!/
2007-10-22 21:57:32 +00:00
lbsa71
dd770c384c
* Made EstateSetting static since there's only one instance, and we only need to create it once
...
* Now cacheing RegionInfos indefinitively; we should add a tiomeout to this cache
2007-10-22 17:55:49 +00:00
Sean Dague
c5ea70bf93
nice catch by chi11ken that I was setting the wrong property
2007-10-22 15:39:02 +00:00
Sean Dague
6acaabefc3
revert r2162 as it completely clobbered all the work on
...
the ChatModule by MW and myself. Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby
c4707a284f
* Major ass commit.
...
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
MW
5bf6b24590
Bug fix, so that local loginserver (in standalone mode) can set a start position (position inside the region) rather than it always being hardcoded to 128,128. Note: This bug fix is just to allow this to be set. Its not actually used yet (so users will still always start at 128,128).
2007-10-22 09:04:55 +00:00
Adam Frisby
4dc8e7e0f8
* Added a lock to the user profile cache to prevent simultaneous duplicate additions to the database. (Attempting to fix bug reported by nebadon)
2007-10-21 22:53:54 +00:00
Adam Frisby
7f2ec02802
* Disabled TCP Remoting Channel Security for InterRegion communication, as it appears we are not implementing this correctly. (need to set up certificates first)
...
* Documented ACL class
2007-10-21 22:15:41 +00:00
Sean Dague
61397a3410
fix line ending mixing. Probably should put some
...
wiki descriptions up on line endings so we don't keep
ending up in this place.
2007-10-21 14:59:18 +00:00
Adam Frisby
6119eaed85
* Committing new PolicyManager based on an ACL system.
...
* Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
2007-10-20 10:44:34 +00:00
Adam Frisby
1313544ac7
* Major structural change: Begun converting Events to use (caller, args) syntax to conform with .NET guidelines.
...
* OnChatFromViewer has been converted as an example.
* Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat.
2007-10-19 22:02:07 +00:00
Sean Dague
d4bb430f78
get rid of all the ^M line endings
2007-10-19 20:28:18 +00:00
mingchen
f756b1ee1c
*Added -useexecutepath to use the path of the .exe as the path to find configuration and libraries and not the current working directory.
2007-10-19 19:20:18 +00:00
MW
373372ca3e
couple of tiny changes to what is outputted to the console during the start up phase (like changed the bit where it asks for sim uuid to asking for region id). should have no effect on anything.
2007-10-19 10:37:38 +00:00
lbsa71
656c72befc
* some more refactoring + bugfix
2007-10-19 08:57:30 +00:00
MW
e1bb245787
changed the RegionID config name (that loaded from the region.xml files back to sim_uuid), but left that actual field name in RegionInfo as RegionID. Hopefully old region.xml files should now work again.
2007-10-19 08:56:42 +00:00
lbsa71
46700d3b7d
* Total refactoring of Asset Server for massive win
...
* There is now a AssetServerBase
* lolcat in ur assets
2007-10-19 07:46:03 +00:00
Tleiades Hax
05df857132
Possible fix for: Remoting exceptions with adjacent non-running sims.
...
Bugs 449, 454, 408, 244, 197
implemented InformClientOfNeighbours as an asynchroneous process, handling timeouts without blocking the main thread.
Improved logging of errors, removed catch all in try catch
2007-10-18 15:10:43 +00:00