- "Camera 0 flashed you!", please do + 1
- Please make "km/h" as a settings, e.g. S_VelocityUnit to be able to change it to "mp/h" or whatever
- At the description a "$" is missing: "Take care, restarting will $ff0dump$fff your speed!"
- After finishing a Map, nothing happens... i have to press DEL to start another run... do i miss something?
Doppler - A new competitive gamemode!
Moderator: English Moderator
Re: Doppler - A new competitive gamemode!
Some findings or suggestions:
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: Doppler - A new competitive gamemode!
Hi,
Thanks for update!
And many thanks for enabling the moving of the ingame panel around + possibility to hide it!
@Undef, you are way too fast to add support... even if it doesn't send any data (yet) about the scores
@Nerpson
Here is what you need to send custom callbacks to dedicated server... register at start server...
not sure if you need to unregister it at stopserver... anyway here's how to do it:
It's just suggestion for checkpoint data (if you wish send more or less values), maybe also when player retires there would be nice to have callback... perhaps also when he finishes the race, but it is not that important for now.
Note, all values in array needs to be same type.
Would be cool to have support for localrecords with this game mode,
Reaby
Thanks for update!
And many thanks for enabling the moving of the ingame panel around + possibility to hide it!
@Undef, you are way too fast to add support... even if it doesn't send any data (yet) about the scores

@Nerpson
Here is what you need to send custom callbacks to dedicated server... register at start server...
not sure if you need to unregister it at stopserver... anyway here's how to do it:
Code: Select all
XmlRpc::RegisterCallback("Doppler_onCheckpoint", """
* Data: array of Login, speed and kph mode
* Example: ["nerpson", "999", "1"]
""");
Code: Select all
XmlRpc::SendCallbackArray("Doppler_onCheckpoint", [Event.Player.Login, TL::ToText(RoundedSpeed), TL::ToText(S_KPH)]);

Would be cool to have support for localrecords with this game mode,
Reaby
Re: Doppler - A new competitive gamemode!
Someone has to start. =)reaby wrote:@Undef, you are way too fast to add support... even if it doesn't send any data (yet) about the scores
Why not just send the LibXmlRpc_OnWayPoint instead of an custom one???reaby wrote:Code: Select all
XmlRpc::RegisterCallback("Doppler_onCheckpoint", """ * Data: array of Login, speed and kph mode * Example: ["nerpson", "999", "1"] """);
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: Doppler - A new competitive gamemode!
Yes, why not, but it's really his decicion to which path to take, as the main event loop already passOn the time infos for waypoints... So replacing it would be more difficult that just sending additional custom eventundef.de wrote:Why not just send the LibXmlRpc_OnWayPoint instead of an custom one???

Also one remark is that it is quite challenging to debug if you dont' have dedicated server installed (since there is no way to see the emitted xmlrpc calls)

Re: Doppler - A new competitive gamemode!
Just re-map whatever xml-rpc event is received to the format you internally use? If your controller doesn't support that, it's a seriously huge design flaw. Forcing everyone to whatever undocumented format Nadeo uses isn't a great idea either.undef.de wrote:Why not just send the LibXmlRpc_OnWayPoint instead of an custom one???
In the end, the way Nadeo implemented scripted xml-rpc callbacks is terrible anyway.
=3
Re: Doppler - A new competitive gamemode!
http://doc.maniaplanet.com/dedicated-se ... OnWayPointTGYoshi wrote:[...] undocumented format [...]
As we have currently this implementation, be sure it will not be changed in the near future.TGYoshi wrote:In the end, the way Nadeo implemented scripted xml-rpc callbacks is terrible anyway.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: Doppler - A new competitive gamemode!
Wow, it's actually documented. Wouldn't have expected that from Nadeo! I wonder why they got rid of the JSON format now, it's at least more sensible than an array of random strings, even though it's slightly more heavy on data (but who cares, it's usually ran locally anyway).
Well, guess we'll have to deal with this mess.
Well, guess we'll have to deal with this mess.

=3
Re: Doppler - A new competitive gamemode!
Sorry i overlooked that you have changed the response data, so yes in that case it makes sense to send a custom event instead of using LibXmlRpc_OnWayPoint!reaby wrote:Yes, why not, but it's really his decicion to which path to take, as the main event loop already passOn the time infos for waypoints... So replacing it would be more difficult that just sending additional custom eventundef.de wrote:Why not just send the LibXmlRpc_OnWayPoint instead of an custom one???
Also one remark is that it is quite challenging to debug if you dont' have dedicated server installed (since there is no way to see the emitted xmlrpc calls)
But the name should be Doppler_OnWayPoint to keep the "meaning equal" with the LibXmlRpc one.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Who is online
Users browsing this forum: No registered users and 1 guest