Commit Graph

5789 Commits (36dcedce31b8548d020894232eb20658570d1dc1)

Author SHA1 Message Date
Adam Frisby f2c449f10e * Added new scripting related events, in particular a new event which is triggered by console commands so that the script can subscribe to console messages and operate when they occur.
* Added new example script (work in progress)
* Fixed typo in Scripting engines for C# and JScript.NET
2007-07-15 22:04:56 +00:00
mingchen 173c5ee79e *Fixed master avatar requesting when in grid mode. 2007-07-15 21:21:14 +00:00
MW bf2f3ea29a Hijacked simpleApp again (sorry lbsa71, guess I should create my own simpleApp), to try out a basic test npc character(/class). 2007-07-15 21:10:05 +00:00
mingchen 6510aea0ed *Added support for the "show" button that highlights objects over the selected Objects
*Known bug, client does some weird "showing" when more than 255 objects are meant to be selected (linked objects count as one object)
2007-07-15 21:02:13 +00:00
Adam Frisby 61446c0cd8 * Primitives are now loaded from Datastore during scene initialisation. 2007-07-15 18:49:11 +00:00
Adam Frisby e44c9007ec * More prebuild.xml changes. 2007-07-15 18:33:59 +00:00
Adam Frisby 2604add4dd * Fiddling with prebuild.xml 2007-07-15 18:26:19 +00:00
Adam Frisby 9fdd4946c3 * Fixed an issue where world map blocks were not transmitted correctly. 2007-07-15 18:10:49 +00:00
MW 3c326aae99 Removed the reference to ClientManager from scene, as scene really shouldn't have a direct reference to the UDP/Packet server's clientmanager, instead it should send all data through the ScenePresences.
For those functions that was using the clientManager's foreachClient(delegate) method, there is now a ForEachScenePresence(delegate) in scene. 
This change helps with the decoupling of client packet functions from the scene functions.
2007-07-15 18:05:41 +00:00
MW a87ebda895 Removed reference to Scene EventManager from primitive. In its place, primitive now has its own event (OnPrimCountTainted) that ParcelManager subscribes to.
Removed some unused code from SimpleApp.
2007-07-15 17:40:21 +00:00
Adam Frisby aebd58d75e * PROTIP: It helps to know what your doing when playing with reflection. 2007-07-15 17:32:54 +00:00
Adam Frisby 813cdd0c80 * Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
2007-07-15 15:53:29 +00:00
Adam Frisby 2dea3dbd6b * Terrain now uses the new StorageManager. 2007-07-15 15:51:09 +00:00
Adam Frisby 6d455f3b6c * Storage Manager now initialises with a DB name equal to that of the region name, and DB file specified in the DataStore config item. Storage engines may ignore the DB name parameter.
* OnBackup event is now triggered using the Storage manager.
2007-07-15 15:43:53 +00:00
Adam Frisby 8fc1dfec79 * Added loading methods for NullStorage. 2007-07-15 15:40:50 +00:00
Adam Frisby f65c3d5a31 * Typo in prebuild.xml 2007-07-15 15:00:21 +00:00
Adam Frisby 275d8c0247 * Adding example "NullStorage" DataStore engine. 2007-07-15 14:58:23 +00:00
Adam Frisby 593851eaa5 * Fixed bug where UserServer SendKey would not be saved in configuration. 2007-07-15 14:21:17 +00:00
lbsa71 e207cc615f * fixed locations both set to y (thanks to babblefro) 2007-07-15 05:07:28 +00:00
lbsa71 7ef425af88 * Fixed up gebrockenet config file from libsl (#172) 2007-07-15 04:59:39 +00:00
lbsa71 502e698c10 #72, formerly known as#166 2007-07-15 04:20:23 +00:00
Adam Frisby c46a508945 * Fixed duplicate CAP bug when a user logs out then relogs back in in grid mode. 2007-07-14 23:06:05 +00:00
Adam Frisby e9bcc7a3fd * Fixed an issue which caused regions to crash when duplicating primitives. 2007-07-14 22:44:41 +00:00
Adam Frisby 2ccb8f7118 * Excelsior! 2007-07-14 22:35:47 +00:00
lbsa71 a04f968f8c * libterrain now builds again 2007-07-14 21:26:20 +00:00
Adam Frisby 382b6a32c1 * Upgraded MySQL Connector to support 1222 changes. 2007-07-14 21:01:31 +00:00
lbsa71 d8f1515679 * Taking antother stab at #166 2007-07-14 20:39:08 +00:00
Adam Frisby 3dac0fecf2 * ServerIP can now take larger values (which could be used to store a hostname instead.) 2007-07-14 20:34:06 +00:00
mingchen 4f5c1e40b4 *Updated getParcel to accept floats as well. This helps in finding the parcel under an exact point (when precision matters) 2007-07-14 19:09:00 +00:00
Adam Frisby ab32704968 * Added "quit" alias for the "shutdown" console command in RegionServer 2007-07-14 17:40:54 +00:00
mingchen bf32020693 *Removed ParcelManager from SceneObject and Primitive and replaced with events in EventManager
*Prim count and sim-wide prim count correctly reflect object bonus multiplier
2007-07-14 17:01:15 +00:00
lbsa71 eee1eb2f42 * SimpleApp finally doing something fun. :) 2007-07-14 16:01:10 +00:00
mingchen a3f2c1276a *Added support for simwide area and simwide prim count for parcels 2007-07-14 15:57:20 +00:00
lbsa71 811d2b69c9 * Worked some more on SimpleApp
* Removed SceneObject references to RegionHandle, ParcelManager, EventManager as they are public on Scene
* Moved PulseScript behaviour into MySceneObject
2007-07-14 15:33:25 +00:00
mingchen 423d03eaef *Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
2007-07-14 15:11:36 +00:00
MW 5a909a2054 Set up parcel manager and the master avatar in SimpleApp. 2007-07-14 14:48:36 +00:00
lbsa71 0bb2b7f18d * encapsulated some public fields 2007-07-14 14:15:58 +00:00
lbsa71 1a92dc9073 * Apparently, we need to tell ParcelManager that there is no parcels.
* Cleaning lady cleaning build ignores (No, MW, I don't mind, anything for you)
2007-07-14 14:13:05 +00:00
MW a04602d9c1 Added AddPreCompiledScript method to ScriptManager.
Done some work on lbsa71's simpleApp(hope he doesn't mind):
now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). 
Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-14 13:18:02 +00:00
mingchen d879c6e8fc *Moved the OnSignificantClientMovement event to ScenePresence.
*ParcelManager's resetSimParcels does not set any default values.
*Updated ParcelData with correct defaults previously set in resetSimParcels
*Region overrides are now sent to viewer instead of dummy'd
2007-07-13 23:13:25 +00:00
mingchen 862dc9fe97 *Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
2007-07-13 21:13:38 +00:00
MW 9b61def98d Chat/Shout/etc should be working again 2007-07-13 21:12:16 +00:00
Adam Frisby e6dc575bc3 * Added sample event to ScriptInterpretedEvents 2007-07-13 20:29:51 +00:00
Adam Frisby e14ef63113 * Small commit: SceneObject now registers itself with the Backup event via the function ProcessBackup. 2007-07-13 20:10:32 +00:00
Adam Frisby ad264a6b6d * Fixing issue with ParcelFlags. ParcelFlags is now a uint rather than an enum. 2007-07-13 20:01:16 +00:00
Adam Frisby c0093052b0 * Default parcel flags now allow flying, landmark creation, object entry, deeding to group, terraforming, object creation and outside scripts. 2007-07-13 19:51:05 +00:00
Adam Frisby 985e0b765a * Obsoleted ILocalStorage
* Added IRegionDataStore
* Added OnBackup event to EventManager
2007-07-13 19:27:15 +00:00
Sean Dague dd5120af43 first draft sql definition for prims based on PrimData 2007-07-13 19:07:18 +00:00
MW 401af6ad4a Prim Copying (both CTRL+D and shift-drag) should now work. 2007-07-13 19:01:09 +00:00
Adam Frisby 41cd6cdfdd * Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap" 2007-07-13 19:00:10 +00:00