Jump to content

fiki574

Developer (Retired)
  • Posts

    793
  • Joined

  • Last visited

Posts posted by fiki574

  1. Hello, all.

    There will be a Hub API backend service migration happening soon, since I've finished the rewrite of the existing backend service, and it is ready to be slowly tested and soon replace the current live one.

    Check out the new Swagger API documentation: https://skylords-reborn-skylords-reborn-api-hub-backend.staging.skylords.eu/api/docs#/

    On 30th of April (at latest), the old API service will be switched with this new one, seamlessly. There were not much changes in the response objects themselves, however there were a lot of improvements with regards to performance and some bug fixes, as well as minor additions. There should be no compatibility breaking changes, as far as I know.

    Metagross31 and Maze like this
  2. 12 hours ago, wanky said:

    First of all Great Update. Like to read them. Sometimes its hard to track everything going on. I find these updates here very good to have a rough summary of what is currently going on.

     

    I have discovered an "error" in the leaderboard. Namely, in 2 player, as well as in 4 player missions ONLY times are displayed which were made by a 2 respactive 4player team. If you compare this to the ingame ranking there are big differences (eg Empire) Is it possible to fix this? Find it a great alternative that you do not have to go every time ingame to "only briefly" go through the rankings (for example, to take over the alltime in the PVE alltime channel (including team)

    greetings Wanky

    Hey.

    Thanks for the leaderboards report.

    The leaderboards on the Hub are being cached once every 36 hours, so maybe the data has not been cached yet.

    Also have in mind there are different time range selection possibilities, like so:
    image.png

    At the start of every month, "This month" range usually doesn't have much data for the first week until players play the matches and fill it up.

    And could you please private message me with screenshots/examples of the time differences you're mentioning? It will help me better pinpoint the problem, if any.

    wanky and Majora like this
  3. Hey.

    I've taken down the services on following URLs, as mentioned in the previous post:
    - auctions.skylords.eu
    - auctions.backend.skylords.eu
    - stats.skylords.eu
    - stats.backend.skylords.eu
    - leaderboards.skylords.eu
    - leaderboards.backend.skylords.eu

    The hostnames (DNS zone entries) will be brought done soon as well, until then they'll lead to an alphabetically first available URL on the system.

    Alongside this, I did some backend code refactoring (unnoticeable to end-users) and also added the support for "All Time" leaderboards time range, which was requested and talked about with some of our community members in our Discord.

    Also, I've changed the "month" query parameter for the PvE/PvP leaderboards to "range", so make sure to change that.

    Enjoy. 🙂

  4. Giving this as an upcoming heads up:

    I will be shutting down the "old" API frontend and backend applications on 30th of December (in 2 days from this post). Please make sure you've switched to the new Hub API.

    Affected and shut down services will be:
    - auctions.skylords.eu
    - auctions.backend.skylords.eu
    - stats.skylords.eu
    - stats.backend.skylords.eu
    - leaderboards.skylords.eu
    - leaderboards.backend.skylords.eu

    Thanks and regards.

    Ultralord likes this
  5. Hello everyone.

    This will be a very similar post and thread as the previous counterpart.

    I'll keep it short. Past few months, I've been working on a new, centralized UI and backend for the previously separated 3 API backends and frontends, from the upper linked thread.

    So, previous links are from now on obsolete/redundant, but will be still available for some time:

    New, relevant links are:

    Frontend part of this "hub" is open-sourced on our GitLab. There are available Swagger v2 documentation. But, you have to be somewhat profficient in web development to understand and begin doing stuff on your own. 

    Issues tab is to be used freely for any and all suggestions and bug reports.

    Merge Requests that improve and extend the existing UI are more than welcome. After manual review, they might get merged into the master branch and appear as a part of the next website update. 

    The backend is still caching the data periodically, so you're actually "querying" the in-memory data, and not the database directly, which does not have any kind of impact on the game servers and database itself. 

    Have fun! 🙂

    --

    P.S. The old thread will eventually be closed, the old GitHub repository will be archived (but public) and the old links will die out / be shutdown.

  6. 3 hours ago, anonyme0273 said:

    If you look at this thread as a whole, you will notice zero reactions from any staff, which saddens me more. There is opinions from people who have been here from the beginning, being either completely ignored or not read at all. How are we supposed to get our word out if noone listens? Wait for a community ambassador to do the talking on our behalf? Yea no. I admit, I got used to the system where most developers and staff were active daily in the chatbox to answer random questions over and over, with which some members of the community then helped. Now I don't really see a valid way of getting touch with someone without either going through SR mail, which is private and kinda dehumanizes the communication further, or publicly like this, which is essentially just shouting in the wind. What a pitty.

    Numerous times before it was said that just because there is not an official staff reply in a topic or suggestion, it does not necessarily mean we are not taking it into consideration or discussion behind the curtains. Demanding replies and/or personal attention does not speed up the process at all. Having in mind the lengths and extents this thread has went to, it is obvious it needs proper look at and preparation of a reply, because a lot of points have been touched.

    Also, why are we being compared to big game studios at all? Totally different history, totally different circumstances, totally different "organization".

    What I say might be irrelevant as I'm inactive by much lately, but the general feeling of complete underappreciation from some members of the community has never went away, and the continuous and complete lack of understanding for the staff's non-SR related (potentially real-life) activities is, to me, unfathomable. Even now, when there are lots of things in planning, lots of things in progress, lots of new people coming on board, Lada and Zyna giving their best in managing and organizing everything, developing the server, recruiting, attending colleges and finishing their degrees...

    Whatever we say, whatever we do, it is never enough, never was and never will be.

    9 hours ago, Asraiel said:

    unknown.png This srceenshot is from the 8. April made at 9:20 am CEST. there aint many players considering the game has one server for the intire world

     

    Meaning there were 13 players in that map's chat channel, there are around 27-ish chat channels for other maps as well, as far as I know.

    Relevant data can be found on https://stats.skylords.eu

    Zyna and Volin like this
  7. On 3/10/2021 at 6:14 PM, fiki574 said:

    API breaking changes have been made to Leaderboards, check out the changes and update accordingly: https://github.com/fiki574/Skylords-Reborn-API-UI/blob/master/Leaderboards/README.md#leaderboards-api

    This week I plan on updating Auctions, so next Wednesday expect an API breaking changes/updates to the Auctions as well.

    API breaking changes have been made to Auctions as well, so check them out and update accordingly: https://github.com/fiki574/Skylords-Reborn-API-UI/blob/master/Auctions/README.md#auctions-api

  8. 15 hours ago, Kaldra said:

    Sometimes I want to look at the leaderboards in the web, and it tells me, that the backend is currently caching which can take up to 10min. Would it be possible, to keep the old index up while caching is done and only replace it with the new one?

    Instead of deleting first and not having any data for 10min?

    Possibly, but requires additional mechanisms and logic. It will stay like this for now, however it might get improved at some point.

    Leaderboards are getting refreshed once every 6 hours, meaning that there are 4 refreshes which take, on average, 10-15 minutes to complete, which then results in the leaderboards being "unavailable" for barely an hour in a day.

  9. On 1/28/2021 at 11:22 PM, Larnak said:

    Hi!
    I looked into the API a bit over the last days, and some bits of the documentation confused me. Would be nice if someone ( @fiki574 :P ) could clarify this :)

    For the Auctions API it states:
    "Backend application caches new data every 10 minutes."

    At the same time, the CSV export description notes
    "Caches new entries every 2 minutes"

    So, what exactly is happening every 10 minutes, and what every 2 minutes? It doesn't seem to make a lot of sense to me: Would the CSV be more up-to-date than the other requests? That'd be weird, right? But updating something every 2 minutes if the base data is only updated every 10 also doesn't seem to be useful. Help! :)

    Damn, I totally missed your post. 3 weeks late, but I've corrected the times now: https://github.com/fiki574/Skylords-Reborn-API-UI/tree/master/Auctions#auctions-api

    1 hour ago, Kaldra said:

    Would it be possible to get an API for player profiles? I'm mostly interested in something like playerId, playerName, pvpRank, pvpElo and pveRank. Would be really cool to have this information for the replay sharing site. Also a lader with more than the top 200 players would be possible and nice.

    No such player-specific API for now.

    Ladders are with reason capped at 200 players: a) to match the ingame leaderboards and b) not to kill our database, because the current queries take almost 20 full minutes to execute and load data.

    Larnak likes this
  10. 12 hours ago, Cocofang said:

    That's what I am talking about though. A bot can just interact with the game like a human would through inputs and screen scans. Navigating the AH isn't that complex. Would need a way to watch the important listings on the provided website and act on them, which would probably be the more difficult part. But I wouldn't put it past people to make one happen. It's something to be mindful about.

    What you described, is entirely possible and most likely done already to some extent, somewhere, from someone.

    What I was refering to (the complete emulation of our client so you get literal, proper programmatic bot), is almost impossible.

  11. Public API doesn't provide a way to interact with Auction House other than literally just displaying the live listings. Bids, buyouts, or botting is not possible with it.

    Proper, in-game bot that emulates our client and network architecture is hard, almost impossible to make (if you're not using one that scans the screen and use OCR to make mechanical clicks, i.e. literally move the mouse over the button and click it).

    TL;DR: There is no such thing as trade/AH bots here, and if there were, they would not be "legal".

  12. 10 hours ago, Kaldra said:

    Take a look here: 

     

    First time I read about this. Did you finish it? Do you plan on saving EVERY game server-side and have a complete match archive? Sounds like it would take a lot of space.

    They server-sided replay generator is done since long time ago. Every match replay gets stored on the server, each of the replay is about few KBs big so it won't take too much space.

  13. 9 hours ago, Xeon said:

    Right now, it's possible to get current stats like "how many users are online right now".
    Do you plan to add a history like "how many users were online yesterday"?

    No, misses the point of our API and is too resource heavy to have it on our side. That's why you can query our API and create your own history :)

  14. 5 hours ago, Paulson79 said:

    ...but it's current state is completely unplayable (well maybe not completely but one can't say that it's stable, that would be straight out lie).

    I did not see a single comment/post/thread similar to yours that states that the game is remotely unplayable, let alone completely.

    Even other players tell and prove otherwise, so the only straight out lie here is the one claiming that the state is completely unplayable.

    I will not even address other stuff as you fail to realize differences between hardware and software impacts/problems. Hardware as a whole is pretty beasty, however the software is not so much, which you you would expect from a server that was reverse engineered using client binaries, but then again I don't expect that to be understood too.

    Sekij likes this
  15. 2 hours ago, Metagross31 said:

    I think that defies the point of achievments. They are ment to be goals you work towards. Making them repeatable just makes them into a new version of daylies.

    I think there will be more achievements in the future (I'm not a dev, it's just a guess), but "refreshing" old ones seems kinda off to me.

     

    1 hour ago, xs0ulLess said:

    If you haven't noticed, some of these are repeatable, or rather get progressively harder. Refreshing achievments as suggested by you would increase the discrepancy between addicted players and casual playing ones. I think it's good for now - we get many great rewards. 

    What about new achievments every 6 months or so :) 

    We don't have an infinite amount of achievements ideas. New ones are supposedly planned to be added, I don't know when.

    Drakeslayer likes this
  16. If you Google for "Skylords Reborn" and set the time filter to "Last week" or "Last month", you'll be able to see that quite some number of gaming mags and websites picked up the news already. 

    However, there might be another form of "advertising" (or rather attracting interests into the game) planned, more on which would know either Zyna or Lada.

    Ultrakool likes this
  17. Quote

    What do you mean? 

    Do you know difference between an open source and closed source repositories?

    Open source: opened source code to everyone to publicly use and contribute
    Closed source: closed source code from everyone to only creator and handpicked contributors

    So, in our case: 

    Open source: frontend applications, and API specifications that can be found in respective README.md files in the respective GitHub repositories.
    Closed source: backend applications, actual API implementation of which the source is not publicly available, and will not be ever.

    Quote

    This being told, I don't want to make enemies but to give feedback as person that wants to use this and finds it usable, but not mostly correct. I find this approach clearer and easily expandable wityh more filters in the future if it's required.

    If it's a problem of change it, give me access to a feature branch and I gladly will make the changes and send de merge request (logically the final decison will be yours to apply it) 

    No one is trying to make or portray anyone as an enemy, did I give an impression like that in my posts? If yes, I'm sorry, it wasn't my intention.

    As said, backend is closed source, and no one is getting access to that anytime soon.

    However, the suggestion seems reasonable and will most likely be implemented, not a priority though.

  18. On 12/24/2020 at 12:49 AM, ZeraZerg said:

    I've found some inconsistencies in the API signature...

    This endpoint https://github.com/fiki574/Skylords-Reborn-API-UI/tree/master/Auctions#post-apiauctionspagenumber  is a POST and it should be a GET because you are retrieveing information and is the auction state do not change it should be idemponent.

    • Why is a POST?

    Also... 

    • This API is opensource or restitrcted to verfied developers?

    Also I've found many other errors that would like to discuss or at least notify, but this post wolud be too long and boring ^.^'

    It is not recommended and in most cases not supported to have a request body in a GET request. Since you are sending a JSON to that endpoint, it should use POST. This is basics of web development and semantics.

    Frontend applications and API specifications are open-sourced, backend is not.

    I highly doubt you found many other errors cause I have no problems running any of the applications, be it frontend or backend, locally or on a VPS. You might have found some misstypes or inconsistencies, but I hardly doubt you found errors per se. All reports and suggestions are welcome here: https://github.com/fiki574/Skylords-Reborn-API-UI/issues

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use