sarbian Posted September 1, 2014 Author Share Posted September 1, 2014 (edited) Ok, 2.3.4 should fix all the reported bugs : - Ressource definition are now reloaded at the end of the patch - ~TechRequired[] should now work fine - loading should be faster for people with a lot of partsModuleManager.2.3.4.dllModuleManager-2.3.4.zipI'll wait for your feedback before marking this as the new official release.Edit : cremasterstroke, I'd say the problem is more with RSS than MM. I'll talk to NathanKell. Edited September 1, 2014 by sarbian Quote Link to comment Share on other sites More sharing options...
Alewx Posted September 1, 2014 Share Posted September 1, 2014 Ok, 2.3.4 should fix all the reported bugs : - Ressource definition are now reloaded at the end of the patch - ~TechRequired[] should now work fine - loading should be faster for people with a lot of partsModuleManager.2.3.3.dllModuleManager-2.3.3.zipI'll wait for your feedback before marking this as the new official release.The Downloads are 2.3.3 and not 2.3.4, just wanted to mention that. Quote Link to comment Share on other sites More sharing options...
sarbian Posted September 1, 2014 Author Share Posted September 1, 2014 Edited, thanks Quote Link to comment Share on other sites More sharing options...
Alewx Posted September 1, 2014 Share Posted September 1, 2014 Edited, thanks No Problem, but I can test it earliest in about 6 hours Quote Link to comment Share on other sites More sharing options...
Nori Posted September 1, 2014 Share Posted September 1, 2014 Much better load times. Thanks Quote Link to comment Share on other sites More sharing options...
chapstickelk Posted September 2, 2014 Share Posted September 2, 2014 If you have a module with a node that takes a comma separated list of values and want to add to that list... is there a way to APPEND values to a nodes existing values?MODULE{ name = Blah foo = bar, bar2, bar3}and lets say I would like to use a MM cfg to add "bar4" to that list:MODULE{ name = Blah foo = bar, bar2, bar3, bar4}if it was only one part, I would just do "@foo = bar, bar2, bar3, bar4". but I'm dealing with multiple parts that have differing values to which i would like to append "bar4" Quote Link to comment Share on other sites More sharing options...
NathanKell Posted September 2, 2014 Share Posted September 2, 2014 A wild documentation wiki has appeared! MM supports regular expressions. Quote Link to comment Share on other sites More sharing options...
Alewx Posted September 2, 2014 Share Posted September 2, 2014 So far I had no problems with 2.3.4 but I have about 1000 patches it applies to the game, so I'm not sure that I noticed an performance increase.In 2.2.2 I had some trouble with deleting nodes, that is something I'm going to test in the evening. Quote Link to comment Share on other sites More sharing options...
chapstickelk Posted September 2, 2014 Share Posted September 2, 2014 A wild documentation wiki has appeared! MM supports regular expressions.Thanks. Somehow I missed that link on the first post... sorry. Quote Link to comment Share on other sites More sharing options...
Enriched Uranium Posted September 2, 2014 Share Posted September 2, 2014 I hope im asking this in the right place. Sry if Im not. I am using moduleManager 2.3.1 (btw thanks for this update, version 2.1.1 was taking all of my cores to 100% usage for about 30sec, I was getting a lot of heat in that time, thanks)Question: during game loading, What does it mean when ModuleManager reports "hidden item's"? Is this a sign that my mod install did not go well and those items will not be in the game? I have a lot of mods that I am trying to get working in 64bit, I only have Raster mods to go, 8 of them, but I think, at least one of these mods has a problem and I won't be able to use it. If "hidden item's" are a sign of a problem on a mod install then my problem could be in one of the mods that I already have installed. Pulln my hair out here lol, thanks, in advance for any help you can give me. Quote Link to comment Share on other sites More sharing options...
Starwaster Posted September 2, 2014 Share Posted September 2, 2014 I hope im asking this in the right place. Sry if Im not. I am using moduleManager 2.3.1 (btw thanks for this update, version 2.1.1 was taking all of my cores to 100% usage for about 30sec, I was getting a lot of heat in that time, thanks)Question: during game loading, What does it mean when ModuleManager reports "hidden item's"? Is this a sign that my mod install did not go well and those items will not be in the game? I have a lot of mods that I am trying to get working in 64bit, I only have Raster mods to go, 8 of them, but I think, at least one of these mods has a problem and I won't be able to use it. If "hidden item's" are a sign of a problem on a mod install then my problem could be in one of the mods that I already have installed. Pulln my hair out here lol, thanks, in advance for any help you can give me.Don't worry about hidden items. It just. Means some patches only apply if you have Certain mods installed. For instance Spaceplane plus has configs for far. But if far isn't installed then those far patches are 'hidden' Quote Link to comment Share on other sites More sharing options...
sarbian Posted September 2, 2014 Author Share Posted September 2, 2014 A wild documentation wiki has appeared! MM supports regular expressions.So much missing in the doc. I need an intern. Quote Link to comment Share on other sites More sharing options...
ialdabaoth Posted September 2, 2014 Share Posted September 2, 2014 Note to admins: the original Module Manager that sarbian's is based on is hereby released as CC-by-SA, in case it was ambiguous whether it was already. Sarbian is free to propagate that license forward to his current version. Quote Link to comment Share on other sites More sharing options...
Moonratt Posted September 2, 2014 Share Posted September 2, 2014 Quick question. MM is saying I have errors in a couple of cfg files. It tells me the names of the files, but I can't see anything obvious in them that could be wrong. I don't doubt there are errors but I need more info to proceed. I suspect I'm missing something but is there a log/error file that is generated by MM on load that would include more info about these errors it's reporting? I've been poking around a bunch of the logs in my current game and can't see to find one that's relevant.Just need to be pointed in the right direction. Thanks. Quote Link to comment Share on other sites More sharing options...
Nori Posted September 2, 2014 Share Posted September 2, 2014 Looked for info on this but didn't see anything.Is it possible to add/subtract from ISP values?Like this? @atmosphereCurve { @key -= 0 10 @key += 1 10 } Quote Link to comment Share on other sites More sharing options...
undercoveryankee Posted September 2, 2014 Share Posted September 2, 2014 Looked for info on this but didn't see anything.Is it possible to add/subtract from ISP values?Like this? @atmosphereCurve { @key -= 0 10 @key += 1 10 }It's possible to do math on a value that consists of a single number. On a key value that consists of multiple numbers, there would have to be some way to specify which token to do math on and which to just match. That would be too complicated for MM's syntax. Only thing you can really do with a curve is replace entire keys. Quote Link to comment Share on other sites More sharing options...
Nori Posted September 2, 2014 Share Posted September 2, 2014 It's possible to do math on a value that consists of a single number. On a key value that consists of multiple numbers, there would have to be some way to specify which token to do math on and which to just match. That would be too complicated for MM's syntax. Only thing you can really do with a curve is replace entire keys.So could you do just: @atmosphereCurve { @key += 10 }Or something similar? Quote Link to comment Share on other sites More sharing options...
TronX33 Posted September 3, 2014 Share Posted September 3, 2014 Why is I seeing Module Manager 2.1.5? This was in the Navyfish docking alignment indicator on Curse. Quote Link to comment Share on other sites More sharing options...
Master Tao Posted September 3, 2014 Share Posted September 3, 2014 @The EngineerDPAI hasn't been updated since 0.24 was released. It works just fine as long as you use a more recent version of MM. Delete the old version. Quote Link to comment Share on other sites More sharing options...
Mrnoname Posted September 3, 2014 Share Posted September 3, 2014 Is is possible to replace a big part of the sciencedefs file? I want to add the crowdsourced science logs, but I don't want to replace the sciencedefs.cfg file. Quote Link to comment Share on other sites More sharing options...
sarbian Posted September 3, 2014 Author Share Posted September 3, 2014 Yes you can edit the science info. Since experiment don't have a name value the syntax is a bit more complex but it's still perfectly doable. I don't have the science def format here but I ll give you an exemple after work Quote Link to comment Share on other sites More sharing options...
dreadicon Posted September 3, 2014 Share Posted September 3, 2014 (edited) Is it possible to copy a value from one module in a part to another module in a part? Also, is it possible to perform math operations on values from parts?For example, lets say I want the surface area of cylindrical tanks based on the stack nodes, and I then calculate the weight from the surface area, the end result looking like so:PART { name = example_tank ... scale = 1 rescaleFactor = 1 node_stack_top = 0.0, 2.0, 0.0, 0.0, -1.0, 0.0, 2 node_stack_bottom = 0.0, -2.0, 0.0, 0.0, 1.0, 0.0, 2 ... MODULE { name = example_module_1 surface_area = 41.23 //2Àrh+2Àr^2 for surface of cylinder } MODULE { name = unpressurized_tank tank_weight = 824.6 //20kg * 41.23m(sq) }}I can't seem to find any documentation on how to access values from other modules or from a parent module. Basically, this is what I imagine it might look like, where :@PART[example_tank] { @MODULE[example_module] { var = #:node_stack_top[1] @var -= #:node_stack_bottom[1] %surface_area = 3.92698 //pi * 0.625 * 2 @surface_area *= var @var = #:node_stack_top[6] @var *= 0.625 @var *= var @var *= 6.28318 //pi * 2 @surface_area += var -var = delete } @MODULE[unpressurize_tank] { %tank_weight = 20 @tank_weight *= #MODULE[example_module]:surface_area }}If the math syntax is incorrect, that's not an issue; I can just break them out. My main concern is how to get values from outside a context. If that could be done, it would make automated updates substantially easier and more accurate for things like Real Fuels. In the above example, I used a hypothetical format as follows: #<module if any in 'MODULE[name]' format><optionally '#' and repeat for sub-modules><':' denotes parameter desired><[] optional for 0-indexed selection of comma or semicolon delimited parts>I am looking for this functionality for a number of applications. The only real alternative would be to write up a script to generate the module manager config files, as there are over 100 parts I want to modify, and only about 5 or 6 kinds of modification that need done to them. I know Module manager is no replacement for a mod itself, but I feel like this functionality stays true to MM's mission and scope. It doesn't add logic or loops, just allows full scope access within a part. It doesn't even add global variables (which would be nice, as would sqrt, abs, and OoO math syntax, but those are another topic xD). If I can find time, I may take a stab at adding this to MM myself, but I'm not too sure of my time or skill in that matter... Thanks to the maintainers of MM, you are awesome! and thanks to anyone who takes the time to consider this question/request! Edited September 4, 2014 by dreadicon Quote Link to comment Share on other sites More sharing options...
Starwaster Posted September 4, 2014 Share Posted September 4, 2014 No MM can't use data in one module to manage data in another. Or even across different fields in one module. It can do math on a field using assignment operator mathie mass *= 1.1 Quote Link to comment Share on other sites More sharing options...
sarbian Posted September 4, 2014 Author Share Posted September 4, 2014 I have said it many many ma,y time in the thread. MM uses the stock KSP parser to do its work. It is limited by that parser and I don't want to remove that limitation. The current operator set already allow to do a lot of stuff when you use them properly. I will not implement what amounts to a language interpreter in MM (at least not for now).But your proposition does not look as incompatible with the stock parser as some of the other I had. I may look into it, but don't hold you breath and start writing a script to generate your patch file. Quote Link to comment Share on other sites More sharing options...
dreadicon Posted September 4, 2014 Share Posted September 4, 2014 I have said it many many ma,y time in the thread. MM uses the stock KSP parser to do its work. It is limited by that parser and I don't want to remove that limitation. The current operator set already allow to do a lot of stuff when you use them properly. I will not implement what amounts to a language interpreter in MM (at least not for now).But your proposition does not look as incompatible with the stock parser as some of the other I had. I may look into it, but don't hold you breath and start writing a script to generate your patch file.Sorry about that; I did some basic research on how MM works under the hood, but did not dig too deep. I know MM isn't a language interpreter, and that's why I avoided things like logic and loops. I got the idea when I noticed a couple configs use a syntax like "mass = 0.001 * volume" (Real Fuels comes to mind), but I am guessing that RF itself handles this. Thanks for the consideration anyways! I cleaned up the example code a little converting all the math to assignment operators, in case you ever want to look at it again in the future. The syntax I proposed was just off the top of my head; I'm sure there are much better ones. And thanks for an awesome mod! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.