Jump to content

papi

Creator
  • Posts

    316
  • Joined

  • Last visited

  • Days Won

    1

Support Replies posted by papi

  1. The eco balance doesn't show for me. I have simple status and Image Library installed.

    {
      "Balance Settings": {
        "RefreshTime": 10.0,
        "balances": {
          "Economics": {
            "Enable": true,
            "BackgroundColor": "4CAF50",
            "Title": "Economics",
            "TitleColor": "FFFF00",
            "TextColor": null,
            "Image": "https://i.imgur.com/jyTe69j.png",
            "ImageColor": "FFFF00"
          },
          "ServerRewards": {
            "Enable": false,
            "BackgroundColor": "FFD700",
            "Title": "ServerRewards",
            "TitleColor": "FFFF00",
            "TextColor": null,
            "Image": "https://i.imgur.com/jyTe69j.png",
            "ImageColor": "FFFF00"
          }
        }
      },
      "Version": {
        "Major": 1,
        "Minor": 0,
        "Patch": 0
      }
    }

  2. The following image ID's are in ImageLibrary 
        "ImageID1_0": "2341879970",
        "ImageID2_0": "288044601",
        "ImageID3_0": "1520789830",
        "ImageID4_0": "700902369"

    Not sure why it's added with a _0

     

     

  3. Your images are unencrypted URL's and not being added by ImageLibrary


    storedData = Interface.Oxide.DataFileSystem.ReadObject<StoredData>("TutorialDisplayData");
                var success = ImageLibrary?.Call("AddImage", "http://www.image-heberg.fr/files/16979388842771375397.png", "ImageID1");
                    if (success == null || !(bool)success)
                    {
                        Puts("Failed to load ImageID1");
                    }

  4. I agree it's probably a regional issue getting these files from your host.

    1. How can I disable the image placeholder in your plugin; or

    2. change the URL's to a file location that is local on the server?

     ImageLibrary?.Call("AddImage", "C:\\rustserver\server\Apocalypse\image1.png", "ImageID1");

  5. I am on a dedicated server.  There are multiple plugins using ImageLibray but no errrors in console.

    My config is the default one for testing.

    What path would i use for local directory?

     private void OnServerInitialized()
            {
                storedData = Interface.Oxide.DataFileSystem.ReadObject<StoredData>("TutorialDisplayData");
                ImageLibrary?.Call("AddImage", "C:\rustserver\server\Apocalypse\image1.png", "ImageID1");
                ImageLibrary?.Call("AddImage", "C:\rustserver\server\Apocalypse\image2.png", "ImageID2");
                ImageLibrary?.Call("AddImage", "C:\rustserver\server\Apocalypse\image3.png", "ImageID3");
                ImageLibrary?.Call("AddImage", "http://www.image-heberg.fr/files/16979779363922503647.png", "ImageID4");

                LoadConfigData();

    TutorialDisplay.json

  6. I have tried everything to get the images to load but nothing works.

    Do the images get stored by Image Library? I did a refreshall onj ImageLibrary thinking this was not downloading them for some reason.

    I changed the images to imgur url's and then dropbox files but nothing worked

    How can I disable the image placeholder so atleast i can use the text pop-up.  Or format for files to be loaded fromj the server locally.

  7. Since the update the buttons no longer work in the shop.

    I have wiped the plugin and installed a fresh copy.  Buttons can be highlighted but arent clickable.  This was the same in /shop and also humannpc shops.  Can't close gui.

    Untitled.png

  8. I did that and still get 

    (12:09:36) | was compiled successfully in 3578ms

    (12:09:36) | Error while compiling Wanted: Missing close delimiter '}' for interpolated expression started with '{'. | Line: 305, Pos: 43

    Could it be the FP updates?

     

  9. The new version still wont compile for me

    (08:50:32) | was compiled successfully in 3188ms

    (08:50:32) | Error while compiling Wanted: Missing close delimiter '}' for interpolated expression started with '{'. | Line: 305, Pos: 43

  10. After restart there a no traps until I manually create them.  Is there anything I am doing wrong so they dont automatically spawn ?

    {
      "Bypass the distance limtiation on the trap and spawn location show command": true,
      "Enable/Disable Chat notification about player Death by any \"Random Trap\"": true,
      "If all originally set location occupied, then look for new position": true,
      "Minimum Distance From Building": 20.0,
      "Number of traps on the map": 500,
      "Prevent Traps To Be Respawn At Monuments": false,
      "Prevent Traps To Be Respawn At RadiationZone": false,
      "Prevent Traps To Be Respawn At ZoneManager": false,
      "Random knowdown duration": 5.0,
      "Retry to get a new location(the bigger the number, bigger the resource consumption to try a new free position)": 200,
      "The distance on the trap and spawn location show command (only if not bypassed)": 150,
      "Trap activation randomly knowdown": true,
      "Trapdamage default 50": 50.0,
      "Try to look free location this many times on server init (Not necesseary mean it will find this many free spot, bigger the number, bigger the resource consumption to try a new free position)": 1500,
      "Usage of Beartrap": true,
      "Usage of Landmine": true,
      "Usage of TruePVE": true
    }

  11. Failed to call hook 'PinApplyCommand' on plugin 'StaticLootables v2.8.0' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.StaticLootables.PinApplyCommand (ConsoleSystem+Arg arg) [0x00092] in <0bd69cb83e384c0c993a5d5362c649b8>:0

    at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d8] in <0bd69cb83e384c0c993a5d5362c649b8>: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

  12. Server Exception: FlameTurret.BudgetedUpdate 
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

    NullReferenceException
      at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
      at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 
      at (wrapper dynamic-method) FlameTurret.CheckTrigger_Patch0(object)
      at FlameTurret.ServerThink () [0x00057] in <c4171536ddd34a55a3a9736c22d565be>:0 
      at FlameTurret+UpdateFlameTurretWorkQueue.RunJob (FlameTurret entity) [0x0000a] in <c4171536ddd34a55a3a9736c22d565be>:0 
      at ObjectWorkQueue`1[T].RunQueue (System.Double maximumMilliseconds) [0x00084] in <1a1866e622074a0388ef6216acf04130>:0 
      at ServerMgr.Update () [0x00118] in <c4171536ddd34a55a3a9736c22d565be>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception, Object)
    ServerMgr:Update()
     
    (Filename: <745c4d442eef4e08b35b5975d62d89d1> Line: 0)

  13. Sorry I am getting 
    NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.FurnaceLevels+FurnaceUpgrades.SmeltItems () [0x001eb] in <d878904bfb9e4689b42894fe29f7c50f>:0 
      at Oxide.Plugins.FurnaceLevels+FurnaceUpgrades.Cook () [0x00014] in <d878904bfb9e4689b42894fe29f7c50f>:0 
      at InvokeHandlerBase`1[T].DoTick () [0x000be] in <259fcebfe12d4fe1a9e9cedd9876fac8>:0 
      at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <259fcebfe12d4fe1a9e9cedd9876fac8>:0 
     
    (Filename: <d878904bfb9e4689b42894fe29f7c50f> Line: 0)

  14. Meteor MLRS effect starts spamming explosions on the impact site


    NullReferenceException: Object reference not set to an instance of an object
      at AlwaysHotSpot.OreResourceEntity_OnAttacked.Prefix (HitInfo info, OreResourceEntity __instance) [0x0002c] in <bf62c7e4d5794b34979a1414360367bc>:0 
      at (wrapper dynamic-method) OreResourceEntity.OnAttacked_Patch1(object,HitInfo)
      at DamageUtil.RadiusDamage (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight) [0x00140] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
      at TimedExplosive.Explode (UnityEngine.Vector3 explosionFxPos) [0x00251] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
      at TimedExplosive.Explode () [0x00007] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
      at TimedExplosive.ProjectileImpact (UnityEngine.RaycastHit info, UnityEngine.Vector3 rayOrigin) [0x00000] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
      at ServerProjectile.DoMovement () [0x001a8] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
      at ServerProjectile.FixedUpdate () [0x0001b] in <bd55da73323340f6bdbb8f35571e6ed4>:0 
     
    (Filename: <bf62c7e4d5794b34979a1414360367bc> Line: 0)

  15. In your code you have commented out the transaction to remove the scrap from the players inventory?  Has nobody else noticed this and can you please fix.

                                /*var itemScrap = player.inventory.FindItemID("scrap");
                                if (itemScrap != null && itemScrap.amount >= costInt)
                                {
                                    itemScrap.UseItem(costInt);
                                    success = true;
                                }*/

  16. Fixed it myself one month later.  Have you actually tested this code???

    In your code you have commented out the transaction to remove the scrap from the players inventory?  Has nobody else noticed this?

                                /*var itemScrap = player.inventory.FindItemID("scrap");
                                if (itemScrap != null && itemScrap.amount >= costInt)
                                {
                                    itemScrap.UseItem(costInt);
                                    success = true;
                                }*/

  17. Changing value to $1 even though balance at top of screen displays Scrap in inventory correctly process cannot proceed.

    The Plugin is also dependent on Economics even if you aren't using it.  This isn't shown in the Plugin Description.

    Could not load plugin 'Disabled\Economics' (no plugin found with that file name)

  18. Changed value of seeds to $0 which proceeded to the buy screen, drone arrives and then crashes with error
     

    Failed to run a 1.00 timer in 'DrugBusiness v0.35.0' (OverflowException: Value was either too large or too small for an Int32.)

    at System.Convert.ToInt32 (System.Double value) [0x00084] in <fb001e01371b4adca20013e0ac763896>:0

    at Oxide.Plugins.DrugBusiness+<BeginDelivery>c__AnonStorey10.<>m__0 () [0x0004e] in <a0d7a881af43423c8900a233dc87c174>:0

    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

     

  19. {
      "Basic Settings": {
        "Hours From The Dealers Will Be Available": 20.0,
        "Hours Till The Dealers Will Be Available": 24.0,
        "Loading Screen Update Rate (Seconds) [Don't make it too small]": 0.035,
        "Loading Screen Anchor Shifting [Left - Right]": 0.001
      },
      "VPN Settings": {
        "Item Info": {
          "Display Name": "VPN Flash Drive",
          "Skin ID": 2645299478,
          "Require In Belt": true,
          "Spawn Command": "db.vpn"
        }
      },
      "Drug Settings": {
        "Use (Economics / Server Rewards / Scraps)": "Scraps",
        "Currency Symbol": "$",
        "Marijuana Seeds": {
          "Cost per seed": 40.0
        },
        "Peruvian Coca Seeds": {
          "Cost per seed": 40.0
        }
      },
      "Drone Settings": {
        "Drone Spawn Distance (Default: 210)": 210,
        "Drone Spawn Height (Default: 78)": 78,
        "Drone Delivery Height (Default: 40)": 40
      },
      "Crafting Settings": {
        "Cocaine Leaves Required": 5,
        "Cocaine Powder Required": 10,
        "Cannabis Required": 5,
        "Marijuana Required": 10
      },
      "Dealer Settings": {
        "Maximum Dealers at a time (will pick random from the data)": 3,
        "Dealer Name": "Dealer",
        "Announce when the dealer arrive/leave": true,
        "Default Outfit": [
          {
            "Item": "tshirt",
            "Skin": 838212999
          },
          {
            "Item": "pants",
            "Skin": 866948432
          },
          {
            "Item": "hat.beenie",
            "Skin": 814355387
          },
          {
            "Item": "shoes.boots",
            "Skin": 1889769313
          },
          {
            "Item": "mask.bandana",
            "Skin": 2312147084
          }
        ],
        "Weed Brick": {
          "Bricks Sell Quantity": 1,
          "Time Taken For Single Trade (Seconds)": 30,
          "Brick Selling Price": 520
        },
        "Cocaine Brick": {
          "Bricks Sell Quantity": 1,
          "Time Taken For Single Trade (Seconds)": 30,
          "Brick Selling Price": 560
        }
      }
    }

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
3m
Total downloads
Customers
12.1k
Customers served
Files Sold
171k
Total sales
Payments
3.7m
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.