Page 1 of 1

Odd bug, entering "." (dot/period) crashes spring

Posted: 28 Jul 2009, 18:13
by Caydr
Loaded my last dev version, typed .cheat, game crashed.

Odd.

Figured out the command is now /cheat, but still it's a little odd that attempting to enter anything beginning with a period crashes the game. If AA has this problem, BA had the problem, any idea what was causing it?

I have more important things to do than track down obscure things like this, any help is appreciated.

If it helps, ".hello" crashes the game just as easily as ".cheat".

Thanks

Re: Odd bug, entering "." (dot/period) crashes spring

Posted: 28 Jul 2009, 18:18
by imbaczek
just report them. best place is mantis, second best is here (ie. help'n'bugs forum). always attach the infolog.txt, can't do much without it.

Re: Odd bug, entering "." (dot/period) crashes spring

Posted: 28 Jul 2009, 18:25
by Auswaschbar
Tested with latest BA, no crash or anything weird. Maybe some outdated widget?

Re: Odd bug, entering "." (dot/period) crashes spring

Posted: 28 Jul 2009, 18:25
by Caydr
BA doesn't crash though. So it's definitely an AA-related bug, or more likely a Caydr-incompetence-related bug. And I'm definitely not letting this crappy dev version out of my sight in the state it's in.


edit: ninja'd. Anyway, AA has no widgets presently. None. Scary, no? Actually the only LUA in the entire project at the moment is this:

Code: Select all

function AllowUnitTransfer(unitID, unitDefID, oldTeam, newTeam, capture)
  if (capture) then
    Spring.SetUnitHealth(unitID, { paralyze = -1 })
  end
  return true
end
Otherwise the mod is pretty much clean, plan data. Units, weapons, models, sounds, textures, scripts...

I'll go through everything and try to remove anything that could conceivably confuse the engine, see if that helps.

Re: Odd bug, entering "." (dot/period) crashes spring

Posted: 28 Jul 2009, 19:37
by Caydr
Appears the issue is to do with missing sound files. Confirming...

Yeah. Missing sounds. I'll open a thread in bugs.