Jump to content

Archived

This topic is now archived and is closed to further replies.

  • 0
ImportBot

Guest run next round if alone at server?

Question

Originally Posted by Talzac*:

 

Hi,

Does someone know how to make insane limit commands or procon rulz way to grant the guest to be able to run next round if alone at the server?

I am using adcats also but I do not want guest to do this if not alone.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

Originally Posted by maxdralle*:

 

yes, its possible with proconrulz. ingame command: !runnextmap

 

Code:

On Say; Text !runnextmap,!runnextround;
    If %ts1% + %ts2% == 1; PlayerSay Starting next round..."; Exec mapList.runNextRound
    If %ts1% + %ts2% > 1; PlayerSay Command CANCELED: You are not alone on the server";

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Talzac*:

 

Thanks!

Is it possible to set a time limit before the map change is allowed? Like 10 - 20 minutes?

This is to not abuse the function changing map all the time.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

a player can enter the command every 120 seconds

 

Code:

On Say; Text !runnextmap,!runnextround;
    If %ts1% + %ts2% == 1; If 120 + %cmd_nextmap% > %seconds%; PlayerSay Command CANCELED: You can use this command every 120 sec.;
    If %ts1% + %ts2% == 1; If 120 + %cmd_nextmap% < %seconds%; PlayerSay Starting next round..."; Set %cmd_nextmap% %seconds%; Exec mapList.runNextRound
    If %ts1% + %ts2% > 1; PlayerSay Command CANCELED: You are not alone on the server";

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Talzac*:

 

Thanks! Very nice!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Talzac*:

 

Is it possible to end the round to "status score menu" instead of just switching map?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

replace the part

Exec mapList.runNextRound

with

Exec mapList.endRound %ptk%

 

it will end the round with a battlereport and points. the winning team will be the team from the player whos entered the command. but it make no sense for 1 player start server. it is statspadding. the best solution is to use the normal version from post #2.

 

take a look to the proconrulz pdf:

http://www.forsterlewis.com/proconrulz.pdf


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Talzac*:

 

If 120 + %cmd_nextmap% > %seconds%; seems not to be working, I can not find the command %cmd_nextmap% in the pdf?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Talzac*:

 

Think I found the problem missing a +

Set %cmd_nextmap% + %seconds%;


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

no, do not put a + to this part.

the %cmd_nextmap% is a custom temp variable. all temp variable will be reseted on round end.

 

it means the 120 sec timeout will not work when it starts a new round. mhh, use the code from post #2


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites



  • Our picks

    • Hi All,

      So I've been thinking about doing something like this for a while but I always talked myself out of it. I want to get some feedback on this idea and how many would think about using it if it was offered.

      In the past I know how hard it was for some users to get a MySQL database going and running the BFACP (since it's a bit requirement heavy in some cases). What I would be doing is offering to manage both of these for you.

      If enough interest was shown in something like this I would definitely think about doing it. Of course, I also know the risks I would be taking in something like this, but to list what I would be offering I guess is this.

      MySQL Hosting


      Daily backups of the database to a remote site & option to download it yourself.


      No limit on how big your database can be (within reason).




      BFACP Hosting (If running AdKats on your layers)


      This would run the newest version (v3.0)


      Will still be available to run on your own hardware


      Will have extra features that are not available for an open source setup (still need to think of good things )


      Able to use your own domain name with the proper DNS setup.




      Both Above



      Please let me know what you think of this idea and vote in the poll. Again not confirming anything like this will happen but if I get enough interest from the community for something like this then please let me know.

      Disclaimer: This will NOT be something affiliated with MyRCON but will be ran through it in terms of a payment processor.
      • 10 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.