How to automatically set rpoints

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

How to automatically set rpoints

Post by Welly » 14 Aug 2009 14:28

Hi Xymph, hi everybody!

I'm currently searching for how to automatically set the rpoints value in round mode when starting/restarting my TMF server.

My server runs Xaseco 1.09 (great :D).

Actually I have to set manually motogp points by the following command (in game):

/admin rpoints motogp

Thanks.

User avatar
lille79
Pit Crew
Pit Crew
Posts: 881
Joined: 09 Dec 2007 15:04
Owned TM-games: TMN, TMNF, TMUF
Location: Norway
Contact:

Re: How to automatically set rpoints

Post by lille79 » 14 Aug 2009 14:44

From Xymph's site, http://www.gamers.org/tmn/#config, searching for rpoints I found:
<default_rpoints></default_rpoints>
On TMF with plugin.rpoints.php enabled, this defines whether to initialize the server with a default Rounds points system at XASECO start-up. Set it to a custom system with specified values (X,Y,...,Z) or a common system by name (f1gp, motogp, etc), just like the parameters to the /admin rpoints command. If empty, the standard points system is initialized.
I believe that's in the config.xml ;)
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: How to automatically set rpoints

Post by Welly » 14 Aug 2009 14:49

Thanks, I already found this config file and edited it but no effect in game :(

This is not in plugins.xml but in plugins/plugin.rpoints.php
Plugin is just a xml file to set on/off a plugin

User avatar
lille79
Pit Crew
Pit Crew
Posts: 881
Joined: 09 Dec 2007 15:04
Owned TM-games: TMN, TMNF, TMUF
Location: Norway
Contact:

Re: How to automatically set rpoints

Post by lille79 » 14 Aug 2009 14:59

??

1. Do not edit the plugins/plugin.rpoints.php-file
2. You activate the rpoints-plugin in the plugins.xml.
3. Then you set in the config.xml:

Code: Select all

<default_rpoints>motogp</default_rpoints>
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: How to automatically set rpoints

Post by Welly » 14 Aug 2009 16:36

Sorry for my last message, I confused between config.xml and plugin.xml.

IT WORKS now! Thanks a lot! :D :thumbsup:

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: How to automatically set rpoints

Post by Big_Al » 14 Apr 2010 07:17

I also try to set them to "motogp" and I did it exact the same way like described, but I have a United server and it doesn´t work:

Because of this:
<default_rpoints></default_rpoints>
On TMF with plugin.
Is there also a way to set it in config on a United server?

Xymph
Pit Crew
Pit Crew
Posts: 5724
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: How to automatically set rpoints

Post by Xymph » 14 Apr 2010 08:38

Big_Al wrote:I also try to set them to "motogp" and I did it exact the same way like described, but I have a United server and it doesn´t work:

Because of this:
<default_rpoints></default_rpoints>
On TMF with plugin.
Is there also a way to set it in config on a United server?
TMUF or TMNF makes no difference, but if <default_rpoints> is empty as shown above, then indeed nothing happens. Just follow lille79's instructions and it should work. If not, include more information like an excerpt from the start-up log.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: How to automatically set rpoints

Post by Big_Al » 17 Apr 2010 08:59

Thanks for the answer.
I am pretty sure I did the settings right, here the config.xml

Code: Select all

...
<!-- the remaining settings are for TMF only          -->
<default_rpoints>motogp</default_rpoints>
<afk_force_spec>True</afk_force_spec>
<clickable_lists>True</clickable_lists>
...
and the plugins.xml

Code: Select all

...
<plugin>plugin.musicserver.php</plugin>
<plugin>plugin.uptodate.php</plugin>
<plugin>plugin.rpoints.php</plugin>
...
But the server always starts with standard point system :(

Xymph
Pit Crew
Pit Crew
Posts: 5724
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: How to automatically set rpoints

Post by Xymph » 17 Apr 2010 13:11

Big_Al wrote:But the server always starts with standard point system :(
How do you conclude that?
What rounds points message appears in aseco.log during XAseco startup?
After startup, what is shown by /rpoints and /admin rpoints show ?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: How to automatically set rpoints

Post by Big_Al » 20 Apr 2010 08:09

Hey Xymph, sorry took a while we hat to format our root server, okay all installed again, same result.
Aseco startup log:

Code: Select all

[XAseco] PHP Version is 5.3.0 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
[XAseco] Load banned IPs list [bannedips.xml]
[XAseco] Load plugins list [plugins.xml]
[XAseco] Load plugin [plugin.localdatabase.php]
[XAseco] Load plugin [plugin.rounds.php]
[XAseco] Load plugin [chat.admin.php]
[XAseco] Load plugin [chat.help.php]
[XAseco] Load plugin [chat.records.php]
[XAseco] Load plugin [chat.records2.php]
[XAseco] Load plugin [chat.recrels.php]
[XAseco] Load plugin [chat.dedimania.php]
[XAseco] Load plugin [chat.players.php]
[XAseco] Load plugin [chat.players2.php]
[XAseco] Load plugin [chat.wins.php]
[XAseco] Load plugin [chat.laston.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.song.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.muting.php]
[XAseco] Load plugin [plugin.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.php]
[XAseco] Load plugin [plugin.dedimania.php]
[XAseco] Load plugin [plugin.rasp.php]
[XAseco] Load plugin [plugin.rasp_jukebox.php]
[XAseco] Load plugin [plugin.rasp_chat.php]
[XAseco] Load plugin [plugin.rasp_karma.php]
[XAseco] Load plugin [plugin.rasp_nextmap.php]
[XAseco] Load plugin [plugin.rasp_nextrank.php]
[XAseco] Load plugin [plugin.rasp_votes.php]
[XAseco] Load plugin [plugin.chatlog.php]
[XAseco] Load plugin [plugin.msglog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.donate.php]
[XAseco] Load plugin [plugin.musicserver.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [plugin.rpoints.php]
[XAseco] Load plugin [plugin.access.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.fufi.menu.php]
[XAseco] Load plugin [plugin.fufi.widgets.php]
[XAseco] Load plugin [fufi.tools.php]
[XAseco] Load plugin [plugin.fufi.autoqueue.php]
[XAseco] Load plugin [plugin.zeroswitch.php]
[XAseco] Load plugin [plugin.forceMods.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5520
[XAseco] Try to authenticate with login 'xxx' and password 'xxx'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on 'localhost' with database 'aseco4ever1'
[Local DB] MySQL Server Version is 5.1.36-community
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[04/20,06:23:37] Load default style [styles/DarkBlur.xml]
[04/20,06:23:37] Load default admin panel [panels/AdminBelowChat.xml]
[04/20,06:23:37] Load default donate panel [panels/DonateBelowCPList.xml]
[04/20,06:23:37] Load default records panel [panels/RecordsRightBottom.xml]
[04/20,06:23:37] Load default vote panel [panels/VoteBelowChat.xml]
[04/20,06:23:37] Load player access control [access.xml]
[04/20,06:23:37] [ZeroSwitch] Notice: Connection already initialized and database structure checked.
[04/20,06:23:37] ************* (Dedimania) *************
[04/20,06:23:37] * Dataserver connection on Dedimania ...
[04/20,06:23:37] * Try connection on http://dedimania.net:8017/Dedimania ...
[04/20,06:23:37] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[04/20,06:23:37] * Connection and status ok! :)
[04/20,06:23:37] * NEWS (Dedimania, 08/05): news
[04/20,06:23:37] ------------- (Dedimania) -------------
###############################################################################
  XASECO v1.09 running on 127.0.0.1:5520
  Name   : Kacklappen Coast - mfgroot12
  Game   : TmForever United - United - Rounds
  Version: 2.11.22 / 2009-08-01
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[04/20,06:23:38] forceMods: Stadium=>mod1 Island=>mod2 Speed=>mod2 Rally=>mod2 Bay=>mod1 Coast=>mod2 Alpine=>mod1
[04/20,06:23:38] track changed [none] >> [Coast Tour 2]
[04/20,06:23:38] currently no record on Coast Tour 2
[04/20,06:23:41] Webaccess (dedimania.net:8017): send: deflate, receive: deflate
[04/20,07:21:47] << player 249 joined the game [ax__cid : $s$i$o$fff$f60ғ$fffо$0f3г$000ѕ$ff3т$3cfє$f00г : Germany : 268 : 95.222.199.37]
[04/20,07:21:48] [AutoQueue] Released first player from queue: ax__cid
End Round
Begin Round
End Round
Begin Round
[04/20,07:23:19] [Local DB] player ax__cid finished with 48310 and took the 1. LR place!
End Round
R1> 1.ғогѕтєг[0:48.31]
[04/20,07:23:26] player ax__cid used chat command "/list nofinish"
Begin Round
[04/20,07:24:04] player ax__cid clicked command "/jukebox 69"
[04/20,07:24:09] player ax__cid clicked command "/admin nextmap"
[04/20,07:24:09] MasterAdmin [ax__cid] skips challenge!
End Round
End Challenge
[04/20,07:24:09] track [Coast Tour 2] finished after: 01:00:31
|...Calculating ranks
|...Done!
{RASP Jukebox} Setting Next Challenge to [Coast] Dynamic Force, requested by ғогѕтєг
[04/20,07:24:09] [Music] Setting next song to: http://85.14.221.253/server-installations-dateien/Trackmania/Songs/Eminem-Loose.Yourself.ogg
Begin Challenge
[04/20,07:24:29] forceMods: Stadium=>mod1 Island=>mod1 Speed=>mod1 Rally=>mod1 Bay=>mod2 Coast=>mod2 Alpine=>mod1
[04/20,07:24:29] track changed [Coast Tour 2] >> [Dynamic Force]
[04/20,07:24:29] currently no record on Dynamic Force
Begin Round
End Round
Begin Round
[04/20,07:26:03] [Local DB] player ax__cid finished with 61260 and took the 1. LR place!
End Round
after "/rpoints":
"No custom rounds points system defined"

after "/admin rpoints"
"No custom rounds points system defined"

When I type in manually "/admin rpoints motogp" it switches and works.

Xymph
Pit Crew
Pit Crew
Posts: 5724
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: How to automatically set rpoints

Post by Xymph » 20 Apr 2010 08:49

Big_Al wrote:Hey Xymph, sorry took a while we hat to format our root server, okay all installed again, same result.
Not okay. You're running old dedicated (2.11.22) and XAseco (v1.09) versions.

I don't see a "Initialize default rounds points" or similar message during startup, so that confirms the default rounds point system wasn't set, but I'm not going to try to figure out why for obsolete versions. Upgrade and retry first.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: How to automatically set rpoints

Post by Big_Al » 21 Apr 2010 07:13

Okay Xymph, I have to apologize for wasting Your time :oops:

I updated to 1.10 and I just did the usual changes to personalize and now it works without any further complications.

Thx for answering, keep the good work up!

Post Reply