• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum
« Previous 1 2 3 4 5 Next »
Discovery Web API work in progress

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (2): 1 2 Next »
Discovery Web API work in progress
Offline Alley
04-26-2017, 12:36 PM,
#1
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

With the current bundle of scripts not surviving the PHP upgrade, work has started on a long desired project of mine: A proper, isolated, Web API for Discovery.

The purpose of this web api is to have a central, unified component to store and output collected server data, such as online players, kills, events with their status, or whatever else we can get our hands on later on. The second objective behind this project is to get rid of the current bloated PHP mess we have (not to mention all caches being stored as plaintext files) regularly bogging down the entire web services whenever someone dares to request updated faction data.

The project is public and can be found here: https://github.com/zibbizor/DiscoveryApi (stars welcomed (sun))
Progress will however be slow as I do not have as much time as earlier anymore.

Milestones
0. Data collection
- API key system
- Retrieve data from the game server
- Store hourly player counts
- Cache manager
- Error Manager Deleted in favor of experimentation with other systems

1. Player List
- Implementation
- Add to cache manager
- Website view

2. TBD
-
-
-


Laz Wrote: Alley was right.
Reply  
Offline diamond1
04-26-2017, 12:40 PM,
#2
Member
Posts: 923
Threads: 21
Joined: Nov 2015

Interesting, looking forward to how it turns out
Reply  
Offline Silver
04-26-2017, 01:58 PM,
#3
Member
Posts: 2,555
Threads: 111
Joined: Jan 2011

Great idea!

<3

[Image: vnFV6QG.png]
[8:32:45 PM] Dusty Lens: Oh no, let me get that. Hello? Oh it's my grandma. She says to be roleplay.
[12:12:00] Traxit: this is smut stop
  Reply  
Offline Zyliath
04-26-2017, 01:59 PM,
#4
Spear of Light
Posts: 870
Threads: 64
Joined: Jan 2016

Very interesting. I would like to see how that turns out.
Reply  
Offline Corile
04-26-2017, 02:49 PM,
#5
C::iemka pl
Posts: 3,248
Threads: 267
Joined: Apr 2014

nifty/10 jk it's c# (:::




Reflections on the Revolution in Gallia
Custodi // High City of Heraklion // The Cult of Archangels
Log Filter // Post Creator // Manhattan
  Reply  
Offline Error
04-26-2017, 05:26 PM,
#6
Website Developer
Posts: 1,210
Threads: 40
Joined: Jan 2008
Staff roles:
Coding Developer

Cool! Big Grin Gave you a watch and a star, will be following it.

[Image: Sirius_207px_v4881.png]
  Reply  
Offline Alley
04-26-2017, 10:05 PM,
#7
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

The update method is now finished and has been deployed on the server, which means we are now collecting player data again.

Laz Wrote: Alley was right.
Reply  
Offline Riess
04-26-2017, 10:16 PM,
#8
Member
Posts: 198
Threads: 6
Joined: May 2013

Few weeks back I've mused possibility of gathering complex data (player, position, ship, items, timestamp) from server for analytics, with goal of measuring how playerbase reacts to changes in mod or rules thus enabling community to cut "my opinion vs your opinion" for sake of real data, like how we do with people using our webapps at work.

Do you think your API could eventually be used for that?

...alternativelly just feeding it to graphana for some fancy vanity dashboard.

[Image: rha_felag.png?dl=0]

>(RHA + Recruitment + Comms)<
Reply  
Offline Alley
04-26-2017, 10:18 PM,
#9
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

Player, position (limited to system accuracy), ship, id and timestamp is all stored. We don't store items however but it may be added one day.

Laz Wrote: Alley was right.
Reply  
Offline Laura C.
04-26-2017, 10:44 PM,
#10
Member
Posts: 1,445
Threads: 51
Joined: Dec 2011

I will take the bullet for the IT dumb person here and ask - how to start and use it please? I downloaded the zip but my IT knowledge ends there because there seems to be no file or app which can be started.

On a ragebreak. Or ragequit. Time will tell.
Reply  
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode