Jump to content

linuxgurugamer

Bug Hunter
  • Posts

    24,950
  • Joined

  • Last visited

Everything posted by linuxgurugamer

  1. I'm trying to get some code working properly which will check for an eclipse. I'm having some problems, and have narrowed it down to this: I thought the function CelestialBody.getPositionAtUT(double) returns the position at the specified UT, but my tests are showing otherwise: Test code, which find the Mun and prints out the position at 5 days (ignoring the ScaledSpace.ScaleFactor for now): foreach (CelestialBody rock in FlightGlobals.Bodies) if (rock.name == "Mun") Hire.Log.Info("currentUT: " + Math.Floor(Planetarium.GetUniversalTime()) + ", UT of 86400: " + rock.getPositionAtUT(86400)); So, when I go into KSP in a new game and immediately call this, I get the following in the log: currentUT: 2, UT of 86400: [251406.665520146, 1014.90997314453, 11656821.4515618] Then, I timewarp to the next day, and call it, I get the following: currentUT: 16414, UT of 86400: [-11489361.4157803, 1014.90997314453, 292532.747668683] which doesn't make sense. I then tried using the ScaledSpace.LocalToScaledSpace: foreach (CelestialBody rock in FlightGlobals.Bodies) if (rock.name == "Mun") Hire.Log.Info("currentUT: " + Math.Floor(Planetarium.GetUniversalTime()) + ", UT of 86400: " + ScaledSpace.LocalToScaledSpace(rock.getPositionAtUT(86400))); and got the following: New game: currentUT: 2, UT of 86400: [41.7059294153351, 0.269453529015138, 1942.65336378619] Next day: currentUT: 16414, UT of 86400: [-1914.923662531, 0.269453529015138, 48.2014139488716] Again, they aren't even close. I would expect that getting the position of a body at a specified UT would always be the same. So I'm obviously missing something, but no idea what. Anybody? Thanks in advance
  2. Ok, it's MIT licensed, according to the thread. Problem is that it was written for 0.22, and there are code changes to be made, it's not compiling right now here you go, try it out and let me know how it goes: https://www.dropbox.com/s/ci41w879jijipc3/Foundations.zip?dl=0
  3. I have a new beta of this, which hopefully fixes the problem: https://github.com/linuxgurugamer/SelectableDataTransmitter/releases/tag/0.1.4.1
  4. The Foundations, you just want it recompiled? I can do that, but since there is no license, I can't release it, but I can get it to you and the tank looks fine, thanks If you could do one more, same tank, but with the biohazard symbol Thanks I'll see if I can get you the foundations tomorrow
  5. I've been working on this. I found a couple of small issues, but nothing is failing for me now. This is a beta: https://github.com/linuxgurugamer/SelectableDataTransmitter/releases/tag/0.1.4.1 Just download and replace the current directory with the contents of this, and please let me know if it solves the problem. If it doesn't, then I'll need specific examples. Thanks
  6. For all interested, I'm getting ready to look at this bug I'd appreciate examples of how to reproduce it, save files would also be helpful I'm (finally) getting some time to look at this, thanks for keeping it around.
  7. I look forward to it. I haven't paid much attention to the contract packs lately, getting confirmation that it works would be nice
  8. New release, 0.6.6 Added proper checks for eclipse, rather than relying on fixed numbers, needed for planet packs Now displays which body is doing the eclipse
  9. Your log file has 99 dlls listed. then I suggest you do. Only install OPT and see what happens. The error is exactly what happens when an old mod (ie: a 1.3.0 or earlier) uses the stock settings code. I looked at your log file, but there are just too many things installed for me to even begin to figure out what's going on, other than by going with past experience. You can install several at a time. It is most unlikely that all the mods are bad, so install 10 at a time, start up, and if/when it crashes, you will know it has to be one of the last 10 mod installed
  10. Did you start with a completely fresh install? It's quite possible that there is a rogue file somewhere which you aren't aware of. Do you see the main menu, or is it crashing when trying to switch to the main menu?
  11. Ok, I had to ask. Ill look into this later today
  12. Sounds like a 1.3.1 install with some old 1.3.0 mods. If you are running steam, check to see if the game didnt update
  13. You must be thinking of some other mod, sorry Anyway, there is a bug which makes this not work, I hope to be able to work on it sometime in the next few weeks
  14. Update 3.4.0.3 - Alpha 4 Renamed Basic to Classic life support Added some tooltips to the settings page Rewrite the status page Added color coding matching toolbar button Changed gui skin to KSP's skin Changed display of slurry and sludge rate to days to process I'm pretty much done with new features, now it's just a matter of testing and fixing any issues My Sunday night stream is going to be devoted to this mod
  15. Hi, I'm aware of the bug, sorry. I've been busy with some other stuff. I hope to get to it in a few weeks
  16. You forgot the unlicense It basically says that you can do whatever you want with it.
×
×
  • Create New...