Closed GoogleFrog closed 8 years ago
There are only 27 real units which use cob scripts. The other scripts are for chickens or unused units. Chickens always drop the same wreck so this bug does not affect them. Replacing these scripts would be good because we would likely never have to touch cob again.
just run this https://github.com/spring/spring/blob/develop/tools/scripts/cob_fixer.py
problem solved.
editing the bos files will take < 10 minutes
Why is editing the bos files required if your script already solves the problem?
You do it.
Traceback (most recent call last):
File "fier.py", line 79, in
I ran it with Python 2.7 and it did "processing" to all my files and they all have modifications according to git. There is no ingame change though. "just run this" has taken about 20 minutes so far.
"There is no ingame change though"
I've just tested it with /give armflea and it worked great. How did you test it?
I gave and destroyed a correap. Once with self-D and once with a Skuttle.
https://github.com/spring/spring/commit/e39a15479ad30ddcb3f1cf6ab74157471f6590c3 I've updated cob_fixer to warn about files it couldn't update easily and need manual fixing
Mason, Reaper and Wolverine remain broken.
Dev engine breaks wreck levels for COB scripts which do the pass by reference thing instead of returning a sane value. There is a script in this ticket which apparently fixes all the COB but not the BOS. This is ok because the policy here is usually to not to accept any new or changed BOS.
https://springrts.com/mantis/view.php?id=5102