Pregunta SF Press (NPC Horse) Script Error

  • Krellis Strom
  • Autor del tema
  • Gracias recibidas: 2

SF Press (NPC Horse) Script Error Publicado por Krellis Strom

Posted 20 Feb 2024 04:41 #2717
Sometimes this script error is shown after using the PRESSNPC:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added.

  at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

  at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddAvatar(UInt32 localID, String avName, Vector3 position, Vector3 size, Single footOffset, Boolean isFlying)

  at OpenSim.Region.Framework.Scenes.ScenePresence.AddToPhysicalScene(Boolean isFlying)

  at OpenSim.Region.Framework.Scenes.ScenePresence.StandUp(Boolean addPhys)

  at OpenSim.Region.OptionalModules.World.NPC.NPCModule.Stand(UUID agentID, Scene scene)

  at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcStand(LSLString npc)

  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osNpcStand(LSLString npc)

  at SecondLife.XEngineScript.clearUp() in c:\Use


It doesn't occur during each use so it's difficult to determine the cause.
por Krellis Strom

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Buzzy Cnayl
  • Gracias recibidas: 47

Respuesta de Buzzy Cnayl sobre el tema SF Press (NPC Horse) Script Error

Posted 21 Feb 2024 14:58 #2718
Thanks for reporting this. Someone else did report it a while back but I have not yet managed to get that error so hard to pin down. I do see i the error report it mentions x-engine so wonder if that may be an issue as I use y-engine now (since the next main release will, I believe, drop x-engine)

Do you know if that's what your region uses?
por Buzzy Cnayl

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Krellis Strom
  • Autor del tema
  • Gracias recibidas: 2

Respuesta de Krellis Strom sobre el tema SF Press (NPC Horse) Script Error

Posted 21 Feb 2024 17:25 #2719
Did not expect this but my regions were on x-engine. (I use DreamGrid and it was set to the default, which I thought was y-engine).
I've since switched and restarted everything, but now some machines aren't working properly. Added products show as "missing", the windmill gives a "bad password" error, and product counts are not increased when added to storage. Am a bit befuddled on this one...
por Krellis Strom

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Buzzy Cnayl
  • Gracias recibidas: 47

Respuesta de Buzzy Cnayl sobre el tema SF Press (NPC Horse) Script Error

Posted 21 Feb 2024 18:05 #2723
When you switch engines you need to shut down the region, make the changes and then delete everything in the folder ..opensim/bin/ScriptEngines  before restarting.  Hope that makes sense for Dreamgrid. If not there may be an option somewhere to clean out that stuff? 
por Buzzy Cnayl

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Krellis Strom
  • Autor del tema
  • Gracias recibidas: 2

Respuesta de Krellis Strom sobre el tema SF Press (NPC Horse) Script Error

Posted 21 Feb 2024 18:13 #2724
Ah... Thanks for the tip. It might be the script cache... I'll check around and find out. Thanks again.
por Krellis Strom

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Melania Twain
  • Gracias recibidas: 0

Respuesta de Melania Twain sobre el tema SF Press (NPC Horse) Script Error

Posted 07 Mar 2024 16:47 #2727
Have same issue I was the one that reported it a while back changing script engine did not help. I likes it but can't use it.
por Melania Twain

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

VivoSim Grid - Stats

7d uptime badge   24h uptime badge   1h uptime badge

GridStatus: ONLINE


Online_Now: 7

Visitors_Last_30_Days: 428

Total_Regions: 15

Login_URL: hg.vivosim.net:8002

Website: https://vivosim.net

XML format
JSON format


VivoSim Shop

donate

hg.vivosim.net:8002:Mintor

hg.vivosim.net:8002:Lugo

hg.vivosim.net:8002:Sandy Island

hg.vivosim.net:8002:Julian Beach

opensim logo