Hello all, I have my dedicated server up and running, however I have been pulling my hair out trying to find what value I need to change in order to change the Round time limit. (When the map loads it has 5 minutes set to its time)
I am trying to run a Time Attack game, and 5 minutes is far too short of a game.
Your help is greatly appreciated!
Setting round time
Moderator: NADEO
- fng_thatoneguy
- Posts: 722
- Joined: 05 Jan 2011, 18:06
- Location: That One Place
- Contact:
Re: Setting round time
Code: Select all
<timeattack_limit>360000</timeattack_limit>
Good luck!


-
- Posts: 10
- Joined: 09 Jul 2012, 17:33
Re: Setting round time
Thanks big time, I can tell that this has increased the time limit.
The irony is that even though I did not change any of the settings on my router, now I cannot connect to the server. Oh well, at least you were able to help resolve the time limit problem!
Have checked the ports and they are open, still get the "could not connect to server"
My only thought is that for some reason the IP address I have entered is incorrect. I have the proper ports forwarded, 2350, and 3450. However I'm kind of clueless on what to enter for the IP Address...I joined a server and had some one try to connect to my server, he said he connected, and the server logs backed that up. But for some reason now it is all messed up...Perhaps it is because of a dynamic IP address?
I have comcast and not 100% sure if my IP Adress is static or dynamic. But my ipconfig /all returns the same value as earlier...So I am at a complete loss as to what the problem is
I have a Linksys WRT54G router.
The irony is that even though I did not change any of the settings on my router, now I cannot connect to the server. Oh well, at least you were able to help resolve the time limit problem!
Have checked the ports and they are open, still get the "could not connect to server"

My only thought is that for some reason the IP address I have entered is incorrect. I have the proper ports forwarded, 2350, and 3450. However I'm kind of clueless on what to enter for the IP Address...I joined a server and had some one try to connect to my server, he said he connected, and the server logs backed that up. But for some reason now it is all messed up...Perhaps it is because of a dynamic IP address?
I have comcast and not 100% sure if my IP Adress is static or dynamic. But my ipconfig /all returns the same value as earlier...So I am at a complete loss as to what the problem is

