LibXmlRpc Improvements

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: LibXmlRpc Improvements

Post by w1lla »

In Legacy Callback Elite EndTurn Is TurnHits still active?

http://doc.maniaplanet.com/dedicated-se ... ml#EndTurn

Documentation on maniaplanet.com doesn't say so but in the github of gamemodes it does. So maybe add that to tell if / how many hits a player made.

This is only possible in elite legacy callbacks but can also be used in other modes. Or i can be completely wrong.
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
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: LibXmlRpc Improvements

Post by Eole »

@kremsy
1) The LibXmlRpc_BeginPlaying and LibXmlRpc_EndPlaying callbacks are sent just before and after the playing sequence in every game modes. Can you use them or do you need something different?

I added the pause in the Siege todolist and I'll take a look at the combo problem.

@w1lla
The documentation is updated with the TurnHits array. And yes it's still active on Elite.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
novationx
Posts: 2723
Joined: 10 Aug 2013, 22:33

Re: LibXmlRpc Improvements

Post by novationx »

Yeah with the paragon cups we should be able to pause the game. Yesterday during the siege cup it wasnt possible, but we simply restarted, np.

vote pause & F6 to start again in every gamemode would be nice! Consistency ftw! :yes:
The neverending waiting game has to stop.
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: LibXmlRpc Improvements

Post by Eole »

Not yet. What's the purpose of the callback you're requesting? Some modes use rounds and other turns because they need a different structure. I need to understand exactly what you're going to use the callback for to implement it. Could you give me one or several examples of what this callback will trigger? Do you want to know when the players stop playing and are unspawned to hide/display some UI for example?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: LibXmlRpc Improvements

Post by Eole »

Ok, to sum it up you want a callback "XmlRpc_ScoresReady" or a name like that. It should be sent at the end of the map or round or turn (depending on the game mode), when the players stopped playing, the scores are updated and can be safely accessed.
Examples :
- in Elite or Siege it should be sent at the end of each turn;
- in Combo it should be sent at the end of each round;
- in Melee it should be sent at the end of each map.

That's it?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest