Closed Mineshafter61 closed 10 months ago
Ok im changing things up a bit and implementing this as a CSV
Which format do you prefer:
The first will be easier to code but harder to read, the second will be harder to code but can get very long.
Also should fare gates log every entry and exit, or only on exit?
Enhancement: the trip logger should update its stats onto a webpage as well
Instead of fumbling around with formats, I think it'll be better if I listed every single type of transaction here and see how to sort them.
Each entry will have a unique key made up of the timestamp and username, and each access point to the list (each entry will be stored in a huge list) will need to call this unique key. Therefore each access point is their own list of these keys.
In case if buy ticket for other person? (like keyable username if 1-time tickets)
@Phongsiri33013Winsan2020TH if you buy a ticket for another person it'll still be counted as your purchase, but if they used the ticket their faregate entry will have their name listed.
I think one feature we can consider is adding serial numbers to tickets
@Mineshafter61 If you could send simple website pings imaginethisisawebsite.com/somerandompath/?i=[and here information in a format you decide] I could do the website overview for you - for me it currently is hard to do something in-game (laptop only) but web dev I can do - let me know if you would want something like this or not
@muffinbarde that would greatly help, thanks!
BTW i also only have a laptop but Vim is my go-to IDE, therefore I'm not affected by performance just as much when coding. If you're open to IDE suggestions, I suggest trying out Helix.
@Mineshafter61 Thx for the suggestions; for me it's rather that I can't not try out what I coded without a mouse because playing the game without it is soo difficult and unpleasent. So I still have to wait for my mouse to arrive. Just write me on Discord once you need my help.
Milestones:
maybe implement it as a thing within Iciwi's SQL?