DuoDex

Crowd Sourced Science-Biome Reports Everywhere! (May 31st) [4.1]

What do you want next?  

660 members have voted

  1. 1. What do you want next?

    • Expand, with an eye towards support for other science mods.
      325
    • Make contributing easier!
      105
    • Add support for the planet pack mods.
      222


Recommended Posts

19 hours ago, nwillard said:

I see a DLL, so... this one might be kaput for now in 1.8 :(

The feature that removes the repeated reports would be gone, but I think you can still install all the config files to get community written reports.

Share this post


Link to post
Share on other sites

I'm new to most of this but I took a look in his source code and did a little bit of testing, and it looks like all that the .dll file does is add asterisks to the end of the report names so that the game actually randomly picks one instead of always taking the first one. I tested it by going into the .cfg and adding asterisks onto the end of all of one type of report (crew report from the launchpad) and removed the plugin, and it correctly randomly chose a report, otherwise you always get the same one. I'm going to work on writing a quick program that will go through and add asterisks to all the lines across all the .cfg files and I'd be happy to share. (Btw this would make it 100% compatible with any KSP version as long as the biome location names don't change)

Edit: Looks like my janky MATLAB script worked :D Just tested a few different scenarios and all of them were giving different custom science messages, with no need for the plugin or anything but ModuleManager! Seeing as how giving you all this change would basically mean uploading the entire mod minus a few parts, I'm not 100% sure if I'm allowed to post it, but here's the fixed mod, plug and play!

Edited by Jedilucas

Share this post


Link to post
Share on other sites
8 hours ago, Jedilucas said:

I'm new to most of this but I took a look in his source code and did a little bit of testing, and it looks like all that the .dll file does is add asterisks to the end of the report names so that the game actually randomly picks one instead of always taking the first one. I tested it by going into the .cfg and adding asterisks onto the end of all of one type of report (crew report from the launchpad) and removed the plugin, and it correctly randomly chose a report, otherwise you always get the same one. I'm going to work on writing a quick program that will go through and add asterisks to all the lines across all the .cfg files and I'd be happy to share. (Btw this would make it 100% compatible with any KSP version as long as the biome location names don't change)

Edit: Looks like my janky MATLAB script worked :D Just tested a few different scenarios and all of them were giving different custom science messages, with no need for the plugin or anything but ModuleManager! Seeing as how giving you all this change would basically mean uploading the entire mod minus a few parts, I'm not 100% sure if I'm allowed to post it, but here's the fixed mod, plug and play!

I presume you are using Linux or some other UNIX-like system, because the config structure is now a wall of horror

UbApVdN.png

Share this post


Link to post
Share on other sites
3 hours ago, voicey99 said:

I presume you are using Linux or some other UNIX-like system, because the config structure is now a wall of horror

Nah, Windows 10 here, and everything's formatted correctly for me, in Notepad, Notepad++, Atom, and MATLAB. I've seen this happen before though with other mods when you download them, try using different editors, sometimes I've had to use Atom because downloaded text files sometimes don't format correctly (maybe something to do with compressing it to a zip?). Should still work though, it's just not displaying correctly in your text editor.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.