Thread: Programming Pokemon Online replay player
View Single Post
Old Aug 16th, 2011, 10:46:42 PM   #18
Zarel*
>> BEGIN POSTBIT
is a member of the Smogon Site Staffis a Battle Server Administratoris a Super Moderatoris a Programmer
 
Zarel's Avatar
 
Super Moderator
Join Date: Aug 2011
Posts: 1,128
>> END POSTBIT
Default

Quote:
Originally Posted by Fat No Luck Involved View Post
- Entei took way too much damage on turn 29/30, reducing its health to 0 when it should have been around 40%. I'm not sure what happened here...
A pokemon's HP is set to 0 at the point the replayer believes is the last time it took damage before fainting - this is to deal with rounding errors.

I forgot to include Flare Blitz recoil and Spikes as possible damage sources - this has been fixed.

Quote:
Originally Posted by Fat No Luck Involved View Post
- It can't represent Leech Seed recovery very well (it must be nearly impossible to implement)
It currently estimates Leech Seed recovery by assuming both pokemon have the same HP stat. I can see it being off if you seed a Chansey or have Leech Seed lasting for tons of turns. Nothing I can do about that. :(

Quote:
Originally Posted by Fat No Luck Involved View Post
- Scyther takes normal damage from Stealth Rock.
Yeah. The replayer itself currently has no type chart, nor any idea what types pokemon are. Fixing that's on the to-do list, but I don't know if it'll be done anytime soon.

Quote:
Originally Posted by Fat No Luck Involved View Post
I hope you will find this useful and I am really looking forward to this getting better and better because it is one of the most exciting things I have seen in a while. Hats off to you aeo!
^_^

Quote:
Originally Posted by Fat Pocket View Post
Yea, I also just uploaded a battle where I embarrassingly lost to a Bulk Up Toxicroak, but Stealth Rock damage did 13% for both Gyarados and Thundurus.
Yeah, as mentioned, this is on the to-do list (it's been on the to-do list on the first post of this thread ever since it was first posted, incidentally).

Quote:
Originally Posted by Fat Pocket View Post
Also, my opponent started out with 5 Pokeballs - is this because I did not saw the 6th monster of his team?
Yep. And because PO doesn't log any pokemon that doesn't get sent out.

Quote:
Originally Posted by Fat Pocket View Post
And occasionally when I lose my mons, an extra Pokeball shows up on my side. I ended up with like 9 Pokeballs on my side lol.
Yeah, it happens when something happens to your pokemon after they faint:

Oceanborn fainted!
Oceanborn had its energy drained!

The replay viewer assumes it happened to a different still-alive pokemon named Oceanborn, and adds it to your team. I just fixed it.
Zarel is offline