Page 2 of 2

Re: skipmap

Posted: 23 Jun 2014, 21:43
by oliverde8
what kremsy is trying to say is there might be a second controller(eXpansion or a web site like adminserv) if a user on that controllers asks for a map skip then ManiaControl won't know about it and thus the event won't be triggered.

Edit : That is why we had disabled our load screen plugin, and due to the incredibly slow loading time of the image, :)
hopefully Nadeo will allow do it possible, like it was before :)

Re: skipmap

Posted: 23 Jun 2014, 21:43
by steeffeen
yes if maniacontrol is skipping the map we can inform plugins about it
but there might be other controllers that are calling NextMap so that you can't rely on MC to inform you because it won't know that someone else called NextMap
i just wanted to point that out because i thought you want to build a feature that critically depends on the skip information

Re: skipmap

Posted: 23 Jun 2014, 21:53
by toffe
I think it's not good to build a callback for the button, because, earlier already said, map can be skipped from another api caller so you can't trust the callback, and it only creates confusion.
And is it only because of a loadscreen?

Re: skipmap

Posted: 24 Jun 2014, 11:24
by chco
oliverde8 wrote:what kremsy is trying to say is there might be a second controller(eXpansion or a web site like adminserv) if a user on that controllers asks for a map skip then ManiaControl won't know about it and thus the event won't be triggered.

Edit : That is why we had disabled our load screen plugin, and due to the incredibly slow loading time of the image, :)
hopefully Nadeo will allow do it possible, like it was before :)
Seems many of you use second controllers that's where the confusion comes from, we don't so mc would always initiate the skipmap.
Beginmap callback would not be an option as the loadscreen needed to appear before the loading of a map.
Slow loading time of an image would be weird, as they're preloaded at playerconnect.

And toffe, again thanks for always ending your very constructive replies with degrading comments.
It would be so nice if you would take the time spend in your replies to my posts and use it to carry some more water to the sea. Would be so much more constructive.

Re: skipmap

Posted: 24 Jun 2014, 11:30
by chco
I found another solution to tackle this. I'll just use a timer on every second to show and hide the screens, this way it wouldn't matter if a map is skipped or not.
Thanks for the replies guys!