Jump to content

Additional Output Per Hit "Amount" Bug

Can't Reproduce 2.0.3

LizardMods
LizardMods

Posted

I have a problem with "Amount" When I set it to 1 it always gives 2. <--- Unexpected behavior
when I set the "Amount" to 2 it gives me 2. <--- Expected behavior
the rest work up the chance as expected 3=3 4=4 and so on.

I tested a bunch of stuff to rule them out.

changing the Required Gather Per Hit did nothing <--- Expected behavior,

changing the Yield Multiplier did nothing <---Expected behavior
so my next thought is 0 must be 1. but that will give an error lol Expected behavior lol had to try.

I am almost ready to deploy this on my main server a quick fix would be appreciated. 

       "Additional Output Per Hit": [
		{
          "Required Gather Per Hit (0 to disable)": 10,
          "Shortname": "glue",
          "Skin ID": 2834553314,
          "Amount": 1,
          "Display Name": "Gold Scrap",
          "Chance (0-100)": 100.0,
          "Only On Last Hit": true
        }
      ],    

 

LizardMods

Posted

On the other hand, I think I will deploy this on the main server now. I believe changing these settings can temporarily disable this until there's a fix.

"Required Gather Per Hit (0 to disable)": 100,

LizardMods

Posted

ok your going to find this funny. if I set the "Required Gather Per Hit (0 to disable)": 100, then the amount is 1 but if I try to disable it with 0 then the amount is 2. It is a bug but there is a workaround.

ThePitereq

Posted

Hey. Somehow missed to respond to this ticket. I've been checking it right now and it seems that everything is correct, it gives you the amount directly from the config so i have no idea how it can give more, maybe you have another source of that or something, idk. Tried with some custom item and couldn't reproduce that.

ThePitereq

Posted

Changed Status from Pending to Can't Reproduce

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.