Go Back   Smogon Community > Contributions & Corrections > Projects
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
Categories: HTML, Programming, Other
 
Thread Tools
Old Sep 6th, 2011, 6:21:43 PM   #26
Crux
Rawrr
is a Battle Server Moderator Alumnus
 
Crux's Avatar
 
Join Date: Sep 2009
Posts: 934
Default

This is actually incredible. My only suggestion is that you perhaps make the results c/p'able within the table.
Crux is offline   Reply With Quote
Old Sep 6th, 2011, 7:57:44 PM   #27
Myrmidon
 
Myrmidon's Avatar
 
Join Date: Sep 2007
Posts: 124
Canadia
Default

Quote:
Originally Posted by Fat Guyguypants View Post
Modest Choice Specs Solar Power Charizard, after being baton passed a Nasty Plot, with the moveset
- Fire Blast
- Solar Beam
- HP Ice
- Focus Blast
0HKO's everything in the game after stealth rock :D
Chandelure (Choice Specs)
SolarBeam 74.19 - 87.45%
HP Ice 43.36 - 51.25%

nice try, but Chandy has a 0.81% chance of surviving... :P
__________________
The antagonizing teams have become progressively more and more insane.
Rocket: The mafia ;Aqua/Magma: Eco-terrorists ;Galactic: Cultists ;Plasma: PETA
~ Captain Awesome

Pokemon White FC:Myrmdon - 0303 9919 1260
Myrmidon is offline   Reply With Quote
Old Sep 8th, 2011, 8:13:07 AM   #28
Manxer
 
Manxer's Avatar
 
Join Date: Oct 2010
Posts: 49
Cambridge, UK
Default

man this is awesome
I'll go and recommend my friend using this as well
and we don't have to spend more than a minute to calc what is the best option when we're in battle
Manxer is offline   Reply With Quote
Old Sep 8th, 2011, 1:13:01 PM   #29
Blue Kirby
Keep your hands off my stack.
is a Tutor Alumnusis a Site Staff Alumnusis a Battle Server Admin Alumnusis a Smogon IRC SOp Alumnusis a Contributor Alumnusis an Administrator Alumnusis a past WCoP and SPL champion
 
Blue Kirby's Avatar
 
Join Date: Nov 2007
Posts: 2,814
Default

This is a pretty brilliant initiative. Thanks for pouring time into this, it's going to be incredibly handy to all walks of the Pokemon community.
__________________
Blue Kirby is offline   Reply With Quote
Old Sep 8th, 2011, 1:58:54 PM   #30
whitefag
 
Join Date: Jul 2010
Posts: 46
Tomsk, Siberia
Default

Quote:
Originally Posted by Fat Honko View Post
By the time I learned that IE has stricter standards
Not stricter, stupid own standarts that are supported only by Microsoft.

I suggest a possibility to add own sets for opponents. There are, well, sets that aren't on smogon database. I think you can also use statistics for that.

And I think you can merge getUserOptions() and getTargets() into one function (or an object so you can generate json with whatever generates that code) to save some traffic and avoid writing same code twice.
whitefag is offline   Reply With Quote
Old Sep 8th, 2011, 5:24:00 PM   #31
HoiPolloi
 
Join Date: Aug 2011
Posts: 296
Default

Awesome job.
HoiPolloi is offline   Reply With Quote
Old Sep 8th, 2011, 6:31:13 PM   #32
Darkaxis
 
Darkaxis's Avatar
 
Join Date: Jun 2011
Posts: 696
No I am Stone_Cold
Default

this is truly awe-some great job dude great job with the PO Re-player and this Smogon MIGHT become the international facebook of pokemon (even more of what it is now)
__________________
Quote:
<McGraw> so today i almost helped an amputee with her shopping up some stairs
<McGraw> she had a stump for an arm at the elbow
<+aldaron> lol
<McGraw> but i didn't
<+aldaron> why didnt you actually help her
<McGraw> because i was about to say "do you want a hand?"
<+aldaron> haha
<+Milkis> ouch
<CN> lol
<Gmax> lol
<McGraw> i stopped myself before i said it
Darkaxis is offline   Reply With Quote
Old Sep 9th, 2011, 12:48:53 AM   #33
ssbbm
 
ssbbm's Avatar
 
Join Date: May 2010
Posts: 1,001
Where you can play Pokemon with Singing Narwhals and Dancing Clouds
Default

