Jump to content

legacynl

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by legacynl

  1. @Diazo: Thanks! I finally got it to work. It wasn't clear from online C# documentation/tutorials that I needed to specify the assembly which contains the class I wanted to access. So thanks again, you (and this thread as a whole) have been a great help.
  2. You're right that i'm trying to invoke a method in the remotetech api. For starters I first want to have it write the RT api's methods to the debuglog. I'm rather confused however. If I try to run the code below, it tells me that RTType is null, and indeed if I try RTType.GetMethods() I get a NullReferenceException. [FONT=Monospace] [COLOR=#009695]if[/COLOR][COLOR=#333333]([/COLOR][COLOR=#333333]RTLoaded[/COLOR][COLOR=#333333])[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#3364a4]Debug[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Log[/COLOR][COLOR=#333333]([/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]RT[/COLOR][COLOR=#f57d00] is [/COLOR][COLOR=#f57d00]loaded[/COLOR][COLOR=#f57d00]![/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333])[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#3364a4]Type [/COLOR][COLOR=#333333]RTType [/COLOR][COLOR=#333333]= [/COLOR][COLOR=#3364a4]Type[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]GetType[/COLOR][COLOR=#333333]([/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]RemoteTech[/COLOR][COLOR=#f57d00].[/COLOR][COLOR=#f57d00]API[/COLOR][COLOR=#f57d00].[/COLOR][COLOR=#f57d00]API[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333])[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]if[/COLOR][COLOR=#333333]([/COLOR][COLOR=#333333]RTType [/COLOR][COLOR=#333333]==[/COLOR][COLOR=#009695] null[/COLOR][COLOR=#333333])[/COLOR] [COLOR=#3364a4]Debug[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Log[/COLOR][COLOR=#333333]([/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]RTTYPE[/COLOR][COLOR=#f57d00] is [/COLOR][COLOR=#f57d00]null[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333])[/COLOR][COLOR=#333333]; }[/COLOR][/FONT] GetType should take "Namespace.Classname" as an argument right? If so what does ", AGExt" mean in this: Type calledType = Type.GetType("ActionGroupsExtended.AGExtExternal, AGExt"); if it helps the remotetech api code is here: https://github.com/RemoteTechnologiesGroup/RemoteTech/blob/1.7.0/src/RemoteTech/API/API.cs
  3. So, suddenly KSP will not start anymore. It starts loading but then it just hangs. I don't get it, because yesterday it was functioning fine, and I haven't changed anything? this is my player.log: http://www10.zippyshare.com/v/OS6fyXBR/file.html the last line before it hangs is: "LiquidFuel not found in resource database. Propellant Setup has failed." does anybody have any idea? thanks in advance
  4. So I was wondering, what is the 'proper' way to detect another mods presence? For example, I want to make a plugin that does RemoteTech stuff, but only if remotetech is installed. I have been searching this forum, but the search on here isn't exactly that helpful.
  5. What do you mean? I can extend and retract antennas just fine, whether I transmit data or not. Can you give any more information? Like which antenna for example?
  6. Hey everybody. I'm trying to build RemoteTech from source using monodevelop on linux. The remotetech code uses overloaded functions with default values. To my understanding this is a feature that's only available in .NET from 4.0 onwards. If I try to compile against .NET 4.0 I get an error, because Unity was built against .NET 3.5. So how do I go around doing this? How do the RT devs use default values?
  7. I guess it would be possible to have a 'invisible' competitor. Not something that actually launches rockets from kerbin, but something that spawns bases/space-stations/satellites according to some logic. Possible accompanied by missions or messages saying that "Robodyne coorp. has launched a space station, we need you to dock with it." But I guess from a technical standpoint that would be the closest you would be able to get. A add-on that has an actual AI that builds/launches rockets is AFAIK impossible. If you want this, you're better of watching Scott Manley on youtube
  8. Great idea, but this problem can be kind of mediated by using filter extensions. Great work either way.
  9. Why does AIES need a hotfix? And how would I apply this hotfix? Also, great tree man. I hated the tier system in stock. Now I use my hard earned science to ONLY unlock the things I desperately need, it makes for much slower but more deliberate progress. I love it.
  10. That's great, man! I just tested it, and it works great now. Thanks for your support, and keep up the great work!
  11. Hey, I installed kerbin-side but it isn't showing up for me ingame. When I click the KK-basemanager/launchselector button nothing happens. In the log I saw these 2 errors which I think are relevant: [LOG 18:08:23.599] AddonLoader: Instantiating addon 'KerbalKonstructs' from assembly 'KerbalKonstructs' [WRN 18:08:23.640] File '\home\USER\.local\share\Steam\steamapps\common\Kerbal Space Program\GameData\medsouz\KerbalKonstructs\PluginData\KerbalKonstructs\KerbalKonstructs.cfg' does not exist [EXC 18:08:23.643] PathTooLongException: Path is too long. Path: /home/USER/.local/share/Steam/steamapps/common/Kerbal Space Program/\home\USER\.local\share\Steam\steamapps\common\Kerbal Space Program\GameData\medsouz\KerbalKonstructs\PluginData\KerbalKonstructs\KerbalKonstructs.cfg System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) System.IO.File.Open (System.String path, FileMode mode) ConfigNode.Save (System.String fileFullName, System.String header) KerbalKonstructs.KerbalKonstructs.saveConfig () KerbalKonstructs.KerbalKonstructs.Awake () UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelWasLoaded(Int32) I checked and KerbalKonstructs.cfg does exist. I already removed and reinstalled twice using CKAN, and once more manually. So am I doing something wrong, or might I be encountering a bug? I'm on Ubuntu, 64bit.
  12. Have you experienced this with other games? TBH it looks like your graphics card is dying.
  13. Hi everybody, I recently started getting heavy stuttering in KSP. About every 2 seconds it hangs for half a second, it seems. I haven't changed anything before KSP started stuttering as far as I know. I've uploaded my log file here: https://www.dropbox.com/s/xs7a8fd52kkec0g/output_log.zip?dl=0 I the logs there are a lot of entries for RemoteTech and something called 'RDTechTree', which I assume is techmanager? So, anybody has any ideas?
  14. Distribution of of SQUAD made files is AFAIK illegal. If you deleted stock parts, then you have to download the game again through proper channels to get them back. (E.G.: redownload on steam)
×
×
  • Create New...