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 Jun 22nd, 2010, 2:02:51 PM   #1
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default Pokemon Team Generator (offline)

Not sure if this is the right place to post this, but I was inspired by the original Pokemon team generator, so I decided to write this program, it's a bit of an upgrade. However, I did write the program from scratch and did not borrow any code from the original.

Okay, so my program can search for a Pokemon or team based on:
+ Primary or secondary typing
+ Region
+ Gender
+ Evolutionary stage
+ Competitive battling tier, according to this site

Also, the program now shows details about attacks:
+ Type
+ Power
+ Accuracy
+ Physical / Special / Status
+ PP
+ Effects

Don't just think of this program as just a generator, its also provides move-sets and strategies from this site.

My program also has update options, so when the tier change or new strategies get added, the program will up to date.

I wrote this program just for kicks, so I take no credit for the strategies/listing, all the credit goes to people at this site.

Here is the download link: (jar) Old Version

And here are some pictures:
...


Okay, i've noticed a problem if you use Winzip to extract the files. Winzip does not see that the files are contained in folders. However, winrar works just fine.

If you insist on extracting with winzip, then you must create a folder called "data" and place "Attacks", "base stats", "data", "strategies", and "tier" in this folder. then you must create a folder called "lib" and place "appframework-1.0.3.jar" and "swing-worker-1.1.jar" in this folder and everything will work fine.

The New 5th Generation Generator:
...


This version searches by all parameters as the older generator, plus:
+ Abilities
+ Learned Attacks
+ Attacks in Smogon Movesets!

If you want to download this version, it can be found here: New Version. Keep in mind it is a jar file, so you will need the java runtime environment to use it; however, most people already have this installed; if you don't, it can be found here.

Let me know what you think!

Last edited by TheLion; Dec 23rd, 2010 at 11:56:34 AM. Reason: Added new features and new Pics.
TheLion is offline   Reply With Quote
Old Sep 29th, 2010, 1:43:14 PM   #2
Tomoki
 
Join Date: Jun 2009
Posts: 35
Default

This is awesome, but there's a few things I don't like, is there any way I could edit it? And if so, how? D:
Tomoki is offline   Reply With Quote
Old Sep 29th, 2010, 8:14:53 PM   #3
Seven Deadly Sins
:D
is a Tutoris a member of the Smogon Site Staffis a Forum Moderatoris a Contributor to Smogon Mediais a Contributor to Smogonis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
Seven Deadly Sins's Avatar
 
Moderator
Join Date: May 2008
Posts: 4,175
Default

Also, might I ask what language you wrote this in and if you intend to release the source code?
__________________
Seven Deadly Sins is offline   Reply With Quote
Old Sep 29th, 2010, 10:20:01 PM   #4
VirtualKaraokeCircusAct
 
VirtualKaraokeCircusAct's Avatar
 
Join Date: Jan 2009
Posts: 3,208
Default

:/
VirtualKaraokeCircusAct is offline   Reply With Quote
Old Sep 29th, 2010, 11:37:37 PM   #5
Aureolin
 
Aureolin's Avatar
 
Join Date: Aug 2009
Posts: 31
904
Default

Quote:
Originally Posted by Fat VirtualKaraokeCircusAct View Post
:/
Guess he felt a little overlooked lol... Its quite the awesome program though.

Quote:
Categories: HTML, Programming, Metachu
quoted from the top.
__________________
Will EV train for reasonable rates Click Here!
Fast and Legit (PKRS+Frontier Items)
List of Pokemon who have completed my training!
FC: 3137 8324 7148
Cloning services also available!
Aureolin is offline   Reply With Quote
Old Sep 30th, 2010, 2:02:19 AM   #6
Seven Deadly Sins
:D
is a Tutoris a member of the Smogon Site Staffis a Forum Moderatoris a Contributor to Smogon Mediais a Contributor to Smogonis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
Seven Deadly Sins's Avatar
 
Moderator
Join Date: May 2008
Posts: 4,175
Default

oh wow, i should learn to read postbits

D=
__________________
Seven Deadly Sins is offline   Reply With Quote
Old Sep 30th, 2010, 3:35:35 AM   #7
AlcadeiasX
 
AlcadeiasX's Avatar
 
Join Date: Sep 2010
Posts: 38
At home
Default

Awesome Program, no mean to flame but Salamence is a Uber-Dragon why's it marked as OU?
__________________
A noble deed must be nobly returned...That is my Noblesse Oblige.
AlcadeiasX is offline   Reply With Quote
Old Sep 30th, 2010, 3:58:51 AM   #8
Fatecrashers
UNH UNH UNH UNH
is a member of the Smogon Site Staffis an Artistis a Forum Moderatoris a Contributor to Smogon Mediais a Contributor to Smogonis a Battle Server Moderator
 
Fatecrashers's Avatar
 
Moderator
Join Date: Sep 2007
Posts: 4,915
Default