It says that Specs Heatran and Chandelure KO +1 CM Reuniclus with Overheat while they don't /:
I think what happens is Overheat ignores boosts for some weird reason; the calcs seem to be correct for Kyurem's Specs DM.
ssbbm is offline   Reply With Quote
Old Sep 9th, 2011, 2:36:32 AM   #34
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

Quote:
Originally Posted by Fat ssbbm View Post
It says that Specs Heatran and Chandelure KO +1 CM Reuniclus with Overheat while they don't /:
I think what happens is Overheat ignores boosts for some weird reason; the calcs seem to be correct for Kyurem's Specs DM.
Good catch. Looks like the calculator is assuming Flash Fire is activated. I'll fix that soon.

Quote:
Originally Posted by Fat whitefag View Post
Not stricter, stupid own standarts that are supported only by Microsoft.

I suggest a possibility to add own sets for opponents. There are, well, sets that aren't on smogon database. I think you can also use statistics for that.

And I think you can merge getUserOptions() and getTargets() into one function (or an object so you can generate json with whatever generates that code) to save some traffic and avoid writing same code twice.
Thanks for the tips, I will look into json. As for adding custom sets, I'm hesitant to do that, mostly for simplicity. In the long run, Smogon should eventually have most of the noteworthy sets. If there's a really popular set that Smogon doesn't have for some reason, I can always add it manually.
__________________
Honko is offline   Reply With Quote
Old Sep 9th, 2011, 6:16:06 AM   #35
whitefag
 
Join Date: Jul 2010
Posts: 46
Tomsk, Siberia
Default

Well, I meant manual input, when building a pokemon one usually want to ensure KO against certain threat no mater what set it runs (and people usually use own sets, even stupid ones sometimes) which will need calculations with least beneficial circumstances (e.g. +Def nature, max HP/Def IVs and EVs when calclating coverage).

And I have one more question: why do you store all the data (moves, their effects, pokemon, etc) in js executables? You could store it in, say, some SQL db and retrieve it with server-side script, this will significally reduce scripts size.
It's just a question, I'm curious a bit)

Last edited by whitefag; Sep 9th, 2011 at 7:43:34 AM.
whitefag is offline   Reply With Quote
Old Sep 10th, 2011, 1:56:12 PM   #36
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

Good news! I've added LC Pokemon to the calculator, and their silly single digit stats give some amusing damage %s when you forget to change tiers (CB Guts Heracross Megahorn vs Choice Scarf Abra: 145610.52 - 171315.78%). I also fixed the Flash Fire bug (it now shows that the attacker has Flash Fire activated, and there's another entry for when it isn't). Enjoy!

Quote:
Originally Posted by Fat Crux View Post
My only suggestion is that you perhaps make the results c/p'able within the table.
If you mean being able to copy-paste them into Excel, you can. Just select it all and copy it into Notepad or some other text editor first to get the tabs and newlines in, then copy that into Excel.

Quote:
Originally Posted by Fat whitefag View Post
Well, I meant manual input, when building a pokemon one usually want to ensure KO against certain threat no mater what set it runs (and people usually use own sets, even stupid ones sometimes) which will need calculations with least beneficial circumstances (e.g. +Def nature, max HP/Def IVs and EVs when calclating coverage).

And I have one more question: why do you store all the data (moves, their effects, pokemon, etc) in js executables? You could store it in, say, some SQL db and retrieve it with server-side script, this will significally reduce scripts size.
It's just a question, I'm curious a bit)
I actually had an earlier version of the calculator where you can customize both sides, I just stopped working with it at a certain point, so it would need some fixes now. I'll try to get that up relatively soon.

There's two reasons I'm using js executables instead of a db. The first is that I built this thing without a clear plan; I just took AMF's old calculator and added things on in pieces until I wound up with what we have now. The second is that I'm not really doing enough with the data to make the abstraction of a db valuable. It runs fast enough now, and I can't think of any other queries I'd need to make, so there's not much practical gain in swapping in some MySQL+PHP. But you're right that what I'm doing right now isn't exactly best practice, and if I was doing this for work or a class I'd definitely be using a more elegant solution.
__________________
Honko is offline   Reply With Quote
Old Sep 12th, 2011, 9:41:39 AM   #37
MaestroXXVI
 
