Posts by Lezren

    Hi Fin, keep up your great work! I found a small issue, I don't know when it changed since I almost never visit Fence. The disable Fence method wasn't working, looks like there was a typo.


    Code is from 1.8.0a.


    Original

    Code
        disableFence() {
            let fence = "579dc571d53a0658a154fbec"
            TraderConfig.fenceAssortSize = 0
            database.traders[fence].base.discount = 99
        }


    Corrected

    Code
        disableFence() {
            let fence = "579dc571d53a0658a154fbec"
            TraderConfig.fence.assortSize = 0
            database.traders[fence].base.discount = 99
        }

    FYI, running a fresh install this same issue is still present in v1.8.0.

    Found the issue, either need to create a missing folder, or adjust line 143 to save the files in the mod's root.


    In this case I created the folder to make it simple.


    Fin-LimitedInventories/Fin-LimitedInventories


    I see the archive does not ship with this folder in the structure, that either should be adjusted or alter the code on line 143 to save to mod root.


    Hi Fin, loving this mod, it makes my hardcore game even better! I do seem to get this error when loading up a profile. It doesn't seem to cause any failures, however it does make the game take longer to load then normal (until it times-out/errors). Have any idea how to resolve this or should I just ignore it?


    Hi Fin, love your mods and please keep up the great work!


    Found an error when turning off insurance via the config. Which, I think I fixed by commenting out the line causing the exception.


    FYI In the code, you turn off the insurance availability, so I don't see a reason to also make it cost billions.


    Code
        static traderChanges() {
            //For some reason repair price multipliers don't want to work.
            for (let trader in database.traders) {
                if (config.traders.disable_insurance) {
                    database.traders[trader].base.insurance.availability = false
                    // database.traders[trader].base.insurance.min_payment = 1000000000000
                }


    EXCEPTION: GException0: In response to http://127.0.0.1:6969/client/trading/api/traderSettings: JSON integer 1000000000000 is too large or small for an Int32. Path '[0].insurance.min_payment', line 1, position 591.

    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at Class210+Class211+Struct238.MoveNext () [0x001c6] in <06a6ceb0951a4952911c576c67e8f55f>:0

    --- End of stack trace from previous location where exception was thrown ---

    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at EFT.MainApplication+Struct168.MoveNext () [0x004e7] in <06a6ceb0951a4952911c576c67e8f55f>:0

    --- End of stack trace from previous location where exception was thrown ---

    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0

    at EFT.MainApplication+Struct167.MoveNext () [0x0007a] in <06a6ceb0951a4952911c576c67e8f55f>:0