Rundai Posted February 10, 2017 Share Posted February 10, 2017 how can i missed that XD thanks for the info^^ i think i was to focused on getting it into a certain productionline instead of trying something like this first... maybe i can use you code for experimenting for my idea? Link to comment Share on other sites More sharing options...
NexusNull Posted February 10, 2017 Author Share Posted February 10, 2017 how can i missed that XD thanks for the info^^ i think i was to focused on getting it into a certain productionline instead of trying something like this first... maybe i can use you code for experimenting for my idea? Sure, go ahead. It will be interesting to see what you come up with. Link to comment Share on other sites More sharing options...
urenoiro Posted February 10, 2017 Share Posted February 10, 2017 Thanks for this mod -- it works great and was very easy to install. I was so excited to try it out that I did not want to wait for 10% chance of an abandoned mine, so I bumped it to 25%. Its a beautiful mod indeed! The only have two comments: 1. It does not look like it limits the abandoned mines generated in a sector to one or even one of each type of ore as you can see by the attached image. 2. The Galaxy Map info on the section appears not to update until you leave the sector -- to change the Abandoned Mine text into Working Mine text on the sectors popup data sheet. Both of these comments are not complaints at all, just observations. But seriously, a GREAT GREAT mod!! Thanks for making it available. I appreciate your work. Link to comment Share on other sites More sharing options...
NexusNull Posted February 10, 2017 Author Share Posted February 10, 2017 1. It does not look like it limits the abandoned mines generated in a sector to one or even one of each type of ore as you can see by the attached image. Well the chances are connected to an asteroid field. So there is a 10% chance for every asteroid field, might not have been the smartest move on my part. 2. The Galaxy Map info on the section appears not to update until you leave the sector -- to change the Abandoned Mine text into Working Mine text on the sectors popup data sheet. I can't change that, there is a lot unavailable to modders, galaxy map is one of those. Trust me I would create other cool mods if I had the option. Link to comment Share on other sites More sharing options...
urenoiro Posted February 11, 2017 Share Posted February 11, 2017 Good to know that the Galaxy Map is not easily accessed for mods. Is there a way you can indicate that a mine is owned by the player who paid for it? That way in a multi-player game you could tell who owns what mine. Thanks for a great mod. Link to comment Share on other sites More sharing options...
NexusNull Posted February 11, 2017 Author Share Posted February 11, 2017 The next update is going to be a stretch, I am right in my exam phase and I really need to study. I will try to push out small updates though. Link to comment Share on other sites More sharing options...
lv8pv Posted February 12, 2017 Share Posted February 12, 2017 Hi. I installed the mod and have the following problem. Iv refurbished two titanium mines, but i get no ore from them. Iv restarted the game and the server several times with out it working. Also the first mine i found spawned inside an existing asteroid with an existing mine. (Suggestion) perhaps the mines should spawn a bit outside the sector like in some sectors you can find them huge asteroids alone pretty far out from the belts. I saw there was one more not getting any minerals from his mines, you asked him to contact you on discord. Did any solution come from that ? Link to comment Share on other sites More sharing options...
lv8pv Posted February 12, 2017 Share Posted February 12, 2017 Managed to get the mod installed, bought up a few mines, but i'm not getting any resources at all from them? Did you solve this problem? I have the same with my install Link to comment Share on other sites More sharing options...
NexusNull Posted February 12, 2017 Author Share Posted February 12, 2017 ^^ I just read your comment, you cant expect me to fix something in 3 minutes. I will take a look at it. Link to comment Share on other sites More sharing options...
lv8pv Posted February 12, 2017 Share Posted February 12, 2017 ^^ I just read your comment, you cant expect me to fix something in 3 minutes. I will take a look at it. I didn't, the second post from me was to the person with the same problem. Perhaps he could provide his solution to save you the trouble. Link to comment Share on other sites More sharing options...
Devious Posted February 12, 2017 Share Posted February 12, 2017 Looking forward to your fix! Our server became a lot more stable now so once you have a fix I will try it out :) Link to comment Share on other sites More sharing options...
NexusNull Posted February 12, 2017 Author Share Posted February 12, 2017 I got in contact with him, but The problem resolved itself after a jump into another System. The server I am playing also has this mod, we had issues in the beginning but everything was fine after some time. I will start a test server and look into it. Link to comment Share on other sites More sharing options...
lv8pv Posted February 12, 2017 Share Posted February 12, 2017 I did a complete reinstall of Avorion (deleted folder in steam and %appdata%) This to make sure it did not conflict with anything I then launched a new world (single player) with only this mod installed. Refurbished 2 mines and let the game run for 1 hour afk. As there had not yet been given me any minerals, I jumped out of the system and let the game run 1 more hour afk. Still no minerals to my account. I wish there was some debugging that could be enabled in the scripts, would love to see what actually happens when the script run the function initPlayerData(player) and function iteration(timestep) EDIT: I added debug to function initPlayerData(player) and confirms that the functions are called. I added debug to function iteration(timestep) as shown bellow function iteration(timestep) player:sendChatMessage("", 2, "function iteration : invoked") if time > config.defaultTime then local player = Player() for index, material in pairs(ressources) do local mines = player:getValue(prefix .. material .. "MineAmount") player:receiveResource(Material(index - 1), mines * config.defaultIncome) player:sendChatMessage("", 2, "function iteration : You should be payed: " .. mines * config.defaultIncome .. "$") end time=0 player:sendChatMessage("", 2, "function iteration : setting time=" .. time .. "") else time= time + timestep player:sendChatMessage("", 2, "function iteration : not the time to get payed: time=" .. time .. "") end end But this functions never run. Link to comment Share on other sites More sharing options...
NexusNull Posted February 13, 2017 Author Share Posted February 13, 2017 I really tried to recreate the bug, but it just doesn't stop working. So instead I implemented the debug feature you wanted. http://nexusnull.com/MineCorp/versions/MineCorp.DEBUG.zip Install this, enable debug in config and tell me if it looks like this. Link to comment Share on other sites More sharing options...
lv8pv Posted February 13, 2017 Share Posted February 13, 2017 In my server-log I do get some debug and it looks like yours, but the ##function iteration(timestep)## never runs and never log any debug info. Here is my server log pastebin from a new world, new install with your debug version. As you can see I refurbished 2 asteroids and jumped in and out of system and gave it some time. http://pastebin.com/cZXZCFEX Link to comment Share on other sites More sharing options...
NexusNull Posted February 13, 2017 Author Share Posted February 13, 2017 Ok, I am not sure but I think it is a bug in Avorion. Why do I think that? Because it seems that Avorion is not starting the player events for you either. Which means your game doesn't run updateServer in eventscheduler.lua. I guess my workaround would be to implement my hooks elsewhere. Are you ok with joining me in discord today? I know its bothersome but I want to fix this. Link to comment Share on other sites More sharing options...
lv8pv Posted February 13, 2017 Share Posted February 13, 2017 Im perfectly OK dooing that :) I'v messaged you with a discord invite which I'll be waiting on until you are ready Link to comment Share on other sites More sharing options...
Kane Hart Posted February 14, 2017 Share Posted February 14, 2017 Everything here working well. I really just hope upgrades / higher costs for diff mats happens soon only because I'm now getting them in my LP Series. I found 3 in 1 system a bit crazy but that is just pure luck. Link to comment Share on other sites More sharing options...
NexusNull Posted February 14, 2017 Author Share Posted February 14, 2017 Everything here working well. I really just hope upgrades / higher costs for diff mats happens soon only because I'm now getting them in my LP Series. I found 3 in 1 system a bit crazy but that is just pure luck. I will probably update later this day. I want to deliver the fix for the other bug with it. Also I am working on another mod that has to be finished too. Link to comment Share on other sites More sharing options...
smartbadger Posted February 15, 2017 Share Posted February 15, 2017 Is it intentional that this mod stops you from being able to claim asteroids to sell or build mines on? Link to comment Share on other sites More sharing options...
urenoiro Posted February 15, 2017 Share Posted February 15, 2017 The "abandoned mines" that this mod generates are separate from asteroids that you claim and can sell or build mining station on. Link to comment Share on other sites More sharing options...
NexusNull Posted February 15, 2017 Author Share Posted February 15, 2017 Is it intentional that this mod stops you from being able to claim asteroids to sell or build mines on? You are mistaken, I do not change the claiming mechanic. It is either a non claimable asteroid or somebody else changes this behavior. Link to comment Share on other sites More sharing options...
smartbadger Posted February 16, 2017 Share Posted February 16, 2017 Is it intentional that this mod stops you from being able to claim asteroids to sell or build mines on? You are mistaken, I do not change the claiming mechanic. It is either a non claimable asteroid or somebody else changes this behavior. Yup, my mistake, sorry - I only have two mods, and I thought it was this one causing the issue, but it's the other one :P Link to comment Share on other sites More sharing options...
NexusNull Posted February 16, 2017 Author Share Posted February 16, 2017 Updated to Version 1.3 Link to comment Share on other sites More sharing options...
Kane Hart Posted February 17, 2017 Share Posted February 17, 2017 I created a video that you are welcome to put in your main thread with install instructions at the end of it :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now