Aller au contenu

Messages recommandés

Posté(e)

Hi. I can't seem to delete the offending lot that is causing this error. I'm only given the options to continue or quit. When I continue, the app doesn't display any info about the lot. Kindly help. TYIA

 

 

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Sims4.UserData.TrayItem.GetFiles(String libraryPath, Boolean& containsErrors, Int32[]& failedIndice, Boolean throwMainFileError)
   at Sims4TrayImporter.Helpers.TrayFilesHelper.DeleteItem(TrayItem trayItem, Boolean recybleBin)
   at Sims4TrayImporter.MainForm.miItemDelete_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Command.DispatchID(Int32 id)
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

  • Team
Posté(e)

Looks like the original file was renamed and is causing the error. 😕

 

Since you have the timestamp of the file (4/3/2021😞

  • Open your Tray folder
  • Sort the folder by Date
  • Look for a .trayitem file with the matching date that doesn't start with 0x00000003! or one near a .rmi or .room file.
    There should be at least 4 files (1x .trayitem, 2x .rmi and 1x .room) but since the thumbnails (.rmi files) are missing, the count should be 2 or 1 only.

Or wait for the fix. 😉

Posté(e)

Thanks for your help. So I found the item however there were no .rmi or .room files associated, as highlighted below. I left the file that begins with 0x00000003!. 

 

image.thumb.png.ac2a0bfecb3a4a2a85d3cda059b94a45.png

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.



×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer. Conditions d’utilisation Politique de confidentialité