how to set correctly new scriptSettings ?

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

how to set correctly new scriptSettings ?

Post by reaby »

Code: Select all

$settings = $this->connection->getModeScriptSettings();

Array
(
    [MapPointsLimit] => 200
    [OffZoneTimeLimit] => 50
    [OffZoneActivationTime] => 4
    [SpawnInterval] => 5
)
value changed.

Array
(
    [MapPointsLimit] => 200
    [OffZoneTimeLimit] => 50
    [OffZoneActivationTime] => 4
    [SpawnInterval] => 3
)
$this->connection->setModeScriptSettings($settings);
Dedicated replies:
Non-struct type supplied for 'S' specifier
User avatar
kapsubm
Posts: 238
Joined: 16 Aug 2011, 23:38
Location: Vienna, Austria
Contact:

Re: how to set correctly new scriptSettings ?

Post by kapsubm »

getting the same error when i try to change scriptsettings

Code: Select all

sh-4.1$ ./sendcmd.php GetModeScriptSettings
*GetModeScriptSettings :
  Duration = 300000
  ShowTop10 = 1
sh-4.1$ ./sendcmd.php SetModeScriptSettings array Duration=500000 ShowTop10=1
array...
+>Duration=500000
+>ShowTop10=1
Cannot run SetModeScriptSettings - Error -501: Non-struct type supplied for 'S' specifier
sh-4.1$
Join CSeSports Platform Server

[url=maniaplanet://:maniaplanet://#join=cs.esports@Platform@nadeolive]CS.eSportsPlatform 0-60K With Fox Control[/url]
[url=maniaplanet://:maniaplanet://#join=csesports2@SMStorm]CS.eSports SM Royal 0-60 k 40 players With Smart Servercontroller[/url]
[url=maniaplanet://:maniaplanet://#join=cs.esports1@TMCanyon]CS.eSports Stunts in Canyon with Smart Servercontroller[/url]
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 0 guests