1. Welcome to Smogon Forums! Please take a minute to read the rules.
  2. Click here to ensure that you never miss a new SmogonU video upload!

Programming Pokepad: A collaborative teambuilder

Discussion in 'Technical Projects' started by Nineage, Nov 29, 2016.

  1. Nineage

    Nineage A Simply Awesome Onix
    is a Contributor to Smogon

    Joined:
    Sep 13, 2013
    Messages:
    796
    http://www.salty-nerd.com/pokepad

    This thread is summarized at the bottom for people who have spent their reading energy elsewhere

    Introduction
    This project started a month or so back, when I was playing around with some new stuff and decided to try and build a basic chat application. I succeeded, and started to play around with what I could do from there. Of course, once the app got more complicated (read: something someone might use), I invited TheFenderStory, who once again did at least 50% of the work on this project. In the end, we decided to build a collaborative teambuilder, which I think has turned out pretty well. We were inspired in doing this by Lemonade's version of the same project, so credit definitely should go there.

    What Pokepad does
    Pokepad is a real-time collaborative teambuilder for competitive teams. It features full integration with Smogon sets, meaning you can change a Pokemon's moveset to a Smogon moveset with the click of a button. It also features live chat to communicate while building, ability to customize movesets in real-time, and (in my opinion), decent visuals. You can create a room and invite friends to teambuild with you in a much more efficient way than piratepad or a collaborative text editor.

    What we will be adding
    Things that are on our radar screens already include:
    A better way to toggle EVs (e.g. slider maybe, not exactly sure)
    Integrated damage calculator
    Possible breakmyteam integration
    A view-only mode, so you can invite others to watch a teambuilding session

    How you can help
    As always with these projects, this needs some work. If you find small glitches (or big ones I guess), have suggestions for improvements or new features, or just want to tell TheFenderStory and I how much you love us, please feel free to post here! If you are a coder, our GitHub for this project is http://github.com/Nineage/Pokepad. The code is horrifically messy, so good luck on that front.

    Summary
    Pokepad is a collaborative teambuilder. You can use it online! The link is:

    Some thank yous (open)
    I've come a long way since I first started doing programming work, and this is my favorite thing I've ever built. Just wanted to thank some people. This is sappy so go ahead and skip it.
    jd4564 You aren't a smogoner but I first started doing this from bothering you, so thank you.
    panpawn Thanks for always giving me advice on projects and stuff, you've taught me a ton about the working of stuff. Also Gold is kinda mediocre.
    Sparkychild Austin @CreaturePhil Coders I've worked on servers with, thanks for inspiring me to work on cool stuff.
    dsr95 Coconut Quote Berks BASED Infamy Corporal Levi LCers I most frequently harass about my projects. Sorry for being a pain at times, but thanks for all of your input guys!
    OrdA You always spot the little things, and are always down to chat with me about the latest projects, so thanks for that.
    rssp1 I secretly love you.

    TheFenderStory Dude, you suck.
    Last edited: Jan 6, 2017
  2. panpawn

    panpawn You Can't See Me
    is a Pre-Contributor

    Joined:
    Aug 6, 2013
    Messages:
    73
    um excuse u gold is amazing

    but yea seriously nice job! if you need anymore advice feel free to ask zzz

    (o.o)b
    Nineage likes this.
  3. Lemonade

    Lemonade instrastring
    is a Site Staff Alumnusis a Team Rater Alumnusis a Smogon Social Media Contributor Alumnusis an Artist Alumnusis a Forum Moderator Alumnusis a Contributor Alumnus

    Joined:
    Oct 16, 2010
    Messages:
    2,744
    cool stuff, thanks for the shoutout

    http://i.imgur.com/Pquv5sW.png
    some text is cut off. Using Firefox (actually Waterfox 50.0), on a 1080p screen (but window not maximized)
    Highways likes this.
  4. Highways

    Highways love klefkwi
    is a Smogon Media Contributor

    Joined:
    Jan 8, 2016
    Messages:
    917
    So, I used Pokepad yesterday, and it's really, really good. The only thing that I think that you need to improve is the text cutoff, how Lemonade said. Keep doing the hard work, man!
    Nineage likes this.
  5. TheFenderStory

    TheFenderStory

    Joined:
    Feb 25, 2014
    Messages:
    187
    Fixed the text cut off problem
    Nineage likes this.
  6. panpawn

    panpawn You Can't See Me
    is a Pre-Contributor

    Joined:
    Aug 6, 2013
    Messages:
    73
    Importing a team doesn't seem to be working for me...?
  7. Nineage

    Nineage A Simply Awesome Onix
    is a Contributor to Smogon

    Joined:
    Sep 13, 2013
    Messages:
    796
    You shouldn't be able to import a whole team...just individual sets. Can you give an example of what isn't working?
  8. panpawn

    panpawn You Can't See Me
    is a Pre-Contributor

    Joined:
    Aug 6, 2013
    Messages:
    73
    When I try importing a Pokemon, it isn't working.

    Here's what I tried:
    Code:
    Tirtouga (M) @ Berry Juice 
    Ability: Solid Rock 
    Level: 5 
    Shiny: Yes 
    EVs: 252 Def / 236 SpD 
    - Stealth Rock 
    - Scald 
    - Aqua Jet 
    - Shell Smash
  9. dsr95

    dsr95

    Joined:
    Aug 18, 2012
    Messages:
    132
    Yay for shoutouts! Glad to help out :>
  10. TheFenderStory

    TheFenderStory

    Joined:
    Feb 25, 2014
    Messages:
    187
    Thanks for the report Panpawn. Looks like we forgot to account for shiny's in imports. I'll get that fixed.
  11. TheFenderStory

    TheFenderStory

    Joined:
    Feb 25, 2014
    Messages:
    187
    Actually panpawn, we fixed the shiny issue, turns it the problem is because you don't have a nature in your set. We default the nature to serious now if none is provided.
    slurmz and panpawn like this.
  12. TheFenderStory

    TheFenderStory

    Joined:
    Feb 25, 2014
    Messages:
    187
    Looks like too many of you have been using Pokepad to the point that heroku is asking me to pay to continue hosting it due to high traffic. On one hand, thats super awesome its getting used, on the other, i'll have to come up with a new hosting solution. I'll keep you all posted.
    Highways and NixHex like this.
  13. Nineage

    Nineage A Simply Awesome Onix
    is a Contributor to Smogon

    Joined:
    Sep 13, 2013
    Messages:
    796
    It is back!
    http://www.salty-nerd.com/pokepad is the new home for Pokepad! We are still ironing a few things out on its new home, but it should be faster and more reliable than ever before! Happy teambuilding!

    (CleanRMT will be there soon)
  14. Hicron

    Hicron

    Joined:
    Dec 2, 2016
    Messages:
    15
    It doesn't work and I don't know why
  15. Nineage

    Nineage A Simply Awesome Onix
    is a Contributor to Smogon

    Joined:
    Sep 13, 2013
    Messages:
    796
    You're going to have to be specific. The site appears to both load fine and work for me. What aspect isn't working? What browser are you using? What have you tried to do? I can't fix a bug without knowing what the bug is.

    If the issue is that the site is completely inaccessible, that's probably an issue with your firewall.
    OrdA likes this.
  16. Hicron

    Hicron

    Joined:
    Dec 2, 2016
    Messages:
    15
    Now it's working well xD
  17. NOVED

    NOVED
    is an official Team Rateris a Community Contributor

    Joined:
    Jul 9, 2014
    Messages:
    1,218
    Really cool site.
    One bug i noticed tho is the movepools of therians seem to be getting mixed up. http://prnt.sc/eyr753
  18. TheFenderStory

    TheFenderStory

    Joined:
    Feb 25, 2014
    Messages:
    187
    I think its a known issue with this app that pokemon with dashed names seem to cause problems. Most likely something we forgot to account for when we were building it. I'll poke at it and see what i can find.
    Nineage and NOVED like this.

Users Viewing Thread (Users: 0, Guests: 0)