• ✨ 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 [0.39] Team Rocket Grunt Bug

Zoxnoxaz

Starting Trainer
When you meet lance and going to stop team rocket forcing maigkarp to evolve.
Soon when you meet the fourth Grunt. Soon he walks away normally and soon stops and freeze!
 

Leahkim

Dragon Tamer
Uhhhh, to be more specific. It's the 2nd grunt in the 2nd trap camera in the hideout. He takes about three steps and it freezes.

Okay, I played through it again, checked my location with the scripts and found the problem to be in script file "trap 3"
On the middle line of the last block of coding, the line should be this: @npc.Turn(1,2) but instead is @noc.Turn(1,2).
So just replace that "o" with a "p" and you're all set to go. I just did a test run and this fixes the freeze.
 
Last edited by a moderator:

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Uhhhh, to be more specific. It's the 2nd grunt in the 2nd trap camera in the hideout. He takes about three steps and it freezes.

Okay, I played through it again, checked my location with the scripts and found the problem to be in script file "trap 3"
On the middle line of the last block of coding, the line should be this: @npc.Turn(1,2) but instead is @noc.Turn(1,2).
So just replace that "o" with a "p" and you're all set to go. I just did a test run and this fixes the freeze.
Good work. Now shave, you look like a dork.
 

Leahkim

Dragon Tamer
While not technically a duplicate i did fix all issues with the traps after this:
I don't suppose you have a solution for this one as well: Arithmetic operation resulted in an overflow.?
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 8.1 [6.2.9200.0]
System time: 11/11/2013 5:42:36 PM
System language: ENULoaded language: en
Decimal seperator: .
Content Packs: {SafariUI, Final Fantasy Music Pack Remastered, Kira_Pro_Grafik_HD}
Active GameMode: Pokemon 3D
Operating online: TRUE (119802)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: rocketbase\trap4; Line: 9
---------------------------

Here is further information:
Message: Arithmetic operation resulted in an overflow.
InnerException: NOTHING
BaseException: Arithmetic operation resulted in an overflow.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: 2.5DHero
TargetSite: Name: TextureRectangle [
  Attributes: PrivateScope, Public, Static
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: _2._5DHero.Textures
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: False
  IsPrivate: False
  IsPublic: True
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100666443
  MethodHandle: System.RuntimeMethodHandle
  Module: 2.5DHero.exe
  ReflectedType: _2._5DHero.Textures
  ]

StackTrace:    at _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  at _2._5DHero.NPC.ChangeTexture()
  at _2._5DHero.NPC.Update()
  at _2._5DHero.ScriptCommander.DoNPC(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/forums/6/create-thread/" to report this crash there.
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
While not technically a duplicate i did fix all issues with the traps after this:
I don't suppose you have a solution for this one as well: Arithmetic operation resulted in an overflow.?
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 8.1 [6.2.9200.0]
System time: 11/11/2013 5:42:36 PM
System language: ENULoaded language: en
Decimal seperator: .
Content Packs: {SafariUI, Final Fantasy Music Pack Remastered, Kira_Pro_Grafik_HD}
Active GameMode: Pokemon 3D
Operating online: TRUE (119802)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: rocketbase\trap4; Line: 9
---------------------------

Here is further information:
Message: Arithmetic operation resulted in an overflow.
InnerException: NOTHING
BaseException: Arithmetic operation resulted in an overflow.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: 2.5DHero
TargetSite: Name: TextureRectangle [
  Attributes: PrivateScope, Public, Static
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: _2._5DHero.Textures
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: False
  IsPrivate: False
  IsPublic: True
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100666443
  MethodHandle: System.RuntimeMethodHandle
  Module: 2.5DHero.exe
  ReflectedType: _2._5DHero.Textures
  ]

StackTrace:    at _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  at _2._5DHero.NPC.ChangeTexture()
  at _2._5DHero.NPC.Update()
  at _2._5DHero.ScriptCommander.DoNPC(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/forums/6/create-thread/" to report this crash there.
This might be Content Pack related. Try again with all of your Content Packs disabled.
 

Darkfire

Administrator
Administrator
P3D Developer
While not technically a duplicate i did fix all issues with the traps after this:
I don't suppose you have a solution for this one as well: Arithmetic operation resulted in an overflow.?
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 8.1 [6.2.9200.0]
System time: 11/11/2013 5:42:36 PM
System language: ENULoaded language: en
Decimal seperator: .
Content Packs: {SafariUI, Final Fantasy Music Pack Remastered, Kira_Pro_Grafik_HD}
Active GameMode: Pokemon 3D
Operating online: TRUE (119802)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: rocketbase\trap4; Line: 9
---------------------------

Here is further information:
Message: Arithmetic operation resulted in an overflow.
InnerException: NOTHING
BaseException: Arithmetic operation resulted in an overflow.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: 2.5DHero
TargetSite: Name: TextureRectangle [
  Attributes: PrivateScope, Public, Static
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: _2._5DHero.Textures
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: False
  IsPrivate: False
  IsPublic: True
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100666443
  MethodHandle: System.RuntimeMethodHandle
  Module: 2.5DHero.exe
  ReflectedType: _2._5DHero.Textures
  ]

StackTrace:    at _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  at _2._5DHero.NPC.ChangeTexture()
  at _2._5DHero.NPC.Update()
  at _2._5DHero.ScriptCommander.DoNPC(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/forums/6/create-thread/" to report this crash there.
Check that file for a missing ')'
I think that is the specific issue listed there(There were 3-4 issues will traps 3-5 and all are fixed)
 

Leahkim

Dragon Tamer
The crash occurs right after the text about the camera appears, but I don't see any problems in the script at that spot.
 

Leahkim

Dragon Tamer
Yayyy, I fixed trap5 as well: inserted 2 missing "npc"s and edited @npc.Turn(0,10) to (0,2). He walked into the wall but it didn't crash ^.^
trap4: edited npc.Turn(0,30) to npc.Turn(0,3) and inserted a "." where there was a space
 
Last edited:
Top