Sign in to follow this  
Aurorus

Anyone knows how to use QueryServer?

Recommended Posts

rawii22    29

My brother and I tried using this for our in-game mod manager mod. Honestly, the best way to see how it works is to see how Klei used it. Try searching in these files from scripts:

emailsignupscreen.lua

mainscreen.lua

multiplayermainscreen.lua

lavaarena_communityprogression.lua -- I think file uses QueryServer to retrieve some sort of online scoreboard data for the forge (I never got to play the forge so I'm not sure...)

motdmanager.lua

I'm not sure how the function fully works myself since the website I needed to visit was literally just one small piece of text, but using these files I'm sure you can figure out what it requires and how it returns data. Sorry I couldn't be more specific, but that's just how modding goes sometimes...

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this