Yesterday, there has been a new release of ManiaLive, on this occasion I created a new package of the Dedimania plugin which includes the changes for the new ManiaLib location.
Download here:
http://files.manialive.com/plugins/Dedimania_r1828.zip
Or at the Manialink manialive:plugins
[plugin] Dedimania
Moderator: NADEO
Re: [plugin] Dedimania
Yesterday at least two servers using the "ManiaLive-179" version of this Dedimania plugin submitted records for multiple tracks with the wrong number of checkpoints. Those have been deleted, and while the version numbering is confusing I'm taking this 179 version to be obsolete, therefore it has been disabled on the Dedimania master server. Only the "ManiaLive-2028" version is still allowed, but that too will be disabled if it's found to repeatedly pollute the database with bogus entries.
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
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
- Knutselmaaster
- Posts: 1206
- Joined: 15 Jun 2010, 18:03
- Manialink: intr
- Location: Somewhere between Paris and Disney in France.
- Contact:
Re: [plugin] Dedimania
The version numbering has been changed.
The ManiaLive-179 is in fact the newest version.
You managed to crash all running manialives with the latest version in one mouseclick
Tip to all serveradmins that come here asking why their ManiaLives have suddenly stopped and won't restart;
Disable the dedi plugin in your config.ini, until this problem has been solved.
The ManiaLive-179 is in fact the newest version.
You managed to crash all running manialives with the latest version in one mouseclick

Tip to all serveradmins that come here asking why their ManiaLives have suddenly stopped and won't restart;
Disable the dedi plugin in your config.ini, until this problem has been solved.
Re: [plugin] Dedimania
Correct me if I am wrong, but I don't believe there are any sanity checks to the score/CP times submited (as it exists on current dedi server managers)... I believe this should be part of the main code, not a specific plugin
Re: [plugin] Dedimania
That wasn't clear from this thread, nor the ManiaLive website (which doesn't seem to list these optional plugins at all). If they're hosted on that site, there should be a webpage listing the current versions (not a Manialink, I don't have TMF running all the time).Knutselmaaster wrote:The version numbering has been changed.
The ManiaLive-179 is in fact the newest version.
MySQL statement, actually.Knutselmaaster wrote:You managed to crash all running manialives with the latest version in one mouseclick

