Mantis Bug Tracker

View Revisions: Issue #8810 All Revisions ] Back to Issue ]
Summary 0008810: osGetAgentCountry ...
Revision 2020-11-15 15:24 by Gezebu MindBlue
Description The documentation says that "The country information must be added to grid database using external user admin tools", but in the database not exist the necessary field to added this information in the UserAccounts table, and userdata does not have any field. The wiki also does not provide information about which table and name the field for that information should be created. The command create user also does not give the possibility to enter the data. It could be convenient the existence of the command modify user, to be able to modify something more than the password or the email.

In the case of an existing user, osGetAgentCountry will not return any value, whitout errors.
But in the case of an Npc, an exception occurs that disables the script:

18:25:36 - [YEngine]: Exception while running 7a1ee1ee-227f-4e51-ba7a-177164479b28
NullReferenceException: Object reference not set to an instance of an object
Prim: <GeZ_Sensor_HUD_1.2>, Script: <GeZ_Sensor_HUD_1.2_2020>, Location: GeZ Sandbox <129,123,22>
Script must be Reset to re-enable.
  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString id) [0x000ef] in <4690fe399e5d43b0b1cd4c167b2b609b>:0
  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString agentId) [0x00001] in <d73150d16678418babf4a68895cdf550>:0
  at (wrapper dynamic-method) System.Object.avatar_info(key)(XMRInstanceSuperType,string)
  at (wrapper dynamic-method) System.Object.default listen(OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract)
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH () [0x00050] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx () [0x00009] in <c9cff9724af24220b5e04d8ee9bad7de>:0System.NullReferenceException: Object reference not set to an instance of an object
  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString id) [0x000ef] in <4690fe399e5d43b0b1cd4c167b2b609b>:0
  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString agentId) [0x00001] in <d73150d16678418babf4a68895cdf550>:0
  at (wrapper dynamic-method) System.Object.avatar_info(key)(XMRInstanceSuperType,string)
  at (wrapper dynamic-method) System.Object.default listen(OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract)
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH () [0x00050] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx () [0x00009] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  
Revision 2020-11-15 14:13 by Gezebu MindBlue
Description The documentation says that "The country information must be added to grid database using external user admin tools", but in the database not exist the necessary field to added this information in the UserAccounts table, and userdata does not have any field. In the entire database, the only place the word country appears is in the prims table, field text. The wiki also does not provide information about which table and name the field for that information should be created. The command create user also does not give the possibility to enter the data. It could be convenient the existence of the command modify user, to be able to modify something more than the password or the email.

In the case of an existing user, osGetAgentCountry will not return any value, whitout errors.
But in the case of an Npc, an exception occurs that disables the script:

18:25:36 - [YEngine]: Exception while running 7a1ee1ee-227f-4e51-ba7a-177164479b28
NullReferenceException: Object reference not set to an instance of an object
Prim: <GeZ_Sensor_HUD_1.2>, Script: <GeZ_Sensor_HUD_1.2_2020>, Location: GeZ Sandbox <129,123,22>
Script must be Reset to re-enable.
  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString id) [0x000ef] in <4690fe399e5d43b0b1cd4c167b2b609b>:0
  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString agentId) [0x00001] in <d73150d16678418babf4a68895cdf550>:0
  at (wrapper dynamic-method) System.Object.avatar_info(key)(XMRInstanceSuperType,string)
  at (wrapper dynamic-method) System.Object.default listen(OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract)
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH () [0x00050] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx () [0x00009] in <c9cff9724af24220b5e04d8ee9bad7de>:0System.NullReferenceException: Object reference not set to an instance of an object
  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString id) [0x000ef] in <4690fe399e5d43b0b1cd4c167b2b609b>:0
  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osGetAgentCountry (OpenSim.Region.ScriptEngine.Shared.LSL_Types+LSLString agentId) [0x00001] in <d73150d16678418babf4a68895cdf550>:0
  at (wrapper dynamic-method) System.Object.avatar_info(key)(XMRInstanceSuperType,string)
  at (wrapper dynamic-method) System.Object.default listen(OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract)
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH () [0x00050] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx () [0x00009] in <c9cff9724af24220b5e04d8ee9bad7de>:0
  


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker