1. HerlySQR

    Lua GetStackTrace

    I don't know if this was actually found, but there is a way to get the stack trace in W3 Lua, just using the error function, because is the unique function that can tell us what function called it and the function that called this and so on, so I did something like this: function GetStackTrace()...
  2. Luashine

    Logging library: How to exfiltrate game data?

    I'm primarily concerned about Lua. I want more input or suggestions, because Preload is too slow for the amount of logs I wanted to generate. DisplayTextToPlayer: there're only 16 lines on screen and it is shared with map messages. In singleplayer the lines are saved to journal (F12) but not in...
  3. Ricola3D

    Desync produces a log folder : anybody knows how to read/understand it ?

    Hello, I have been looking for the random desync cause of the map I am editing (Xnd Hero Siege). I have searched all the potential causes documented on this forum, and also tried logging almost all trigger executions in the map, but it does not help me anymore.. Recently I discovered that on...
  4. Kick King

    [LUA] Way to see console log of active game

    Hey, So, I'm creating this map and I has some fairly long Lua scripts in it that I'm trying to debug. Which has become kinda a nightmare because if there is a runtime error, it's super difficult to track down because it doesn't display any info about what caused that thread to crash. I was...
  5. Kira_Tile

    How to fix random desync problem?

    So i am creating map called Upgright completely in GUI. Desync is happening sometimes, but not always, close to 10 minute mark. Outside of isolation, wich will take long time, what can you do to know what causing a desync? Is there some type of debug scripts that will print messeges about...
  6. MeMeMe123

    What would it take to make a JASS debugger for WC3?

    So, I'm posting this here because at this point, it doesn't feel right to ask in the other forums since this isn't just about WC, but about learning a bit about the tools of the trade. I can program, though it's been years since I've used something more serious than python (which I love, but...
  7. MeMeMe123

    Is there a working debug client?

    I am using the SharpCraft extended bundle at the moment. I understand that you can get debug messages within the game while it's running, but the functionality of the debug client seems more appealing to me. Unfortunately it seems to me like that functionality is not available in SharpCraft...
  8. _Guhun_

    [Crash] Any way to know what caused this fatal error?

    So, I was playing a map for a few hours. There were only 2 players, me and another. I went to get some water, when I got back, the game had crashed. The other played said he did nothing, not even move a unit. Any way to know what caused this error? I have no idea where to start.
  9. Spellbound

    [vJASS] Learning Structs

    Trying to fix my Burst Laser system by remaking it with structs. I can't get the lightning effects to destroy properly, so I'm not sure what I'm doing wrong. I'm using this mostly as a way to pre-set the variables instead of having to add a million things when calling StructName.create()...
  10. Flux

    [General] Question about DisplayTextToPlayer.

    Is it possible to have another DisplayTextToPlayer to display within the same line as the prior DisplayTextToPlayer used. Example I want to make this: call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, 60, "1") <call some other functions> call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, 60, "2")...