Array index is out of range error and System.ArgumentException

A null value was encountered where this forum description was required.
Post Reply
Witchyboi
Reactions:
Posts: 7
Joined: November 9th, 2020, 3:39 pm

Array index is out of range error and System.ArgumentException

Post by Witchyboi » August 12th, 2022, 9:59 am

Hello, I've been playing a new town and I am encountering a frequent error where an interaction cannot be performed by a sim. When tasked to do something the sims will reset and I will get an error trap message. The two interactions I've noticed to be buggy are throwing out dead plants and buying elixirs. The throwing out the plants has been bugging since the beginning, I didn't pay it much attention since I can just delete the plants. The elixir shop used to be working but suddenly stopped so I'm afraid the bug is spreading even though I don't think possible?

In the error trap it refers to this Array index is out of range error, after looking it up it seems it might be an outdated mode issue although I can't think of a mode that would affect both of those interactions ?

There's another bug in the game that has been here since the beginning which is that pets (specifically cats and dogs horses do not seem to be effected) are incredibly buggy and will reset every 5 minutes or so. I've removed them completely from the game to no longer have annoying notifications but it is nonetheless very annoying to have to give up that part of the game. The error code is different; since I got rid of all house pet I wasn't able to find the exact error file but I do have one for a stray god which I believe should be the same error. It's not the same as the one I mentioned before which is System.ArgumentException: The list is empty.

I've included the 3 error files and would really appreciate some insight on this.



Code: Select all

-- Script Errors --


Object:

Name: Aphrodite Ellis
Type: Sims3.Gameplay.Actors.Sim
Object id: 0x4e4300c33dac3d60
Position: (1528.0190, 16.6992, 583.2032)
Room id: 14
Level: 0
Flags: InWorld, IsUsed
Lot: Sims3.Gameplay.Core.Lot
Lot Name: Yellow Cottage
Lot Address: 1 Gibbs Valley Way
IsValid: True
World: UserCreated
OnVacation: False
Season: Fall
Posture: Sims3.Gameplay.Actors.Sim+StandingPosture
Household: Seraphine Cottage
LotHome: Yellow Cottage
Active Actor
SimDescription:

Name: Aphrodite Ellis
Age: YoungAdult
Gender: Female
SimDescriptionId: 5639351992243991744
LotHomeId: 16769434974190427696
HomeWorld: UserCreated
Proper Genealogy
Valid: True
Species: Human
Household: Seraphine Cottage
Occult: None
Alien: 0
Career: Jardinière (7)
School:
Lot: Yellow Cottage
Address: 1 Gibbs Valley Way
Skill Athlétisme: 6
Skill Mise en vente: 0
Skill Charisme: 8
Skill Cuisine: 10
Skill Danse: 0
Skill Equitation: 3
Skill Jardinage: 10
Skill Bricolage: 10
Skill Danser dans le bars: 0
Skill Logique: 3
Skill Jeu de palets: 2
Skill Influence sur les Sims rebelles: 2
Skill Réseau social: 0
Skill Ecriture: 0
Skill Kama Simtra: 2
Skill Collection: 3
Skill Photographie: 0
Skill Compétence Trampoline: 2
Trait Main ultraverte
Trait Vendeuse née
Trait Rebelle
Trait Sang chaud
Trait Végétarienne
Trait Ecolo
Trait Amoureuse de la nature
Trait Main verte
Trait Amie à longue distance
Trait Marchandeuse à la librairie
Trait Vendeuse convaincante
Trait Irrésistible

Interactions:
1: Jeter toutes les plantes mortes
Sims3.Gameplay.Objects.Gardening.Plant+DisposeDeadPlant+Definition
Sims3.Gameplay.Objects.Gardening.Plant+DisposeDeadPlant+Definition
UserDirected

Counter: 13
Sim-Time: Sam. à 11:04
Start-Time: 08/10/2022 23:34:22
PreLoadup-Time: 08/10/2022 23:37:41
Loadup-Time: 08/10/2022 23:40:28
Log-Time: 08/12/2022 15:21:42

