Commit Graph

2686 Commits (7b062cefa22a5b67e124e478345751bab7a18093)

Author SHA1 Message Date
Charles Krinke a0a189aed2 Thanks to Alondria for:
llResetScript() is now functional. With this patch, Kan-script 0000003 should run.
Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to 
NULL_KEY which then works to listen to everything.
2007-12-12 22:07:40 +00:00
Sean Dague 100fb6a0b1 remove another partial class, and map another class back to a real file 2007-12-12 20:45:39 +00:00
Teravus Ovares 5e6483f209 * In our quest for sim heartbeat stats, we're a touch closer to accurate object count on sim stats.
* Fixed a rare, but possible NullReferenceException
2007-12-12 18:03:37 +00:00
Charles Krinke 47b091f663 Thanks to Alondria for: Adding vector->string and rotation->string,
float * vector, vector * float, vector / float, vector + vector,
vector - vector, vector * vector, vector % vector and changing
x, y, z, (and r) parts of vector and rotation to be lower case 
(similar to LL's LSL vectors/rots). With these changes we should 
expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-12-12 17:18:15 +00:00
MW 8a2a6ad761 couple of small fixes. 2007-12-12 17:15:37 +00:00
Teravus Ovares da7fd71fa2 * Fixed a catch error. 2007-12-12 14:13:19 +00:00
Teravus Ovares 331db2336c * Added Object count to sim stats (it's incorrect, however, it'll be fixed) 2007-12-12 14:07:26 +00:00
Teravus Ovares 6a4a10f0a1 * Fixed agent counts on the Simulator stats pane 2007-12-12 13:52:30 +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 081f4403ea * Added some simstats to fill the simulator pane of the Statistics monitor.
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-12 06:58:55 +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
Teravus Ovares e32150b1db * Temporarily sisabled neighbour cache for regions in the SceneCommunicationService
* This will fix the grid mode (not seeing regions) issue
2007-12-12 01:10:54 +00:00
Teravus Ovares 9abe4b2ebf * Start listening for client connections immediately after a region initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first)
* Removed hackish timer based client notification about regions up (no longer needed)
* Added a comment about an inventory based login failure that causes me lots of greif testing and debugging.  Comment includes *why* it's failing.
2007-12-12 00:38:57 +00:00
Sean Dague c7f5a94763 put in a try block to catch the ForEach loop dying. 2007-12-11 22:20:22 +00:00
Sean Dague 6b5db310cd debug to catch any users of the stop interface 2007-12-11 21:57:11 +00:00
Sean Dague 2e38e534d9 consolidate client view exit paths, this seems to
cause a different synchronization issue in other
shutdown routines, though I'm not sure why
2007-12-11 21:47:18 +00:00
Teravus Ovares d67009a78b * Added some locking to help race conditions in the neighbors lists 2007-12-11 21:43:17 +00:00
Sean Dague 1fd62bc1af force a flush before client shutdown, so no important packets are lost 2007-12-11 20:32:22 +00:00
Sean Dague 696fb65199 minor restructure of ClientView.cs to get all the attributes
and properties to the top of the class definition.
2007-12-11 19:04:08 +00:00
Jeff Ames bb408af14d Fix possible array indexing exception in inventory server 2007-12-11 18:45:07 +00:00
MW 60c96ab687 Couple of more small changes 2007-12-11 18:29:19 +00:00
Jeff Ames 77841fe35e Minor cleanup/refactoring of ScenePresence.
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +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
Sean Dague b7178ec241 refactor SunModule a bit to make more sensible 2007-12-11 03:15:13 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Sean Dague e0c43df52a default day's to a more sensible 24 hrs instead of 0.5. You
can still change this in the config file if you want something
different.
2007-12-10 22:33:49 +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
Charles Krinke 22acc23755 Great Salutations to Alondria for providing implementations for:
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture,
llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture,
llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot.
With these changes the "kan-ed" script #2 should be working.
2007-12-10 21:38:01 +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
MW baea4b793d Changed how TextureDownloadModule is initialised, due to some weird behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread). 2007-12-10 15:36:33 +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 081a66d570 added musings on llInstantMessage 2007-12-10 05:58:30 +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 49312de1c8 totally gratuitous svn:eol-style setting 2007-12-10 04:54:02 +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
Charles Krinke be5d8811be Added a call to m_host.SendFullUpdateToAllClients().
Thank you to Alondria for suggesting this solution
to getting kan-ed#2 to work with the llSetScale call.
2007-12-09 23:48:27 +00:00
Charles Krinke fbaa8bc9bd Some progress on 4 of the llParticleSystem members
that needed to be cast to libsecondlife.LLColor.
2007-12-09 23:04:11 +00:00
Charles Krinke 2742be6675 "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out. 2007-12-09 21:52:01 +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
Jeff Ames 696f5e27a9 removed old debugging code from IM and chat modules 2007-12-09 18:07:14 +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
Sean Dague cace0e055c change PacketQueue to take the byte[] throttle instead
of the Packet to set the throttles
2007-12-09 14:47:18 +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
Jeff Ames 65b9fa9a5f added more packet handling stubs 2007-12-09 00:07:03 +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