Jump to content

THEDEALER

Closed 1.2.8

420PVE


420PVE

Posted

This plugin isn't working right. I shouldn't talking to him like this. Help!

252490_76.jpg

Wrecks

Posted

I cant help much with a screenshot, send your config, a video showing how to replicate, and what you are on , oxide or carbon, and what errors, if any. 

420PVE

Posted

Oxide

Creating item with less than 1 amount! (Paper)
Failed to call hook 'OnNpcConversationStart' on plugin 'TheDealer v1.2.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.TheDealer.GiveCustomCurrency (BasePlayer player, System.Int32 total) [0x0004b] in <4ce4afe00dfe497ebde2da759fdbd810>:0 
  at Oxide.Plugins.TheDealer.Payout (BasePlayer player, Oxide.Plugins.TheDealer+TradeableItems items, System.Int32 quantity, System.Int32 basePrice) [0x0014b] in <4ce4afe00dfe497ebde2da759fdbd810>:0 
  at Oxide.Plugins.TheDealer.Trade (BasePlayer player, NPCTalking npc) [0x0005f] in <4ce4afe00dfe497ebde2da759fdbd810>:0 
  at Oxide.Plugins.TheDealer.OnNpcConversationStart (NPCTalking trader, BasePlayer player) [0x000c3] in <4ce4afe00dfe497ebde2da759fdbd810>:0 
  at Oxide.Plugins.TheDealer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004cf] in <4ce4afe00dfe497ebde2da759fdbd810>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1c1869d96a>:0

TheDealer.json

420PVE

Posted

It just started doing this is was working great!

Wrecks

Posted

change 1.0 to 1 in your sale price, sale price isnt a floating value.

420PVE

Posted

Ah damn-it I knew I was missing something will do Sir thank you I'll let u know if it fixed.

Wrecks

Posted

for sure let me know it might be different going from economics and sr to a custom item

 

Wrecks

Posted

eco can handle floats if i remember right

Wrecks

Posted

The variation in sales can probably also make it hit into a less than 1 number, you can prob do 0, 0 to be safe if so.

420PVE

Posted

Good to know Thankyou But I'm gonna use gold bars again

Wrecks

Posted

let me know if that helps ill be around for a bit.

420PVE

Posted

I'm back in action thanks a million bro for real. & thankyou for an amazing plugin.

Wrecks

Posted

Changed Status from Pending to Closed

420PVE

Posted (edited)

Never mind It keeps resetting itself TF is going on never had problems with this plugin until the last update. It's like i didn't change the 1.0 to 1. I don't think it's actually saving.

 

Edited by scavanger_solo
Wrecks

Posted

10 minutes ago, scavanger_solo said:

Never mind It keeps resetting itself TF is going on never had problems with this plugin until the last update. It's like i didn't change the 1.0 to 1. I don't think it's actually saving.

 

Validate your JSON 

Wrecks

Posted

Did you set your variation to 0 0

Wrecks

Posted

What did you change since last update you’re the only one with an issue 

420PVE

Posted (edited)

Vaslidate .json?

Variation to 0?

Edited by scavanger_solo
Wrecks

Posted

send me your config and ill get on test

 

Wrecks

Posted

      "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": -10.0,
      "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 5.0

 

this is what i meant by variation

Wrecks

Posted

it could be sometimes going negative when youre making an item

420PVE

Posted

ill try that bro thanks

Wrecks

Posted

I sent you a version that skips it let me know if it helps


About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.