• ✨ 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

Duplicate StartIndex crash

goldsoultheory

Starting Trainer
Code:
Kolben Games Crash Log V 2.0
Pokémon 3D has crashed!

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.46
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (216850)
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: rival\rival_azalea\startscript; Line: 29
File Validation: True

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 8 [6.2.9200.0]
System time: 21-03-2014 06:57:34 p.m.
System language: Spanish (Bolivarian Republic of Venezuela)(ESV) / Loaded game language: en
Decimal separator: ,

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "AMD Radeon HD 8610G"]
[CardRAM(s) : "805306368"]

---------------------------------------------------------------------------------

Error 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

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   en System.String.Remove(Int32 startIndex)
   en _2._5DHero.ScriptComparer.GetArgumentValue(Object inputString)
   en _2._5DHero.ScriptCommander.Parse(String input)
   en _2._5DHero.Trainer.LoadTrainerNew(String[] Data)
   en _2._5DHero.Trainer..ctor(String TrainerFile)
   en _2._5DHero.ScriptCommander.DoBattle(String subClass)
   en _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
   en _2._5DHero.ScriptV2.DoCommand()
   en _2._5DHero.ScriptV2.Update()
   en _2._5DHero.Script.Update()
   en _2._5DHero.ActionScript.Update()
   en _2._5DHero.OverworldScreen.Update()
   en _2._5DHero.Basic.Update(GameTime gameTime)
   en _2._5DHero.DGame.Update(GameTime gameTime)
   en Microsoft.Xna.Framework.Game.Tick()
   en Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   en Microsoft.Xna.Framework.GameHost.OnIdle()
   en Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   en Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   en System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.Run(Form mainForm)
   en Microsoft.Xna.Framework.WindowsGameHost.Run()
   en Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   en Microsoft.Xna.Framework.Game.Run()
   en _2._5DHero.Program.Main(String[] args)

---------------------------------------------------------------------------------
What can I do? Me and my friend having the same crash when you try leave azalea town and the rival come to fight, the game just crash before the battle start.
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Code:
Kolben Games Crash Log V 2.0
Pokémon 3D has crashed!

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.46
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (216850)
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: rival\rival_azalea\startscript; Line: 29
File Validation: True

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 8 [6.2.9200.0]
System time: 21-03-2014 06:57:34 p.m.
System language: Spanish (Bolivarian Republic of Venezuela)(ESV) / Loaded game language: en
Decimal separator: ,

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "AMD Radeon HD 8610G"]
[CardRAM(s) : "805306368"]

---------------------------------------------------------------------------------

Error 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

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   en System.String.Remove(Int32 startIndex)
   en _2._5DHero.ScriptComparer.GetArgumentValue(Object inputString)
   en _2._5DHero.ScriptCommander.Parse(String input)
   en _2._5DHero.Trainer.LoadTrainerNew(String[] Data)
   en _2._5DHero.Trainer..ctor(String TrainerFile)
   en _2._5DHero.ScriptCommander.DoBattle(String subClass)
   en _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
   en _2._5DHero.ScriptV2.DoCommand()
   en _2._5DHero.ScriptV2.Update()
   en _2._5DHero.Script.Update()
   en _2._5DHero.ActionScript.Update()
   en _2._5DHero.OverworldScreen.Update()
   en _2._5DHero.Basic.Update(GameTime gameTime)
   en _2._5DHero.DGame.Update(GameTime gameTime)
   en Microsoft.Xna.Framework.Game.Tick()
   en Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   en Microsoft.Xna.Framework.GameHost.OnIdle()
   en Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   en Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   en System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.Run(Form mainForm)
   en Microsoft.Xna.Framework.WindowsGameHost.Run()
   en Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   en Microsoft.Xna.Framework.Game.Run()
   en _2._5DHero.Program.Main(String[] args)

---------------------------------------------------------------------------------
What can I do? Me and my friend having the same crash when you try leave azalea town and the rival come to fight, the game just crash before the battle start.
Duplicate bug report. This will be fixed in the next version. Just catch and/or train your Pokémon while awaiting the next update.

Link to the original report:
http://pokemon3d.net/forum/threads/6852/
 
Top