Jump to content

Exploding Weasel

Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Exploding Weasel

  1. Thanks for the heads up. I can wait for the new version. Appreciate it.
  2. As a followup, I added this myself with a single line of code added to the GiveTo() function upon success state: // Log event to file LogToFile("purchases", $"{player.displayName.Sanitize()} - {player.UserIDString} received {amount} x {item.info.shortname}", this, true);
  3. Notifications aren't working properly when an item is purchased for some reason with my installation. No notification occurs when a purchase is made and it throws this error in the console: (08:11:56) | Failed to call hook 'shop_cmd' on plugin 'Shop v1.1.62' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 at Oxide.Plugins.Shop._RunNotif (BasePlayer player, System.Single duration, System.Int32 type, System.String[] properties) [0x00000] in <364ea495c8ac41989aded97f2a223254>:0 at Oxide.Plugins.Shop.Buy (BasePlayer player, System.String category, System.String itemName, System.Int32 amount) [0x005de] in <364ea495c8ac41989aded97f2a223254>:0 at Oxide.Plugins.Shop.shop_cmd (ConsoleSystem+Arg arg) [0x00053] in <364ea495c8ac41989aded97f2a223254>:0 at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01320] in <364ea495c8ac41989aded97f2a223254>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
  4. Exploding Weasel

    basic logging

    FEATURE REQUEST Hi there. I see someone else made a request for Discord logging, but I'd be more interested in basic logging of items purchased by players so I can determine which items are most/least popular etc. ideally these would be stored in oxide/logs. I think this would be universally helpful so perhaps it could be merged into a future release?

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.2k
Customers served
Files Sold
160.2k
Total 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.