System.IndexOutOfRangeException: Array index is out of range.
#0: 0x00070 ldelem.i4 in Sims3.Gameplay.Objects.Gardening.Sims3.Gameplay.Objects.Gardening.Plant:DoDispose (Sims3.Gameplay.Actors.Sim,Sims3.Gameplay.Objects.Gardening.Plant,Sims3.Gameplay.Interactions.InteractionInstance) ([CB057C00] [549AF1C0] [74EE8B60] )
#1: 0x00012 stloc.u1 in Sims3.Gameplay.Objects.Gardening.Plant+DisposeDeadPlant:Run () ()
#2: 0x000db stloc.u1 in Sims3.Gameplay.Interactions.Sims3.Gameplay.Interactions.InteractionInstance:RunInteractionWithoutCleanup () ()
#3: 0x00348 stloc.u1 in Sims3.Gameplay.ActorSystems.Sims3.Gameplay.ActorSystems.InteractionQueue:ProcessOneInteraction () ()
#4: 0x0011c stfld.u1 in Sims3.Gameplay.Actors.Sims3.Gameplay.Actors.Sim:DoInteraction () ()
#5: 0x00015 br.s in Sims3.Gameplay.Actors.Sims3.Gameplay.Actors.Sim:Simulate () ()
#6: 0x00027 leave.s in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()



Loaded Assemblies:
00309326220984
00403852583973
02112436129743
02807976222726
04636853376387
05673849005218
07453690883353
09521388182540
11647013837200
12351533007981
160430777494916
176121043606988
184351056787436
192339757795875
20688986979704
227439145310033
245253843596753
28550087115658
316532526329398
38410215957284
40175243876159
42942137219734
43869708305341
44906083438714
46089487385502
46754582100841
47525740366507
50643689022136
52463421756649
554004876834636
58890925931088
66077247218458
68507896601644
70214830780050
70313314648820
73453418620011
77474863772658
78025744257503
78840102558016
86814979614473
93149844000877
935839741831444
95108819351660
957500536858471
AddingInteraction
Alcohol
AutomaticLoading
Bludhound.ChangeAtHomeAfterWork
Buzz_AutoRailingDisabler
Buzz_AutoRoofDisabler
Buzz_CleanAllForEveryOne
Buzz_MakeNPCDoorFix
Buzz_RestrictionChoker
Buzz_ScribblingPad
Buzz_ShortCheats
ClassHousekeeperService
Cmominator
ConsortDresscode
ConsortModGrow
ConsortModGrowCake
Demon Baby
Desecrate.WeaponsSystem
Enirei
Enirei.VampireAttack
FloTheory_NapInAllChairs
FullMoon
GemBestCut
GemHiddenCuts
GemUnlockedCuts
GetToKnow
HaveCoffeeWithMe
JunJayMdMEveryoneWorkFromHome
Knight.AnnoyancesDisabler
LRose.Sims3Game.Portability
LWE4
LeapsForCauchy.HorseBoarding
NRaasCareer: Version 87
NRaasDebugEnabler: Version 54
NRaasDreamer: Version 15
NRaasDresser: Version 38
NRaasErrorTrap: Version 100
NRaasGoHere: Version 44
NRaasHomeOpener: Version 11
NRaasHybrid: Version 10
NRaasMasterController: Version 134
NRaasMasterControllerCheats: Version 134
NRaasMasterControllerExpandedTattoo: Version 122
NRaasMasterControllerIntegration: Version 134
NRaasMasterControllerProgression: Version 134
NRaasMover: Version 28
NRaasOnceRead: Version 13
NRaasOverwatch: Version 122
NRaasPorter: Version 42
NRaasPortraitPanel: Version 33
NRaasRegister: Version 81
NRaasRelativity: Version 23
NRaasRetuner: Version 10
NRaasSaver: Version 21
NRaasSleepFreedom: Version 21
NRaasStoryProgression: Version 267
NRaasStoryProgressionExtra: Version 266
NRaasStoryProgressionMoney: Version 267
NRaasStoryProgressionPopulation: Version 267
NRaasStoryProgressionRelationship: Version 267
NRaasStoryProgressionSkill: Version 266
NRaasTagger: Version 4
NRaasTempest: Version 15
NRaasTraffic: Version 21
NRaasTraveler: Version 87
NRaasWoohooer: Version 129
NRaasWoohooerKamaSimtra: Version 129
NRaasWoohooerMassageTable: Version 118
NRaasWoohooerShowerOutdoor: Version 118
NRaasWoohooerToiletStall: Version 127
Nona_SuperHamper
RabbitHoleRigs
ResortTowerRug
RoommatesFix
Sauzer.VampirePowers
ScriptCore
SimIFace
Sims3.Gameplay.Objects.CmoCigarette
Sims3.Gameplay.Objects.CmoPoseBox
Sims3GameplayObjects
Sims3GameplaySystems
Sims3Metadata
Sims3StoreObjects
Skydome_KidsMagic
StoreObjectsCowPasture
StoreObjectsDoorOfLifeAndDeath
StoreObjectsFixerCar
StoreObjectsGalleryShopBase
StoreObjectsGalleryShopDoor
StoreObjectsPhoneTableMidCModsuite
StoreObjectsPriusPlugin
StoreObjectsRollerCoaster
StoreObjectsToyMachine
StoreObjectsTractor
StoreObjectsZoe
System
System.Xml
TS3Apartments
TheKnifeProject
ToddlerAskFor
TreasureBox
UI
Violence And Aggression
ani_Bookcase
ani_BucketOfWater
ani_CupOfTea
bbot_SplitGroupServing
brando130Hitman
cmarXmods.PregnancyController
granthesOMSP
icarusallsorts.Bartending
kap_BedSingleFuton
lizcandorToddlerIndependence
mscorlib
velocitygrass_AddAnyLotSize




