Full Version : lbstone
xmlspawner >>XMLPoints Discussion >>lbstone
<< Prev | Next >>
ambak- 01-24-2006
i placed the lbstone and use the save command for leaderboard save but i think it doesnt save automaticly
ArteGordon- 01-24-2006
if you place the stone, and then issue the
[leaderboardsave filename
command, with any of the additional optional args such as save interval, then those settings will be saved across server restarts.
If you just issue the
[leaderboardsave
command. That just reports the status, it does not turn it on.
ambak- 01-24-2006
is there a way to save it automaticly without restart ?
ArteGordon- 01-24-2006
as soon as you issue the
[leaderboardsave filename
command, it will begin saving the leaderboard stats at the specified interval. It does not require a server restart.
If you place the lbsstone, then if you do restart the server then those settings will be restored. If you dont place the lbsstone, then you will have to issue the command again to start the saves after a server restart.
ambak- 01-24-2006
ok arte i got it thanks.my final question is when i add the gaunlet for the game.it auto broadcast gamename is in prepared at game region by staffname
i want to give this a different hue
i looked at the xmlpoint.cs and found this
public static void BroadcastMessage ( AccessLevel ac, int hue, string message )
i think i should chance int hue am i right?
ArteGordon- 01-24-2006
you want to make the change in basechallengegame.cs, around line 460

QUOTE
// announce challenge game region games XmlPoints.BroadcastMessage( AccessLevel.Player, 0x482, String.Format(XmlPoints.SystemText(100307), XmlPoints.SystemText(nameindex), r.Name, from.Name) ); // "{0} Challenge being prepared in '{1}' by {2}", "Last Man Standing"

change the 0x482 to whatever value you want.