ID:272588
Oct 5 2008, 1:22 pm
|
|
OK, How do I make it when I export files to another server, it finds all servers onto my hub and exports?
|
Copyright © 2024 BYOND Software.
All rights reserved.
If I understand you correctly, you're looking to export information to all online servers of your game, and if my assumption is correct, the easiest way to find their online presence is by parsing your game's hub page.
If you tack the text ;format=text onto the end of any hub page URL, you get an easy-to-manipulate plain-text readout of your hub page, such as http://www.byond.com/games/xooxer/chatters;format=text. Using he url parameters under the worlds listing at the bottom, you can collect the addresses of all online servers of your game. However, this will not collect servers hosted in private or trusted mode.
There are ways to make your servers report to a central location (I've done it with several of my own projects) and maintain your own "online servers" list using world.Export, and while it takes significantly more work, it will contain a list of all online servers hosted in any visibility mode.