Join Date: Jun 2011
Posts: 202
Default

this is very awesome, and i wount be able to stress that enough, but can you add in some option selects?

for instance, for the one vs all calculator, can you add in things like
"ignore all that dont get ohko'd/2hko'd"
"ignore air balloon"
"ignore intimidate" (in case something is behind a sub)
"assume stealth rocks" (which would basically be "ignore multiscale", i guess)

or maybe, if you can do something more general, add a check box beside each name which would hide it on clicking it, in case I'd only like to care about some pokemon in a tier (i dont particularly care what alomomola walls, but i'd certainly like to see quagsire in my results, for instance)? then add an "unhide all" check box, or undo all hides whena new calculation is performed.
MaestroXXVI is offline   Reply With Quote
Old Sep 22nd, 2011, 8:42:29 AM   #38
kmuffinman
 
kmuffinman's Avatar
 
Join Date: Jul 2011
Posts: 169
Somewhere over the Rainbow
Default

Sorry for necroing, but i noticed a problem with the offensive calculator; it doesn't have Hyper Beam
__________________
Rayquaza is a purple coloured rodent that bites anything it sees. Small and very quick, it is a common sight in... wait am I getting something wrong here?More Art!
kmuffinman is offline   Reply With Quote
Old Oct 4th, 2011, 5:11:17 AM   #39
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

Added Hyper Beam.

Now that Pokemon can have analyses for multiple tiers on-site, the calculator will use the tier the set is meant for, rather than just the tier the Pokemon is in. So for example, Milotic's OU bulky water set will show up in OU, but only her UU sets will show up in UU. The same will be true for Uber Pokemon once those analyses get uploaded. Hopefully this will make the calculator even more useful for specific tiers.

As for additional features, like more filters, copypastable damage calcs, and the version where you can customize both sides: I will get to those eventually, but I'm very busy for the next several months, so it probably won't happen for a while.
__________________
Honko is offline   Reply With Quote
Old Oct 4th, 2011, 9:03:38 AM   #40
Charizard92
 
Charizard92's Avatar
 
Join Date: Jan 2011
Posts: 228
Canada
Default

favourited, great job!
Charizard92 is offline   Reply With Quote
Old Nov 21st, 2011, 12:51:44 AM   #41
Pocket
Bakuman ;<
is a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Team Rater Alumnus
 
Pocket's Avatar
 
Moderator
Join Date: Dec 2004
Posts: 7,188
Bergenfield
Default

Thank you for this great resource, Honko! Just one problem though - I think the Grass Knot calculations are off.

For instance:
Sash Alakazam's Grass Knot vs Physically Defensive Milotic (252 HP / 0 SDef):
~ Honko's Spread Calc: 37-44%
~ Real Damage: 47-55%

Sash Alakazam's Grass Knot vs CroCune (252 HP / 4 SDef):
~ Honko's Spread Calc: 39-46%
~ Real Damage: 49-58%
Pocket is offline   Reply With Quote
Old Nov 21st, 2011, 12:56:38 AM   #42
mostwanted
is a Tiering Contributoris a Team Rater Alumnusis a Forum Moderator Alumnusis a Smogon World Cup defending champion
 
Join Date: Jul 2011
Posts: 938
Default

Incredible, good job man.
mostwanted is offline   Reply With Quote
Old Nov 21st, 2011, 1:16:22 AM   #43
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

Quote:
Originally Posted by Fat Pocket View Post
Thank you for this great resource, Honko! Just one problem though - I think the Grass Knot calculations are off.

For instance:
Sash Alakazam's Grass Knot vs Physically Defensive Milotic (252 HP / 0 SDef):
~ Honko's Spread Calc: 37-44%
~ Real Damage: 47-55%

Sash Alakazam's Grass Knot vs CroCune (252 HP / 4 SDef):
~ Honko's Spread Calc: 39-46%
~ Real Damage: 49-58%
Yeah I was lazy and just set Grass Knot/Low Kick to 80 power and Gyro Ball/Heavy Slam to 100 instead of actually checking the weight. I have some time off later this week so I'm planning on improving a few things, including this.
__________________
Honko is offline   Reply With Quote
Old Dec 9th, 2011, 11:57:30 AM   #44
MaestroXXVI
 
Join Date: Jun 2011
Posts: 202
Default

