Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Comments on Profile Post by Pinzu

  1. 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.
    Aug 20, 2019
  2. 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.
    Aug 20, 2019
  3. 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. :/
    Aug 20, 2019
  4. 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.
    Aug 25, 2019
  5. IcemanBo
    IcemanBo
    What discord bot?
    Aug 25, 2019
  6. 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
    Aug 25, 2019
  7. IcemanBo
    IcemanBo
    Is there already a concept? Could you detaily explain how the score system process with discord and uploading would look like?
    Aug 25, 2019
  8. Pinzu
    Pinzu
    I'm currently reformatting parts of the code so can't run a test but I can invite you to the test discord server if u give me ur acc and show you later today or tomorrow

    But basically the user types ina command !submit 1610 (reference to the wc3stats replay) and then the data is read from that site and stats are recorded by the bot, scoreboards are updated accordingly etc

    Here is a screenshot from a game report after submission
    https://www.hiveworkshop.com/media/replayreport.127080/
    Aug 25, 2019
  9. IcemanBo
    IcemanBo
    Sounds interesting. Yes sure, the discord name is on my profile information btw, IcemanBo#5874. : )
    Aug 26, 2019