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 Apr 20th, 2008, 8:36:37 PM   #26
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

Another simple suggestion that would be a huge addition would be to let people select stat vs. EV individually for defender and attacker. Lots of times I just want to check how much Special Attack I need to OHKO Garchomp with Ice Beam, for example, and to do that I have to find a Pokemon in the right range.
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline   Reply With Quote
Old Apr 20th, 2008, 9:00:48 PM   #27
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

The Stat Calculator could help you do such a thing, but a more convenient way to do it would be nice, yes.

*puts that on his to-do list
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old May 3rd, 2008, 6:02:29 PM   #28
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

The Sandstorm 'fix' breaks the 2003 calculator. I pasted

=IF(AND(L28="Sandstorm",VLOOKUP(C26,Table2,3,FALSE )="Special",OR(VLOOKUP(M2,'Lookup Tables'!A3:D500,3,FALSE)="Rock",VLOOKUP(M2,'Lookup Tables'!A3:D500,4,FALSE)="Rock",AND(ISTEXT(M10),M1 0="Rock"))),1.5,1)

into cell N87 and did nothing else. It gives a #NAME error.
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline   Reply With Quote
Old May 3rd, 2008, 6:24:17 PM   #29
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

The only difference between that and the actual fix is the space between the 1 and 0 in the last reference to M10. Still, that shouldn't cause a #NAME error...

Try replacing Table2 in the formula with:

'Lookup Tables'!$I$3:$N$280

and see where that gets you.


This is what I get for putting this together in Excel 2007 and converting it for use in 2003. The conversion process hasn't exactly been smooth.

...

Wait! You wouldn't happen to have downloaded the Office Compatibility Pack, have you? That allows Office XP and 2003 to recognize the 2007 file formats so that you won't have to use that bugged 2003 version of the file. (Yes, I consider it bugged because there were several features from the 2007 file that had to be discarded for the 2003 version. I might have made a mistake making the necessary adjustments to the 2003 file.)

I wish I actually HAD Excel 2003 so I could look into it further. Excel 2007 doesn't seem to be able to reproduce your results.
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old May 3rd, 2008, 9:14:04 PM   #30
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

I'm downloading that now. Hopefully it will work for me.
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline   Reply With Quote
Old May 5th, 2008, 7:37:31 PM   #31
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

Didn't work. "The converter failed to open the file." :(
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline   Reply With Quote
Old May 5th, 2008, 7:56:08 PM   #32
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

Damn... and I can't remember if there's anything else necessary to make that work. ><

Shoot, do you still have that problem? I'm not sure what you could do to remedy it...

Anyway, I'll be getting out of school in a week and a half (Bachelor's degree finally done! :D) so I could have a newer version up within the next month, if not sooner. The damage calculator is getting a couple of signficant upgrades that will make life quite a bit easier. I'll tell you more when it comes out. ;)
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old May 26th, 2008, 6:13:41 PM   #33
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default UPDATE!

(I finally got around to doing this...)

Here's an update to the resource! I decided to do this after making a couple of significant changes to the damage calculator (besides making some aesthetic adjustments) such as:

Quote:
Originally Posted by Fat Obi
My main idea for an improvement would be to somehow have a way to easily flip the attacker and defender. I have no idea how you'd do that with Excel, though.
Done! Now there is a "Switch Pokemon" button at the top of the calculator that allows you to switch the Attacking Pokemon data with the Defending Pokemon data.

Quote:
Originally Posted by Fat Obi
Another simple suggestion that would be a huge addition would be to let people select stat vs. EV individually for defender and attacker. Lots of times I just want to check how much Special Attack I need to OHKO Garchomp with Ice Beam, for example, and to do that I have to find a Pokemon in the right range.
Done! Now each side has a "Use EV/IVs or Stats?" option so that you can do just that.


Okay, here are the files. Enjoy!

Pokemon Resource 1.1 (2007 version)
Pokemon Resource 1.1 (2003 version)


