r4m0n changed the topic of #kspmodders to: Technical discussion ONLY (KSP related or not), for random shit-talking, join #shitshow (seriously)
<Greys> does Warmachine have Jarvis in it's head?
icefire has quit [Read error: Connection reset by peer]
Supernovy has quit [Ping timeout: 200 seconds]
Supernovy has joined #kspmodders
Supernovy has quit [Quit: Be back later.]
meyer9 has quit [Quit: Web client closed]
GlassYuri has joined #kspmodders
GlassYuri has quit [Read error: Connection reset by peer]
GlassYuri has joined #kspmodders
Jack-o-Melon has joined #kspmodders
Rokker has quit [Quit: Connection closed for inactivity]
Supernovy has joined #kspmodders
Jack-o-Melon has quit [Ping timeout: 183 seconds]
Truga has quit [Ping timeout: 204 seconds]
Truga has joined #kspmodders
angavrilov has joined #kspmodders
icefire has joined #kspmodders
Supernovy has quit [Quit: Goodnight.]
m4v has quit [Ping timeout: 383 seconds]
m4v has joined #kspmodders
Rokker has joined #kspmodders
fcbayerndm has quit [Quit: fcbayerndm]
m4v has quit [Read error: Connection reset by peer]
mkv has joined #kspmodders
mkv is now known as m4v
Jack-o-Melon has joined #kspmodders
Jack-o-Melon has quit [Read error: Connection reset by peer]
Jack-o-Melon has joined #kspmodders
meyer9 has joined #kspmodders
<meyer9> hello?
<meyer9> I'm working on the Syncrio mod and currently if you log out and back in which serializes the ship and deserializes it when logging back in, the science stored on the ship gets set to 0 even though it is still there.
<meyer9> I found the part of the persistent.sfs file that stores this information: ResearchAndDevelopment scenario, Science sections
<meyer9> but I can't figure out how I can get that data from a hook. OnExperimentDeployed looks promising, but that gives me the ScienceData only and not the actual experiment / value of the experiment.
<meyer9> hmm... I might be able to store the sciencedata in some sort of array, then when a ship is loaded, add it to the ModuleScienceContainer
VanDisaster has quit [Read error: -0x1: UNKNOWN ERROR CODE (0001)]
Epsilon_ is now known as Epsilon
<meyer9> I did some more research and it seems to me that the ScienceData is stored in the part, so that isn't the reason the science is getting set to 0. there must be some other place where it keeps track of experiments and their values
VanDisaster has joined #kspmodders
icefire has quit [Read error: Connection reset by peer]
GlassYuri has quit [Ping timeout: 383 seconds]
icefire has joined #kspmodders
<meyer9> ResearchAndDevelopment.GetSubjects only returns subjects you've done before. I believe I just need to add the ScienceSubject to that somehow...
<angavrilov> try #kspmodding, this channel is basically obsolete
<Greys> we killed ourselves, as a society not as people.
<meyer9> ok thanks!
angavrilov has quit [Remote host closed the connection]
fcbayerndm has joined #kspmodders
angavrilov|phone has joined #kspmodders
Supernovy has joined #kspmodders
Supernovy has quit [Killed (NickServ (GHOST command used by Cynephobn!~Supernovy@122-60-103-51.jetstream.xtra.co.nz))]
Supernovy has joined #kspmodders
meyer9 has quit [Quit: meyer9]
Supernovy has quit [Killed (NickServ (GHOST command used by Cynephobn!~Supernovy@122-60-98-148.jetstream.xtra.co.nz))]
Supernovy has joined #kspmodders
<SilverFox> !csharp 1 << 1
<Qboid> 2
<SilverFox> !csharp (1 << 1 << 1 << 1 << 1) - 1
<Qboid> 15
StatutoryApe has quit [Quit: Leaving]
<SilverFox> !csharp True = 1;
<Qboid> (1,2): error CS0103: The name `True' does not exist in the current context
<SilverFox> !csharp int True = 1;
<SilverFox> !csharp int False = 0;
<SilverFox> !csharp True << True << True
<Qboid> 4
meyer9 has joined #kspmodders