This program was made before Salamence became Uber and has not been touched since then.

Also SDS got fooled by a 3 month bump. lol
__________________
Fatecrashers is offline   Reply With Quote
Old Sep 30th, 2010, 9:12:09 PM   #9
Acklow
 
Acklow's Avatar
 
Join Date: Jan 2010
Posts: 1,978
Yoshino is Yoshino, and Yoshinon is Yoshinon!!
Default

This is a great program.
__________________
This week's Avatar is from:
Date a Live
Acklow is offline   Reply With Quote
Old Sep 30th, 2010, 11:17:18 PM   #10
Aether Nexus
 
Aether Nexus's Avatar
 
Join Date: Apr 2009
Posts: 344
California
Default

Yeah, it does look great. I'll give it a check, see how it is. From the screen prints, seems really good. Hope this person becomes active again to update us on all of this and to correct a few things that have now become Uber, etc. Though, doesn't the post mention it updates with stuff that happens on Smogon? If so, shouldn't Salamence have automatically changed to Uber status on this program if it's supposedly suppose to update itself?

~ Aether Nexus
__________________
Terese Nielsen.<3
Aether Nexus is offline   Reply With Quote
Old Oct 2nd, 2010, 7:09:48 PM   #11
powersurge360
 
Join Date: Apr 2010
Posts: 8
Default

My money says he's scraping the web site and maybe the site changed part of its structure at some point (even slightly changing structure could break a scraper).
powersurge360 is offline   Reply With Quote
Old Oct 10th, 2010, 8:59:55 PM   #12
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

First and foremost, I would like to apologize to everyone that used my program because I should have been doing updates and stuff. But, thanks for the kind sentiments. I kinda forgot about this after a few weeks of no one noticing. I promise to start working on it again as soon as my college exams are over (after next week).

@Seven Deadly Sins I wrote it in java and if you want the source code, I'll give it to you.

@AceAlcadeias if you update the tiers, then salamance will show up as a uber.
TheLion is offline   Reply With Quote
Old Oct 12th, 2010, 3:05:46 AM   #13
Aether Nexus
 
Aether Nexus's Avatar
 
Join Date: Apr 2009
Posts: 344
California
Default

Hurray, s/he responded back! This program has a chance at life again! Though, quick question: say once I load the team in the 6 slots, does this generate a load file of the team to load into Pokemon Lab/Shoddy? Isn't that what this program is for? I mean, if you load the team, then what?

I haven't messed around with the program too much, but I thought that's what this type of program was for -- to generate Pokemon files for PokeLab/Shoddy using the sets on Smogon and/or tweaking the Pokemon if that's not exactly the set you want to use.

~ Aether Nexus
__________________
Terese Nielsen.<3
Aether Nexus is offline   Reply With Quote
Old Oct 12th, 2010, 12:59:01 PM   #14
neorazor
 
neorazor's Avatar
 
Join Date: Sep 2010
Posts: 12
stalking you
Default

Hi, The Lion! Great software.

I would just like to suggest some things:
1. Editable Sets / Custom Sets
2. Allow a feature wherein you can select Pokemon individually, not randomly generated
3. Allow export to text

just some points you may want to consider. Great work! Good luck on the exams!
neorazor is offline   Reply With Quote
Old Oct 12th, 2010, 1:16:15 PM   #15
Seven Deadly Sins
:D
is a Tutoris a member of the Smogon Site Staffis a Forum Moderatoris a Contributor to Smogon Mediais a Contributor to Smogonis a Tiering Contributor Alumnusis a Battle Server Moderator Alumnus
 
Seven Deadly Sins's Avatar
 
Moderator
Join Date: May 2008
Posts: 4,175
Default

I'd just like to note that team generating for Poke-Lab is hilariously simple, since Poke-Lab team files are hand-editable XML. For example:

Code:
<pokemon species="Skarmory">
<nickname></nickname>
<level>100</level>
<happiness>255</happiness>
<gender>Male</gender>
<nature>Impish</nature>
<item>Leftovers</item>
<ability>Sturdy</ability>
<moveset>
	<move pp-up="3">Brave Bird</move>
	<move pp-up="3">Roost</move>
	<move pp-up="3">Spikes</move>
	<move pp-up="3">Whirlwind</move>
</moveset>
<stats>
	<stat name="HP" iv="31" ev="252" />
	<stat name="Atk" iv="31" ev="0" />
	<stat name="Def" iv="31" ev="4" />
	<stat name="Spd" iv="31" ev="0" />
	<stat name="SpAtk" iv="31" ev="0" />
	<stat name="SpDef" iv="31" ev="252" />
</stats>
</pokemon>
The format is fairly self-explanatory, I assume.

Also, I wouldn't mind taking a look at the source.
__________________
Seven Deadly Sins is offline   Reply With Quote
Old Oct 12th, 2010, 9:37:04 PM   #16
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