P.S. One of the big hurdles I had with trying to create an IV Calculator has recently been solved. Who knows? If I get around to it, the next update might have one...
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old May 27th, 2008, 6:13:02 AM   #34
eric the espeon
maybe I just misunderstood
is a Pokémon Researcheris a Contributor to Smogonis a Forum Moderator Alumnusis a Tiering Contributor Alumnus
 
Join Date: Aug 2007
Posts: 3,695
Default

This looks very good, the one thing I would like would be if you could add the Pokemon made by the Create a Pokemon project, here is a link to their info.
You don't need to add the Mountineer ability.
__________________
For people who like storing things: The Box
Reading and LC? LCF, LC Guide, LC Analyses
Good channels: #littlecup, #C&C, #1v1, others
And for SCMS editors: SCMS group
ete on IRC. Goodbye Smogon. Good luck, was fun while it lasted.
eric the espeon is offline   Reply With Quote
Old May 27th, 2008, 6:22:46 AM   #35
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

I'll consider it. It won't be a priority due to the other things that need to be done first, but I suppose enough people would be interested in it. (And yes, I would eventually need Mountaineer. ;) )
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old May 27th, 2008, 6:30:40 AM   #36
eric the espeon
maybe I just misunderstood
is a Pokémon Researcheris a Contributor to Smogonis a Forum Moderator Alumnusis a Tiering Contributor Alumnus
 
Join Date: Aug 2007
Posts: 3,695
Default

Thank you, I have had a very hard time trying to find a damage calc that works with them.
Mountineer is not really important as it is a simple negation of all rock damage (so easy to do in your head), but would require a new checkbox "switching in". But if you think its worth it, it could be useful.
__________________
For people who like storing things: The Box
Reading and LC? LCF, LC Guide, LC Analyses
Good channels: #littlecup, #C&C, #1v1, others
And for SCMS editors: SCMS group
ete on IRC. Goodbye Smogon. Good luck, was fun while it lasted.
eric the espeon is offline   Reply With Quote
Old May 29th, 2008, 6:00:33 PM   #37
cim
dreams of ladybugs crushed forever
is a Smogon Media Contributor Alumnus
 
cim's Avatar
 
Join Date: Jun 2007
Posts: 5,366
five years here and i can't change my custom title :(
Default

This is super badass. You should put in something to check if EVs are being wasted or not (like a +nature on a low stat and EVs in a high stat is wasting evs). Pretend that made sense.
__________________
i was nobody

we're all a little bit strange, don't worry about it
cim is offline   Reply With Quote
Old May 29th, 2008, 6:07:34 PM   #38
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

Quote:
Originally Posted by Fat Chris is me View Post
You should put in something to check if EVs are being wasted or not (like a +nature on a low stat and EVs in a high stat is wasting evs).
To be honest, I have no idea how I would start going about to doing that. I would need a better way to define that in Excel, the land of if-statements and lookups. XD
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old Jun 22nd, 2008, 7:29:31 AM   #39
Stallion
Lewd, lascivious, salacious, outrageous
is a Battle Server Moderator Alumnusis a past World Cup of Pokemon champion
 
Stallion's Avatar
 
Join Date: Jun 2006
Posts: 4,653
Canberra, Australia
Default

