Forums » Suggestions
Expose Duel Stat Table
I'd like to suggest that the duel stats table be accessible publicly. It is already public information, just no way to access it in the game. It would be useful to have as a means to track fights in game. Currently, accessing this information and getting it into the game isn't very straight-forward, and even when done there is a delay on the duel records updating on the website. Just thought I'd suggest this since I recently found this to be desperately needed in a plugin I'm working on to host an event.
+1
+1
I've come up with a solution to my problem that involved me hitting the website with roughly 680000 get commands in the matter of an hour or so. I just grab EVERYONE's duel stats at the beginning of the event. I don't like it though. I'd prefer to just be able to grab a pilot's duel records on the fly when they sign up via some API function, so that I don't have to slam the website. But I also can't connect to the VO website using the TCPsocket in the API because VO website is now https and not supported.
Ripping my hair out over here!
Ripping my hair out over here!
Heh, for the record, I don't really love it either. I happened to be tailing the access log when you started doing that.
But, glad you found an effective solution for now.
Anyway, we'll open up some better API when we get some time.. whenever that is (sigh).
But, glad you found an effective solution for now.
Anyway, we'll open up some better API when we get some time.. whenever that is (sigh).
It doesn't break anything does it?
I tried mirroring the duelstats folder with wget, but that doesn't seem to grab all the pilots with duel records. They aren't all hit in the recursive grabs. I could just do this and warn everyone that they'll wanna duel at least once before signing up so that they're names are on the duel ladder somewhere.
Just trying to make the event as seamless as possible because I intend to expand it and use a similar style system for other events as well. Thanks for the response!
I tried mirroring the duelstats folder with wget, but that doesn't seem to grab all the pilots with duel records. They aren't all hit in the recursive grabs. I could just do this and warn everyone that they'll wanna duel at least once before signing up so that they're names are on the duel ladder somewhere.
Just trying to make the event as seamless as possible because I intend to expand it and use a similar style system for other events as well. Thanks for the response!
+1 aswell
It doesn't break anything does it?
Oh god I hope not, otherwise all them wgets of the character and guild lists must really frustrate the server!
But +1
Anything that makes player ran events more manageable is always good, as long as it does not have a darkside too, which I do not see with this suggestion.
Oh god I hope not, otherwise all them wgets of the character and guild lists must really frustrate the server!
But +1
Anything that makes player ran events more manageable is always good, as long as it does not have a darkside too, which I do not see with this suggestion.
Yea, I thought long and hard of how this could possibly be abused before asking for it. I don't see it. At this point I think it's a matter of having the time to add it in. /me crosses fingers.
No, it doesn't hurt anything. It just vaguely annoys me and throws off our web stats, which we don't use much anyhow.
If it solves the problem, it's fine for now.
We'll look into a better solution when we can.
If it solves the problem, it's fine for now.
We'll look into a better solution when we can.
+1
I think ultimately the solution is for someone with the right time, energy and skill levels to put together an https library for use in VO.
I don't have those things, but I did have an hour yesterday to throw together a node server that will let you pull duel score for a given player over http: link.
I don't have those things, but I did have an hour yesterday to throw together a node server that will let you pull duel score for a given player over http: link.
Not to resurrect the dead, but I finally got around to jumping back on this project. The first event went well enough to make me think this is a good idea. Genka's little relay thing works fine, but just thought I'd throw a little reminder that this API addition would be useful. Not a major priority, but it would be helpful.