• ✨ 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] Battle Crash

Status
Not open for further replies.

Prince Vade

Champion
Trusted Support
Retired Mod
Alright, this is my first time doing this, mostly cause I can typically fix these myself.
I am scripting up a battle in a map that I made, I linked the battle map just fine, and battled ok about an hour ago.
Then, I adjusted the trainer's.dat file and now it does this.
I added a pokemon, changed the item ID to 12, lowered it down to instead of 6, added a pokemon and gave all these pokemon the item using ID number 12.
Battle starts fine, battle map looks as it should. I go in to select a move, whether it be night shade, hypnosis, or dizzy punch.

I am not upgrading to .26.1 yet for various reasons.
In the following spoiler is a copy of the crash.
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.25
Operating system: Microsoft Windows 8 [6.2.9200.0]
Decimal seperator: .
---------------------------

Here is further information:
Message: Object reference not set to an instance of an object.
InnerException: NOTHING
Source: 2.5DHero
StackTrace: at _2._5DHero.Battle.AttackFirst(Attack ownAttack, Attack oppAttack)
at _2._5DHero.Battle.StartAttack(Int32 AttackIndex)
at _2._5DHero.BattleMenu.Update()
at _2._5DHero.Battle.Update()
at _2._5DHero.BattleScreen.UpdateMe(Int32 UpdateIndex)
at _2._5DHero.BattleScreen.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://www.pokemon3d.net/forum/" to report the error in the bugs section.

Just updated to 0.26.1 and the crash is doing the same thing.
 

Prince Vade

Champion
Trusted Support
Retired Mod
Quick Update: Does not work on 0.26.1 either.
Every move with any Pokemon results in the same crash.
 

Prince Vade

Champion
Trusted Support
Retired Mod
I am sorry for the triple post, this problem has been fixed.​
The problem was the "Item" Part of the trainer's Pokemon.​
This was set incorrectly and has been fixed.​
 
Status
Not open for further replies.
Top