Pixelmon Mod - Bug tracker

[9.0.0] Pokemon will survive in battle with 0% HP fix completed

Ticket description:
Image

Comments

#25522 Posted by Sophie847 » 26 May 2022 05:43

Hi there,

I haven't been able to reproduce this - I tried setting up the same situation shown in your screenshot (A Meowth attacking an Arrokuda with Pay Day) but the Arrokuda fainted when reaching 0% health. Is there a pattern or something else you need to do to make this occur? Additionally, a battle log may be useful here (this can be generated with the new /battlelog command, performed in battle after this occurs).

#25533 Posted by ikbikslik » 26 May 2022 13:01

I saw this occur two times--once with my pokemon (at which point the battle hung and I had to use /endbattle) and once as shown in the image. I didn't notice a pattern so I can't offer any reproduction steps. I'll be sure to collect the battle log if it occurs again.

#25535 Posted by ikbikslik » 26 May 2022 14:36

Image

It occurred again. I couldn't get /battlelog because I couldn't type any commands while in battle.

I couldn't kill the pokemon (my attacks did nothing), and after catching it I found it to be at full-hp inside my PC.

#25538 Posted by ikbikslik » 26 May 2022 16:01

It happened again:

Image

Battle log:

Code: Select allPixelmon Version 9.0.0
Battle data 2022-05-26T20:55:59.343Z

