Strange... Seems to be fixed Never mind my post then....
Had some issues with MatchStart as Callback but fixed it eventually.
Script callbacks
Moderator: NADEO
- w1lla
- Posts: 2396
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Script callbacks
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
- w1lla
- Posts: 2396
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Script callbacks
New Callback:
Missing.
Code: Select all
LibStats_GetWeaponsHasHit
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: Script callbacks
The list of methods and callbacks available in the Nadeo scripts is also on the ManiaPlanet GitHub documentation now :
http://maniaplanet.github.io/documentat ... ripts.html
http://maniaplanet.github.io/documentat ... ripts.html
Re: Script callbacks
so elite will keep being weird and different than ANY other mode causing more work for controller authors and unnecessary network usage?
- w1lla
- Posts: 2396
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Script callbacks
For elite its not aproblem just a way to code properly for authors
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: Script callbacks
Elite already uses some generic callbacks and methods.
Callbacks:
LibXmlRpc_LoadingMap
LibXmlRpc_BeginMatch
LibXmlRpc_BeginMap
LibXmlRpc_BeginSubmatch
LibXmlRpc_BeginRound
LibXmlRpc_BeginTurn
LibXmlRpc_EndTurn
LibXmlRpc_EndRound
LibXmlRpc_EndSubmatch
LibXmlRpc_EndMap
LibXmlRpc_EndMatch
Methods:
LibXmlRpc_DisableAltMenu
LibXmlRpc_EnableAltMenu
LibXmlRpc_GetScores
In the next version the following callbacks will be added:
LibXmlRpc_BeginWarmUp
LibXmlRpc_EndWarmUp
LibXmlRpc_OnHit
LibXmlRpc_OnArmorEmpty
LibXmlRpc_OnPlayerRequestRespawn
LibXmlRpc_OnCapture
LibXmlRpc_OnShoot
LibXmlRpc_OnNearMiss
There will be a new setting S_UseLegacyCallback to turn on or off the old callbacks (by default they'll be turned on).
But as the new callbacks are generic, they will have far less informations about the events than the legacy ones.
Callbacks:
LibXmlRpc_LoadingMap
LibXmlRpc_BeginMatch
LibXmlRpc_BeginMap
LibXmlRpc_BeginSubmatch
LibXmlRpc_BeginRound
LibXmlRpc_BeginTurn
LibXmlRpc_EndTurn
LibXmlRpc_EndRound
LibXmlRpc_EndSubmatch
LibXmlRpc_EndMap
LibXmlRpc_EndMatch
Methods:
LibXmlRpc_DisableAltMenu
LibXmlRpc_EnableAltMenu
LibXmlRpc_GetScores
In the next version the following callbacks will be added:
LibXmlRpc_BeginWarmUp
LibXmlRpc_EndWarmUp
LibXmlRpc_OnHit
LibXmlRpc_OnArmorEmpty
LibXmlRpc_OnPlayerRequestRespawn
LibXmlRpc_OnCapture
LibXmlRpc_OnShoot
LibXmlRpc_OnNearMiss
There will be a new setting S_UseLegacyCallback to turn on or off the old callbacks (by default they'll be turned on).
But as the new callbacks are generic, they will have far less informations about the events than the legacy ones.
Re: Script callbacks
okay my bad then, i wasn't aware that the new callbacks are available as well
good thing about being able to turn off the old (huge) ones
good thing about being able to turn off the old (huge) ones
Re: Script callbacks
In which mode did you try? Currently it only works on Elite (version >= 2013-07-07), the other modes will be supported with the next update.
When I do my test I call something like that in my controller:
Then a "Warm up stop" message is displayed in the chat and the warm up stops immediately. If the match can't begin (because there's not enough players, ...) a new warmup starts but If all is ok, the match begins.
When I do my test I call something like that in my controller:
Code: Select all
client.query('TriggerModeScriptEvent', ['WarmUp_Stop', '']);
Who is online
Users browsing this forum: No registered users and 1 guest