Code: Select all

-- Script Errors --


Object:

Name: Aphrodite Ellis
Type: Sims3.Gameplay.Actors.Sim
Object id: 0x4e4300c33dac1dc0
Position: (801.6721, 48.6141, 556.5055)
Room id: 4
Level: 1
Flags: InWorld, IsUsed
Lot: Sims3.Gameplay.Core.Lot
Lot Name: Elixirs et bizarreries d'Alistair
Lot Address: 13 Coronet Cres
IsValid: True
World: UserCreated
OnVacation: False
Season: Fall
Posture: Sims3.Gameplay.Actors.Sim+StandingPosture
Household: Seraphine Cottage
LotHome: Yellow Cottage
Active Actor
SimDescription:

Name: Aphrodite Ellis
Age: YoungAdult
Gender: Female
SimDescriptionId: 5639351992243991744
LotHomeId: 16769434974190427696
HomeWorld: UserCreated
Proper Genealogy
Valid: True
Species: Human
Household: Seraphine Cottage
Occult: None
Alien: 0
Career: Jardinière (7)
School:
Lot: Yellow Cottage
Address: 1 Gibbs Valley Way
Skill Athlétisme: 6
Skill Mise en vente: 0
Skill Charisme: 8
Skill Cuisine: 10
Skill Danse: 0
Skill Equitation: 3
Skill Jardinage: 10
Skill Bricolage: 10
Skill Danser dans le bars: 0
Skill Logique: 3
Skill Jeu de palets: 2
Skill Influence sur les Sims rebelles: 2
Skill Réseau social: 0
Skill Ecriture: 0
Skill Kama Simtra: 2
Skill Collection: 3
Skill Photographie: 0
Skill Compétence Trampoline: 2
Trait Main ultraverte
Trait Vendeuse née
Trait Rebelle
Trait Sang chaud
Trait Végétarienne
Trait Ecolo
Trait Amoureuse de la nature
Trait Main verte
Trait Amie à longue distance
Trait Marchandeuse à la librairie
Trait Vendeuse convaincante
Trait Irrésistible

Interactions:
1: Acheter des produits
Sims3.Gameplay.Objects.Register.ShoppingRegister+BuyItemsWithRegister+BuyItemsDefinition
Sims3.Gameplay.Objects.Register.ShoppingRegister+BuyItemsWithRegister+BuyItemsDefinition
UserDirected

Counter: 12
Sim-Time: Sam. à 10:57
Start-Time: 08/10/2022 23:34:22
PreLoadup-Time: 08/10/2022 23:37:41
Loadup-Time: 08/10/2022 23:40:28
Log-Time: 08/12/2022 15:20:50

System.IndexOutOfRangeException: Array index is out of range.
#0: 0x00014 ldelem.r4 in Sims3.Gameplay.Objects.Register.Sims3.Gameplay.Objects.Register.PotionShopConsignmentRegister:GetValueOfSale (Sims3.Gameplay.Objects.Register.PotionShopConsignmentRegister/ConsignedObject,Sims3.Gameplay.CAS.SimDescription) ([60DA6750] [00000000] )
#1: 0x0020d call in Sims3.Gameplay.Objects.Register.Sims3.Gameplay.Objects.Register.PotionShopConsignmentRegister:ItemDictionary (Sims3.Gameplay.Actors.Sim) (641B4BD0 [B0172000] )
#2: 0x00016 callvirt in Sims3.Gameplay.Objects.Register.Sims3.Gameplay.Objects.Register.ShoppingRegister:ShowShoppingDialog (Sims3.Gameplay.Actors.Sim) (641B4BD0 [B0172000] )
#3: 0x00006 callvirt in Sims3.Gameplay.Objects.Register.ShoppingRegister+BuyItemsWithRegister:PostAnimation () ()
#4: 0x00105 callvirt in Sims3.Gameplay.Objects.Register.ShoppingRegister+BuyWithRegister:Run () ()
#5: 0x000db stloc.u1 in Sims3.Gameplay.Interactions.Sims3.Gameplay.Interactions.InteractionInstance:RunInteractionWithoutCleanup () ()
#6: 0x00348 stloc.u1 in Sims3.Gameplay.ActorSystems.Sims3.Gameplay.ActorSystems.InteractionQueue:ProcessOneInteraction () ()
#7: 0x0011c stfld.u1 in Sims3.Gameplay.Actors.Sims3.Gameplay.Actors.Sim:DoInteraction () ()
#8: 0x00015 br.s in Sims3.Gameplay.Actors.Sims3.Gameplay.Actors.Sim:Simulate () ()
#9: 0x00027 leave.s in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()



Loaded Assemblies:
00309326220984
00403852583973
02112436129743
02807976222726
04636853376387
05673849005218
07453690883353
09521388182540
11647013837200
12351533007981
160430777494916
176121043606988
184351056787436
192339757795875
20688986979704
227439145310033
245253843596753
28550087115658
316532526329398
38410215957284
40175243876159
42942137219734
43869708305341
44906083438714
46089487385502
46754582100841
47525740366507
50643689022136
52463421756649
554004876834636
58890925931088
66077247218458
68507896601644
70214830780050
70313314648820
73453418620011
77474863772658
78025744257503
78840102558016
86814979614473
93149844000877
935839741831444
95108819351660
957500536858471
AddingInteraction
Alcohol
AutomaticLoading
Bludhound.ChangeAtHomeAfterWork
Buzz_AutoRailingDisabler
Buzz_AutoRoofDisabler
Buzz_CleanAllForEveryOne
Buzz_MakeNPCDoorFix
Buzz_RestrictionChoker
Buzz_ScribblingPad
Buzz_ShortCheats
ClassHousekeeperService
Cmominator
ConsortDresscode
ConsortModGrow
ConsortModGrowCake
Demon Baby
Desecrate.WeaponsSystem
Enirei
Enirei.VampireAttack
FloTheory_NapInAllChairs
FullMoon
GemBestCut
GemHiddenCuts
GemUnlockedCuts
GetToKnow
HaveCoffeeWithMe
JunJayMdMEveryoneWorkFromHome
Knight.AnnoyancesDisabler
LRose.Sims3Game.Portability
LWE4
LeapsForCauchy.HorseBoarding
NRaasCareer: Version 87
NRaasDebugEnabler: Version 54
NRaasDreamer: Version 15
NRaasDresser: Version 38
NRaasErrorTrap: Version 100
NRaasGoHere: Version 44
NRaasHomeOpener: Version 11
NRaasHybrid: Version 10
NRaasMasterController: Version 134
NRaasMasterControllerCheats: Version 134
NRaasMasterControllerExpandedTattoo: Version 122
NRaasMasterControllerIntegration: Version 134
NRaasMasterControllerProgression: Version 134
NRaasMover: Version 28
NRaasOnceRead: Version 13
NRaasOverwatch: Version 122
NRaasPorter: Version 42
NRaasPortraitPanel: Version 33
NRaasRegister: Version 81
NRaasRelativity: Version 23
NRaasRetuner: Version 10
NRaasSaver: Version 21
NRaasSleepFreedom: Version 21
NRaasStoryProgression: Version 267
NRaasStoryProgressionExtra: Version 266
NRaasStoryProgressionMoney: Version 267
NRaasStoryProgressionPopulation: Version 267
NRaasStoryProgressionRelationship: Version 267
NRaasStoryProgressionSkill: Version 266
NRaasTagger: Version 4
NRaasTempest: Version 15
NRaasTraffic: Version 21
NRaasTraveler: Version 87
NRaasWoohooer: Version 129
NRaasWoohooerKamaSimtra: Version 129
NRaasWoohooerMassageTable: Version 118
NRaasWoohooerShowerOutdoor: Version 118
NRaasWoohooerToiletStall: Version 127
Nona_SuperHamper
RabbitHoleRigs
ResortTowerRug
RoommatesFix
Sauzer.VampirePowers
ScriptCore
SimIFace
Sims3.Gameplay.Objects.CmoCigarette
Sims3.Gameplay.Objects.CmoPoseBox
Sims3GameplayObjects
Sims3GameplaySystems
Sims3Metadata
Sims3StoreObjects
Skydome_KidsMagic
StoreObjectsCowPasture
StoreObjectsDoorOfLifeAndDeath
StoreObjectsFixerCar
StoreObjectsGalleryShopBase
StoreObjectsGalleryShopDoor
StoreObjectsPhoneTableMidCModsuite
StoreObjectsPriusPlugin
StoreObjectsRollerCoaster
StoreObjectsToyMachine
StoreObjectsTractor
StoreObjectsZoe
System
System.Xml
TS3Apartments
TheKnifeProject
ToddlerAskFor
TreasureBox
UI
Violence And Aggression
ani_Bookcase
ani_BucketOfWater
ani_CupOfTea
bbot_SplitGroupServing
brando130Hitman
cmarXmods.PregnancyController
granthesOMSP
icarusallsorts.Bartending
kap_BedSingleFuton
lizcandorToddlerIndependence
mscorlib
velocitygrass_AddAnyLotSize

User avatar
igazor
Organizer
Reactions:
Posts: 17151
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Array index is out of range error and System.ArgumentException

Post by igazor » August 12th, 2022, 11:18 am

1: If you could, try running a test session with NRaas mods only and throw away some dead plants. If you get no errors, then that confirms the issue is with one or more of the mods you just removed.

2: Try adding in Consigner to see if that makes the cash register behave better. If not, then proceed as in Error 1 with a test run.

3: You seem to have a mod in play not identifying itself in the logs that is meant to adjust, alter, or prevent idle animations. But it was not made properly with pets in mind and the animals are erroring out when they have nothing else to do but stand or sit still.

Witchyboi
Reactions:
Posts: 7
Joined: November 9th, 2020, 3:39 pm

Array index is out of range error and System.ArgumentException

Post by Witchyboi » August 13th, 2022, 7:00 am

After running the game a few times with only Nraas mods and testing out some mods I thought might be the problems I found the issue came from some gardening mods updated up to generation only. It's weird they only started glitching now since I've had them a while but oh well, I found another more recent mod to replace the most important function so it's not too bad.

Consigner seems to have done the trick for the register hoping it stays that way now.

Also found the idle animations mod that caused the pet glitch so happy to report my sims now have a dog lmao.

Out of curiosity do any of the Nraas mods remove some idle animations or does anyone knows of a mod that removes them that is updated to the last patch of the game ?

In any case thank you very much for your help my game is running properly for now at least :angel:

Post Reply