Jump to content

ZIZI

Member
  • Posts

    64
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ZIZI's Achievements

Contributor

Contributor (5/15)

  • One Year In
  • Reacting Well
  • Collaborator
  • Dedicated
  • Conversation Starter

Recent Badges

9

Reputation

  1. Hi. The screenshot shows that my prices and balance are calculated from thousandths. The plugin works correctly, but it may be possible to filter the number of zeros after integers. Example 0.2500 or 0.2520 apply a filter to trim the last two zeros and become 0.25 and 0.252, but did not affect prices with values of 0.0002, that is, did not do as 0.00 or 0? It is clear that in order to display in this format, I have these settings: "Formatting Settings": { "Buy Price Format": "0.0000", "Sell Price Format": "0.0000", "Shopping Bag Cost Format": "0.0000", "Balance Format": "0.0000" },
  2. ZIZI

    Simple Status

    The plugin helped me out a lot and saved my time. SimpleStatus 1.1.1 is very convenient and flexible to use. The plugin developer is very responsive!!!
  3. A white square instead of a picture is AddImage("https://i.imgur.com/2n5BEyj.png", "building"); SimpleStatus.CallHook("CreateStatus", this, "building", "0.35490 0.40980 0.24510 1", "", "0.69804 0.83137 0.46667 1", " RP", "1 1 1 1", "building", "1 1 1 1"); The second picture below "box" is itemid:1189981699 (SimpleStatus.CallHook("CreateStatus", this, "1189981699", "0.35490 0.40980 0.24510 1", "", "0.69804 0.83137 0.46667 1", " RP", "1 1 1 1", "itemid:1189981699", "1 1 1 1"); If CuiImageComponent is converted to CuiRawImageComponent, then the image is displayed normally but does not display sprites.
  4. Hi. Everything works fine in the new version, I just can't understand why the picture is filled with solid color. What needs to be done? AddImage("https://i.imgur.com/2n5BEyj.png", "building");
  5. Yes, of course it’s interesting, I’ll be glad to have this option even at the testing stage.
  6. ZIZI

    Shop

    File config "Formatting Settings": { "Buy Price Format": "0.0000", "Sell Price Format": "0.0000", "Shopping Bag Cost Format": "0.0000", "Balance Format": "0.0000"
  7. More precisely, for example, I get the identifier 1533551194 clone.white.berry and in the usual case I output: new CuiImageComponent() { ItemId = 1533551194 ........ How can I implement using your code? I’ve been fighting for two weeks now and accidentally saw what you did, it’s cool when the main block of information appears and lifts your block up.
  8. Hi. How is it possible to convey an icon of an object instead of a picture?
  9. ZIZI

    price rounding

    I figured it out: My configuration was transferred from 2.6.1 however if you change: "Formatting Settings": { "Buy Price Format": "0.0000", "Sell Price Format": "0.0000", "Shopping Bag Cost Format": "0.0000", "Balance Format": "0.0000" }, it correctly displays only product prices, and the player’s balance is only 0.00 I propose to add additional changes to the configuration to adjust the display of the correct player balance data: return Math.Round(Convert.ToDouble(plugin.Call(BalanceHook, player.userID)), 2); change on => return Math.Round(Convert.ToDouble(plugin.Call(BalanceHook, player.userID)), 5); ///_config.RoundFormatting
  10. ZIZI

    price rounding

    "Number of digits after decimal point for rounding prices": 5 Doesn't work, the economics plugin shows and calculates correctly from other plugins
  11. ZIZI

    price rounding

    Hello. How do I change the rounding to 0.0000?
  12. Failed to call hook 'cmdConsoleUI_GLM' on plugin 'GatherLootMultiplier v1.3.5' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index) at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at Oxide.Plugins.GatherLootMultiplier.ShowUIPersonalRates (BasePlayer player, System.Int32 customRatePage, System.Int32 page) [0x0003f] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.GatherLootMultiplier.cmdConsoleUI_GLM (ConsoleSystem+Arg arg) [0x00435] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.GatherLootMultiplier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008e6] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0 (13:01:04) | Failed to call hook 'cmdConsoleUI_GLM' on plugin 'GatherLootMultiplier v1.3.5' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index) at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at Oxide.Plugins.GatherLootMultiplier.ShowUIPersonalRates (BasePlayer player, System.Int32 customRatePage, System.Int32 page) [0x0003f] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.GatherLootMultiplier.cmdConsoleUI_GLM (ConsoleSystem+Arg arg) [0x00435] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.GatherLootMultiplier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008e6] in <df07132d32604e52a4a5bf894f2d3a6d>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0 Hello. As you understand from the drop-down error, if you delete an element from the list, starting from 5, the list does not delete it at all.
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.3k

Files Sold

Total number of files sold.

1.6m

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.