RegisterRegister    Log inLog in    SearchSearch   

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



PostPosted: Fri May 02, 2008 2:07 am    Post subject: subdomain restrictions Reply with quote

hi,

i will create a subdomain with 3 games/mods and the user of the subdomain can only start one game of the subdomain game pool.

when the user stopped the running mod/game he could start another game/mod.

how can i do this ?
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Steve
Mammoth


PostPosted: Fri May 02, 2008 3:02 pm    Post subject: Reply with quote

You could use the server booking options and/or limit the tokens on the host to allow only one booking at a time, or possibly limit users to x amount of booking per day/week.

This isn't really ideal, but it may be the best way to handle what you want to do.
Back to top
View user's profile Send private message
oVi



PostPosted: Tue May 06, 2008 8:43 am    Post subject: Reply with quote

great idea but,
how can i change/set the tokens for a subdomain ?
Back to top
View user's profile Send private message
Steve
Mammoth


PostPosted: Tue May 06, 2008 4:46 pm    Post subject: Reply with quote

You can't set tokens per subdomain, only by host.

There isn't many options available for what you're trying to achieve.
Back to top
View user's profile Send private message
oVi



PostPosted: Tue May 06, 2008 9:45 pm    Post subject: Reply with quote

there are planned any solutions for this problem in near future ?
Back to top
View user's profile Send private message
Steve
Mammoth


PostPosted: Thu May 08, 2008 4:03 pm    Post subject: Reply with quote

No. At the current time there'll be no active development on this.
Back to top
View user's profile Send private message
larasoft



PostPosted: Wed Feb 17, 2010 7:54 pm    Post subject: Reply with quote

I'm interested in this, too.

Is this possible nowadays or is there any workaround?
Back to top
View user's profile Send private message
hyperprotagonist



PostPosted: Wed Feb 17, 2010 8:04 pm    Post subject: Reply with quote

Not via GC. Unless you build your own control panel in a language to interpret the GC API.

One question though. Is there a way to remotely configure a servers command line for perm or temp servers?
Back to top
View user's profile Send private message MSN Messenger
Andrew
Mammoth


PostPosted: Wed Feb 17, 2010 9:56 pm    Post subject: Reply with quote

This problem is solvable, if you can clarify what you would like to do.

I assume you have 3 servers:

* Server A, B and C

And you want to make it so only one server may be online at a time.

To do this, you could:

* Write a script that uses the GameCreate Web Services (http://doc.gamecreate.com/ManualWebService) to check which servers are online. If more than 1 server out of the group are online, issue a STOP command to the other servers using the Web Service's SetServerRunning method.

This way, you can write an external script that constantly (say, every 5 minutes or so) checks to see what servers are online.

If you find too many servers online, using your script, you can tell GameCreate to please shutdown one of the servers.

This will make starting the servers useless, because they will just shutdown every few minutes.

You could also remove the user's permission to Start/Stop servers entirely, and instead make them access a page on your website to choose what server to run - and then use the Web Services again to start/stop the right server.

Quote:
. Is there a way to remotely configure a servers command line for perm or temp servers?

Yes. See the 'Modify server' Web Service command (http://doc.gamecreate.com/ManualWebService) which allows you to change the configuration of a booking. You can then issue a RestartServer web command to restart the server after you've made changes.
Back to top
View user's profile Send private message
hyperprotagonist



PostPosted: Thu Feb 18, 2010 12:47 am    Post subject: Reply with quote

Andrew wrote:
Yes. See the 'Modify server' Web Service command (http://doc.gamecreate.com/ManualWebService) which allows you to change the configuration of a booking. You can then issue a RestartServer web command to restart the server after you've made changes.


Sorry my mistake, I meant permanent servers only. I know this is achievable with bookings, but not permanent?
Back to top
View user's profile Send private message MSN Messenger
Andrew
Mammoth


PostPosted: Thu Feb 18, 2010 7:56 am    Post subject: Reply with quote

Yep, that ModifyServer command will work for permanent servers too.
Back to top
View user's profile Send private message
larasoft



PostPosted: Fri Feb 19, 2010 11:04 pm    Post subject: Reply with quote

thanks for the feedback. I will give it a try!!
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.