@Aether Nexus, He. and i initially did not include the option to export to shoddy/lab file because you could do the from the main smogon page. I made it to just generate and make teams for "fun."

@Seven Deadly Sins, that looks ridiculously easy.

@neorazor, i plan on implementing 1 and 2, maybe 3 for the lab thing.

Generation 5 has been a pain for this program, so.... After my college midterms are over (end of next week ), I am going to scrap the entire program and rewrite it from scratch. This is necessary if I plan to include generation 5.

Also, a few people have said that they had problems with the jar, so I am considering writing the program in c++. But I guarantee you i will include learned attacks/tm attacks/egg moves, not only smogon movesets.
TheLion is offline   Reply With Quote
Old Oct 13th, 2010, 11:13:00 AM   #17
alex211
 
Join Date: Oct 2010
Posts: 9
Brunei
Default

What is the operating system for this program?can i use it on my mobile phone since its .jar
alex211 is offline   Reply With Quote
Old Oct 13th, 2010, 10:55:49 PM   #18
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

well, i tried it on windows and linux (ubuntu and clones of it) and it worked fine. i doubt that it would work on your phone though, but you can try.
TheLion is offline   Reply With Quote
Old Oct 14th, 2010, 10:56:22 PM   #19
coolking49
 
coolking49's Avatar
 
Join Date: Oct 2009
Posts: 1,700
India
Default

why would you want to use it on your phone? You wouldn't be able to use it anyways since no simulator works on a phone (though that would be cool)
__________________
1985, before the Iowa-Michigan game, Coach Fry sent a guard out to long snap during pregame punting warmups just to mess with Schembechler, then turned his back while the guard wildly snapped the ball over the punter's head, off the turf, and into the second row. Schembechler, watching the display, asked Fry, "You're not going to let that guy long snap today, are you?" Fry responded, "Coach Schembechler, I don't plan on punting." Go Hawkeyes
coolking49 is offline   Reply With Quote
Old Oct 22nd, 2010, 8:10:34 PM   #20
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

So, my new searching algorithm is almost finished, if you want to help me test it, you can download it here:
http://www.mediafire.com/file/x932lf...tor%20v0.2.rar

Last edited by TheLion; Oct 24th, 2010 at 12:45:49 PM.
TheLion is offline   Reply With Quote
Old Oct 23rd, 2010, 1:05:30 PM   #21
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

So, I am debating what to keep in the new version and what to throw out, so let me know what you like and what you don't like from the original.

Last edited by TheLion; Oct 23rd, 2010 at 2:24:24 PM.
TheLion is offline   Reply With Quote
Old Oct 29th, 2010, 7:06:19 PM   #22
TheLion
 
TheLion's Avatar
 
Join Date: Jun 2010
Posts: 23
NYC
Default

I have updated the thread with the 5th Generation Generator!
TheLion is offline   Reply With Quote
Old Oct 29th, 2010, 7:30:05 PM   #23
Philip7086
is a Tutor Alumnusis a Tournament Director Alumnusis a Site Staff Alumnusis a Team Rater Alumnusis a Battle Server Admin Alumnusis a Smogon IRC SOp Alumnusis a Researcher Alumnusis a Smogon Media Contributor Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnusis a past Smogon Premier League championdefeated the Smogon Frontieris a Smogon World Cup defending champion
 
Philip7086's Avatar
 
Join Date: Jun 2008
Posts: 2,934
Default

This is really cool. Thank you for your work TheLion!
__________________
# of times I've beaten the E4: 173
# of level 100 Pokes: 9 (NO HACKS!!!)
Philip7086 is offline   Reply With Quote
Old Oct 29th, 2010, 9:11:47 PM   #24
locopoke
indulges in unsavory behavior
is a Forum Moderatoris a Tiering Contributoris a Smogon Media Contributor Alumnusis a Battle Server Moderator Alumnus
 
locopoke's Avatar
 
Moderator
Join Date: Aug 2007
Posts: 2,744
Default

When I open the 5th gen team generator in winrar I can't find the actual application to use the program can anyone help

EDIT: Ok i got it to work but now the Generate button literally does nothing for me, do you know the problem

Last edited by locopoke; Oct 29th, 2010 at 9:41:53 PM.
locopoke is offline   Reply With Quote
Old Nov 6th, 2010, 2:35:59 PM   #25
Ranigad
 
Join Date: Jun 2010
Posts: 124
Northwest Continental US
Default

I wouldn't mind the option to limit generations (for those of us who aren't playing 5th gen yet) and tiers. Maybe add your own version of the strengths/weakness chart as well as movesets? o3o Oh, and maybe add the ability to insert select pokemon in slots (for example if I want a team centered around my raichu, I could add it to the list and then begin searching instead of randomizing until I get it). o3o This way, if a person's just looking for the last slot for his team, he/she can just insert all the pokemon that he/she has in his/her team and then generate ideas for the final slot.
Ranigad 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 6:47:59 AM.