Ok, I've disabled "ManiaLive-2028" and (hesistantly) re-enabled "ManiaLive-179". But if it keeps polluting the database it gets disabled again, and someone will have to release a non-broken version.
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
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Re: [plugin] Dedimania
Ok, thanks for changing the version number and sorry for late response on that topic.Xymph wrote:That wasn't clear from this thread, nor the ManiaLive website (which doesn't seem to list these optional plugins at all). If they're hosted on that site, there should be a webpage listing the current versions (not a Manialink, I don't have TMF running all the time).Knutselmaaster wrote:The version numbering has been changed.
The ManiaLive-179 is in fact the newest version.
MySQL statement, actually.Knutselmaaster wrote:You managed to crash all running manialives with the latest version in one mouseclick![]()
Ok, I've disabled "ManiaLive-2028" and (hesistantly) re-enabled "ManiaLive-179". But if it keeps polluting the database it gets disabled again, and someone will have to release a non-broken version.
I implemented the sanity checks today, though I need to finish a new ManiaLive version to be able to release the Dedimania plugin because it's linked to some just implemented features.
This will hopefully happen before otherwise on monday.
For now I've done a checkpoint comparison: record to dedimania value if totalRaces > 0.
And furthermore a check on all times, if they are increasing and last checkpoint must be equal to finish time.
Is there anything else I can check?
Re: [plugin] Dedimania
Not sure what you mean by that.aseco wrote:For now I've done a checkpoint comparison: record to dedimania value if totalRaces > 0.
Good.aseco wrote:And furthermore a check on all times, if they are increasing and last checkpoint must be equal to finish time.
XAseco also checks that CheckpointIndex-es in PlayerCheckpoint callbacks are consecutive, and CheckpointIndex >= 0 && TimeOrScore > 0, but that was only abused in the earliest cheats and is probably irrelevant now.aseco wrote:Is there anything else I can check?
The most important thing for Dedimania is that in TA and Laps modes, the submitted number of checkpoints matches NbCheckpoints (from BeginChallenge/BeginRace or GetCurrentChallengeInfo), and in Rounds/Cup/Team modes it matches NbCheckpoints * NbLaps.
Also, RoundForcedLaps != 0 is not allowed, and Laps mode should submit the single best lap, not all laps together.
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
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Re: [plugin] Dedimania
Flo, i came upon something i think is not right.
In /logs/Dedimania_log_XmlRpc.txt
Server IP is stated as 127.0.0.1 , but is maybay correct because its localhost, but...
XmlrpcPort is not correct, i think it uses standard known port, but its not theportnumber for my server.
The rest of the data is fine.
In /logs/Dedimania_log_XmlRpc.txt
Code: Select all
REQUEST:
<?xml version="1.0" encoding="utf-8" ?><methodCall><methodName>system.multicall</methodName><params><param><value><struct>
<member><name>methodName</name><value><string>dedimania.CurrentChallenge</string></value></member>
<member><name>params</name><value><array><data>
<value><string>7iF8NhXKxfxGGs7F8HoNCN5Q9dl</string></value>
<value><string>$f00Boston-$fffBlockade-$f00no.2</string></value>
<value><string>Stadium</string></value>
<value><string>poisinivy</string></value>
<value><string>TMF</string></value>
<value><int>1</int></value>
<value><struct>
<member><name>SrvName</name><value><string>FreeZone $000[$f00LYNX$000]$09fFastlanes</string></value></member>
<member><name>Comment</name><value><string>$fc3$w MANIA$09fLIVE $000r2028</string></value></member>
<member><name>Private</name><value><boolean>0</boolean></value></member>
<member><name>SrvIP</name><value><string>127.0.0.1</string></value></member>
<member><name>SrvPort</name><value><int>3000</int></value></member>
<member><name>XmlrpcPort</name><value><int>5001</int></value></member>
<member><name>NumPlayers</name><value><int>2</int></value></member>
<member><name>MaxPlayers</name><value><int>40</int></value></member>
<member><name>NumSpecs</name><value><int>0</int></value></member>
<member><name>MaxSpecs</name><value><int>16</int></value></member>
<member><name>LadderMode</name><value><int>1</int></value></member>
</struct></value>
XmlrpcPort is not correct, i think it uses standard known port, but its not theportnumber for my server.
The rest of the data is fine.
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: [plugin] Dedimania
weerwolf:
Go to libraries\ManiaLivePlugins\Standard\Dedimania and open up Dedimania.php.
look for this:
Those are standard and aren't edited by every new challenge by the server controller.
Just a heads up.
Go to libraries\ManiaLivePlugins\Standard\Dedimania and open up Dedimania.php.
look for this:
Code: Select all
protected function getServerInfoArray()
{
return array
(
'SrvName' => $this->storage->server->name,
'Comment' => $this->storage->server->comment,
'Private' => isset($this->server->password),
'SrvIP' => '127.0.0.1',
'SrvPort' => 3000,
'XmlrpcPort' => 5001,
'NumPlayers' => count($this->storage->players),
'MaxPlayers' => $this->storage->server->currentMaxPlayers,
'NumSpecs' => count($this->storage->spectators),
'MaxSpecs' => $this->storage->server->currentMaxSpectators,
'LadderMode' => $this->storage->server->currentLadderMode
);
}
Code: Select all
$ 'SrvIP' => '127.0.0.1',
'SrvPort' => 3000,
'XmlrpcPort' => 5001,
Just a heads up.
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: [plugin] Dedimania
Indeed, it would be nicer to have them filled with the real values from the GetSystemInfo dedicated method...w1lla wrote: 'SrvIP' => '127.0.0.1',
'SrvPort' => 3000,
'XmlrpcPort' => 5001,
Developer/maintainer of TM² Dedimania records system - TM² Fast4 server script (download , french topic)
Who is online
Users browsing this forum: No registered users and 1 guest