maelstromeous / ps2alerts-website Goto Github PK
View Code? Open in Web Editor NEWThis project has moved!
Home Page: https://github.com/ps2alerts/website
License: GNU General Public License v2.0
This project has moved!
Home Page: https://github.com/ps2alerts/website
License: GNU General Public License v2.0
Hey Maelstrome,
I realize you still have lots of plans for the new and improved PS2alerts, I was just wondering if this feature would be making a comeback. Since VPs came to be, and people can just switch factions in the last few minutes of an alert, it seems 4th factioning is a major issue again. It would be great to see the population throughout the alert, like the previous version of PS2 Alerts. Previously it was real-time, and that is not at all necessary. If even it pulled the population every 10 minutes, that would give us plenty of info on how the population played out throughout an alert.
Thanks for all the hardwork, it is by far my most used Planetside 2 related site!
Need to probably deck them.
If a user has a list of alerts, then clicks filter, because I'm removing them from the DOM, it's causing the user to be jumped higher up in the page.
Ideally need to keep the space that the data already occupies. Might be able to do this by "frosting" out the current data while the new data loads in then swap it out.
Idea's been brewing in my head for some time now.
The ultimate user experience is to be able to see their own impact in the game. To this end, I believe User profiles will be the best way to do this.
E.g. A user can search for themselves or another player and see their statistics across the board, such as how many alerts they've been involved in, how many kills have been recorded for them, etc.
Same can go for outfits.
Census Info: https://census.daybreakgames.com/get/ps2:v2/character/5428010618035323201?c:resolve=stat,stat_by_faction
The current websocket connection logic is a complete mess. Ideally, should be modular so I can include certain files.
Maybe look into using RequireJS to implement the appropriate script loading.
Because I'm using the {{ }} syntax, it's showing that for the title until the app kicks in.
Possible solution:
Consts are more memory efficient for data that will never change.
This may be related to recent reports I've been getting of INI not getting enough participants to count for an alert. This may be related to reports I've been getting where people are also in the wrong outfit.
I suspect BIGINTs are having an affect here. May need to typehint the ID as a string then reference that.
Meta description and OG tags.
Showing the statistics of the alert and details on what went on.
Features:
Since the introduction of the new territory mechanics, the Real Time Alert Monitor is in a sorry state. It's constantly "double decking". The logic behind it as well is very confusing at the moment.
It's not showing any alerts since March 11th from 07:00 CET and on.
It makes a ton more sense to convert these to a set of bars rather than just numbers as you can see a overall percentage as well as the metrics themselves.
Added benefit is that we won't need to rely on a responsive table either.
X and Y axis will need to be flipped round.
https://github.com/justjohn/twig.js/wiki
Twig.js is a Javascript parser for Twig, which essentially allows me to pass data to a twig file, and using something like Aja to pull back the result of that file.
Need to complete Facility Statistics.
Generating maps using the vast amount of capture data to hand would be useful.
For example, on a per continent basis, I should be able to show heat map of all captures recorded. This would give a very nice indication of which bases are the most contested.
Filters:
Allow controllers to be able to reinitialize tooltips as data comes in
Currently territory cutoffs aren't being shown in the bar. Technically speaking they're not shown in the game either, but there ideally should be some way of showing cutoffs.
I was in this alert and it was a draw. The statistics show 33% Vanu, 31% NC and 33% TR. One TR territory was disconnected during this alert, may have affected the outcome in this one.
Similar to raw alerts won over time, have a rolling average of alerts over time.
Currently on mobile it really isn't working.
So we all know Indar has a T like shape to activity on the continent, it might be good to know which facilities are classed as being within the T, and provide metrics on those, such as captures for bases in and out of the T.
No need to wrap a promise within a promise. $http returns a promise itself.
Mobile optimisation needs further work.
Mobile rendering of the leaderboards results in a very poor experience. Loading times are slow for redraws, although do improve once a user searches for something.
Also the headers of the table don't line up with the data upon horizontal scrolling.
Need to investigate if these issues can be mitigated or somehow changed on mobile devices. May have to paginated for mobile.
In talking with The1337Boss / Definia, he made a suggestion to add:
Currently bust
Hall of Fame, highlighting things such as:
Definates:
Possibles:
Suggestions:
Etc
You should create notification for users everytime an alert is approaching,so users who want to play only during alert knows.
For reference:
http://deathsnacks.com/wf/index.html
Add PHP script to generate the sitemap.
Will have to add this into the API. Simple call listing all alerts then adding static routes should suffice.
Situation
Populations can get quite imbalanced during the course of Alerts. The imbalance can vary quite a bit.
There is a end of the Alert swing towards the wining faction, caused either by players on losing factions logging off or switching sides.
Servers can have extended periods of overpop or underpop for different factions. During these times, the actual performance of the faction is of interest to leaders/vets on underpop factions, and a morale booster if performing strongly.
In the new VP system, ganging up on a faction is common and something Daybreak should look at. A faction can perform quite strongly and still lose an Alert, so performance would be very interesting to those factions and bragging rights.
Suggestion:
A custom performance metric that takes pop imbalance into account. If this isn't possible a measure of pop imbalance would be interesting to a lot of people.
Possible metric
Presentation:
Until now Draws have been broken in the site. Need the ability to use them correctly.
Currently done as pixels, but upon looking at some of the bars that Github do, they also use width percents, such as 37.5%.
On local, the realtime alert monitor shows up consistently. However on Staging, there is just a blank div there with the headings.
I believe this may be to do with the ng-repeat is somehow firing before the data is there?
This also may have to do with the eventing system.
Should be [TAG] Outfit name. Realtime events are showing Outfit name [TAG].
Request for a Empire vs Empire Combat statistic, showing e.g:
Amount of kills VS made against NC and TR separately.
It was suggested to maybe add some kind of moving averages to the Faction Victory statistics.
So apparently Facebook and the like hasn't caught up with the modern Javascript world. I need to implement a server side solution which intercepts the bots, and serves them a simple html page with the proper metadata.
http://www.michaelbromley.co.uk/blog/171/enable-rich-social-sharing-in-your-angularjs-app
Really nice sharing buttons @jamesdb found:
Situation:
People play at different times, outfits have ops at different times, and people from different locations play in different time zones. Different outfits do OPs or are more active on different days of the week.
Faction overpop can be timezone dependent too. The competitiveness of servers is highest from early evening through to late night, peaking at primetime.
Suggestion:
It would be useful to have some sort of way of seeing performance by different time brackets.
The best case scenario might be the user being able to specify custom time brackets.
Problems:
Performance metrics:
Details need mobile layout optimisation.
It simply makes sense for me to attempt this. Would make things miles more simplier and will help out a LOT when it comes to Alert detail pages.
Adding Application Base which I'm most familiar with.
https://github.com/php-pm/php-pm
Maybe this is something interesting for you? :)
TypeError: Cannot read property 'wins' of undefined
at Object.factory.parseAlert (main.js:1)
at main.js:1
at deps.js:2
at m.$eval (deps.js:3)
at m.$digest (deps.js:3)
at m.$apply (deps.js:3)
at g (deps.js:2)
at t (deps.js:2)
at XMLHttpRequest.u.onload (deps.js:2)
Boss told me how to fix the image invisible margin issue:
Add display: block to the image itself, will trip away whitespace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.