UCGO SDK Bug?
I think I may have found the problem with the UCGO "EAT CARGO" functions...
It appears that the "EatCargoByType" function needs to have a number larger than 45 in the last perameter to work as published in the SDK. If the number is 45 or less it returns a -1.0.
examples...
Could use a bit of help from anyone who is more familiar with the UCGO SDK than I.
The following code is suposed to transfer the remaining battery power from the external UCGO battery to the internal battery tank leaving 40kg of "battery" power in the external UCGO battery.
The code works...
Dan, I am using "SimTime" as the clock and SimTime apears to change it's rate relative to the time compression rate. Wouldn't my battery and resource check based on SimTime not be adversly affected by simtime rate? If I'm wrong please lemme know.
The internal tanks of both Electricity and O2...
Cargos have always been intended to be external tanks to refill internall tanks, so no issue there, you and I are on the same page.
Why would 5mn checks cause a problem? Isn't it better than 5 second checks? I would much rather do the checks and calculations every 5 minutes and then also...
I was planning on doing the tank checks and consumption around every 5 minutes and the UMMU checks for o2 consumption rate every 5 seconds.
I was gonna drain the batteries and o2 tanks down to 1% before both needed recharge.
...
JB
First off, thanks for the help.. That fixed it...
Good point about replacing the batteries, and I thought about just letting the UCGO code destroy the batts when empty, but I liked the idea of charging and discharging batts (Ucgo resource cargo) and having to actually move the batts to and...
I understand you don't "Eat" batteries, but to use the UCGO standard and functionality, I had to eat something. ;)
Ohh man, the mistake is pretty obvious isn't it... Thank alot...
JB
I am having difficulty figuring out why the UCGO function, "EatCloserCargoByType" is not removing any resource weight from the UCGO resource cargo. I am not recieving any errors and the rest of the code is working fine.
Maybe if some of you fine fellas can take a look at this for me, I would...
Again great addon Dan, thanks a ton.
In the midst of your Moon Rescue scenario, I docked the DG4 to the ISRU with the 3 UMMU's in it, but not in a cryogenic state.
After docking I changed focus to the ISRU and all the info on the HUD was not there, the HUD was empty. I remember "E" being...
So I am working on two projects which will ultimately work in tandem. One is an UCGO Solar array that charges UCGO batteries. (This one is done and functional, although I need to find someplace other than the debug string to give player feedback, as I have disabled the hud and am using action...
Ok... That really ties it all together now. It's getting a bit clearer now how all this relates to performance. It's really the overhead on the system per frame. Just thinking of how to try and put this together makes my head spin around.
Oh, and by the way, good choice on the Bobsled...
Wow... Yeah it does... Now understand I just picked up my first C++ book a week ago, but I am able to struggle through reading code and I can write a bit from scratch.
So just to recap. You would get all the vessels info in orbiter, then prioritize the more frequent checks based on the...
Thanks Jaunelm
Looking now..
JB
---------- Post added at 12:36 AM ---------- Previous post was at 12:26 AM ----------
Ok, I think I understand...
So you wanna identify every vessel in orbiter, then for each one get it's position or perameters and compare it with a constant position...
Quick SDK question....
Anyone know of a method to allow a vessel to detect a specific vessel within a given radius?
More specifically. A vessel to detect UMMU's within a certain radius.
I looked through the API reference and didn't find anything that was obvious, but then again I am...
That would be willing to help me through the trials and tribulations of learning C++ from the ground up.
I am working on a series of UCGO addons that I plan to code myself. The first is very close to being done. I figure I have a tremendous amount to learn and would really like to show...
Too funny... I had to goto the URBAN DICTIONARY to find the meaning of "K-Lined". Probably cause you foos are too damn cool.
Not surprisingly it has nothing to do with an ip ban.
Here's the Definition....
k lined
This is short hand, and past tense, for "kill line". A kill line is a...
You sound like a polititcian TSPenguin. It would be as easy as unbanning my ip. So you know, my ip has never been banned from anywhere. And there is NO REASON that my IP would be banned. Ontop of that, I have only three computers who have ever used this router IP and my wife is on one and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.