Dear Uber: HALP

Discussion in 'Planetary Annihilation General Discussion' started by stuart98, October 25, 2014.

  1. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Step 1: Download Statera.
    Step 2: Enter devmode/whatever you use to enable the unit selector
    Step 3: Spawn 20 Thetas/Gambitdafas/Potbelly79s/Iwmikeds/Whatever missile com you want
    Step 4: Spawn 450 fireflies for the other team and fly them over the missile coms
    Step 5: Tell me why the heck the sim freezes. :(

    All the server says is "RecvCmd()", which tells me nothing. :(
    Last edited: October 25, 2014
  2. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    wow cool find!
  3. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Did you try restarting your computer?


    ༼ຈل͜├┬┴┬┴
    Nicb1, squishypon3 and emraldis like this.
  4. cdrkf

    cdrkf Post Master General

    Messages:
    5,721
    Likes Received:
    4,793
    You spawned in 470 units at once and your *surprised* the sim freezes?!
    someonewhoisnobody likes this.
  5. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,356
    I think the real problem lies in the missile comms.

    Anyway, it always baffles me how experienced members of the forums post in the incorrect subforum so often. :p
    Jaedrik, elodea, Geers and 2 others like this.
  6. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    If I had 1 com and 50 fireflies it would happen if you waiting long enough. The 20 coms and 450 fireflies are just to make it happen quickly.

    This isn't just a problem with massive scale scenarios, although it certainly does occur far more in them. I had a game sim freeze at 3 minutes in because my theta com shot at a single firefly from wondible.
    Last edited: October 25, 2014
  7. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    Try pressing alt+f4
    lolmontoya and ArchieBuld like this.
  8. totalannihilation

    totalannihilation Active Member

    Messages:
    215
    Likes Received:
    168
    Have you considered disabling all other mods? (like awesome projectiles)
  9. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Yeah, a sim freeze is being caused by client side mods. :rolleyes:
  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Well hopefully not. Prove?
  11. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    It's not physically possible for a client side mod to cause a sim freeze AFAIK.
  12. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    It is. For example you might be able to crash the whole server by calling some "do this command please" method too quickly or similar. Yes that would be a bug, but this thread is about a bug, isn't it?
    I.e. image the currently hidden calls for line commands crash the server when called. A mod may call them and crash the server => a UI mod affects the sim
  13. forrestthewoods

    forrestthewoods Uber Alumni

    Messages:
    197
    Likes Received:
    705
    A client mod shouldn't cause a sim freeze but it's been known to happen. Particularly early in development before we've fully hardened the server against misbehaving and/or malicious clients. There could simply be a case we missed.

    Does freeze mean Sim completely 100% stops progressing and you never, ever, ever get another tick? Or does "freeze" just mean it pauses for a really long time because resuming. Or it just gets really slow. Or some combination of long pause plus slow. All this cases imply different causes.

    If the sim completely stops moving forward and server.exe is spinning a core at 100% that implies an infinite loop.

    If a core is pegged at 100% but after 30 seconds the sim finally moves on that implies the server is doing something really stupid that it shouldn't. I actually like those bugs because dumb bug usually means simple fix. It's the smart bugs you have to be careful around...
  14. burntcustard

    burntcustard Post Master General

    Messages:
    699
    Likes Received:
    1,312
    You are overwriting some stuff that you're inheriting from base_missile.json with identical values, so that's a bit silly. Take the inheritance into account with my next sentence (i.e. maybe remove from some stuff base_missile too).

    If I could be bothered, I'd go through things in the missiles ammo .json, picking out things that might cause lag one at a time and testing without them:
    • spawned.audio_cue
    • fx_trail
    • model
    • splash damage/radius.
    That might help Uber spot the issue. Maybe one of the audio tracks is ludicrously large or something.
  15. hostileparadox

    hostileparadox Well-Known Member

    Messages:
    1,186
    Likes Received:
    151
    [​IMG]
  16. temeter

    temeter Well-Known Member

    Messages:
    501
    Likes Received:
    305
    It might be a... brain bug?
  17. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Stops 100% without ever getting another tick.
  18. hostileparadox

    hostileparadox Well-Known Member

    Messages:
    1,186
    Likes Received:
    151

    Brain Bugs? Frankly, I find the idea of a bug that thinks offensive!
    SourceSeeker, lolmontoya and cdrkf like this.
  19. temeter

    temeter Well-Known Member

    Messages:
    501
    Likes Received:
    305
    I love that movie. :D
  20. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888

Share This Page