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 Jan 30th, 2012, 3:38:00 PM   #1
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default CC4Wifi



It's Challenge Cup. For Wi-Fi.

The best simulator metagame, now available for DS!


Basically, CC4Wifi is a program that generates six random .pkm files that obey Challenge Cup rules (random items/moves/natures/IVs/EVs/etc., at least one "attacking" move per set, level balance) that can easily be imported into Pokesav. NOTE: DOES NOT WORK WITH POKEGEN (works with Pokegen as of v1.3)

For those of you who've never played Challenge Cup before, the link above is a good reference, but basically, it's like Pokedex Roulette, except EVERYTHING is randomly generated, not just the list of pokemon.

CC4Wifi is written in Python and should be available for all operating systems.

As of v2.0, CC4Wifi includes the new movesets and formes introduced in Pokemon Black 2 and White 2. It will continue to work with the original games, but be careful with Kyurem/Kami Trio formes.

Download Links:
  • Windows (DOES NOT REQUIRE PYTHON!)
  • Mac
  • Linux (should also be compatible with BSD, presumably)


Other Links:
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog

Last edited by Antar; Jun 24th, 2012 at 11:43:20 PM.
Antar is offline   Reply With Quote
Old Jan 30th, 2012, 6:34:24 PM   #2
Lady Salamence
radda radda
is a Contributor to Smogon Media
 
Lady Salamence's Avatar
 
Join Date: Aug 2010
Posts: 2,293
ROFL ROFL ROFL
Default

This is seriously cool.

too bad i dont wifi
__________________
oh dear [sigpic] broke
Lady Salamence is offline   Reply With Quote
Old Jan 31st, 2012, 5:08:43 AM   #3
whitefag
 
Join Date: Jul 2010
Posts: 46
Tomsk, Siberia
Default

Hmm, why don't you incorporate it with fake GTS server?
It was researched long ago, here's on of implementations ...but it's on PHP with comments in Russian, so it's only as good as a reference.

Also to avoid updating the scripts each time something new gets released, you can use veekun's dex (or rather a subset of its sqlite db). As I can see right now you use data from PS, PO and some hardcoded stuff.
whitefag is offline   Reply With Quote
Old Jan 31st, 2012, 7:21:23 AM   #4
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Quote:
Originally Posted by Fat whitefag View Post
Hmm, why don't you incorporate it with fake GTS server?
It was researched long ago, here's on of implementations ...but it's on PHP with comments in Russian, so it's only as good as a reference.
I talked a little bit with OmegaDonut and Kaphotics about something similar last night. They were actually talking about a fake tournament server, which would be awesome. In any case, I'm open to the idea.

Quote:
Also to avoid updating the scripts each time something new gets released, you can use veekun's dex (or rather a subset of its sqlite db). As I can see right now you use data from PS, PO and some hardcoded stuff.
The only thing that should ever need updating is "learnsets.txt," and I figure it's not a huge deal if Mewtwo doesn't get access new signature move, since it's so unlikely that it would be selected anyway. Keep in mind that I don't worry about moveset "legality"--illegal move combos / move-ability combos are par for the course, as--I believe--they are in the PO implementation. I figure I'll update it once in a blue moon.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Jan 31st, 2012, 1:47:08 PM   #5
Sucker4Jess
 
Sucker4Jess's Avatar
 
Join Date: Jul 2009
Posts: 13
New York
Default

BADASS MANG!
__________________
No matter what the world, the God Of that world makes the rules. In truth, you've already been defeated by challenging me to a battle.
Newark VGC 2011 - Masters Top 32 (short-lived)
Sucker4Jess is offline   Reply With Quote
Old Feb 1st, 2012, 4:11:27 PM   #6
amps n ohms
 
Join Date: Jun 2011
Posts: 1
Default

Amazing. Just saw your PMP upload and it's the greatest thing ever.
amps n ohms is offline   Reply With Quote
Old Feb 1st, 2012, 4:38:10 PM   #7
Battlepower777
 
Join Date: Nov 2011
Posts: 2
Default

How do you do this, like i WinRar it but then idk what to do and what to click
Battlepower777 is offline   Reply With Quote
Old Feb 1st, 2012, 5:00:01 PM   #8
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Quote:
Originally Posted by Fat Battlepower777 View Post
How do you do this, like i WinRar it but then idk what to do and what to click
There's a handy README file that gives detailed instructions. But yeah. Basically, you click it, it generates the six files in a folder marked "CC" on your desktop, and you import them into Pokesav. Alas, it doesn't work with Pokegen. Not sure why.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Feb 2nd, 2012, 2:49:40 AM   #9
MikeDecIsHere
Laying the Groundwork for the Pound Work
is a Battle Server Moderatoris a Forum Moderator Alumnusis a Smogon Media Contributor Alumnus
 
