• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

HIVE

IcemanBo
IcemanBo
You would call it for exmaple like call MMD_LogEvent2 ("RoundWon",GetPlayerName(p), I2S(kills))

but I am not sure the events work flawless. I've heard by someone he had desync issued using custom events.
Pinzu
Pinzu
I just want to encode some none-player bound data at the end of the game so desyncs should be acceptable at that stage (albeit still problematic if the data isn't encoded).

I do this in a trigger:
Custom script: call MMD_DefineEvent1("league", "{0}", "flag")
Custom script: call MMD_LogEvent1("league", "true")

But it doesn't appear to be saved when i upload the replay. I'd gladly send the map to you if you have time to look at it. It's the only thing blocking me from completing the league bot.

One option im considering is to just put everything under a dummy player and ignore events completely.
IcemanBo
IcemanBo
Sorry, I believe I can't help when it comes to special bugs, or so, and I never used the site, or the system. :/
Pinzu
Pinzu
I talked with Anders who made it and he helped me with my problems. :)

It actually would be cool to continue the development of this discord bot to be generalied to other wc3 maps.
IcemanBo
IcemanBo
What discord bot?
Pinzu
Pinzu
oh I'm making a league bot for risk map so users upload replays and it gives them points, keep track of stats and so on. It works ontop of wc3stats API
Top