Add disabled CrossBehaviour to pCampBot, which is designed to cross test bots between neighbouring regions.
Not yet enabled since there is a bug where the initial cross will work but all subsequent movements on the receiving simulator appear to fail.iar_mods
parent
ed7ddeecf2
commit
bdcfd6afee
|
@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
|||
return;
|
||||
}
|
||||
|
||||
m_log.DebugFormat("MAP NAME=({0})", mapName);
|
||||
//m_log.DebugFormat("MAP NAME=({0})", mapName);
|
||||
|
||||
// try to fetch from GridServer
|
||||
List<GridRegion> regionInfos = m_scene.GridService.GetRegionsByName(m_scene.RegionInfo.ScopeID, mapName, 20);
|
||||
|
|
|
@ -73,7 +73,6 @@ namespace pCampBot
|
|||
Thread.Sleep(bot.Random.Next(3000, 13000));
|
||||
bot.Client.Self.Movement.AtPos = false;
|
||||
bot.Client.Self.Jump(true);
|
||||
|
||||
string randomf = talkarray[bot.Random.Next(talkarray.Length)];
|
||||
if (talkarray.Length > 1 && randomf.Length > 1)
|
||||
bot.Client.Self.Chat(randomf, 0, ChatType.Normal);
|
||||
|
|
|
@ -226,8 +226,6 @@ namespace pCampBot
|
|||
MakeDefaultAppearance(wear);
|
||||
}
|
||||
|
||||
Client.Self.Jump(true);
|
||||
|
||||
// Extract nearby region information.
|
||||
Client.Grid.GridRegion += Manager.Grid_GridRegion;
|
||||
uint xUint, yUint;
|
||||
|
|
|
@ -163,6 +163,9 @@ namespace pCampBot
|
|||
if (behaviourSwitches.Contains("t"))
|
||||
behaviours.Add(new TeleportBehaviour());
|
||||
|
||||
// if (behaviourSwitches.Contains("c"))
|
||||
// behaviours.Add(new CrossBehaviour());
|
||||
|
||||
MainConsole.Instance.OutputFormat(
|
||||
"[BOT MANAGER]: Bots configured for behaviours {0}",
|
||||
string.Join(",", behaviours.ConvertAll<string>(b => b.Name).ToArray()));
|
||||
|
|
|
@ -111,10 +111,14 @@ namespace pCampBot
|
|||
" -firstname first name for the bots\n" +
|
||||
" -lastname lastname for the bots. Each lastname will have _<bot-number> appended, e.g. Ima Bot_0\n" +
|
||||
" -password password for the bots\n" +
|
||||
" -b, behaviours behaviours for bots. Current options p (physics), g (grab), t (teleport). Comma separated, e.g. p,g. Default is p",
|
||||
" -b, behaviours behaviours for bots. Comma separated, e.g. p,g. Default is p\n",
|
||||
" current options are:" +
|
||||
" p (physics)" +
|
||||
" g (grab)" +
|
||||
" t (teleport)" +
|
||||
// " c (cross)" +
|
||||
" -wear set appearance folder to load from (default: no)\n" +
|
||||
" -h, -help show this message"
|
||||
);
|
||||
" -h, -help show this message");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue