Thomas changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs (do !support for help). | *** PSA: https://kerbalspaceprogram.com/api/index.html | <Red5> Guy was asked for a log file, he gave this link: http://pastebin.com/wfVarZPf
Technicalfool has quit [Ping timeout: 204 seconds]
Mork_417 has joined #kspmodding
Thorbane has quit [Ping timeout: 186 seconds]
blowfish has joined #kspmodding
technicalfool_ has quit [Ping timeout: 201 seconds]
Ezriilc has quit [Ping timeout: 201 seconds]
Technicalfool has joined #kspmodding
Olympic1 has quit [Ping timeout: 180 seconds]
Olympic1 has joined #kspmodding
<blowfish> oh interesting, ILSpy can show you the comiler generated code from enumerators, there's just a bug where it hides it from you
<blowfish> so just disabling that option brings the compiler generated code back
<Qboid> [#575] title: Yield fails to decompile | original code:... | https://github.com/icsharpcode/ILSpy/issues/575
stratochief has quit [Remote host closed the connection]
NathanKell|AWAY is now known as NathanKell
Mork_417 has quit [Quit: Textual IRC Client: www.textualapp.com]
NathanKell is now known as NathanKell|AWAY
<taniwha> watching "KSP Mods - Configurable Containers"...
<taniwha> oh wow, it is so very wrong
<taniwha> X200-16 is 1.875m*2.5m, giving an ideal volume of 9.2m^3. The mod makes 9.9m^3 available.
<taniwha> stock gives it a capacity of 8m^3 (reasonable as the assumption is that the tank is internally a capsule, so lots of wasted space)
<taniwha> when filled using the mod, 8.833m^3 is used by resources
SirKeplan has quit [Ping timeout: 200 seconds]
<taniwha> there's a lot of weirdness going on. (note: I have no problem with using all 9.2m^3). ie, ignoring the impossibility of 9.9m^3, there's a lot going on behind the scenes
<xShadowx> perhaps measuring volume of collider? cube instead of cylinder? idk
<taniwha> measuring the volume of the collider would give a smaller volume
<taniwha> the volume of the bounding box is 11.72m^3
SirKeplan has joined #kspmodding
<xShadowx> whats diff between configurable containers and MFT?:|
<taniwha> main one (from user's perspective), is a nicer UI
<taniwha> also, field-changeable tanks
<xShadowx> o.o
<taniwha> (both of which I want to fix up for MFT)
<xShadowx> as in i can take tank of LF+O to mars and change to Ore storage after? heh
<taniwha> yeah
* xShadowx has been wanting that
<xShadowx> just dont allow switching unless tank empty :P else seems fakey
<taniwha> same, but I want it in MFT :)
<taniwha> one nice feature of MFT is semiauto tank setup based on connected engines
* xShadowx nods
<taniwha> CC does have an "LFO" config, but that's rather limited
<xShadowx> i wonder how many years itd take to run out of things / complete ksp
<taniwha> oh, btw, stock's xenon density makes sense if you consider the tank to be filled with 32% liquid and 68% gas (at stp)
<xShadowx> but all liquid would be better :| less tank mass
<taniwha> not necessarily
<taniwha> you'd need higher pressure which would need thicker tank walls and thus more massive tanks
<taniwha> critical point for Xe is 289K @ 5.8MPa
<taniwha> or about 50atm
<taniwha> "... can be stored as a liquid at near room temperature (under high pressure)"
<taniwha> (from wikipedia)
<taniwha> heh, mass ratio of 25/11 for the stock xenon tank
<taniwha> which is reasonable: 58atm...
<xShadowx> everything can be stored room temp with high pressure
Olympic1 has quit [Read error: Connection reset by peer]
Olympic1 has joined #kspmodding
smoke_fumus has joined #kspmodding
<taniwha> tell that to hydrogen :)
pizzaoverhead_ has joined #kspmodding
soundnfury has quit [Ping timeout: 201 seconds]
pizzaoverhead has quit [Ping timeout: 201 seconds]
egg|zzz|egg is now known as egg|afk|egg
blowfish has quit [Quit: Leaving]
Thorbane has joined #kspmodding
hashashin has joined #kspmodding
stratochief has joined #kspmodding
stratochief has quit [Remote host closed the connection]
xShadowx|2 has joined #kspmodding
xShadowx has quit [Ping timeout: 200 seconds]
stratochief has joined #kspmodding
Ezriilc has joined #kspmodding
<xShadowx|2> aw i cant do Type t = a.GetType(); SomethingGeneric<t>();
<xShadowx|2> thats lame :P
<Virindi> yeah kinda like how you can't to
<Virindi> Type t = a.GetType();
<Virindi> t foo;
<Virindi> :)
<Virindi> can't do*
<xShadowx|2> ?
<Virindi> you can't declare a variable with t as though it were the name of a type
<xShadowx|2> ah that
<xShadowx|2> and yes you can :P
<xShadowx|2> just have to establish what T is :P
<Virindi> huh, I am just talking about the difference between a variable of type Type, and a type-name
<Virindi> the former is runtime
<Virindi> the latter is compile time
<xShadowx|2> ah ya
<Virindi> hmm I just tried persistent rotation mod
<Virindi> I spun up my ship, timewarped, and when coming out of timewarp it changed my orbit significantly.
<Virindi> like my pe went from 100km to 83km.
<Virindi> that is even less realistic than timewarpy rotation...
<Virindi> guess it's bug report time.
<xShadowx|2> have orbital deca mod?;3
<Virindi> orbital what mod
<xShadowx|2> theres a mod orbital decay, degrades your orbit over time even though you're above kerbin 70km point and not in atmo
<Virindi> no.
<Virindi> sometimes I have a problem where I just assume that if I install a piece of software and hit a bug within the first 20 seconds of trying it out, I assume the author MUST know...I know it is not true but it is a hard habit to break
<xShadowx|2> heh sadly most mods are tested standalone, and after that with just the mods the author uses
<Virindi> I am trying it standalone with a fresh install now
<Virindi> happens with fresh game install and no other mod with all default settings and a trivial ship.
<Virindi> with latest git version
<kmath> YouTube - KSP 1.2.2 PersistentRotation Mod
pizzaoverhead_ is now known as pizzaoverhead|Away
<Sarbian> Why does it add a force when it already added the momentum
<Sarbian> oh, scratch that..
<xShadowx|2> and why does it waste the time fetching the rb component multiple times ;3
<Sarbian> ^^
<Sarbian> A replace all when 1.1 (1.0 ? I forgot) got our most likely
<xShadowx|2> Sarbian: one time at work, guy gave me goes he made doing pretty much the same thing, but in a list of over 10 frakin million items, calling it 7 or 8 times in a row per loop
<xShadowx|2> s/goes/code
<Qboid> xShadowx|2 meant to say: Sarbian: one time at work, guy gave me code he made doing pretty much the same thing, but in a list of over 10 frakin million items, calling it 7 or 8 times in a row per loop
<Sarbian> Work is full of terror
<xShadowx|2> wanna know the scary thing? he got payed more than i did :P
* Sarbian shrugs
<Sarbian> works
<Sarbian> If it looks like it work then all is fine
<xShadowx|2> heh
<Sarbian> Even if you need 42 core and 396GB to make it run properly
<xShadowx|2> :)
<xShadowx|2> ram is cheap
<Sarbian> up to a point ;)
<xShadowx|2> my uncle still has a 230mb hdd, he payed $400 for back in the day
<xShadowx|2> 20mb*
<Sarbian> TB server are not cheaps ;)
<xShadowx|2> sure they are.....for the ricjh people wjho own em XD
<xShadowx|2> ok cant type, time to hunt foodz
<Sarbian> Nope, even the rich notice when the IBM accountant sends the bill ;)
<Sarbian> (and I won't mention those XXXXXXX at Oracle)
Technicalfool has quit [Quit: Leaving]
Technicalfool has joined #kspmodding
<egg|afk|egg> sarbut sarbian
technicalfool_ has joined #kspmodding
Technicalfool has quit [Killed (NickServ (GHOST command used by Technicalfool_))]
pizzaoverhead|Away has quit [Quit: Leaving]
egg|afk|egg is now known as egg|zzz|egg
smoke_fumus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<xShadowx|2> if (T is string) { return mystring; } the "return mystring" errors with "cannot convert string to T" lawl
* xShadowx|2 claps slowly at M$
Thorbane has quit [Ping timeout: 186 seconds]
<xShadowx|2> return (T)mystring or return (string)mystring still nada
<Thomas> T is string seems weird to me
<xShadowx|2> typeof(T) == typeof(string) if you prefer not the issue tho XD
<Thomas> And I think if you do sth like Test<T>() where T : class, converting a string to T should work
<xShadowx|2> (T)Convert.ChangeType(mystring, typeof(string)); works tho
<Thomas> then I would do (T)(object)mystring
<Thomas> does the same
<xShadowx|2> oh cool thanks :D
<xShadowx|2> but mostly im just makin fun of c#
<xShadowx|2> you establish T is a string, so code in that block should follow that new knowledge