• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Not confirmed [0.45.1] StartIndex cannot be less than zero

RedFlan

Starting Trainer
I don't know how it happened, but when I opened my pc, the game crashed, giving the message in the title
Code:
Kolben Games Crash Log V 1.3
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.45.1
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 27-2-2014 19:31:30
System language: Dutch (Netherlands)(NLD) / Loaded game language: en
Decimal seperator: ,
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game environment: OverworldScreen
Actionscript: Type: Script; Input: computer; Line: 22
File Validation: True
---------------------------

Here is further information:
Message: StartIndex cannot be less than zero.
Parameter name: startIndex
InnerException: NOTHING
BaseException: StartIndex cannot be less than zero.
Parameter name: startIndex
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
TargetSite: Name: Remove [
   Attributes: PrivateScope, Public, HideBySig
   CallingConvention: Standard, HasThis
   ContainsGenericParameters: False
   DeclaringType: System.String
   IsAbstract: False
   IsAssembly: False
   IsConstructor: False
   IsFamily: False
   IsFamilyAndAssembly: False
   IsFamilyOrAssembly: False
   IsFinal: False
   IsGenericMethod: False
   IsGenericMethodDefinition: False
   IsHideBySig: True
   IsPrivate: False
   IsPublic: True
   IsSecurityCritical: False
   IsSecuritySafeCritical: False
   IsSecurityTransparent: True
   IsSpecialName: False
   IsStatic: False
   IsVirtual: False
   MemberType: Method
   MetadataToken: 100664175
   MethodHandle: System.RuntimeMethodHandle
   Module: CommonLanguageRuntimeLibrary
   ReflectedType: System.String
   ]

CallStack:    at System.String.Remove(Int32 startIndex)
   at _2._5DHero.Pokemon.GetPokemonByData(String InputData)
   at _2._5DHero.StorageSystemScreen.LoadBoxes()
   at _2._5DHero.StorageSystemScreen.LoadScreen()
   at _2._5DHero.StorageSystemScreen..ctor(Screen currentScreen)
   at _2._5DHero.ScriptCommander.DoScreen(String subClass)
   at _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
   at _2._5DHero.ScriptV2.DoCommand()
   at _2._5DHero.ScriptV2.Update()
   at _2._5DHero.Script.Update()
   at _2._5DHero.ActionScript.Update()
   at _2._5DHero.OverworldScreen.Update()
   at _2._5DHero.Basic.Update(GameTime gameTime)
   at _2._5DHero.DGame.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at Microsoft.Xna.Framework.Game.Run()
   at _2._5DHero.Program.Main(String[] args)

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
Of course, the question is what caused it and how to resolve that
 
Top