1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, PO has ceased our separate tiering and adopted Smogon tiers for SM. More information and updates here.

    Dismiss Notice

Webclient - The third time is the charm!

Discussion in 'Development General' started by coyotte508, Sep 24, 2015.

  1. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    Making it tabbed rather than an accordion might be good spatially, especially on mobile devices.
     
    kalyan and Nightfall Alicorn like this.
  2. Weavile

    Weavile Phoenix

    Joined:
    Jul 17, 2010
    Messages:
    2,702
    Likes Received:
    890
    Damn this battle window looks great now. Well it's still small but it looks very functional now.
    Couldn't find an issue for it but opponent HP % and Pokémon HP are mucho important.
    Also Landorus-T currently displays the sprite for Landorus-I (and Kyu-B displays Kyurem) and Megas don't change sprites.
    I'm sure this stuff was known but I couldn't find issue reports for it.
     
    kalyan and Nightfall Alicorn like this.
  3. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Alternate formes display for me (Perhaps that update hasn't been pushed to public webclient?)

    Forme changing in battle is not handled atm (but hackmon megas will show)
     
    Nightfall Alicorn likes this.
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    ^ Just updated.

    Also now there's a very basic Teambuilder. It's main purpose is to allow us to perform some tests.
     
    E.T. and Nightfall Alicorn like this.
  5. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Webclient updated with ORAS sprites!

    Also a lot of other changes. Now watching battles should feel a lot better with sendback animations and proper status!
     
  6. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    upload_2015-10-25_2-23-18.png

    Need to add nature, plus happiness/IVs?
     
    Nightfall Alicorn likes this.
  7. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    Just auto-set happiness to 255 if it has Return and 0 otherwise. Maybe IVs could be right next to the EVs? Not sure what you could do with nature though.

    Perhaps make the teambuilder overlay the whole screen so you have more room to work with? I'm not really sure how management for multiple teams could be added as is.
    oops, forgot there was a home tab

    Could the scroll bars be made permanent? I'm not sure if I'm the only one, but it's kind of weird/inconsistent with most other UIs to have them not be permanent. On desktops the space they take up isn't that significant and I think android hides them until people swipe to scroll since they're really more indicators than functional UI elements there.
     
    Last edited: Oct 25, 2015
  8. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    That's actually looking awesome. :o Yea I would add them. People don't like missing stuff, plus Hidden Power is still used. Would it be possible to display all available moves for the Pokemon without needing to add 1 letter first when clicking the lists?
     
    Mattwilder likes this.
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    https://github.com/po-devs/po-web/issues/44 , scrollbars are discussed there already.

    I'm ok with happiness, there will be the guy with a dittto complaining, but i'll just make it so he can set it in the importable!

    The reason why scrollbars are hidden is because they don't look good on FF.
     
    sulcata likes this.
  10. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Android is not related to this thread.

    [​IMG]

    Everything fits!

    @Nightfall Alicorn your problem is solved in the development version.

    Now to do team management, import/export...
     
    E.T. and Nightfall Alicorn like this.
  11. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Teambuilder is completed, for gen 6 at least!

    The home page:

    upload_2015-10-28_18-30-31.png

    You can select the team used, and the tier. The lock button is to enable hackmons, the up/down arrows are to change the order in the team. You can also store / load teams.

    The importable page:

    upload_2015-10-28_18-32-23.png

    If you go on one poke and do importable, that's what happens. You have the pokemon only and can edit it there / reimport it. You can also click "Whole team" to have the whole team importable, which is the default behavior when you click on the button and are at the home tab.

    upload_2015-10-28_18-33-48.png

    Here you have a pokemon page. It links directly to PO/veekun. The panel changes content depending on where you click: if you have the focus on item selection, it shows the item descriptoin & icon. Same with ability, moves. If the move you're selecting is Hidden Power, it allows you to select its type (and will change the IVs). If you're on an IV, it will also allow to to select hidden power type.

    If hackmons are disabled, when you directly select a Mega Charizard X for example, it will set a Charizard and the correct item as well.
     
  12. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Weather animations & battle tooltips were added.
     
    Nightfall Alicorn likes this.
  13. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    I've added what can be done next as issues on Github. There's some small improvements listed as well as some major features, like replays and smogon sets. What I do next and the order in which I do it will depend on feedback!
     
    Draciel, E.T., Weavile and 2 others like this.
  14. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Gen support added in teambuilder!
     
    Nightfall Alicorn, sulcata and E.T. like this.
  15. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    E.T., turbedi, IceKirby and 6 others like this.
  16. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Smogon sets are added in the teambuilder =p
     
    Deity and Nightfall Alicorn like this.
  17. turbedi

    turbedi Professional circle clicker ~~~ Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jul 18, 2013
    Messages:
    385
    Likes Received:
    155
    PO Trainer Name:
    turbedi
    coyotte508 likes this.
  18. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Fixed, will be updated online next time I upload something.
     
    Nightfall Alicorn likes this.
  19. Mattwilder

    Mattwilder New Member

    Joined:
    Oct 10, 2015
    Messages:
    5
    Likes Received:
    1
    PO Trainer Name:
    [FR] Mattwilder
    how can I join a clan and how can I change my name to [FR] Mattwilder?
     
  20. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    That's not related to here. You can change your name by clicking the pencil icon at top right, and you can find people you like and make a clan with them?
     
    Mattwilder likes this.
  21. Mattwilder

    Mattwilder New Member

    Joined:
    Oct 10, 2015
    Messages:
    5
    Likes Received:
    1
    PO Trainer Name:
    [FR] Mattwilder
    excuse me when I go to web chat it says that sombody else is logged in with my name
     
  22. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    Chances either your ghost is on (some rare occasions, the server thinks your still on from before). Or you could be logged on from another device. Only option I see is log in by a different name.
     
    Mattwilder likes this.
  23. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Anyway, you should register (in the settings), so then when you type your password you'd connect anyway.
     
    Mattwilder and Nightfall Alicorn like this.
  24. JinLong88

    JinLong88 Golden Dragon

    Joined:
    Jan 18, 2011
    Messages:
    46
    Likes Received:
    11
    Webclient major bug - could not make any moves in battle

    I use Firefox as my browser on my PC, and I started using the PO web client today.

    I had a few battles in different tiers where everything was fine, and then during my second uber battle,
    I was immediately frozen right after I picked my lead.

    All the moves were grayed out, and clicking didn't do anything.
    My time was running down, and I didn't have any draw option available.
    My opponent sent me numerous draw requests but nothing popped up on my end.

    Weirdest of all, the client switched my name with my opponent's name.
    When I typed in chat, his name would be there instead of mine, next to my words.

    Here are two screenshots:

    upload_2015-11-2_13-54-46.png upload_2015-11-2_13-54-2.png

    Hopefully something can be done to prevent this again in teh future.
    Let me know if you want anymore details

    Thanks

    JinLong88
     
    Last edited: Nov 2, 2015
  25. Weavile

    Weavile Phoenix

    Joined:
    Jul 17, 2010
    Messages:
    2,702
    Likes Received:
    890
    Situations like this have been popping up as a result of the webclient having constant work done at the moment.
    Yesterday evening you couldn't make any moves after a Pokémon died for example. Issues like this will become gradually less frequent as major work stops being done I would imagine. Not that I want to speak for someone who knows better than me, but that's how it appears.
     
  26. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    @JinLong88

    If that bug happens again, can you check your console: Ctrl+shit+I on Firefox, open console , only enable javascript messages. Is there any errors (red messages)?

    Anyway, I myself can't reproduce those bugs consistently. I will need at some point the cooperation of someone who can to find the root cause and fix it once and for all. But for now there are still many other things to be done, so it's not the most important priority.
     
  27. JinLong88

    JinLong88 Golden Dragon

    Joined:
    Jan 18, 2011
    Messages:
    46
    Likes Received:
    11
    @coyotte508

    I don't know about you, but I don't have a shit key on my keyboard, so I can't really control it... ;-)

    No but really, yes I'll check the console if it happens again and let you know if anything comes up
     
    turbedi and Fate Testarossa like this.
  28. Silvis

    Silvis New Member

    Joined:
    Nov 12, 2014
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    Hitokage, Malice
    Is server IP entry going to be added? Private servers are currently impossible to reach without using the main client
     
  29. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    http://servers.pokemon-online.eu/

    there is also a button in the main webclient called "servers"

    I think servers also could host their own webclient and change the config.js to change the default server to connect
     
    Nightfall Alicorn likes this.
  30. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    @Silvis, servers can already run RelayStation.exe and add "127.0.0.1" in their trusted IPs, and you'll be able to connect to them using the webclient.

    It'll all be explained better with a wiki when the webclient's properly released as well as the new version of the server. But if someone wants to set up things properly for their server in advance I can skype with them and help them set it up.
     
    Nightfall Alicorn likes this.
  31. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
  32. ! HC ! Magic Bounce

    ! HC ! Magic Bounce New Member

    Joined:
    Jul 11, 2015
    Messages:
    11
    Likes Received:
    1
    PO Trainer Name:
    Sp00ky Scary Bounce
    now thats because of groudon desolate land, ive played some games and everytime i switched to pdon the game would just break and i had wait or close the browser
    when it gets fixed let me know because web client looks way better then windows client
     
  33. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    that issue is resolved so desolate land and primordial sea should not cause 404 errors anymore. (I just tried without crashing)
     
  34. Mister Tim

    Mister Tim USSR hax user

    Joined:
    Mar 18, 2012
    Messages:
    171
    Likes Received:
    267
    PO Trainer Name:
    Franchesco Timmo
    tried to play PO on ipad mini 3, this looks like not very good
    [​IMG]

    with this bug quet hard to push buttons which are behind the log
    [​IMG]

    also, for attack need to tap twice
     
    Nightfall Alicorn and Lutra like this.
  35. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    167
    Ok. I don't have any ipad but i'll soon get a tablet to test stuff out.
     
  36. SynchronizedAbsol

    SynchronizedAbsol New Member

    Joined:
    Nov 24, 2015
    Messages:
    2
    Likes Received:
    0
    It says that my accounts not logged in but I can't do anything, help?
     
  37. SynchronizedAbsol

    SynchronizedAbsol New Member

    Joined:
    Nov 24, 2015
    Messages:
    2
    Likes Received:
    0
    It says my accounts logged in already and I can't do anything.
     
  38. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    Try logging in another alt and use: /selfkick
     
  39. jj1738

    jj1738 New Member

    Joined:
    Nov 26, 2015
    Messages:
    1
    Likes Received:
    0
    help i just joined but can't make a pokemon team
     
  40. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    171
    PO Trainer Name:
    Nightmare Moon
    Did you try clicking Team Builder at the top?