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

Fixed [Indev 0.49] Fishing Crash

Exemplary

Gym Leader
Describe the bug you experienced here.
On route 13, I tried fishing with the Old Rod to get the route in habitat mode.

What I expected to happen:
I wanted to run from a magikarp to fill in habitat mode

What actually happened:
It crashed before the battle started

Steps to reproduce:
1. Go to route 13
2. use the old rod on some water
3. It will crash after it shows you the pokeman you caught, but before the battle starts

(Add a crash log here if available and enclose it in the code tag with this button:
)


Code:
Kolben Games Crash Log V 2.3
Pokémon 3D has crashed!
// Kernel PANIC

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

A backup file was created here: 2014-06-14_19.23.24_backup.txt
Visit this page in order to get your save restored:
http://pokemon3d.net/forum/forums/backup_support/create-thread

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

Game information:

Pokémon 3D Indev version: 0.49 (79)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (37802)
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Direct; Input: version=2
@player.showrod(0)
@text.show(. . . . . . . . . .)
@text.show(Oh!~A bite!)
@player.hiderod
@npc.spawn(50,0.1,12,0,...,[POKEMON|N]129,0,0,POKEMON,1337,Still)
@Level.Update
@pokemon.cry(129)
@level.wait(50)
@text.show(The wild Magikarp~attacked!)
@npc.remove(1337)
@battle.setvar(divebattle,true)
@battle.wild({"Pokemon"[129]}{"Experience"[1250]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[10]}{"OT"[00000]}{"Ability"[33]}{"Status"[]}{"Nature"[16]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[150,40,40]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"HP"[25]}{"EVs"[0,0,0,0,0,0]}{"IVs"[18,20,27,24,18,27]}{"AdditionalData"[]}{"IDValue"[ZkPwmxLZaKq]})
:end; Line: 12
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=routes\route13.dat
UsedStrength=False
EntityCount=1374

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

System specifications:

Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
Core architecture: 64 Bit
System time: 6/14/2014 7:23:23 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 8 Gigabyte
Available logical processors: 4

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

.Net installation information:

v2.0.50727  2.0.50727.5420  SP2
v3.0  3.0.30729.5420  SP2
v3.5  3.5.30729.5420  SP1
v4 
  Client  4.5.50938
  Full  4.5.50938
v4.0 
  Client  4.0.0.0

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

Graphics Card information:

[CardName(s): "ATI Radeon HD 4650 "]
[CardRAM(s) : "1073741824"]

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

Error information:

Message: startIndex must be less than length of string.
Parameter name: startIndex
InnerException: NOTHING
BaseException: startIndex must be less than length of string.
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:

  at System.String.Remove(Int32 startIndex)
  at _2._5DHero.ScriptCommander.DoBattle(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.
 
Top