Webclient

Discussion in 'Development General' started by coyotte508, Nov 26, 2012.

  1. Swirlz

    Swirlz New Member

    Joined:
    Aug 5, 2011
    Messages:
    2
    Likes Received:
    0
    I'm posting to let you guys know that the weblient is down right now, I try to connect and before I can even put in a username, it disconnects me
     
  2. pokemon0078

    pokemon0078 Member

    Joined:
    Oct 21, 2011
    Messages:
    151
    Likes Received:
    0
    yeah having the same issue
     
  3. Ethan

    Ethan Member

    Joined:
    Nov 6, 2011
    Messages:
    238
    Likes Received:
    0
     
  4. pokemon0078

    pokemon0078 Member

    Joined:
    Oct 21, 2011
    Messages:
    151
    Likes Received:
    0
    is it just me or does clicking find battle open the client in another tab and teambuilder / user control don't actually do anything?
     
  5. Ethan

    Ethan Member

    Joined:
    Nov 6, 2011
    Messages:
    238
    Likes Received:
    0
    The webclient is not finished. These functions have not yet been implemented.
     
  6. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    Last edited: May 2, 2013
  7. Angel Flonne

    Angel Flonne macaron

    Joined:
    Jan 24, 2013
    Messages:
    509
    Likes Received:
    3
    PO Trainer Name:
    Angel Flonne
    That looks amazing, and amazing conversation too.
    Looking forward to the end of this project.
     
  8. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Yea this really looks awesome...
     
  9. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    Last edited: May 3, 2013
  10. Hannah

    Hannah Come a little closer

    Joined:
    Nov 10, 2010
    Messages:
    985
    Likes Received:
    237
    PO Trainer Name:
    Hannah
    Oh my god that looks amazing, really looking forward to that. The design tempts me to switch from client to webclient already :<<

    Will there be an option to switch the players list and the other side? It'll be hard to get used to because it's on different sides :3
     
  11. Marukomuru

    Marukomuru dat Lopunny

    Joined:
    Oct 1, 2012
    Messages:
    1
    Likes Received:
    0
    PO Trainer Name:
    Marukomuru
    So I decided to mess with the webclient for a bit, and noticed that some broadcast messages don't appear.
     

    Attached Files:

  12. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Seems it's already fixed on lamp's version, so it will be on any future version.
     
  13. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
  14. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
  15. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18

    Yes, and hopefully timestamps don't get picked. xD
     
  16. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    deity is king when it comes to design. (though maybe make it at least an option)

    Also there's only one commit to cherry-pick! (and it contains auth sign at the same time too)
     
  17. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Well C++ client has also option to opt in or out of time stamps. IMO any good chat client needs to have timestamps (maybe I'm just time freak)
     
  18. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    There's definitely room for a "Raw Chat" link or something that would display timestamps (In the web sim), and just hide them by default with CSS. So long as the timestamp is inside a unique element (<span class="timestamp">time</span>).
     
  19. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    You can now battle!!

    There's a few things to fix, but it works (if you see your opponent hasn't moved for a long time, try doing your move again). Thanks to the first guy I battled with the webclient, Descap38, and your sacrifice to the webclient god!

    Currently you can only battle in random tiers (CC, BF), and you can't even change tiers so it's whatever the default tier is!

    But now that battles work, I expect further changes to be a lot faster, and more contributors D:

    You can see an issue list here, and I also want to thank d25inferno for all his help in contributing to the webclient! If any of you devs or apprentice-devs (you only need to know javascript, the rest is optional) want to help, don't hesitate to bug me on skype (my handle there is coyotte508) and I can walk you through the changes necessary to fix such or such bug, no problems. You can also add issues to the github repo!

    ~~~
     
  20. Blitzamirin

    Blitzamirin Waluigi! Number one!

    Joined:
    Nov 25, 2011
    Messages:
    1,806
    Likes Received:
    276
    PO Trainer Name:
    Blitz
    The lack of timestamps ultimately made me switch to the older version (the text spoken in lines also overlap, and while the text is still readable, it looks awful). Tried battling (Iphone) and it does work, though the button interface is hard to click (requiring multiple presses), and coding is visible under the battle screen, and on the chat window. Otherwise though, it works.
     
  21. SteelEdges

    SteelEdges The Poll Dancer

    Joined:
    Dec 15, 2011
    Messages:
    462
    Likes Received:
    59
    The webclient is not working from the factory where I work. I'm not sure why or what can be done to fix it.
     
  22. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Use chrome or the latest FF.
     
  23. Blitzamirin

    Blitzamirin Waluigi! Number one!

    Joined:
    Nov 25, 2011
    Messages:
    1,806
    Likes Received:
    276
    PO Trainer Name:
    Blitz
    Oh I forgot to post this morning.

    Pretty much have the same problem as Steel. I can't access the webclient on my phone anymore, and have tried the latest Chrome / FireFox.

    Hopefully I should be able to use the downloadable client whenever my laptop shows up from repairs. Otherwise, I can't do anything.
     
  24. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Team preview works, you can talk in battles, and PP do update correctly.

    Still a lot of stuff to do.
     
  25. Knots the Notorious

    Knots the Notorious aka Gary Oak from HC

    Joined:
    Apr 24, 2010
    Messages:
    69
    Likes Received:
    6
    PO Trainer Name:
    Gary Oak
    Web client currently connects then disconnects instantly. Latest firefox.

    Was hoping to try it out, too :[
     
  26. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    it's being reworked anyway, sorry!
     
  27. Zzyzx Road

    Zzyzx Road Member

    Joined:
    Feb 16, 2012
    Messages:
    572
    Likes Received:
    2
    PO Trainer Name:
    Zzyzx Road
    Will it be possible to have multiple layouts, designs and styles to choose from? I'd like to help in programming but my experience there is limited to web techs (JavaScript, PHP and other "weak" programming languages), but I'd like to work on different visuals for the webclient if I'd been given the chance.

    edit - oh and I'm also an html5 game designer, if that gives me any credit on working with web apps
     
  28. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Web-developer skills are most appreciated in web client development. There is the repo for the client in https://github.com/po-devs/webclient
    There is another software which communicates between server and web client, which is written in C++. It lives here: https://github.com/po-devs/pokemon-online/tree/master/src/RelayStation
     
  29. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Last edited: Nov 14, 2013
  30. monk0rz

    monk0rz New Member

    Joined:
    Nov 16, 2013
    Messages:
    1
    Likes Received:
    0
    Is there a github link to this somewhere?
     
  31. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
  32. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    If you want to use Chrome, you'll have to add a command line switch (--allow-file-access-from-files).

    An easy way to do this for Windows is to right click on the Chrome icon on your task bar, then right click on "Google Chrome", and finally click on "Properties". (if you use a desktop shortcut, just right click->Properties). Then add "--allow-file-access-from-files" to the target (something like "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files).
     
  33. Deity

    Deity Designer

    Joined:
    Dec 9, 2010
    Messages:
    195
    Likes Received:
    18
    Is anyone still working on this? I'd like to put in some time if it's still planned.
     
  34. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    I think Jirachier, SongSing, and TheUnknownOne were the last people to touch it. Not sure what they are still doing on it, but it does need work and the project hasn't been discontinued (just not focused on as much)
     
  35. SongSing

    SongSing KILLL

    Joined:
    Jan 2, 2013
    Messages:
    641
    Likes Received:
    191
    PO Trainer Name:
    SongSing
    i have yet to touch it
     
  36. Withoutatrace

    Withoutatrace im a filthy weeb

    Joined:
    Jun 11, 2013
    Messages:
    563
    Likes Received:
    370
    PO Trainer Name:
    Withoutatrace
    The ones currently working on it are @Kody and @MidwayMarshall, if you want to get with them on it, and see their current progress. :o
     
  37. SongSing

    SongSing KILLL

    Joined:
    Jan 2, 2013
    Messages:
    641
    Likes Received:
    191
    PO Trainer Name:
    SongSing
    Where could I see that? The github repo hasnt been touched in a while
     
  38. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Oh I thought you were working on your own version Song. I did see something on your github thingy related to it.
     
  39. SongSing

    SongSing KILLL

    Joined:
    Jan 2, 2013
    Messages:
    641
    Likes Received:
    191
    PO Trainer Name:
    SongSing
    yea i have mine but i heard the official one was being revived so \o/
     
  40. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Idk if @Kody is still alive. I have just been doing android things making battling better and fixing crashes ruining ladder.

    People interested in getting the web-client dev back up in a group. We need to get together one day to outline what needs to be done/how to go about it