Page 6 of 9
Re: [plugin] Dedimania
Posted: 15 Apr 2011, 20:52
by reaby
There is definitely problem with dedimania plugin...
at TechStar it sent dedi 1st for willie-maykit --> illuminati by hot-rod --> 44.xx
in localrecords the time is 1:06:xx, so there's definitely something wrong with dedimania plugin.
I removed dedimania plugin from the server until this is fixed, since it might sent other false records also.
I encourage dedimania admins to check records from server account techstar_server and validate at least the top 1 times.
Re: [plugin] Dedimania
Posted: 15 Apr 2011, 22:24
by Knutselmaaster
I'm having troubles with it all the time...
The "broken pipe" error comes back daily, and crashes my manialives very often if i don't restart them every day.
Too bad that there is no support, all errors posted in this topic remain unanswered.
Re: [plugin] Dedimania
Posted: 15 Apr 2011, 23:10
by w1lla
w1lla wrote:the foreach error try to look add this on line 91 in DedimaniaCall.php
For the fputs error try this on line 206.
It will show in xml format how it looks when sending data to dedimania and back.
Hopefully it will work. Otherwise look in the logs for Dedimania_log_XmlRpc.txt and open it up and see where the fault comes from.
Re: [plugin] Dedimania
Posted: 21 Apr 2011, 23:48
by Knutselmaaster
i just drove a 31 dedi rec.
Server is on laps.
Re: [plugin] Dedimania
Posted: 24 Apr 2011, 09:13
by aseco
Do you have these issues with any game type or is it only laps mode that causes troubles?
Re: [plugin] Dedimania
Posted: 24 Apr 2011, 09:23
by Knutselmaaster
It is only with laps.
It shows every finish as 31th rec, even if the 2nd time that you pass the finish is in a worse time than the first.
screenshot of game and console here
Re: [plugin] Dedimania
Posted: 24 Apr 2011, 09:30
by mistertl
It looks like I have the same "broken pipe" problem. Manialive crashed, and the only error in the error logging was that Broken Pipe thing. I'll keep an eye on it, but it would be nice to see this solved

Re: [plugin] Dedimania
Posted: 24 Apr 2011, 10:16
by aseco
mistertl wrote:It looks like I have the same "broken pipe" problem. Manialive crashed, and the only error in the error logging was that Broken Pipe thing. I'll keep an eye on it, but it would be nice to see this solved

I think the connection times out and thus gets closed which causes this error message.
Will try to do some exception catching and reconnect.
Knutselmaaster wrote:It is only with laps.
It shows every finish as 31th rec, even if the 2nd time that you pass the finish is in a worse time than the first.
screenshot of game and console here
Okay, will search

Re: [plugin] Dedimania
Posted: 24 Apr 2011, 10:31
by aseco
@knutsel:
can you try if replacing line 815 in Dedimania.php:
Code: Select all
|| $player->bestTime < $this->records_last->best
with:
Code: Select all
|| $record->best < $this->records_last->best
fixes the laps issue?
Re: [plugin] Dedimania
Posted: 24 Apr 2011, 18:28
by Knutselmaaster
Thanks for your replies, i hope to find the time to do some big betatesting tonight.
Edit;
I confirm that the fix works.(ManiaLive 212)
In laps i only get a dedirec when i drive under the 30th dedi time.