• ✨ 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 pokemon has been crashed (version 0.39)

mstamma

Starting Trainer
What to do about this?


Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.39
Operating system: Microsoft Windows 7 Professional  [6.1.7601.65536]
System time: 17-11-2013 15:03:29
System language: NLDLoaded language: en
Decimal seperator: ,
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (116544)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: rocketbase\trap4; Line: 15
---------------------------

Here is further information:
Message: StartIndex kan niet minder dan nul zijn.
Parameternaam: startIndex
InnerException: NOTHING
BaseException: StartIndex kan niet minder dan nul zijn.
Parameternaam: 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:    bij System.String.Remove(Int32 startIndex)
  bij _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
  bij _2._5DHero.ScriptV2.DoCommand()
  bij _2._5DHero.ScriptV2.Update()
  bij _2._5DHero.Script.Update()
  bij _2._5DHero.ActionScript.Update()
  bij _2._5DHero.OverworldScreen.Update()
  bij _2._5DHero.Basic.Update(GameTime gameTime)
  bij _2._5DHero.DGame.Update(GameTime gameTime)
  bij Microsoft.Xna.Framework.Game.Tick()
  bij Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  bij Microsoft.Xna.Framework.GameHost.OnIdle()
  bij Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  bij Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  bij System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  bij System.Windows.Forms.Application.Run(Form mainForm)
  bij Microsoft.Xna.Framework.WindowsGameHost.Run()
  bij Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  bij Microsoft.Xna.Framework.Game.Run()
  bij _2._5DHero.Program.Main(String[] args)

You should report this error.

Go to "http://pokemon3d.net/forums/6/create-thread/" to report this crash there.
 
J

jianmingyong

Guest
I think this bug has been fixed by @Darkfire. You might want to wait for the next update to come. It is related to the traps that has some obvious typos in it that caused it to crash.
 
J

jianmingyong

Guest
I think the next update will be delayed further until dev have added new feature into the game.

If you want to continue your game without waiting for the update to come,
Change the file "pokemon\scripts\rocketbase\trap4.dat" to the following below for instant fix. A notepad will be able to open them.
Code:
version=2
:if:<register.registered(TRHQ_switch)>=True <or> <register.registered(trap4)>=True
:end
:endif

@Sound.play(trhq_alarm,true)
@Player.turnto(0)

@Text.show(It seems to be~some sort of camera.)
@Music.play(johto_rocket_encounter)
@npc.Warp(0,2,0,16)
@npc.Turn(0,30)
@npc.Warp(1,24,0,16)
@npc.Turn(1,1)
@npc.Move(0,1)
@Player.turnto(1)

@battle.startTrainer(rocketbase\t1)
@register.Unregister(trainer_rocketbase\t1)

@npc.Turn(0,1)
@npc.Move(0,10)
@npc.Move(1,1)
@Player.turnto(3)


@npc.Warp(0,0,-1,0)
@battle.startTrainer(rocketbase\t2)
@register.Unregister(trainer_rocketbase\t2)
@Register.register(trap4)
@Music.play(rHideout)

@npc.Turn(1,3)
@npc.Move(1,3)
@npc.Turn(1,0)
@npc.Move(1,5)
@npc.Warp(1,0,-1,0)
:end
 
Last edited by a moderator:

mstamma

Starting Trainer
I've changed:
npc.Warp(0,20,0,16) @npc.Turn(0,30) into
npc.Warp(0,2,0,16) @npc.Turn(0,30) and now it wont crash anymore!
 
J

jianmingyong

Guest
you will sure only be able to go through trap 4 on this fix. Thus you are adviced to save after that :D I remembered on previous few threads... trap #5 also have some little bug that has been fix in the next version but it is still not out yet.
 
Top