|Paizo Pathfinder® Paizo Games|
|About Paizo Messageboards News Paizo Blog Help/FAQ|
Alrighty, taking more discussion to the PMs. Awesome work so far Michael.
In other news I have been working hard on reworking the entire backend to be faster, more scaleable, better documented, more secure and simply more modern. It might not seem important, but it really is.
Since we have now got over 500 users I need those things to work well.
I am going to run a beta of the new backend soon and I can use some people who are interested in just testing out calls to the backend. So if you got some time a bit of technical knowhow, send me a PM. :)
Secondly I am thinking of just changing the URL to something more PFS sessiontracker related. The campaigncodex.com was just a domain I had laying around. I don't know what would be intuitive though, www.pfstracker.net maybe?
Alright the server can now handle properly formatted sessiondata and it can determine nearly every content. If you input data and then scroll to the table it generates it will then, one by one, ask the server if the server knows what content it is.
With my tests so far the server can figure out about 90%. The remaining 10% are pieces of content with parts. Like The Quest for Perfection 1, 2 and 3. Also things like The Emerald Spire. This is because the paizo.com way of writing that down is not the same as how I have it in the database.
Still thinking of a way around that.
After it can detect everything I can then make a interface that will actually register those games as played for you.
I am seeing a pattern that any scenario starts with a '#' OR contains the word 'Special' a Adventure Path starts with AP and a module is anything else. :)
I updated my side quite a bit as well, it will now do a test run and try to determine as much as it can from what you feed into it. Specifically it will also grab your characters based on the character number. :) Pretty sweet. Starting to look good dude. :)
EDIT: Hmm I can't seem to get this new version to run atm.
I put a quick import beta online.
Login then go to the user icon in the top right and choose import data. It does not actually import anything yet, but it will analyze whatever you give it.
It wants a valid JSON and it outputs a log beneath it.
Something like this is valid:
It will then try to determine as much from that as it can.
Something that I already noticed is that at the moment it is very hard to determine that you are playing a multitable special instead of a module. A normal scenario gives me a additional field to work with, but the specials 'look' the same as modules at the moment. Any chance I can get some more data? :)
Daughters of Fury is in. :)
And yeah while the login is quite secure it is not very good when it comes to remembering. The thing is that at the moment you can login on one browser/device and it will remember that browser/device for a while. Once you login somewhere else it will forget you were logged in in the other place. This has been bothering me for a while and I am the process of cranking up the options there.
I am rewriting most of the backend at the moment to run from PHP to Node (it is also a lot more memory efficient and this tool is growing really fast, 430+ accounts). I have a lot of experience with arranging logins through node. I am thinking of adding some alternative options like a facebook or twitter login, though I have not heard the email register option is a problem for anyone really.
Regardless, thanks Mike, it is on my radar. :)
Some info: Last night between 19:30 and 22:00 Amsterdam time (GMT +2) the server was down. I looked into it, it was related to China. Needless to say I nipped it in the butt and we are stable again. If you were wondering why you could not access the tracker between that time, that's why.
I shall endeavour not to let the chinese do these things to my server anymore. ;) No data was accessed or lost, it was a denial of service.
I have a open info policy on these things, it is your email addresses afterall. So no worries, everything is good.
That is weird. What steps did you do exactly? It does seem my server is having a few problems. I am looking into it. Apologies.
EDIT: Actually my entire server is down. I shall check with my host.
EDIT: Alright the server is back up. I shall look into why it went down. I suspect foul play. Not only the webserver went down but the entire VPS.
Addendum actually James: I might have misread your request. If you mean sorting on the 'search' page then it is different. There is a variabele 'vm.data.sortoptions' which has a array of JS objects with the sort options. The server will only sort those options for you. The server does not support more sorting then those options though. So at the moment it has these:
vm.data.sortoptions = [
If you tell me what you would like to sort on I can add that to the server relatively easily. This is the PHP code that the server is using to determine the sorting at the moment:
To close: The reason you cannot just sort in the client is because the client only recieves a subset of all the playable content from the server on the 'search' page, while it will only get an entire season on the 'report' page. Regardless, the server does not serve you with all the content at once. This is for performance reasons of course.
Hope that answers your question. Apologies for the non-techies, I will now keep my coding talk to a minimum again.
James Risner wrote:
For the script you probably want to edit the getContent() function. In there is a vm.content = data; If you first sort the data you got from the server and then assign you are there. :)
@Lord Laird Baites: Yeah we had a few iterations on that. With help from the dutch community we figured this is the most efficient version.
Oh and yeah Legacy of the Stonelords is technically part of season 6 and has the unique code of 00, don't ask me why. :)
I guess that is the most basic use people use there. I'll add that to the short-term changes, should not be any real work. :) I'll leave the button for if you want to select yourself after you selected someone else first.
@Michael: Yeah its been growing quite a bit and the daily update ran out of memory. I am in the process of splitting it up, turns out there are almost 400 accounts at the moment.
@Lord Laird Bates: I can see what I can do, but the list of Authors is pretty long and loading then all everytime you get to search is infeasable.
@Michael (again): Wait you ran out of 60 slots?
@James: Do note that it is not the easiest to setup. :) But you can! The power is in that a lot of people are in the system though.
Heard that one before. It is a 'huge' feature since the tracker does not do anything with groups/locations yet. Nor does it do much with dates.
That said I am working on planning functionality and that will be adding in the option to remember what was run in a 'group', so then this is a small step.
Not anytime soon though. :) Gotta move, sold our apartment, possibly changing jobs, girlfriend changing jobs, overall too tired to code much after work. ;) (Which is also coding!)
I changed some security related features on the host today.
For the techies under us: I turned off SSLCompression and change the CipherSuite to not use some outdated ciphers. SSLLabs now approves highly. :)
For the non techies under us: I have cut off support for really old browsers (mainly IE6) in favour of more security.
A new build is up. It has the first steps of your settings being remembered by the system. Make sure to refresh your local code by reloading your browser!
If you go to the sessiontracker it will remember your search filters on that device+browser combination.
There is also a 'Reset filters' button on the search page to quickly reset your filters to the default.
For now I have chosen not to save your search values (scenario, author, player, gm) and party composition. If people want that, I can contemplate it later.
@Paladin of Baha-who?: No probs dude, enjoy.
@Divvox2: Glad you like it :) We are constantly evolving the features. At the moment we are deciding how best to show the played info on the search page. We are running a few options, so that can change from day to day for now. We have two groups one that wants to constantly see everything and one that wants to only toggle it. But how do we implement that nicely?
Then after that it is likely that we will first release a reworked reporting page before moving on to the things you listed. A solid base needs to be in place before we can continue with 'advanced' features.
Haha thanks :)
At the moment the idea is to revamp the entire reporting section 'soon(tm)'.
I spend some time relaxing these christmas holidays though and have not touched the code a lot. Unfortunately it was recently pointed out to me we have a bug in author searches that breaks the app when you search on author. This has a higher priority to me then the reporting options. But they are coming! :)
Fun fact: 242 accounts have reported 18,527 pieces of content (scenarios/APs/etc) as played already. Quite amazing.
That is an average of 76ish per account.
We play this game too much. :)
After another few hours of work I think it is stable enough to release, so I updated the tracker on tracker.campaigncodex.com. Refresh your browser to recieve the new version that has a lotta optimizations and more importantly the overview of who played what while searching and the option to add searching for a GM.
Pathfinder Adventure Path, Modules Subscriber
That was very nice to run. Loved it, my players loved it as well (I think).
I had taken the time to setup the ground floor with some 3D dungeon: https://c2.staticflickr.com/6/5804/23215001796_d6540a7c00_b.jpg
Without limiting my player's time it ran 8 hours, but we didn't mind. I could have cut some stuff off, but... it would have been an injustice.
I am working on giving more feedback as to who GMed scenarios you find by selecting players.
I could use some input, would you rather:
I am leaning towards the last one: Selecting a GM and then filtering what the players are still able to play, then displaying the GM and the player's track records with that scenario.
Finally! I tracked down why my cronjob wasn't working anymore. It ran out of memory, because we have nearing 200 accounts that have reported about 15K sessions. Hence the memory ran out.
I programmed around it a bit and ran a manual statistic update. So statistics are up-to-date. Lots of shifts I am afraid. ;)
Hmm I have heard that one before, we chose against it at that time, but mainly because people would not have a lot pending. I can see how that can be useful though if you have 8 sessions upcoming. Will have to think on this.
I noticed that my statistic cronjob has been dead since I moved to a HTTPS setup, hence the statistic is not updating. Will fix that first so you can see the ranking Mike ;)
EDIT: @Michael: It would require a lot more data input, which is asking lot more from players. At the moment I am thinking a 'basic' mode that keeps things simple and a 'advanced' mode that gives you more options.
Will be discussing things with the team. At the moment more quality of life improvements and more optimization. We are over 160 accounts so gotta make sure things run smoothly. :)