are the calcs down?
MaestroXXVI is offline   Reply With Quote
Old Dec 11th, 2011, 6:04:27 PM   #45
verbatim
legends blurred and torn
is a Battle Server Administratoris a Forum Moderatoris a Smogon IRC AOp
 
verbatim's Avatar
 
Moderator
Join Date: Jun 2011
Posts: 1,068
United States
Default

Posting to say that the online version of the calculator is currently down.
verbatim is offline   Reply With Quote
Old Dec 12th, 2011, 12:01:44 PM   #46
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

They're back up now. My account got taken down with no warning for some reason...I guess that's what I get for using shady freehosting!

I'm on winter break now, so hopefully I'll be able to make some cool changes/additions over the next couple weeks.
__________________
Honko is offline   Reply With Quote
Old Dec 13th, 2011, 5:06:57 AM   #47
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,024
Default

Alright, I finally sat down and busted out the 1v1 version of the calculator. Now you can select the sets for both the attacker and the defender and tweak both sides to get exactly the calculation you want. Enjoy!

http://honko.freehosting.com/manly_calc.html

(and let me know if you find any bugs)
__________________
Honko is offline   Reply With Quote
Old Dec 18th, 2011, 1:41:37 PM   #48
MaestroXXVI
 
Join Date: Jun 2011
Posts: 202
Default

hmmm
the question is: who's wrong?

via http://masara.byethost15.com/Silverl...cTestPage.html
252 Atk Terrakion Stone Edge vs 0 HP/0 Def Multiscale Dragonite: 52.32% - 62.23%
169, 172, 174, 175, 178, 180, 181, 184, 186, 187, 190, 192, 193, 196, 198, 201

via http://www.honko.freehosting.com/manly_calc.html
Stone Edge: 170-204 (52.63 - 63.15%)
170, 174, 176, 176, 180, 182, 182, 186, 188, 188, 192, 194, 194, 198, 200, 204

===

Masara: 252 Atk Terrakion Stone Edge vs 0 HP/0 Def Dragonite: 104.95% - 124.46%
339, 345, 348, 351, 357, 360, 363, 369, 372, 375, 381, 384, 387, 393, 396, 402

Honko: Stone Edge: 338-402 (104.64 - 124.45%)
338, 344, 348, 350, 356, 360, 362, 368, 372, 374, 380, 384, 386, 392, 396, 402

===

Masara: 252 Atk Life Orb Terrakion Stone Edge vs 0 HP/0 Def Multiscale Dragonite: 68.73% - 80.8%
222, 223, 226, 229, 232, 234, 237, 240, 243, 244, 247, 250, 252, 255, 258, 261

Honko: Stone Edge: 222-264 (68.73 - 81.73%)
222, 224, 228, 230, 234, 236, 240, 240, 242, 246, 248, 252, 254, 258, 260, 264

===

Masara: 252 Atk Life Orb Terrakion Stone Edge vs 0 HP/0 Def Dragonite: 137.46% - 161.61%
444, 447, 453, 459, 465, 468, 474, 480, 486, 489, 495, 501, 504, 510, 516, 522

Honko: Stone Edge: 440-522 (136.22 - 161.6%)
440, 446, 452, 458, 462, 468, 474, 480, 482, 488, 494, 500, 504, 510, 516, 522
MaestroXXVI is offline   Reply With Quote
Old Dec 18th, 2011, 2:13:45 PM   #49
shnen
is a Battle Server Moderator
 
shnen's Avatar
 
Join Date: Sep 2011
Posts: 823
London
Default

the NU part of all vs one seems to not work at all for me, and I think someone else on #neverused encountered the same problem. It is down on both my iPad and my old Mac btw.
shnen is offline   Reply With Quote
Old Dec 18th, 2011, 3:24:07 PM   #50
steelguttey
 
steelguttey's Avatar
 
Join Date: Nov 2011
Posts: 94
Default

Quote:
Originally Posted by Fat shnen View Post
the NU part of all vs one seems to not work at all for me, and I think someone else on #neverused encountered the same problem. It is down on both my iPad and my old Mac btw.
Well, no NU analysis are done yet, at least i think so, so we'll have to wait
__________________
i am not a clever man

Avatar by muffinhead and nasty jungle

CAPASB Team
steelguttey is offline   Reply With Quote
Reply Smogon Community > Contributions & Corrections > Projects

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 5:41:16 AM.