I have a Linksys WRT54G router.
-
- Posts: 10
- Joined: 09 Jul 2012, 17:33
Re: Setting round time
Well I went ahead and plugged directly into the modem to make sure the server settings were working, they are not.
This is my exact SMStormTimeAttack
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration>
<disablerespawn>0</disablerespawn>
<forceshowallopponents>0</forceshowallopponents>
<script_name>TimeAttack.Script.txt</script_name>
<rounds_pointslimit>50</rounds_pointslimit>
<rounds_usenewrules>0</rounds_usenewrules>
<rounds_forcedlaps>0</rounds_forcedlaps>
<rounds_pointslimitnewrules>5</rounds_pointslimitnewrules>
<team_pointslimit>5</team_pointslimit>
<team_maxpoints>6</team_maxpoints>
<team_usenewrules>0</team_usenewrules>
<team_pointslimitnewrules>5</team_pointslimitnewrules>
<timeattack_limit>2400000</timeattack_limit>
<timeattack_synchstartperiod>0</timeattack_synchstartperiod>
<laps_nblaps>5</laps_nblaps>
<laps_timelimit>0</laps_timelimit>
<cup_pointslimit>100</cup_pointslimit>
<cup_roundsperchallenge>5</cup_roundsperchallenge>
<cup_nbwinners>3</cup_nbwinners>
<cup_warmupduration>2</cup_warmupduration>
</gameinfos>
<hotseat>
<game_mode>0</game_mode>
<time_limit>2400000</time_limit>
<rounds_count>5</rounds_count>
</hotseat>
<filter>
<is_lan>1</is_lan>
<is_internet>1</is_internet>
<is_solo>0</is_solo>
<is_hotseat>0</is_hotseat>
<sort_index>1000</sort_index>
<random_map_order>0</random_map_order>
</filter>
<startindex>0</startindex>
<map>
<file>ShootMania\TimeAttack\TimeAttack - TF_exm1.Map.Gbx</file>
</map>
<map>
<file>ShootMania\TimeAttack\TimeAttack - UrbanLegenD.Map.Gbx</file>
</map>
</playlist>
This is my exact SMStormTimeAttack
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration>
<disablerespawn>0</disablerespawn>
<forceshowallopponents>0</forceshowallopponents>
<script_name>TimeAttack.Script.txt</script_name>
<rounds_pointslimit>50</rounds_pointslimit>
<rounds_usenewrules>0</rounds_usenewrules>
<rounds_forcedlaps>0</rounds_forcedlaps>
<rounds_pointslimitnewrules>5</rounds_pointslimitnewrules>
<team_pointslimit>5</team_pointslimit>
<team_maxpoints>6</team_maxpoints>
<team_usenewrules>0</team_usenewrules>
<team_pointslimitnewrules>5</team_pointslimitnewrules>
<timeattack_limit>2400000</timeattack_limit>
<timeattack_synchstartperiod>0</timeattack_synchstartperiod>
<laps_nblaps>5</laps_nblaps>
<laps_timelimit>0</laps_timelimit>
<cup_pointslimit>100</cup_pointslimit>
<cup_roundsperchallenge>5</cup_roundsperchallenge>
<cup_nbwinners>3</cup_nbwinners>
<cup_warmupduration>2</cup_warmupduration>
</gameinfos>
<hotseat>
<game_mode>0</game_mode>
<time_limit>2400000</time_limit>
<rounds_count>5</rounds_count>
</hotseat>
<filter>
<is_lan>1</is_lan>
<is_internet>1</is_internet>
<is_solo>0</is_solo>
<is_hotseat>0</is_hotseat>
<sort_index>1000</sort_index>
<random_map_order>0</random_map_order>
</filter>
<startindex>0</startindex>
<map>
<file>ShootMania\TimeAttack\TimeAttack - TF_exm1.Map.Gbx</file>
</map>
<map>
<file>ShootMania\TimeAttack\TimeAttack - UrbanLegenD.Map.Gbx</file>
</map>
</playlist>
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Setting round time
Go to your Modes map in your server.
/UserData/Scripts/Modes/ShootMania/TimeAttack.Script.txt
There you can alter the following things if you open the script.
There you can adapt the timelimit for TimeAttack.Script.txt
Hope this helps you,
with kind regards,
w1lla
/UserData/Scripts/Modes/ShootMania/TimeAttack.Script.txt
There you can alter the following things if you open the script.
Code: Select all
/* -------------------------------------- */
// Settings
/* -------------------------------------- */
#Setting S_TimeLimit 360 as _("Time limit (in seconds)")
Hope this helps you,
with kind regards,
w1lla
TM² Info
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Re: Setting round time
Blegh, this is why the dedicated servers actually need real docs instead of "google until you find a French result that hopefully auto-translates into something intelligible."
So, ShootMania doesn't use the various game-related settings in the dedicated_server_cfg.txt. At all. What it does use is the settings in each game script.
Now, there's two things you can do:
So, ShootMania doesn't use the various game-related settings in the dedicated_server_cfg.txt. At all. What it does use is the settings in each game script.
Now, there's two things you can do:
- The easiest option is to go in and edit the script. Technically, the settings in the scripts are supposed to just be the defaults, but it's easy to just edit them. For example, as w1lla said, for TimeAttack you'd use the S_TimeLimit setting in /UserData/Scripts/Modes/ShootMania/TimeAttack.Script.txt.
- You can use the server API to update the game mode settings. Unless you know your way around coding or can find a plugin that does this, I'd stick with editing the script files.
Re: Setting round time
Those kind of settings does not belong to the server_cfg file but to the matchsettings file (but not for now).anvolcano wrote:So, ShootMania doesn't use the various game-related settings in the dedicated_server_cfg.txt. At all. What it does use is the settings in each game script.
It's still a beta, we can expect that scripts settings will be saved to and load from matchsettings in few weeks, wait a little

(and i hope also a custom field which would allow classic xmlrpc scripts to load/save few infos in the matchsettings as well)
Last edited by Slig on 21 Jul 2012, 18:09, edited 1 time in total.
Developer/maintainer of TM² Dedimania records system - TM² Fast4 server script (download , french topic)
Re: Setting round time
Are the MatchSettings files actually used at the moment for anything beyond map playlists? If so this is the first I'm hearing about it. Certainly the values in the default files (that are the same as in TM2) aren't.
e: oh, I just read the rest of your post :p I agree that hopefully they'll start working in the next couple weeks.
e: oh, I just read the rest of your post :p I agree that hopefully they'll start working in the next couple weeks.
Re: Setting round time
yes : gamemode 0 and the script nameanvolcano wrote:Are the MatchSettings files actually used at the moment for anything beyond map playlists?

perhaps the chattime with some scripts ? but at least it does not seem to be the case for all scripts.
Developer/maintainer of TM² Dedimania records system - TM² Fast4 server script (download , french topic)
-
- Posts: 10
- Joined: 09 Jul 2012, 17:33
Re: Setting round time
Anvolcano, Winner winner chicken dinner. That did the trick!!! Thank you very much!!!
Now I just need to find out the problem with the NAT settings. I still think it has something to do with the last 3 numbers of the IP that I used for port forwarding. Perhaps having a dynamic IP is bad?
Now I just need to find out the problem with the NAT settings. I still think it has something to do with the last 3 numbers of the IP that I used for port forwarding. Perhaps having a dynamic IP is bad?
Who is online
Users browsing this forum: No registered users and 0 guests