Comments (6)
Can you access other kRPC services in C-nano/SerialIO, such as SpaceCenter? If so, please post a log file and a time (HH:MM) when you tried to access the MechJeb service. You can find the log file KSP.txt
in KerbalSpaceProgram
directory.
from krpc.mechjeb.
Now this is strange, I just managed to connect to MechJeb via C-nano in one game scene, but now I lost it again. I'm still trying to find out the exact sequence that reproduces the successful connection.
Also sorry for not including the logs before, got some bad pointers on where the log file is (EDIT: pardon the pun). Here are the errors:
[LOG 10:07:58.177] [KRPC.MechJeb] Initializing MechJeb instance...
[ERR 10:07:58.179] [KRPC.MechJeb] No instance of ManeuverPlanner found
[EXC 10:07:58.179] TargetException: Non-static field requires a target
System.Reflection.MonoField.GetValue (System.Object obj)
KRPC.MechJeb.Maneuver.Operation.InitInstance (System.Type t)
KRPC.MechJeb.MechJeb+<>c.b__6_0 (System.Type t)
AssemblyLoader+LoadedAssembly.TypeOperation (System.Action1 action) AssemblyLoader+LoadedAssembyList.TypeOperation (System.Action
1 action)
KRPC.MechJeb.MechJeb.InitInstance ()
KRPC.MechJeb.InitInstance.Start ()
And thanks for your time!
from krpc.mechjeb.
Okay, interesting thing, I can connect to KRPC.MechJeb as long as I have a MechJeb (AR202) control module on the ship, but not when I'm using the "MechJeb and Engineer for all!" mod. I'm guessing this is not something you can help with?
from krpc.mechjeb.
Isn't MechJeb included in all command modules (manned and unmanned) by default? I mean, I don't need any mod to use MechJeb without AR202 case.
from krpc.mechjeb.
I removed the old mod and the problem seems to persist.
(MAJOR EDIT: was inaccurate) This is how to reproduce the error: restart game, then load a ship straight from stock. I get the following error in the meantime:
[EXC 11:01:28.288] NullReferenceException: Object reference not set to an instance of an object
KRPC.Server.SerialIO.ByteServer.Update ()
KRPC.Server.Message.RPCServer.Update ()
KRPC.Core.RPCServerUpdate ()
KRPC.Core.Update ()
KRPC.Addon.FixedUpdate ()
If I revert and load the same ship again, the error goes away.
from krpc.mechjeb.
Well, in all honesty you don't really need to look into this anymore, as I now know exactly how to circumvent the problem. Sorry for all the fuss and have a good day!
from krpc.mechjeb.
Related Issues (19)
- Exception raised in server when creating ascent autopilot object HOT 2
- Can't make a node in maneuver planner operations HOT 6
- C-nano client #include uses krpc_cnano directory instead of krpc HOT 4
- C-nano client has an incorrect extension
- MJServiceException Error when trying randezvous script HOT 1
- Attempting to set SmartASS surface vel only sets yaw HOT 1
- Mechjeb2 class changed HOT 2
- AirplaneAutopilot class issue HOT 10
- Unable to create a transfer HOT 1
- autostage_limit attribute in staging controller is not read/writable HOT 2
- KRPC fails to load with KRPC.MechJeb because KRPC.Utils.Tuple no longer exists HOT 2
- AssertionError on Connection HOT 2
- Transform public API into window-oriented approach (plans for 1.0)
- Update Python class docs to use snake_case instead of PascalCase HOT 2
- Python API: connection stream not working? HOT 6
- Enforce coding convetions through .editorconfig file for Visual Studio HOT 2
- AscentAutopilot launch to rendezvous can not run HOT 2
- Unable to use any procedure of maneuver_planner HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krpc.mechjeb.