cheahjs/bravefrontier_data

Question - Hope you can help?

Closed this issue · 5 comments

Not really an issue. But i'm building up a similar thing as what reddit currently has as a server status indicator. Some hints pointed me to use https://android.bravefrontier.gumi.sg/bf/gme/featureCheck.php so i did via ajax and can get it to return the statuscode 200 or etc. That said when server is down, this script is still working.

Would you know of other php scripts url on the gumi server i should be requesting a response to check on server status?

You should be looking at the action.php endpoint. Although, you're going to need to simulate a client initialization request at least in order to get any sort of response or the server maintenance messages.

Here's what i've built so far with just AJAX via jsonp to avoid issues with CORS. I'm getting response and a statuscode. While it says 404 error now, as the server is indeed down, i kindda get the feeling it's not gonna give me a good statuscode 200 even if its up.

You have to POST valid JSON AES-encrypted base64-encoded in order to get a non-500 (check network in your development tool, its returning 500, not 404).

yeah i did a POST type with some trial variables. Saw the 500 in the debugger. 404 returned as response. will need node.js to be able to do JSON AES-encrpted based64-encoded in order to achieve it though via client-side scripting i suppose. thx for your feedback and help on this

Sorry for reviving an old post. @touchandswipe did you ever get to implement this feature? I am trying to achieve similar results but I am missing the AES key to do the encryption. I've been looking into the decrypted binaries of BF hoping to find the key, with no success so far. Maybe @Deathmax could kindly help enlighten how the key was found? (I do not need the key itself, but rather I would enjoy the process of digging it out :P )