PO Log Replay site

Discussion in 'Development General' started by Tano, Jan 17, 2013.

  1. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    Last edited: Jan 17, 2013
  2. Kyrk

    Kyrk KACAW

    Joined:
    Jun 28, 2011
    Messages:
    1,232
    Likes Received:
    142
    PO Trainer Name:
    RTG
    Pretty cool that you got it working, although the battle replay itself is rather small and simple. I also was able to see the replay with no troubles using Safari 6.0.2

    I believe this has a lot of potential - will you be updating this to eventually look something similar to aesoft's replayed?

    Also to anyone who hasn't used it, this is what one of the replays would look like Replay: falconswin11 vs Kyrk--11 January 2013 at 18h34.
     
  3. Elements

    Elements BOOMER SOONER Forum Moderator Server Staff Forum Moderator Server Staff

    Joined:
    May 9, 2010
    Messages:
    1,195
    Likes Received:
    48
    PO Trainer Name:
    Elements
    Moving this to Dev Den.

    Pretty cool beta! Can't wait to see the actual pokemon battle window.
     
  4. Tyki

    Tyki Change

    Joined:
    Nov 13, 2011
    Messages:
    926
    Likes Received:
    0
    PO Trainer Name:
    Tyki
    Nice way to use the HTML files that were just clogging space! Looks awesome. Works fine on Firefox 17.0.1, and if you guys need any help, just ask. We've got people to spare.
     
  5. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    Thank you both!

    Actually an early alpha version was very similar to the old aesoft log viewer, with 3d field and animated sprites (actually it was more similar to a real in-game screen), then I made a u-turn for something different after the XY trailer. I was afraid to waste my time because of the lack of animated sprites in the future, so yesterday (lol) I designed on piece of paper this new interface and here it is.

    This is a screen from the day1 version, so even before the restyling it was really different, but it gives you an idea of how it was 2 days ago: http://i.imgur.com/DYxNY.jpg
    (it's from my friend's WP, reporting a bug)

    So I don't think that the final version will be too much different from this beta, except some more informations.
    At the moment I'm more focused on testing bugs and find workarounds for chrome (that is actually 40% of the web), and then I'll add more functions (like entry hazards, stat ups, etc).

    Kyrk, are you using safary on an apple device or on windows?
    Also I'd like the iPhone too to be checked. I've already tested it on Android (firefox, chrome (bad)) and Windows Phone.
    I've also tested it on firefox 13 (that probably uses -moz- attributes) on an intel atom netbook, and it's fine.


    Ahahah, thank you. I made it pretty much alone in 4-5 days, with people on my forum giving me suggestions, logs and bug reports.

    I'm currently trying to figure out why the hell chrome works fine on some elements and doesn't work on other elements that use the same css structure. It removes correctly the opponent's pokemons (left side) on switch out and KO, but it doesn't work with weather, substitute and the player's pokemons. Could just be a bug in how chrome handles animations, since the code is the same that firefox reads, except "-webkit-" prefix before keyframes and animation attributes. Also Safari is a webkit browser, reads the same code and it works fine. I'm having trouble only with chrome and opera.
    At the moment I'm using a workaround for pokemon names and sprites (I've added a white background in their divs, so you can't see what's behind them), but still it's buggy for substitute and weather (well, I have a workaround in mind for them, but it's stupid and not really reliable).

    The css is public, so you can check it by yourself and tell me if you find something strange.
     
  6. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    This seems really great...
     
  7. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    Thanks.

    I was starting to work on on different language logs, but I realized that it would require a very long time, since I should translate any move of any language, and a lot of battle messages.
    Uhm.. I was wondering if you could make a new version of the logs (4.0?) with the English version too at the end (maybe in a <div style="visibility: hidden">, with a comment before and after), or at the beginning. So I could just check if the log is 4.0, then look for the english part and just parse it as I do now.

    Thank you.

    Also, it's off topic, but I think I may speak for the Italian community when I ask for an option to keep English move and item names even with the Italian interface, as it was in PO1.
     
  8. Luck>Skill

    Luck>Skill Well-Known Member

    Joined:
    Jun 24, 2010
    Messages:
    2,551
    Likes Received:
    602
    PO Trainer Name:
    Luck>Skill
    Seconding

    I wouldn't still use it because I've used PO in English for 2 years but yeah, while some Italian moves have balling names (TROPPOFORTE) it is just irritating when people post RMTs with moves in italian, it is a "competitive" battling simulator after all, so knowing the names of the moves should be the first thing to do.
     
  9. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    I noticed it works perfectly fine on Chrome for Android (tested on my samsung galaxy SII, not on a tablet).
    So the problem is just for Chrome on Windows.
     
  10. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    It works fine for me on Chrome 24.0.1312.52 (Windows 7). What version did you test with?
     
  11. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    I'm using 24.0.1312.52 on Windows 7 too.
    I'm pretty sure it should work however, so maybe it's my problem, since it works on my smartphone (and pretty fluid too).

    player pokemons switch out and subs/statuses disappear when they should disappear? you sure?
    can you provide a video please?
     
  12. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    Switching out seems to work, but subs/statuses don't. The battle log text overlaps (and lags, causing multiple turns in a row to be executed) sometimes, too.

    Where exactly did you get that compatibility image from?
     
  13. Tano

    Tano Member

    Joined:
    May 18, 2010
    Messages:
    58
    Likes Received:
    0
    So it has the same problems I have on my google Chrome. Doesn't really work.
    Lol, it's perfect on Chrome for Android and Safari. Subs, statuses and no overlapping, and they're also -webkit- browsers.

    That pic. Uhm.. Googling around, can't find it anymore. However the original one didn't have colors, I added them. Also it's only about the <b>basic</b> @keyframe and animation support (and it's true however, chrome has basic support for them, but still it's buggy).
     
    Last edited: Jan 20, 2013