14712 Posts in 2613 Topics - by 7960 Members - Latest Member: Sumthanbuub

Author Topic: Crafting and uncrating is broken and some of my items moved around.  (Read 3682 times)

Fabio

  • November 2012
  • 100 Posts
    • STEAM_0:0:40813671 STEAM_0:0:40813671
« August 06, 2015, 02:40:47 AM » #14134
I think some of my items just moved around.
I used a 100% lockpick booster and failed a lockpick.

I get a LUA error when opening the crafting menu.

Code: [Select]
[ERROR] addons/nondb-beta/lua/nondb/sh_store.lua:976: bad argument #1 to 'JSONToTable' (string expected, got nil)
  1. JSONToTable - [C]:-1
   2. IsTradable - addons/nondb-beta/lua/nondb/sh_store.lua:976
    3. ReloadCraftTable - addons/nondb-beta/lua/nondb/vgui/custom/menu_plugins/menu_crafting.lua:163
     4. ReloadItems - addons/nondb-beta/lua/nondb/vgui/custom/menu_plugins/menu_crafting.lua:107
      5. RefreshContent - addons/nondb-beta/lua/nondb/vgui/custom/menu_plugins/menu_crafting.lua:511
       6. OnMouseDown - addons/nondb-beta/lua/nondb/vgui/custom/menu.lua:401
        7. unknown - addons/nondb-beta/lua/nondb/vgui/custom/button.lua:204


Slycoops

  • May 2015
  • 25 Posts
    • STEAM_0:0:85944773 STEAM_0:0:85944773
« August 06, 2015, 02:47:24 AM » #14135
When using a lockpick booster, you need to kill yourself and respawn, otherwise it won't take effect. The same applies to other booster packs.

Incindus

  • September 2014
  • 13 Posts
    • STEAM_0:1:70046238 STEAM_0:1:70046238
« August 06, 2015, 10:16:51 PM » #14140
Plus, when using a booster that increases a stat by 100%, it basically means the chance for that stat to work is doubled, it doesn't mean that its guaranteed to work. Someone could have 100% rare find chance, but that doesn't mean there guaranteed rares from opening crates/chests.

Fabio

  • November 2012
  • 100 Posts
    • STEAM_0:0:40813671 STEAM_0:0:40813671
« August 06, 2015, 10:25:09 PM » #14141
Plus, when using a booster that increases a stat by 100%, it basically means the chance for that stat to work is doubled, it doesn't mean that its guaranteed to work. Someone could have 100% rare find chance, but that doesn't mean there guaranteed rares from opening crates/chests.

50 + (50 * 100%) = 100%...
x1

Stebbzor

  • September 2011
  • 521 Posts
    • STEAM_0:0:13707575 STEAM_0:0:13707575
« August 06, 2015, 11:04:05 PM » #14142
It's not that simple...

Someone correct me if I'm wrong, but say an item has 2% chance to be found, with the booster pack it would be 4%

Fabio

  • November 2012
  • 100 Posts
    • STEAM_0:0:40813671 STEAM_0:0:40813671
« August 06, 2015, 11:08:01 PM » #14143
Yeah, and I had a 50% chance of picking the lock.

nonSENSE

  • September 2011
  • 1365 Posts
    • STEAM_0:0:11953676 STEAM_0:0:11953676
« August 06, 2015, 11:15:57 PM » #14144
To reiterate what has been said a thousand times... Formula:

Code: [Select]
chance = baseChance / ((100 + attribute)/100)

Example:

Code: [Select]
Base chance to find a relic (example): 20% --> 5
Better chance to find a relic: 50% --> 50
Chance = 5 / ((100 + 50)/100) = 5 / 1,5 = 3,33 --> 30%

0 Members and 2 Guests are viewing this topic.