I had a set of damage calculators almost the same as yours, but they got deleted :(, so I will have to do with yours. Thanks for posting them.
__________________
Stallion is offline   Reply With Quote
Old Jun 22nd, 2008, 12:28:00 PM   #40
MetalKid
 
MetalKid's Avatar
 
Join Date: Aug 2005
Posts: 226
Green Bay, Wisconsin
Default

What about the Hidden Power calculator are you having trouble with? Did you want it to produce results like the 2nd part of mine does? If so, I could show you the VB.NET code that it took to create. It might help you out. Though, I do agree... It was very difficult to code in a coding language. I can't imagine what it would take with Excel formulas...
__________________
MetalKid's Gaming Resources
http://www.metalkid.info
MetalKid is offline   Reply With Quote
Old Jun 22nd, 2008, 12:51:25 PM   #41
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

Yes, trying to create something that does what the second part of your calculator does has been a real bitch.

You see, there are two problems I'm facing. One, I've been trying to make the calculator return sets of IVs for each stat. I place each set of values into a cell and attempt to make the formulas return that set of values in a display similar to yours, but I don't know how to do that without splitting the sets into individual cells and using a ton of lookups--I'm not looking forward to that. I can't find a way to simplify the process.

The other problem is one of just sheer volume. For example, a Hidden Power of Bug-type and 50 BP has ten different sets of possible IVs according to your calculator, MetalKid. Quite frankly, I just don't know how to account for them all.

I'm sure these problems could be solved through persistence >_<, but having that code wouldn't hurt the process of trying to figure it out, that's for sure.
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old Jul 11th, 2008, 2:08:30 PM   #42
Wichu
ACUPRESSURE
is a Pokémon Researcher
 
Wichu's Avatar
 
Join Date: May 2007
Posts: 1,508
Cambridge, England
Default

I'm working on a similar resource for a school project. I've got an IV calculator and a Hidden Power calculator already - the HP calculator isn't complicated if you know what you're doing. I've uploaded mine - you're free to use it if you still need it (Excel 2003 format). Download HP Calc only.
__________________
Wichu is offline   Reply With Quote
Old Jul 11th, 2008, 2:35:14 PM   #43
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

That Hidden Power calculator looks nifty, but I actually have a simpler form of it in the damage calculator. It's actually the calculator that does the REVERSE of that process that I'm dreading putting together. But thanks anyway.

I wouldn't mind seeing that IV calculator, though. It might actually save me some trial and error. Who knows?

P.S. I've had other things distract me, as of late, so I haven't been working on this. I MIGHT work on it soon, however. I'm just not looking forward to the time-consuming chores of putting together the IV and Hidden Power calculators, but at least they're reasonably doable for once. I couldn't have said that a month ago. xD
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old Jul 11th, 2008, 5:35:12 PM   #44
Wichu
ACUPRESSURE
is a Pokémon Researcher
 
Wichu's Avatar
 
Join Date: May 2007
Posts: 1,508
Cambridge, England
Default

The IV calculator isn't very good... It uses the stat formula to calculate the stats for each IV between 0 and 31, then uses the VLOOKUP function to find the minimum and maximum values. However, it does work. I'll upload it as soon as I get access to my school files.

Oh, and sorry about the HP calculator misunderstanding. I see what you're trying to do. I might attempt that later.
__________________
Wichu is offline   Reply With Quote
Old Jul 23rd, 2008, 4:43:24 PM   #45
david stone
Fast-moving, smart, sexy and alarming.
is a Pokémon Researcheris a Contributor to Smogonis a Site Staff Alumnusis a Super Moderator Alumnusis a Smogon IRC AOp Alumnusis a Battle Server Moderator Alumnus
 
david stone's Avatar
 
Join Date: Aug 2005
Posts: 5,152
Default

Unfortunately, this does not seem to open with Open Office.

That being said...

There needs to be a checkbox for whether the target has already moved to properly account for Payback. It also needs a checkbox for whether the target has taken damage to account for Assurance.

Power Trick needs to be added.
__________________
Previously obi.
Technical Machine, a Pokemon AI.
"Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat." - Sun Tzu
david stone is offline   Reply With Quote
Old Aug 13th, 2008, 9:43:49 AM   #46
RBG*
It's only after we've lost everything that we're free to do anything.
is a Super Moderatoris a Contributor to Smogon Mediais a Site Staff Alumnusis a Smogon IRC AOp Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
RBG's Avatar
 
Super Moderator
Join Date: Jan 2008
Posts: 3,229
Home: Goshen Scout Reservation
Default

FYI: http://www.smogon.com/forums/showpos...&postcount=296
It turns out Me First is in Mod3.


Also, Item boost is before sandstorm.
__________________
Alder: N, even if we don't understand each other, that's not a reason to reject each other. There are two sides to an argument. Is there one point of view that has all the answers? Give it some thought.

RBG is offline   Reply With Quote
Old Aug 15th, 2008, 7:02:29 PM   #47
CardsOfTheHeart
 
CardsOfTheHeart's Avatar
 
Join Date: Aug 2007
Posts: 1,971
My Soul, Your Beats!
Default

I haven't had any access for a while so this has been neglected. I'm not sure when I'll be able to use my laptop again...

That said, I'll try and address the posts here while I still have time on this public library computer:

Obi:
I thought I would have an OpenOffice version of this available by now, but I haven't gotten around to it. I'll make that a priority.

As for Payback and Assurance, I thought I had already accounted for Payback, but I haven't looked at the file in so long that I don't remember. I'll make sure to put them in.


RB Golbat:
I was aware of the item boost before sandstorm a while ago, but I got lazy in fixing it. Nice find on Me First, though. Fortunately, with the way I've set up the Damage Formula in the worksheet, both fixes are really simple.



I don't know how long it will be before I can work on this again. It shouldn't be too much longer before I can get my internet access back (roughly a week--at least it better be), but I'm starting my Master's degree program in a week from Monday, and I can't reasonably expect to have any free time between now and December--nor between January and May, for that matter.

After all that, though, I should have my Master's degree and be a little more flexible with my time. Until then, don't expect any updates...
__________________
Creator of the DPP Pokemon Resource, the one thing no Trainer should be without! (eventually... maybe)
My YouTube Channel My Blog (VERY, VERY small, ATM)
CardsOfTheHeart is offline   Reply With Quote
Old Aug 16th, 2008, 10:18:24 AM   #48
RBG*
It's only after we've lost everything that we're free to do anything.
is a Super Moderatoris a Contributor to Smogon Mediais a Site Staff Alumnusis a Smogon IRC AOp Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
RBG's Avatar
 
Super Moderator
Join Date: Jan 2008
Posts: 3,229
Home: Goshen Scout Reservation
Default

Quote:
Originally Posted by Fat CardsOfTheHeart View Post
RB Golbat:
I was aware of the item boost before sandstorm a while ago, but I got lazy in fixing it. Nice find on Me First, though. Fortunately, with the way I've set up the Damage Formula in the worksheet, both fixes are really simple.
ACtually, its Tinted Lens that is in Mod 3, i made a typo. oops....
__________________
Alder: N, even if we don't understand each other, that's not a reason to reject each other. There are two sides to an argument. Is there one point of view that has all the answers? Give it some thought.

RBG is offline   Reply With Quote
Old Aug 27th, 2008, 8:54:47 PM   #49
StarBP
 
Join Date: Jul 2008
Posts: 41
Glitch Ci..46.?@!*%hyj4-rjty
Default

Quote:
Originally Posted by Fat Wichu View Post
The IV calculator isn't very good... It uses the stat formula to calculate the stats for each IV between 0 and 31, then uses the VLOOKUP function to find the minimum and maximum values. However, it does work. I'll upload it as soon as I get access to my school files.

Oh, and sorry about the HP calculator misunderstanding. I see what you're trying to do. I might attempt that later.
So, you are saying that Metalkid's IV calc is no good? His calculator uses much the same principle as yours does, but in HTML, not Excel.
StarBP is offline   Reply With Quote
Old Sep 2nd, 2008, 10:54:12 AM   #50
RBG*
It's only after we've lost everything that we're free to do anything.
is a Super Moderatoris a Contributor to Smogon Mediais a Site Staff Alumnusis a Smogon IRC AOp Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
RBG's Avatar
 
Super Moderator
Join Date: Jan 2008
Posts: 3,229
Home: Goshen Scout Reservation
Default

FYI, for gyro ball, here is the speed formula:
Final Speed Stat = Current Stat x Stat Modifier x Speed Ability Modifier x Speed Item Modifier x Paralysis Modifier x Tailwind Modifier

just the same as obi predicted
__________________
Alder: N, even if we don't understand each other, that's not a reason to reject each other. There are two sides to an argument. Is there one point of view that has all the answers? Give it some thought.

RBG 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 9:45:12 AM.