1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

[PS2] Live KB - proof of concept

Discussion in 'Census: Planetside 2' started by FeiXue, Mar 19, 2013.

  1. FeiXue

    FeiXue Guest

    Before I give you the link;

    • There's lots to be tidied, fixed, improved, etc. I know :)
    • Much of Javascript can be simplified using jQuery, but while I'm developing I like to debug my code and not depths of somebody else's libs
    • Every events API call processes only last kill and last death, so ok, semi live <img src="/smilies/69934afc394145350659cd7add244ca9.gif" border="0" alt="SMILEY" />
    • Only ever tested with Firefox 19.0.2 on Linux. AFAIK there's nothing in the code that should break in any browser that's been released 2010+ but YMMV
    • To see any action you'll have to open it after 6 PM GMT, we play on Miller
    http://ds.notxit.com/ps2/api/whoisonline2.php

    Bit of legend:

    LEDs show status of API call, red=failed, amber=wasn't made, green=OK

    Next row shows wheather event is recent (world icon), stored in cache (DB icon) or empty cache.

    Attacker/victim name and outfit tag is first checked against cache and if one isn't there only name is fetched through another API call.

    Weapon and/or vehicle name are resolved using cache. If that fails just ID is displayed.

    Look is basic at best, I'm not a graphic designer.

    Hope somebody gets an idea from this and does a better job so REST suffers even bigger load and devs get an excuse for demanding proper hardware <img src="/smilies/69934afc394145350659cd7add244ca9.gif" border="0" alt="SMILEY" />

     

Share This Page