Team #0 Player Le_Schwin
   {EVSpeed:75s,StatsDefense:62s,IVAttack:20b,Growth:4b,Moveset:[{MoveID:"Razor Leaf",MovePP:24b},{MoveID:"Screech",MovePP:40b},{MoveID:"Knock Off",MovePP:20b},{MoveID:"Slam",MovePP:20b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:151s,eggCycles:-1,EVAttack:49s,StatsSpecialAttack:40s,IVSpDef:8b,CaughtBall:"poke_ball",IVHP:17b,EVHP:8s,ndex:811,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-1381098083,1510686995,-1844962774,-1684879201],StatsSpecialDefense:52s,Nature:24b,Ability:"Overgrow",StatsHP:98s,IVDefense:28b,Health:0,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:7s,DynamaxLevel:1,Variant:"",StatsSpeed:73s,EVSpecialAttack:6s,StatsAttack:73s,IVSpeed:23b,Level:34,IVSpAtt:9b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:110,RelrnMoves:[]}
   {EVSpeed:68s,StatsDefense:35s,IVAttack:7b,Growth:1b,Moveset:[{MoveID:"Venoshock",MovePP:14b},{MoveID:"Twineedle",MovePP:19b},{MoveID:"Toxic Spikes",MovePP:20b},{MoveID:"Focus Energy",MovePP:30b}],PersistentData:{},Gender:1b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:143s,eggCycles:-1,EVAttack:40s,StatsSpecialAttack:41s,IVSpDef:21b,CaughtBall:"poke_ball",IVHP:28b,EVHP:11s,ndex:15,palette:"shiny",ribbon_display:"NONE",ribbons:[],UUID:[I;1599458752,-1673181244,-1196987465,1171938531],StatsSpecialDefense:64s,Nature:23b,Ability:"Swarm",StatsHP:88s,IVDefense:17b,Health:13,HeldItemStack:{id:"pixelmon:razor_fang",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:12s,DynamaxLevel:0,Variant:"",StatsSpeed:56s,EVSpecialAttack:6s,StatsAttack:64s,IVSpeed:29b,Level:30,IVSpAtt:31b,NBT_VERSION:2b,EVSpecialDefense:3s,EXP:2727,RelrnMoves:[]}
   {EVSpeed:11s,StatsDefense:114s,IVAttack:19b,Growth:3b,Moveset:[{MoveID:"Thunder Wave",MovePP:19b},{MoveID:"Stone Edge",MovePP:5b},{MoveID:"Power Gem",MovePP:18b},{MoveID:"Discharge",MovePP:15b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:79s,eggCycles:-1,EVAttack:6s,StatsSpecialAttack:45s,IVSpDef:30b,CaughtBall:"poke_ball",IVHP:24b,EVHP:3s,ndex:299,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-917496501,666257486,-1869502936,1677233238],StatsSpecialDefense:89s,Nature:13b,Ability:"MagnetPull",StatsHP:83s,IVDefense:4b,Health:43,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:35s,EVSpecialAttack:4s,StatsAttack:44s,IVSpeed:5b,Level:40,IVSpAtt:11b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:2449,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:19s,IVAttack:7b,Growth:2b,Moveset:[{MoveID:"Hypnosis",MovePP:20b},{MoveID:"Water Gun",MovePP:25b},{MoveID:"Pound",MovePP:35b},{MoveID:"Mud Shot",MovePP:15b}],PersistentData:{},Gender:1b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:67s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:16s,IVSpDef:9b,CaughtBall:"poke_ball",IVHP:22b,EVHP:1s,ndex:60,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-1175093139,-228504145,-2125339177,-878492788],StatsSpecialDefense:16s,Nature:10b,Ability:"WaterAbsorb",StatsHP:36s,IVDefense:20b,Health:36,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:27s,EVSpecialAttack:0s,StatsAttack:18s,IVSpeed:20b,Level:13,IVSpAtt:12b,NBT_VERSION:2b,EVSpecialDefense:1s,EXP:176,RelrnMoves:[]}
   {EVSpeed:21s,StatsDefense:45s,IVAttack:16b,Growth:3b,Moveset:[{MoveID:"Fake Out",MovePP:10b},{MoveID:"Power Gem",MovePP:20b},{MoveID:"Assurance",MovePP:10b},{MoveID:"Pay Day",MovePP:20b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:82s,eggCycles:-1,EVAttack:9s,StatsSpecialAttack:52s,IVSpDef:28b,CaughtBall:"poke_ball",IVHP:5b,EVHP:3s,ndex:53,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;1675338461,1607880009,-1673582832,-1870563041],StatsSpecialDefense:58s,Nature:22b,Ability:"Technician",StatsHP:83s,IVDefense:27b,Health:83,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:2s,DynamaxLevel:0,Variant:"",StatsSpeed:85s,EVSpecialAttack:2s,StatsAttack:54s,IVSpeed:23b,Level:31,IVSpAtt:23b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:2297,RelrnMoves:[]}
   {EVSpeed:18s,StatsDefense:33s,IVAttack:7b,Growth:4b,Moveset:[{MoveID:"Splash",MovePP:40b},{MoveID:"Teleport",MovePP:20b}],PersistentData:{},Gender:2b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:131s,eggCycles:-1,EVAttack:12s,StatsSpecialAttack:31s,IVSpDef:30b,CaughtBall:"ultra_ball",IVHP:31b,EVHP:2s,ndex:789,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-786885169,-171096784,-2116236249,351425871],StatsSpecialDefense:32s,Nature:2b,Ability:"Unaware",StatsHP:75s,IVDefense:31b,Health:75,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:4s,DynamaxLevel:0,Variant:"",StatsSpeed:28s,EVSpecialAttack:1s,StatsAttack:25s,IVSpeed:0b,Level:30,IVSpAtt:31b,NBT_VERSION:2b,EVSpecialDefense:1s,EXP:3260,RelrnMoves:[]}
Team #1 Trainer Beckham
   {EVSpeed:0s,StatsDefense:60s,IVAttack:5b,Growth:4b,Moveset:[{MoveID:"Feint",MovePP:10b},{MoveID:"Quick Attack",MovePP:28b},{MoveID:"Tackle",MovePP:34b},{MoveID:"Agility",MovePP:30b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:49s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:56s,IVSpDef:19b,CaughtBall:"poke_ball",IVHP:6b,EVHP:0s,ndex:815,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-702341001,1571442364,-1626513410,1734468640],StatsSpecialDefense:68s,Nature:21b,Ability:"Blaze",StatsHP:100s,IVDefense:13b,Health:0,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:95s,EVSpecialAttack:0s,StatsAttack:76s,IVSpeed:27b,Level:34,IVSpAtt:21b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:51s,IVAttack:1b,Growth:1b,Moveset:[{MoveID:"Brine",MovePP:10b},{MoveID:"Tackle",MovePP:35b},{MoveID:"Fake Out",MovePP:9b},{MoveID:"Knock Off",MovePP:16b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:69s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:35s,IVSpDef:5b,CaughtBall:"poke_ball",IVHP:1b,EVHP:0s,ndex:297,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;103607809,-44351038,-1248161264,958044926],StatsSpecialDefense:47s,Nature:4b,Ability:"ThickFat",StatsHP:142s,IVDefense:17b,Health:0,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:44s,EVSpecialAttack:0s,StatsAttack:86s,IVSpeed:17b,Level:34,IVSpAtt:9b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:63s,IVAttack:8b,Growth:4b,Moveset:[{MoveID:"Low Sweep",MovePP:20b},{MoveID:"Bulk Up",MovePP:19b},{MoveID:"Retaliate",MovePP:2b},{MoveID:"Counter",MovePP:20b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:70s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:33s,IVSpDef:7b,CaughtBall:"poke_ball",IVHP:17b,EVHP:0s,ndex:539,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-1689028010,-2051978004,-1799329056,-2099822618],StatsSpecialDefense:58s,Nature:1b,Ability:"InnerFocus",StatsHP:100s,IVDefense:21b,Health:31,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:69s,EVSpecialAttack:0s,StatsAttack:92s,IVSpeed:19b,Level:34,IVSpAtt:23b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}

Turn #0
 - Player Le_Schwin pokemon=Cosmog, action=SWITCH, switchingTo=c9501d4b-27b6-484e-9091-a62863f88c56
 - Trainer Beckham pokemon=Cinderace, action=ATTACK, attack=AttackBase{attackName='Tackle'}, targets=Nosepass , results=[MoveResults{damage=4, fullDamage=4, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #1
 - Trainer Beckham pokemon=Cinderace, action=ATTACK, attack=AttackBase{attackName='Quick Attack'}, targets=Nosepass , results=[MoveResults{damage=4, fullDamage=4, accuracy=0, priority=1.0, result=hit, weightMod=0.0}]
 - Player Le_Schwin pokemon=Nosepass, action=ATTACK, attack=AttackBase{attackName='Power Gem'}, targets=Hariyama , results=[MoveResults{damage=55, fullDamage=55, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #2
 - Trainer Beckham pokemon=Cinderace, action=ATTACK, attack=AttackBase{attackName='Quick Attack'}, targets=Nosepass , results=[MoveResults{damage=4, fullDamage=4, accuracy=0, priority=1.0, result=hit, weightMod=0.0}]
 - Player Le_Schwin pokemon=Nosepass, action=ATTACK, attack=AttackBase{attackName='Power Gem'}, targets=Hariyama , results=[MoveResults{damage=45, fullDamage=58, accuracy=0, priority=0.0, result=killed, weightMod=0.0}]
Turn #3
 - Trainer Beckham pokemon=Hariyama, action=ATTACK, attack=AttackBase{attackName='Fake Out'}, targets=Thwackey , results=[MoveResults{damage=4, fullDamage=4, accuracy=0, priority=3.0, result=hit, weightMod=0.0}]
 - Player Le_Schwin pokemon=Nosepass, action=ATTACK, attack=null, targets=Hariyama , results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=unable, weightMod=0.0}]
Turn #4
 - Trainer Beckham pokemon=Hariyama, action=ATTACK, attack=AttackBase{attackName='Knock Off'}, targets=Thwackey , results=[MoveResults{damage=24, fullDamage=24, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Player Le_Schwin pokemon=Nosepass, action=ATTACK, attack=AttackBase{attackName='Thunder Wave'}, targets=Hariyama , results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=proceed, weightMod=0.0}]
Turn #5
 - Player Le_Schwin pokemon=Nosepass, action=SWITCH, switchingTo=adae1d9d-5a0b-4113-9208-1a2a9b92c89f
 - Trainer Beckham pokemon=Hariyama, action=ATTACK, attack=AttackBase{attackName='Knock Off'}, targets=Thwackey , results=[MoveResults{damage=26, fullDamage=26, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #6
 - Player Le_Schwin pokemon=Thwackey, action=ATTACK, attack=AttackBase{attackName='Max Overgrowth'}, targets=Sawk , results=[MoveResults{damage=64, fullDamage=64, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Trainer Beckham pokemon=Hariyama, action=ATTACK, attack=AttackBase{attackName='Knock Off'}, targets=Thwackey , results=[MoveResults{damage=27, fullDamage=27, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #7
 - Player Le_Schwin pokemon=Thwackey, action=ATTACK, attack=AttackBase{attackName='Max Overgrowth'}, targets=Sawk , results=[MoveResults{damage=84, fullDamage=84, accuracy=0, priority=0.0, result=failed, weightMod=0.0}]
 - Trainer Beckham pokemon=Hariyama, action=ATTACK, attack=AttackBase{attackName='Knock Off'}, targets=Thwackey , results=[MoveResults{damage=29, fullDamage=29, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #8
 - Player Le_Schwin pokemon=Thwackey, action=ATTACK, attack=AttackBase{attackName='Max Overgrowth'}, targets=Sawk , results=[MoveResults{damage=10, fullDamage=89, accuracy=0, priority=0.0, result=failed, weightMod=0.0}]
Turn #9
 - Player Le_Schwin pokemon=Thwackey, action=ATTACK, attack=AttackBase{attackName='Razor Leaf'}, targets=Sawk , results=[MoveResults{damage=38, fullDamage=38, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Trainer Beckham pokemon=Sawk, action=ATTACK, attack=AttackBase{attackName='Retaliate'}, targets=Nosepass , results=[MoveResults{damage=53, fullDamage=58, accuracy=0, priority=0.0, result=killed, weightMod=0.0}]
Turn #10
 - Trainer Beckham pokemon=Sawk, action=ATTACK, attack=AttackBase{attackName='Bulk Up'}, targets=Nosepass , results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=succeeded, weightMod=0.0}]
 - Player Le_Schwin pokemon=Beedrill, action=ATTACK, attack=AttackBase{attackName='Twineedle'}, targets=Sawk , results=[null, MoveResults{damage=13, fullDamage=13, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #11
 - Trainer Beckham pokemon=Sawk, action=ATTACK, attack=AttackBase{attackName='Retaliate'}, targets=Nosepass , results=[MoveResults{damage=80, fullDamage=80, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Player Le_Schwin pokemon=Beedrill, action=ATTACK, attack=AttackBase{attackName='Venoshock'}, targets=Sawk , results=[MoveResults{damage=38, fullDamage=38, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #12
 - Player Le_Schwin pokemon=Beedrill, action=SWITCH, switchingTo=c9501d4b-27b6-484e-9091-a62863f88c56
 - Trainer Beckham pokemon=Sawk, action=ATTACK, attack=AttackBase{attackName='Retaliate'}, targets=Nosepass , results=[MoveResults{damage=13, fullDamage=13, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #13

#25841 Posted by Sophie847 » 31 May 2022 12:38

Thanks for these. I've noticed something quite odd in your battle log - several of the moves used in this battle claim their target to be a pokemon which is not currently fighting. I've spent some time attempting to reproduce this issue, but so far only found one way which has been working reliably for me, although somewhat different to what you're doing. I have described my process to reproduce below:

Spawn in a trainer NPC using the NPC editor, give them a level 1 pokemon. Turn 1, poison the target. Then just continually switch until they die from poison damage. Make sure they can use their last move successfully (i.e - you're not immune to the attack or something), but also that none of your pokemon faint in this process. Worth noting that I only switched in my lickilicky on the last turn, yet all of the moves claim Lickylicky as the target. Battle log: https://pastebin.com/nRYvvefz

Of course, this is not the only issue present here, especially given I could only get this to happen reliably against a trainer and not wild pokemon. I would encourage you to share more logs if this has continued to happen, and if possible try to find patterns or ways to reproduce the issue.

I will pass the one reproduction method I found to internal, but further detail would still be appreciated to track down the true source of the issue. Thanks!

#25842 Posted by ikbikslik » 31 May 2022 12:49

Ok, sounds good.

Here's another log:

Code: Select allPixelmon Version 9.0.0
Battle data 2022-05-31T17:46:55.784Z

Team #0 Player Le_Schwin
   {EVSpeed:74s,StatsDefense:229s,IVAttack:4b,Growth:4b,Moveset:[{MoveID:"Rising Voltage",MovePP:20b},{MoveID:"Vise Grip",MovePP:30b},{MoveID:"Shift Gear",MovePP:10b},{MoveID:"Steel Beam",MovePP:5b}],PersistentData:{},Gender:2b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:147s,eggCycles:-1,EVAttack:252s,StatsSpecialAttack:141s,IVSpDef:5b,CaughtBall:"great_ball",IVHP:24b,Pokerus:{Type:0s,Announced:0b},EVHP:2s,ndex:601,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;1574183006,1330269090,-1756852730,991935241],StatsSpecialDefense:185s,Nature:22b,Ability:"Plus",StatsHP:237s,IVDefense:0b,Health:237,HeldItemStack:{id:"pixelmon:assault_vest",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:159s,DynamaxLevel:3,Variant:"",StatsSpeed:192s,EVSpecialAttack:15s,StatsAttack:253s,IVSpeed:3b,Level:93,IVSpAtt:3b,NBT_VERSION:2b,EVSpecialDefense:8s,EXP:6318,RelrnMoves:[]}
   {EVSpeed:42s,StatsDefense:188s,IVAttack:18b,Growth:4b,Moveset:[{MoveID:"Foul Play",MovePP:15b},{MoveID:"Shadow Claw",MovePP:15b},{MoveID:"Dazzling Gleam",MovePP:10b},{MoveID:"False Swipe",MovePP:40b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:123s,eggCycles:-1,EVAttack:164s,StatsSpecialAttack:123s,IVSpDef:29b,CaughtBall:"ultra_ball",IVHP:30b,Pokerus:{Type:0s,Announced:0b},EVHP:30s,ndex:302,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;1617348954,-1728557555,-1108028066,944543534],StatsSpecialDefense:151s,Nature:23b,Ability:"Stall",StatsHP:207s,IVDefense:8b,Health:207,HeldItemStack:{id:"pixelmon:luminous_moss",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:252s,DynamaxLevel:0,Variant:"",StatsSpeed:89s,EVSpecialAttack:17s,StatsAttack:178s,IVSpeed:3b,Level:83,IVSpAtt:9b,NBT_VERSION:2b,EVSpecialDefense:5s,EXP:5224,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:161s,IVAttack:12b,Growth:4b,Moveset:[{MoveID:"Dazzling Gleam",MovePP:10b},{MoveID:"Leech Seed",MovePP:10b},{MoveID:"Worry Seed",MovePP:10b},{MoveID:"Seed Bomb",MovePP:15b}],PersistentData:{},Gender:2b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:100s,eggCycles:-1,EVAttack:8s,StatsSpecialAttack:135s,IVSpDef:31b,CaughtBall:"strange_ball",IVHP:31b,Pokerus:{Type:0s,Announced:0b},EVHP:6s,ndex:492,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-1607351952,2111193508,-1208609207,806777570],StatsSpecialDefense:166s,Nature:7b,Ability:"NaturalCure",StatsHP:242s,IVDefense:24b,Health:242,originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"land",StatsSpeed:166s,EVSpecialAttack:0s,StatsAttack:169s,IVSpeed:31b,Level:70,IVSpAtt:9b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:3486,RelrnMoves:[]}
   {EVSpeed:252s,StatsDefense:161s,IVAttack:24b,Growth:1b,Moveset:[{MoveID:"Hypnosis",MovePP:20b},{MoveID:"Morning Sun",MovePP:5b},{MoveID:"Photon Geyser",MovePP:5b},{MoveID:"Night Slash",MovePP:15b}],PersistentData:{},Gender:2b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:96s,eggCycles:-1,EVAttack:252s,StatsSpecialAttack:207s,IVSpDef:31b,CaughtBall:"timer_ball",IVHP:31b,Pokerus:{Type:0s,Announced:0b},EVHP:0s,ndex:800,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-808509853,773341328,-1164379460,-58105114],StatsSpecialDefense:145s,Nature:17b,Ability:"PrismArmor",StatsHP:227s,IVDefense:31b,Health:227,HeldItemStack:{id:"pixelmon:mind_plate",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:1s,DynamaxLevel:0,Variant:"",StatsSpeed:156s,EVSpecialAttack:5s,StatsAttack:185s,IVSpeed:5b,Level:67,IVSpAtt:20b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:8328,RelrnMoves:[]}
   {EVSpeed:231s,StatsDefense:79s,IVAttack:16b,Growth:3b,Moveset:[{MoveID:"Fake Out",MovePP:9b},{MoveID:"Power Gem",MovePP:20b},{MoveID:"U-turn",MovePP:19b},{MoveID:"Pay Day",MovePP:19b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:150s,eggCycles:-1,EVAttack:229s,StatsSpecialAttack:91s,IVSpDef:28b,CaughtBall:"poke_ball",IVHP:5b,Pokerus:{Type:0s,Announced:0b},EVHP:10s,ndex:53,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;1675338461,1607880009,-1673582832,-1870563041],StatsSpecialDefense:101s,MoveSkillCooldowns:{forage:[I;385,62206181,385,62231181]},Nature:22b,Ability:"Pickup",StatsHP:140s,IVDefense:27b,Health:93,HeldItemStack:{id:"pixelmon:exp_share",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:19s,DynamaxLevel:0,Variant:"",StatsSpeed:175s,EVSpecialAttack:20s,StatsAttack:122s,IVSpeed:23b,Level:55,IVSpAtt:23b,NBT_VERSION:2b,EVSpecialDefense:1s,EXP:2764,RelrnMoves:[]}
   {EVSpeed:130s,StatsDefense:106s,IVAttack:22b,Growth:3b,Moveset:[{MoveID:"Double Kick",MovePP:28b},{MoveID:"Aerial Ace",MovePP:20b},{MoveID:"Slash",MovePP:18b},{MoveID:"Blaze Kick",MovePP:10b}],PersistentData:{},Gender:0b,originalTrainerUUID:[I;2029540074,1026772314,-2051105772,-1535721093],GigantamaxFactor:0b,isInRanch:0b,Friendship:201s,eggCycles:-1,EVAttack:148s,StatsSpecialAttack:135s,IVSpDef:26b,CaughtBall:"poke_ball",IVHP:18b,Pokerus:{Type:0s,Announced:0b},EVHP:78s,ndex:257,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;787397725,-1354348028,-1578088560,-784627408],StatsSpecialDefense:99s,Nature:11b,Ability:"SpeedBoost",StatsHP:173s,IVDefense:14b,Health:173,HeldItemStack:{id:"pixelmon:exp_share",Count:1b},originalTrainer:"Le_Schwin",SpecFlags:[],DoesLevel:1b,EVDefense:60s,DynamaxLevel:0,Variant:"",StatsSpeed:126s,EVSpecialAttack:72s,StatsAttack:169s,IVSpeed:28b,Level:55,IVSpAtt:28b,NBT_VERSION:2b,EVSpecialDefense:22s,EXP:7555,RelrnMoves:[]}
Team #1 Trainer Carter
   {EVSpeed:0s,StatsDefense:70s,IVAttack:20b,Growth:5b,Moveset:[{MoveID:"Fury Swipes",MovePP:15b},{MoveID:"Water Pulse",MovePP:20b},{MoveID:"Amnesia",MovePP:20b},{MoveID:"Hydro Pump",MovePP:3b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:70s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:86s,IVSpDef:3b,CaughtBall:"poke_ball",IVHP:23b,EVHP:0s,ndex:55,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;305124250,-432125878,-1310609603,793828807],StatsSpecialDefense:63s,Nature:8b,Ability:"CloudNine",StatsHP:126s,IVDefense:3b,Health:28,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:86s,EVSpecialAttack:0s,StatsAttack:88s,IVSpeed:28b,Level:41,IVSpAtt:8b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:79s,IVAttack:5b,Growth:6b,Moveset:[{MoveID:"Splash",MovePP:40b},{MoveID:"Water Pulse",MovePP:20b},{MoveID:"Recover",MovePP:10b},{MoveID:"Safeguard",MovePP:25b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:70s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:97s,IVSpDef:18b,CaughtBall:"poke_ball",IVHP:25b,EVHP:0s,ndex:350,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;-1422217767,-1904917482,-1172005604,81964885],StatsSpecialDefense:112s,Nature:1b,Ability:"Competitive",StatsHP:136s,IVDefense:29b,Health:136,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:71s,EVSpecialAttack:0s,StatsAttack:55s,IVSpeed:3b,Level:40,IVSpAtt:30b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:66s,IVAttack:8b,Growth:2b,Moveset:[{MoveID:"Flash",MovePP:20b},{MoveID:"Double Team",MovePP:15b},{MoveID:"Confuse Ray",MovePP:10b},{MoveID:"Quick Attack",MovePP:30b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:70s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:53s,IVSpDef:4b,CaughtBall:"poke_ball",IVHP:20b,EVHP:0s,ndex:313,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;498762440,-642037980,-2002838603,1305551965],StatsSpecialDefense:66s,Nature:8b,Ability:"Swarm",StatsHP:110s,IVDefense:4b,Health:110,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:85s,EVSpecialAttack:0s,StatsAttack:72s,IVSpeed:31b,Level:40,IVSpAtt:28b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:39s,IVAttack:21b,Growth:3b,Moveset:[{MoveID:"Tackle",MovePP:35b},{MoveID:"Tail Whip",MovePP:30b}],PersistentData:{},Gender:0b,GigantamaxFactor:0b,isInRanch:0b,Friendship:70s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:25s,IVSpDef:0b,CaughtBall:"poke_ball",IVHP:10b,EVHP:0s,ndex:19,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;700318252,877546121,-1512692050,-947434056],StatsSpecialDefense:29s,Nature:8b,Ability:"Guts",StatsHP:79s,IVDefense:13b,Health:79,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:72s,EVSpecialAttack:0s,StatsAttack:64s,IVSpeed:21b,Level:41,IVSpAtt:1b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}
   {EVSpeed:0s,StatsDefense:58s,IVAttack:14b,Growth:0b,Moveset:[{MoveID:"Dual Chop",MovePP:15b},{MoveID:"Scratch",MovePP:35b},{MoveID:"Swift",MovePP:20b},{MoveID:"Double Hit",MovePP:10b}],PersistentData:{},Gender:1b,GigantamaxFactor:0b,isInRanch:0b,Friendship:100s,eggCycles:-1,EVAttack:0s,StatsSpecialAttack:54s,IVSpDef:10b,CaughtBall:"poke_ball",IVHP:5b,EVHP:0s,ndex:424,palette:"none",ribbon_display:"NONE",ribbons:[],UUID:[I;461241896,-1228584082,-1206542102,2097325328],StatsSpecialDefense:67s,Nature:24b,Ability:"Pickup",StatsHP:112s,IVDefense:1b,Health:112,SpecFlags:[],DoesLevel:1b,EVDefense:0s,DynamaxLevel:0,Variant:"",StatsSpeed:102s,EVSpecialAttack:0s,StatsAttack:90s,IVSpeed:14b,Level:40,IVSpAtt:21b,NBT_VERSION:2b,EVSpecialDefense:0s,EXP:0,RelrnMoves:[]}

Turn #0
 - Player Le_Schwin pokemon=Persian, action=ATTACK, attack=AttackBase{attackName='Fake Out'}, targets=Golduck , results=[MoveResults{damage=47, fullDamage=47, accuracy=0, priority=3.0, result=hit, weightMod=0.0}]
 - Trainer Carter pokemon=Golduck, action=ATTACK, attack=null, targets=Sableye , results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=unable, weightMod=0.0}]
Turn #1
 - Player Le_Schwin pokemon=Persian, action=ATTACK, attack=AttackBase{attackName='Pay Day'}, targets=Golduck , results=[MoveResults{damage=50, fullDamage=50, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Trainer Carter pokemon=Golduck, action=ATTACK, attack=AttackBase{attackName='Hydro Pump'}, targets=Sableye , results=[MoveResults{damage=47, fullDamage=47, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
Turn #2
 - Player Le_Schwin pokemon=Persian, action=ATTACK, attack=AttackBase{attackName='U-turn'}, targets=Golduck , results=[MoveResults{damage=52, fullDamage=52, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
 - Trainer Carter pokemon=Golduck, action=ATTACK, attack=AttackBase{attackName='Hydro Pump'}, targets=Sableye , results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=missed, weightMod=0.0}]
Turn #3


Do you know why my logs are only partially captured? How are you supposed to capture the full logs of your battle?

#25880 Posted by Sophie847 » 01 Jun 2022 13:37

Again this log shows the unusual behavior of targets not matching the pokemon on the field. Would I be correct to assume that the turns up until you used /battlelog were your Persian fighting a Golduck, without switches until you U-turned? The alleged target of all 3 moves the opponent used are a sabeleye, which I'm guessing is the pokemon which switched in from the U-turn?

It would be nice if the battle logs gave more detail, but this looks to have recorded all the data it is supposed to - were you expecting there to be more in this battle log? If there were more turns - it records up until the point in battle you run the command, so you'd just need to run it later.

#28956 Posted by Sophie847 » 17 Jan 2023 16:06

Changes were made in 9.1.1 which should resolve this issue. I am no longer able to reproduce it, if you can then please let me know.

Ticket details

  • Ticket ID: 17635
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Battle
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 36.2.34 no Sponge
  • What else would be useful to know?: (unknown)
  • Assigned to: Sophie847
  • Reported by: ikbikslik (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 25 May 2022 17:01
  • Ticket last visited by: Sophie847 on 17 Jan 2023 16:07
JOIN THE TEAM