Closed w1lla closed 1 year ago
Apparently there is a bug in LoadingMapEnd/Start and in FlagRush it is always empty
LoadingMap_Start
only is a signal that a new map is being loaded, it doesn't contain any data about what map is being loaded. This is being sent before the actual technical loading process starts, so the gamemode does not event know about the map yet. This is a Nadeo xmlrpc event and not defined by us.LoadingMap_End
is a signal that the new map loading process completed. Therefore the new map is now known to the gamemode and data about it can be sent. This again is a Nadeo xmlrpc event, as a counterpart to the _Start event above.FlagRush does not send anything during the loading process, as the technical side of loading a map is irrelevant for the FlagRush gamemode logic. I don't see what's wrong with the loading-events. Could you explain?
So i can not retrieve any data for Maps on MatchStart
There actual is no map loaded during match start. So there not being map data is technically correct. Though I can see it being confusing that there is still empty map data being sent. (That is due to us using a common event structure for all flow events and structs not being nullable in Maniascript.) I will take a look at if I can make changes to the structure. Keep in mind that the officially released version right now does not contain any FlagRush specific XmlRpc functionalities and the current development version is the first version to implement it.
So i need to do 2x times a thing to catch both things when it could only be needed once
What are you trying to catch specifically there? The Map during match start? As mentioned above, there is no map loaded during map start, the earliest there is a map is LoadingMap_End.
The general progression looks as follows (Maniaplanet.
prefixed events are Nadeo events; FragRush.
prefixed events are ours):
[FlagRush.Flow.]MatchStart / FlagRush.Flow.MapStart apparently give both the same data but in different ways? a bit confusing
Same structure, as mentioned above, yes. I'm gonna revisit it and change the strucure a bit and let you know before I merge changes.
Apparently there is a bug in LoadingMapEnd/Start and in FlagRush it is always empty: So i can not retrieve any data for Maps on MatchStart if i am only testing it by myself (I do it so i can find all callbacks and from there i will develop further)) So i need to do 2x times a thing to catch both things when it could only be needed once:
MatchStart / FlagRush.Flow.MapStart apparently give both the same data but in different ways? a bit confusing