RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
larasoft



PostPosted: Wed Mar 10, 2010 4:51 pm    Post subject: Additional webservices Reply with quote

Hi,

at first thanks to the team. Gamecreate is my favorite game administration tool. Yesterday I implemented some basic webservices to my site (start, stop, restart server etc.) and come up against some "limitations".

Is it possible to:

- Get a list of accessible (subdomains) and servers for a user?
- Show the current running game(s) on a domain?

I wasn't able to find such SOAP requests in http://world.gamecreate.com/admin/Remote.asmx

Thanks in advance!
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Wed Mar 10, 2010 5:27 pm    Post subject: Reply with quote

Hi,

Good to hear.

Quote:
- Get a list of accessible (subdomains) and servers for a user?

You can't retrieve a user's permissions; but you can get a subdomain list via http://world.gamecreate.com/admin/Remote.asmx?op=GetSubDomainList

Quote:
- Show the current running game(s) on a domain?

You can retrieve an XML feed of servers (that have 'Public List = Yes' in their Server Configuration) at http://demo.world.gamecreate.com/admin/Servers.xml.aspx

Append ?includesubdomains=true when accessing a provider domain's URL to retrieve subdomain servers too.

Note that it is an XML feed, its just styled using a stylesheet (view source to see raw data).
Back to top
View user's profile Send private message
larasoft



PostPosted: Wed Mar 10, 2010 6:39 pm    Post subject: Reply with quote

Andrew wrote:


Quote:
- Get a list of accessible (subdomains) and servers for a user?

You can't retrieve a user's permissions; but you can get a subdomain list via http://world.gamecreate.com/admin/Remote.asmx?op=GetSubDomainList


I already tried that but wasn't able to get it working. What I want to do:

User "john" logs in to my website. He should then see a list of servers and subdomains where he has access to.

When john does not have access to the "main domain" but only to subdomains the function "GetSubDomainList" returns just an empty result.

I'm currently creating my own database to store the xref information "username", "domainid", "serverid". But this is just an ugly workaround because the information are already in your system Smile
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu Mar 11, 2010 8:18 am    Post subject: Reply with quote

Did you look at the XML feed?

Also you can't query GameCreate for a list of permissions (that GetSubDomaniList web service requires Read Domain access to query) at this time.

If you keep track of what Server IDs a person has access to (eg, in a rental environment) you can better create your own GUI.

Quote:
I'm currently creating my own database to store the xref information "username", "domainid", "serverid". But this is just an ugly workaround because the information are already in your system

Why do you want to do that?

Remember you can also just integrate the entire GC website into yours (see the Download link for more info on the left).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.