Hi After My avator logs in, I try to telepor tto another region. Here is my Code.
string startLocation = NetworkManager.StartLocation("Hamnida", 220, 100, 27); client.Network.OnConnected += new NetworkManager. ConnectedCallback(Network_OnConnected); if (client.Network.Login(first_name, last_name, password, "Application Name", startLocation, "Your name")) { //login success Console.WriteLine(" Hello Everyone! I logged into Second Life!"); LLVector3 pos = new LLVector3(); pos.X = 200; pos.Y = 100;; pos.Z = 25;;; if (client.Self.GoHome()) { Console.WriteLine(" Hello Everyone! Now I teleported to my Home!"); } else { Console.WriteLine(" Hello Everyone! Now I can not teleport to my Home!"); } if (client.Self.Teleport("Noru", pos)) { Console.WriteLine(" Hello Everyone! Now I teleported to another region!"!); } else { Console.WriteLine(" Hi! I can not teleport to any region!"); } } else { Console.WriteLine("I couldn't log in, here is why: " + client.Network.LoginMessage); } Here I first try to teleport to the home of Avator, it succeeds.However once I try to teleport to another location, (in this case "Noru", which does exists), teleport does not succeed. Did any of you got such problem while teleporting ? thanks jalal. "Christopher Omega" <[EMAIL PROTECTED] To .com> libsl-dev@opensecondlife.org Sent by: cc libsl-dev-bounces @opensecondlife.o Subject rg Re: [libsl-dev] My First Bot 06/15/2007 03:41 AM Please respond to [EMAIL PROTECTED] ondlife.org Try GridManager.RequestMainlandSims() -Chris On 6/14/07, Peter Swales <[EMAIL PROTECTED]> wrote: how would you find every region in SL? On 6/15/07, John Hurliman <[EMAIL PROTECTED] > wrote: Jalal U Mahmud wrote: > ---------------------------------------------------------------------------------------------------------------------------------------------------- > In the IDE of the code, it gives the exception "502: Bad Gateway". My > question is that, if its a bot, then why should not it wander all the > regions, or all the places, Why does it stops at "Hangeul "(for this > case), and gives that GateWay Error exception. I think once the exception > generated, Avator stops traversing. > ---------------------------------------------------------------------------------------------------------------------------------- > > Yes, I logged into SL using the viewer and I found my Avator in Hamnida. So > it means that I was actually logged in by bot. > > jalal. > It looks like everything is working as expected. If you want a bot that visits every region in Second Life you will need to add code to find every region in Second Life, teleport to each one, do whatever you plan on doing in each region, and probably some fail-safe code to login again if a teleport fails. John ______________________________ _________________ libsl-dev mailing list libsl-dev@opensecondlife.org http://opensecondlife.org/cgi-bin/mailman/listinfo/libsl -dev _______________________________________________ libsl-dev mailing list libsl-dev@opensecondlife.org http://opensecondlife.org/cgi-bin/mailman/listinfo/libsl-dev -- "Anyone that would give up a little liberty for a little security, deserves neither and loses both." -Ben Franklin _______________________________________________ libsl-dev mailing list libsl-dev@opensecondlife.org http://opensecondlife.org/cgi-bin/mailman/listinfo/libsl-dev _______________________________________________ libsl-dev mailing list libsl-dev@opensecondlife.org http://opensecondlife.org/cgi-bin/mailman/listinfo/libsl-dev