Jump to content

lv8pv

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by lv8pv

  1. 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

  2. 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.

  3. ^^ 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.

  4. 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 ?

×
×
  • Create New...