osGetGridName incompatibility between 0.8 and 0.9?

Lotek Ixtar
Lotek Ixtar
 Member edited November 2016 in Create & Objects
Hi, when using a simple:
default
{
    state_entry()
    {
        llSay(0, osGetGridName());
    }
}

I get this error spit back at me (it also cuts off at InfoType ty):
[21:02] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> LitJson.JsonException: Invalid character '<' in input string
  at LitJson.Lexer.NextToken () <0x41998660 + 0x00193> in <filename unknown>:0 
  at LitJson.JsonReader.ReadToken () <0x419985e0 + 0x0002b> in <filename unknown>:0 
  at LitJson.JsonReader.Read () <0x41998280 + 0x000d3> in <filename unknown>:0 
  at LitJson.JsonMapper.ReadValue (LitJson.WrapperFactory factory, LitJson.JsonReader reader) <0x41997eb0 + 0x00033> in <filename unknown>:0 
  at LitJson.JsonMapper.ToWrapper (LitJson.WrapperFactory factory, System.String json) <0x41994920 + 0x0005f> in <filename unknown>:0 
  at LitJson.JsonMapper.ToObject (System.String json) <0x419922d0 + 0x000db> in <filename unknown>:0 
  at OpenMetaverse.StructuredData.OSDParser.DeserializeJson (System.String json) <0x41991f90 + 0x0000f> in <filename unknown>:0 
  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.GridUserInfo (InfoType ty

I ask this because Paramour's visitor counter also returns this error and thus does not work without modification.

Are there Metro users running OpenSim 0.9 who can test the small script above?

Because I suspect this is due to some sim configuration fault on my end.
If that's not it, it could be an incompatibility between 0.8 and 0.9, it worked fine on OsGrid.
(my sims run a recent opensim 0.9, and I guess the grid services are at some 0.8 version?).

Comments

Sign In or Register to comment.

Welcome

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions

© Copyright 2017 - Metropolis Metaversum
All times are GMT