Page 1 of 2
Re: Kernel Panic 4.6
Posted: 09 Apr 2014, 18:47
by zwzsg
I read
http://springrts.com/wiki/Rapid
I download and unziped
http://packages.springrts.com/versions.gz
Inside it I found:
Code: Select all
kp:latest,4650fd0ab1a9d37a0a31765aa0e907d8,,Kernel Panic 4.5
kp:stable,5cbedd6403a6845bf5a030d8836a26ae,,Kernel Panic 4.6
kp:version:4.0,daca31ba7713d3e2922d6ef0669c88e4,,Kernel Panic 4.0
....
kp:version:4.5,4650fd0ab1a9d37a0a31765aa0e907d8,,Kernel Panic 4.5
kp:version:4.6,5cbedd6403a6845bf5a030d8836a26ae,,Kernel Panic 4.6
So:
- KP 4.6 is known to rapid
- KP latest == KP 4.5
- KP stable == KP 4.6
What tool do I need, which command should I use, to tell rapid to change kp:latest to kp:version:4.6 ?
Re: Kernel Panic 4.6
Posted: 09 Apr 2014, 19:58
by smoth
Check with DET, IIRC he knows all about rapid.
Re: Kernel Panic 4.6
Posted: 09 Apr 2014, 20:21
by zwzsg
I checked with abma, det, and licho in #sy.
The problem is that when I uploaded Kernel Panic 4.6 on
http://packages.springrts.com I used the tag "stable" instead of "latest". And Silicon host kp:latest.
I thought that the "latest" tag always point to the last upload version, but it's not the case, "latest" is just tag name that can be applied to any version. I suppose that for games that use a SVN, "latest" automatically change when a commit is done, but KP has no SVN.
I've been told that a version can only bear one tag. And that there is no interface for me to change tags.
For now, det has changed his springie config to use kp:stable instead of kp:latest.
For later, it would be nice if there was a way for me to change what tags point to, so as to have both "latest" and "stable" point to the same file.
Re: Kernel Panic 4.6
Posted: 10 Apr 2014, 20:53
by Jools
We just commit with rapid using VERSION{9.xxx}. Apparently that produces the stable flag. No idea how to produce the latest flag.
I guess it would be nice if someone with rapid knowledge could point xta to default to xta:stable too then...
Re: Kernel Panic 4.6
Posted: 10 Apr 2014, 21:29
by zwzsg
Re: Kernel Panic 4.6
Posted: 25 Mar 2015, 01:47
by abma
The lua gadget on the map "Hex Farm 7" seems to have an error. it calls Spring.SetMapSquareTerrainType() with an out of range index it seems. engine now gives an error when this function is called with invalid parameters.
see:
https://springrts.com/mantis/view.php?id=4714
https://github.com/spring/spring/commit ... 695c7950a1
Re: Kernel Panic 4.6
Posted: 25 Mar 2015, 14:58
by zwzsg
Thanks for the bug report.
abma on github wrote:whats prefered in such a case: silently accept invalid input or give an error message?
Since it used to be accepted silently, I would have preferred it to be changed to a warning or a silent clamping. Though, I kinda wonder, what used to happen when it was accepted, before it crashed the engine?
Re: Kernel Panic 4.6
Posted: 25 Mar 2015, 15:38
by abma
zwzsg wrote:Since it used to be accepted silently, I would have preferred it to be changed to a warning or a silent clamping. Though, I kinda wonder, what used to happen when it was accepted, before it crashed the engine?
i guess sometimes it worked sometimes not. when i tested it, it crashed sometimes at start, sometimes at exit, sometimes it just hanged at exit.