MikeDecIsHere's Avatar
 
Join Date: Sep 2010
Posts: 1,840
Staten Island
Default

commented in the PMP vid, but this once again is amazing work man
__________________
MikeDecIsHere is offline   Reply With Quote
Old Feb 2nd, 2012, 1:30:40 PM   #10
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

This shit now works with Pokegen. Rejoice.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Feb 2nd, 2012, 9:19:15 PM   #11
max10201
 
max10201's Avatar
 
Join Date: May 2009
Posts: 1
Default

Wonderfully done! But is there a reason the generated files can't be uploaded to pokecheck?
max10201 is offline   Reply With Quote
Old Feb 2nd, 2012, 10:04:46 PM   #12
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Quote:
Originally Posted by Fat max10201 View Post
Wonderfully done! But is there a reason the generated files can't be uploaded to pokecheck?
Well, they're designed to fail hack checks (namely, the movesets aren't necessarily legal, what with unreleased DW abilities and all. Plus, the PID is all wrong). Other than that? No idea.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Feb 4th, 2012, 1:23:35 PM   #13
daoze555
 
daoze555's Avatar
 
Join Date: Aug 2011
Posts: 4
Default

How do i use this?
__________________
† I am a Christian and proud of it! Copy and paste this if you are too.
daoze555 is offline   Reply With Quote
Old Feb 4th, 2012, 2:10:29 PM   #14
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Quote:
Originally Posted by Fat daoze555 View Post
How do i use this?
Read the README. All the instructions are there. If you need help procuring/using Pokesav/Pokegen, you'll have to ask somewhere else.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Feb 4th, 2012, 5:18:39 PM   #15
Husky
 
Husky's Avatar
 
Join Date: Mar 2010
Posts: 344
Germany
Default

Ok, I know how to do this cuz I read the readme file but there's a problem with this:
When I run CC4wifi, it creates a CC folder but it stays empty (no files have been created). What have I done wrong and how can I fix this problem?
__________________
http://serebii.net/badges/40.pngBlack2 FC: 1893-7539-6848 || using legal hackshttp://serebii.net/badges/45.png
current analysis: »QC approved»http://sprites.pokecheck.org/icon/445.png
"Brute force can sometimes kick down a locked door, but knowledge is a skeleton key."
-- Jace Huskyhttp://sprites.pokecheck.org/icon/638.png
Husky is offline   Reply With Quote
Old Feb 4th, 2012, 6:16:37 PM   #16
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

I fixed the issue. Try re-downloading it.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Feb 23rd, 2012, 11:45:38 AM   #17
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

v1.4 is now released. DW abilities are now allowed!

With this update, if you're having a CC4Wifi battle with someone, it would *probably* be a good idea to make sure you're both using the same version.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Apr 28th, 2012, 12:02:33 PM   #18
boratlikebali
 
boratlikebali's Avatar
 
Join Date: Oct 2011
Posts: 2
Under a bed
Default

Awesome! I have succesfully generated a team but I do have trouble finding people who want to battle in Challenge Cup =(....

PS: Anyone here want to battle?
boratlikebali is offline   Reply With Quote
Old May 19th, 2012, 1:30:33 PM   #19
fluffyisaboss
 
Join Date: Jan 2012
Posts: 1
Default

im confused idk how to use this i downloaded it and i have pokegen and i just get text and idk what it means its about pokemon but i dont know what to do and how to do whatever this CC program does
fluffyisaboss is offline   Reply With Quote
Old May 19th, 2012, 3:26:53 PM   #20
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Quote:
Originally Posted by Fat fluffyisaboss View Post
im confused idk how to use this i downloaded it and i have pokegen and i just get text and idk what it means its about pokemon but i dont know what to do and how to do whatever this CC program does
Open the README file in wordpad or word, not notepad (which will open by default if you just double-click it). The directions are in there.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Jun 24th, 2012, 11:44:26 PM   #21
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

CC4Wifi has been updated for BW2!

I also finally redid that README so it'll look okay in Notepad.
__________________
Codes and Hacks I Use
PBR FC: 4898-8739-8815 (See here)
Black FC: 4040 5386 0128 / White 2 FC: 4771 3664 7215
My Narrated PBR & Gen V Battles
My Trade Thread
Convert any sim team to pkms
Pokemetrics: A Blog
Antar is offline   Reply With Quote
Old Oct 18th, 2012, 3:58:13 PM   #22
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,051
DC Metro Area
Default

Updated to v2.1 with some minor learnset fixes (basically, I'm using the most recent version of PS' learnset file).

P.S. Anyone want to battle? Send me a PM.
Antar 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 12:01:13 PM.