• ✨ 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 a bug 0.26.1 I cannot acess the pokemon storage boxes on Bill's computer, the game crashes.

Status
Not open for further replies.

mion94

Starting Trainer
I have about twelve pokemon in storage and whenever i try to access it, the game suddenly crashes, and i recieve an error message saying that StartIndex cannot be less than zero.Note that the storage used to work and on another character the storage works perfectly.This bug appeared since the 0.26.1 update was made.
Here is the crash report:
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.26.1
Operating system: Microsoft Windows 7 Ultimate [6.1.7600.0]
Decimal seperator: .
---------------------------

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: System.Collections.ListDictionaryInternal
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: 100664145
MethodHandle: System.RuntimeMethodHandle
Module: CommonLanguageRuntimeLibrary
ReflectedType: System.String
]

StackTrace: at System.String.Remove(Int32 startIndex)
at _2._5DHero.StorageSystemScreen.LoadBoxes()
at _2._5DHero.StorageSystemScreen..ctor(Screen currentScreen)
at _2._5DHero.Script.Action()
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)
 

mion94

Starting Trainer
can you attach your box.dat file?
Yes, of course, (note that i've aded the pokemon in the boxes in game not by editing the file)
0,6,{"Pokemon"[175]}{"Experience"[747]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[9]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[23]}{"CatchLocation"[Pokemon Center]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[obtained at]}{"Friendship"[71]}{"isShiny"[1]}{"Attack1"[45,40,40]}{"Attack2"[33,35,35]}{"Attack3"[]}{"Attack4"[]}{"Stats"[26,26,11,18,11,20,10]}{"FPs"[1,0,0,0,0,0]}{"DVs"[3,27,14,4,14,13]}{"AdditionalData"[]}
0,0,{"Pokemon"[17]}{"Experience"[6919]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[21]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[5]}{"CatchLocation"[Route 29]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[127]}{"isShiny"[1]}{"Attack1"[18,20,20]}{"Attack2"[28,15,15]}{"Attack3"[16,35,35]}{"Attack4"[98,30,30]}{"Stats"[59,59,36,35,29,29,37]}{"FPs"[7,13,24,2,12,48]}{"DVs"[10,27,26,13,12,3]}{"AdditionalData"[]}
0,9,{"Pokemon"[46]}{"Experience"[216]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[6]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[17]}{"CatchLocation"[Ilex Forest]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[10,35,35]}{"Attack2"[77,35,35]}{"Attack3"[]}{"Attack4"[]}{"Stats"[21,21,14,13,13,12,8]}{"FPs"[0,0,0,0,0,0]}{"DVs"[6,13,22,25,14,6]}{"AdditionalData"[]}
0,4,{"Pokemon"[164]}{"Experience"[1000]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[10]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[14]}{"CatchLocation"[Ilex Forest]}{"CatchTrainer"[Nate]}{"CatchBall"[4]}{"CatchMethod"[caught at]}{"Friendship"[69]}{"isShiny"[0]}{"Attack1"[33,35,35]}{"Attack2"[45,40,40]}{"Attack3"[95,20,20]}{"Attack4"[64,35,35]}{"Stats"[41,41,16,17,20,24,22]}{"FPs"[0,0,0,0,0,0]}{"DVs"[12,13,18,3,27,6]}{"AdditionalData"[]}
0,5,{"Pokemon"[102]}{"Experience"[1250]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[10]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[23]}{"CatchLocation"[Ilex Forest]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[69]}{"isShiny"[0]}{"Attack1"[95,20,20]}{"Attack2"[140,20,20]}{"Attack3"[33,35,35]}{"Attack4"[]}{"Stats"[32,32,15,22,18,18,15]}{"FPs"[0,0,0,0,0,0]}{"DVs"[5,19,14,27,27,16]}{"AdditionalData"[]}
0,7,{"Pokemon"[11]}{"Experience"[343]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[7]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[20]}{"CatchLocation"[Ilex Forest]}{"CatchTrainer"[Nate]}{"CatchBall"[4]}{"CatchMethod"[caught at]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[106,30,30]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"Stats"[25,25,8,13,9,10,11]}{"FPs"[0,0,0,0,0,0]}{"DVs"[19,18,7,1,6,20]}{"AdditionalData"[]}
0,8,{"Pokemon"[27]}{"Experience"[216]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[6]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[7]}{"CatchLocation"[Union Cave]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[10,35,35]}{"Attack2"[111,40,40]}{"Attack3"[28,15,15]}{"Attack4"[40,35,35]}{"Stats"[24,24,14,18,7,10,10]}{"FPs"[0,0,0,0,0,0]}{"DVs"[28,0,14,1,20,15]}{"AdditionalData"[]}
0,3,{"Pokemon"[15]}{"Experience"[1644]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[11]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[6]}{"CatchLocation"[Ilex Forest]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[75]}{"isShiny"[0]}{"Attack1"[106,30,30]}{"Attack2"[15,30,30]}{"Attack3"[148,20,20]}{"Attack4"[]}{"Stats"[38,38,24,17,18,23,22]}{"FPs"[1,2,2,1,0,4]}{"DVs"[24,11,29,30,4,3]}{"AdditionalData"[]}
0,2,{"Pokemon"[19]}{"Experience"[4866]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[16]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[18]}{"CatchLocation"[Route 34]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[33,35,35]}{"Attack2"[39,30,30]}{"Attack3"[116,30,30]}{"Attack4"[158,15,15]}{"Stats"[38,38,25,18,17,16,29]}{"FPs"[0,0,0,0,0,0]}{"DVs"[12,13,10,22,0,6]}{"AdditionalData"[]}
0,1,{"Pokemon"[32]}{"Experience"[5395]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[19]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[16]}{"CatchLocation"[Route 35]}{"CatchTrainer"[Nate]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[69]}{"isShiny"[1]}{"Attack1"[43,30,30]}{"Attack2"[24,30,30]}{"Attack3"[40,35,35]}{"Attack4"[31,20,20]}{"Stats"[49,49,30,20,25,25,26]}{"FPs"[0,0,0,0,0,0]}{"DVs"[12,15,13,12,26,10]}{"AdditionalData"[]}
1,0,{"Pokemon"[250]}{"Experience"[185]}{"Gender"[2]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[5]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[5]}{"CatchLocation"[at New Bark Town]}{"CatchTrainer"[Nate]}{"CatchBall"[1]}{"CatchMethod"[Bauss]}{"Friendship"[158]}{"isShiny"[1]}{"Attack1"[237,30,30]}{"Attack2"[53,30,30]}{"Attack3"[177,25,25]}{"Attack4"[126,25,25]}{"Stats"[514,514,511,508,510,513,509]}{"FPs"[30,36,23,12,10,49]}{"DVs"[24,24,0,20,8,26]}{"AdditionalData"[]}
1,5,{"Pokemon"[150]}{"Experience"[215]}{"Gender"[2]}{"EggSteps"[0]}{"Item"[0]}{"NickName"[]}{"Level"[5]}{"OT"[53738]}{"Ability"[65]}{"Status"[]}{"Nature"[16]}{"CatchLocation"[Route 29]}{"CatchTrainer"[Nate]}{"CatchBall"[1]}{"CatchMethod"[caught at]}{"Friendship"[140]}{"isShiny"[1]}{"Attack1"[138,30,30]}{"Attack2"[94,20,20]}{"Attack3"[161,10,10]}{"Attack4"[237,20,20]}{"Stats"[863,863,860,858,814,808,811]}{"FPs"[8,12,26,2,12,50]}{"DVs"[10,27,26,13,12,3]}{"AdditionalData"[]}
 

nilllzz

Original Developer
Administrator
P3D Developer
can you look if there is an empty line somewhere in the file (like on the bottom of it)?
 

mion94

Starting Trainer
can you look if there is an empty line somewhere in the file (like on the bottom of it)?
I apologise for the time it took me to answer. I've looked over the Box.dat and i am unable to see anything missing, however deleting my pokemon from the Box.dat fixes the problem, but obviously i loose my pokemon.Removing a pokemon line one by one solved nothing and i also believe it prooves that there is nothing wrong with the lines in box.dat.
 

nilllzz

Original Developer
Administrator
P3D Developer
I copied the lines and inserted them into my save file and tested it - it runs just fine.​
Maybe you can try the same by copying the lines from your post and inserting them into your box.dat.​
This might fix the problem.​
 

Saruish

Dragon Tamer
I too have ran into this issue. I'm unsure what exactly happen to cause it to crash .But I think it has to do with logging out with a pokemon still on your cursor. Should be a easy thing to fix tho. If that the case. I didnt notice my had a pokemon due to the fact the unown sprite was missing .
 

mion94

Starting Trainer
I copied the lines and inserted them into my save file and tested it - it runs just fine.
Maybe you can try the same by copying the lines from your post and inserting them into your box.dat.
This might fix the problem.
This is the weirdest thing ever, because it actually worked.Very weird indeed. Well i guess the problem is solved then, thank you very much i appreciate your existence.
 
Status
Not open for further replies.
Top