aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-18On to 0.8.3!Diva Canto3-3/+3
Conflicts: OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18On to 0.8.3!Diva Canto3-3/+3
2015-05-07pCampbot: added behavior that mimic initial inventory download. It's not ↵Diva Canto2-0/+124
exactly what the viewer does, but it's close enough, and the elapsed time can be measured.
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto3-3/+3
AssemblyVersion("0.8.2.*")
2015-01-20minor: comment out unusued logging objects in some pCampbot behaviour classesJustin Clark-Casey (justincc)2-2/+2
2014-11-25On pCampbot, if we add the none (n) behaviour then make it actually stop any ↵Justin Clark-Casey (justincc)1-0/+3
bots in motion. Previously, adding this behaviour after physics (p) would leave the bot to drift off for ever in its last movement direction.
2014-09-24Add "debug lludp packet" command to pCampbot.Justin Clark-Casey (justincc)2-0/+81
This allows one to log the packets received by a particular bot that are not duplicates of already received packets. Similar to the OpenSimulator command at the same name but currently any positive level logs all received packets. No facility yet for logging outgoing packets. For debug purposes.
2014-09-22Replace two connecting bots state booleans in pCampbot with a single state ↵Justin Clark-Casey (justincc)1-23/+55
machine. Also adds "show status" command to pCampbot that currently just shows bot connecting state
2014-09-03Remove the 32 bit launchers as discussed at OpenSimulator Office Hour ↵BlueWall7-461/+0
9//2/14 http://opensimulator.org/wiki/Chat_log_from_the_meeting_on_2014-09-02. Find the binaries, sources and README in ./share/32BitLaunch if needed.
2014-08-19minor:Give console feedback when we sit or stand pCampbot bots.Justin Clark-Casey (justincc)1-2/+16
Also only write console lines for actually connected bots.
2014-08-15Don't allow the last behavior to be removed from a pCampbot botJustin Clark-Casey (justincc)2-1/+4
If you want to stop existing behavious, add the None behaviour.
2014-08-15Resolve a small race condition on removing bot behaviours that might leave ↵Justin Clark-Casey (justincc)1-2/+3
previous behaviour active Also closes behaviours on disconnect instead of interrupt, though this makes no practical difference. If existing behaviour is None, other added behavious will not take affect until None is removed (as this is an infinite wait until interrupted).
2014-08-13Terminate 'nothing' behaviour (and potentially others) by signalling using ↵Justin Clark-Casey (justincc)5-36/+56
an event rather than polling connection state every 100ms This kind of polling is very expensive with many bots/polling threads and appears to be the primary cause of bot falloff from the client end at higher loads. Where inbound packet threads can't run in time due to contention and simulator disconnect timeout occurs.
2014-08-13Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)1-0/+22
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
2014-08-12For pCampbot, set max number of permitted connections to an endpoint to ↵Justin Clark-Casey (justincc)1-0/+4
int.MaxValue This is to avoid issues where many bots connect to a single end point with multiple regions, where each region requires a long-lived poll connection for each bot.
2014-08-05Go back to disconnecting bots in parallel since serially is too slow.Justin Clark-Casey (justincc)1-3/+5
However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
2014-08-05Put pCampbot "disconnect" command on separate thread like "connect" so that ↵Justin Clark-Casey (justincc)1-27/+35
we can continue to run status commands whilst bots are disconnecting.
2014-08-05Allow "show bots" pCampbot console command to quickly report status by not ↵Justin Clark-Casey (justincc)1-18/+20
locking entire bot list for almost 100% of connection time.
2014-07-21pCamBot: download MeshesOren Hurvitz1-8/+32
The "Sculpt" field in prims is used for both Sculpties (where the assets are Textures), and real meshes. Meshes require a different download URL than textures.
2014-07-21Write some pCampBot messages to the logOren Hurvitz2-5/+5
2014-06-19Improved line map heuristics.Aleric Inglewood1-16/+40
If the C# column can't be found in the positionMap (but the line can), use the map immediately after it while correcting for the offset, unless that results in an LSL position before the previous LSL position in the positionMap. The idea behind this heuristic is that in most, if not all cases C# consumes more characters than LSL (for example LSL_Types.LSLInteger instead of just 'integer'). Thus if the distance between the columns of two markers differ in the C# and LSL file, the distance in the C# file will be larger. Moreover, we can assume that every time this happens we will have a marker at the beginning of the longer 'keyword', because those keywords were generated by us in the first place. For example: C#: LSL_Types.LSLInteger f2(LSL_Types.LSLString s) ^ ^ 1 2 will always have markers at the beginning of the long keywords 'LSL_Types.LSLInteger' and 'LSL_Types.LSLString'. If an error is generated in between (for example at the beginning of the function name 'f2') then the correct position is found by using an offset relative to 2 rather than 1. Note that a case where this isn't working correctly is when the user adds extra spaces. For example: LSL: integer f2( string s) would still use the start of 'string' as reference and then go backwards 3 characters only because the corresponding C# still looks like C#: LSL_Types.LSLInteger f2(LSL_Types.LSLString s) ^ ^ only 3 chars difference and the reported error at 'f2' would be here: LSL: integer f2( string s) ^ This can only be fixed by generating a mapping for 'f2' itself, or generating a mapping whenever the amount of spaces is changed.
2014-06-19Fix looking up line number and colum when there is no exact match.Aleric Inglewood1-23/+16
When a compile error reports a colum/error that is not an exact match in the positionMap dictionary, the last position in the map with a line number and position before the reported error should be returned. The old code had the following problems: 1) It returns l,c - which are line and column of the C# file, not LSL. 2) It doesn't set l to 'line' when the map has an entry with 'line'. 3) It sorts the map without taking columns into account, which may result in a random order of the columns. With my mono implementation the columns were reversed in order. For example, if the map contains the following lines: 99,5,49,10 100,30,50,10 100,40,1,0 101,5,51,10 and a translation of 100,35 was requested, then the old code would compare '100' with the keys in the first column - setting l to that key while it is smaller. Hence, l is set to 99. Then it finds the key 100 and doesn't update l. Because of the reversed sort order, it first compares the column 35 with 40, finding that it is smaller and therefore it stops; returning 99,1 instead of finding the correct 100,30 entry and returning 50,10. This patch causes 50,10 to be returned. The remaining problems after this patch are: 1) The sorting might not be necessary at all. 2) The is code duplication (I fixed both instances, but really there should be no code duplication imho).
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)3-3/+3
2014-05-07Delete extraneous console message in the Configger.Diva Canto1-1/+0
2014-05-07Allow Tools.Configger to take -inifile as argumentDiva Canto2-8/+9
2014-04-23Eliminated 'Obsolete' warning: don't call do-nothing function ↵Oren Hurvitz1-1/+0
SetPreviousAppearance()
2014-02-21Added 2 new behaviors to pCampBotDiva Canto1-0/+6
2014-02-21Added 2 new behavirors to pCampBot. These are part of a systematic study I'm ↵Diva Canto2-0/+159
doing for understanding the load that AgentUpdate packets incur on the server.
2013-11-13Update OpenSim.32BitLaunch.exe and Robust.32BitLaunch.exe to .NET 4 versions.justincc3-126/+202
Also fixes some issues in associated solution files
2013-11-05Record individual region bot disconnects in pCampbot logJustin Clark-Casey (justincc)1-5/+12
2013-11-05Fix a race condition where pCampbot actions could continue even if a bot had ↵Justin Clark-Casey (justincc)1-1/+1
disconnected.
2013-11-01For individual bots, seed random number generator with a random number from ↵Justin Clark-Casey (justincc)1-1/+1
BotManager rather than Environment.Tickcount Otherwise, since bots are now created all at once, a bunch will get exactly the same tickcount and hence number sequences
2013-11-01minor: change "bot" pCampBot help cateogry to "Bots"Justin Clark-Casey (justincc)1-12/+12
2013-10-31minor: update pCampbot usage/help statementJustin Clark-Casey (justincc)1-4/+4
2013-10-28Remove legacy sqlite lines added internally by OpenSimulator to the ↵Justin Clark-Casey (justincc)1-4/+1
[Startup] section. These are long unused but confusingly will be seen in the [Startup] section on a "config save".
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)3-3/+3
2013-09-03In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)1-1/+2
2013-09-03Make pCampbot "add behaviour" and "remove behaviour" console commands work ↵Justin Clark-Casey (justincc)1-45/+78
for all bots if no bot number is given
2013-09-03Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)3-1/+7
than controlling from the main action loop This is to avoid excessive and inconsistent delays between behaviours that currently need to embed sleeps in other actions (e.g. physics) and other behaviours. Might need a more sophisticated approach in the long term.
2013-09-03Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)4-1/+30
or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
2013-09-03Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2-5/+60
during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
2013-09-03Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)2-41/+157
behaviour <behaviour-name> <bot-number>" console commad
2013-09-03And fix break in "show bot" from commit 9c65207Justin Clark-Casey (justincc)1-1/+1
2013-09-03Fix build break from last commit 9c65207. Mono 2.4 lacks ↵Justin Clark-Casey (justincc)1-1/+1
string.join(string, List<string>), or some auto casting is missing
2013-09-03Show behaviours of pCampbot bots in "show bots" and "show bot" console commandsJustin Clark-Casey (justincc)8-12/+45
2013-08-23Rename pCampbot.ini -> pCampBot.ini (and example file) to be consistent with ↵Justin Clark-Casey (justincc)1-1/+1
other capitalizations of pCampBot
2013-08-23Make pCampbot "show bot" command take the bot number instead of the full bot ↵Justin Clark-Casey (justincc)1-4/+9
name Shorter and can do this because bot names are uniform
2013-08-22Fix a further bug in pCampbot connect where ignoring already connected bots ↵Justin Clark-Casey (justincc)1-6/+14
was wrongly counted as a connect Also, only sleep when we actually perform a connection
2013-08-22Make it possible to adjust the pCampbot login delay via the [BotManager] ↵Justin Clark-Casey (justincc)1-0/+7
LoginDelay parameter of pCampbot.ini
2013-08-22Add "set bots" command to make it possible to set SEND_AGENT_UPDATES on all ↵Justin Clark-Casey (justincc)1-0/+27
bots whilst pCampbot is running