Jump to content

LuckyBlock 1.1.3

$4.99
   (0 reviews)

1 Screenshot

Recommended Comments



hid333

Posted (edited)

If i create a box with the test command and open it, it works.
Commands in the config are not available or will cause an error.
Example: luckyblock air_drop

(04:58:49) | Failed to call hook 'consolelbUse' on plugin 'LuckyBlock v1.0.0' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at ConsoleSystem+Arg.GetString (System.Int32 iArg, System.String def) [0x0000b] in <084fdfa8dba64eeb8e55858eaa8c5467>:0 
  at ConsoleSystem+Arg.GetULong (System.Int32 iArg, System.UInt64 def) [0x00000] in <084fdfa8dba64eeb8e55858eaa8c5467>:0 
  at Oxide.Plugins.LuckyBlock.consolelbUse (ConsoleSystem+Arg arg) [0x0003d] in <b74f4a66513f4e65a29e80d5a844f02f>:0 
  at Oxide.Plugins.LuckyBlock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005a4] in <b74f4a66513f4e65a29e80d5a844f02f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

 

Edited by hid333
tofurahie

Posted

46 minutes ago, hid333 said:

If i create a box with the test command and open it, it works.
Commands in the config are not available or will cause an error.
Example: luckyblock air_drop

(04:58:49) | Failed to call hook 'consolelbUse' on plugin 'LuckyBlock v1.0.0' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at ConsoleSystem+Arg.GetString (System.Int32 iArg, System.String def) [0x0000b] in <084fdfa8dba64eeb8e55858eaa8c5467>:0 
  at ConsoleSystem+Arg.GetULong (System.Int32 iArg, System.UInt64 def) [0x00000] in <084fdfa8dba64eeb8e55858eaa8c5467>:0 
  at Oxide.Plugins.LuckyBlock.consolelbUse (ConsoleSystem+Arg arg) [0x0003d] in <b74f4a66513f4e65a29e80d5a844f02f>:0 
  at Oxide.Plugins.LuckyBlock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005a4] in <b74f4a66513f4e65a29e80d5a844f02f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

 

Can you give me your config file. Or it doesn't work even with default? 

hid333

Posted

12 minutes ago, tofurahie said:

Can you give me your config file. Or it doesn't work even with default? 

It is used by default.
The config's command is executed using the F1 console command.

tofurahie

Posted

47 minutes ago, hid333 said:

It is used by default.
The config's command is executed using the F1 console command.

it wound work if you are trying use them with F1, if you want to test it try /lbtest, (if you want to test specific command set the weight like 1000), later i will add ability to specify /lbtest for specific commands

hid333

Posted

Lucky blocks will still spawn even if you set "Chance to spawn instead of any spawnable loot [0 - 100]" to 0.

tofurahie

Posted

6 hours ago, hid333 said:

Lucky blocks will still spawn even if you set "Chance to spawn instead of any spawnable loot [0 - 100]" to 0.

Wil fix it, right now you can use -1.

  • Like 1
hid333

Posted

I noticed that there are a lot of lucky boxes floating on the ocean.
Would it be possible to specify a prefab (e.g. barrel, normal crate, etc.) that turns into a lucky box, or to set it so that they don't spawn on the ocean?

tofurahie

Posted

1 hour ago, hid333 said:

I noticed that there are a lot of lucky boxes floating on the ocean.
Would it be possible to specify a prefab (e.g. barrel, normal crate, etc.) that turns into a lucky box, or to set it so that they don't spawn on the ocean?

kk will do it 

monsterqueen

Posted

Is there an ability to add a customized skin instead of the one provided? Thank you!

tofurahie

Posted

1 hour ago, monsterqueen said:

Is there an ability to add a customized skin instead of the one provided? Thank you!

i will make it customizable

  • Love 1
monsterqueen

Posted

      "Server command": "luckyblock create_item supply.signal",

Is there a way to add quantity to the item given? Thank you 🙂

tofurahie

Posted

4 hours ago, monsterqueen said:

      "Server command": "luckyblock create_item supply.signal",

Is there a way to add quantity to the item given? Thank you 🙂

will add it

  • Love 1
s3lphctr1

Posted

Getting this error in the server console.

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.LuckyBlock+<>c__DisplayClass9_0.<CanLootEntity>b__0 () [0x00037] in <1bafbcb2b71644f1989cf0329568fec2>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <beb2b64691c64e2b95b99491bd85442c>:0

tofurahie

Posted

1 hour ago, s3lphctr1 said:

Getting this error in the server console.

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.LuckyBlock+<>c__DisplayClass9_0.<CanLootEntity>b__0 () [0x00037] in <1bafbcb2b71644f1989cf0329568fec2>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <beb2b64691c64e2b95b99491bd85442c>:0

will upload fix right now

Rust Admin

Posted

On 7/3/2024 at 3:10 PM, monsterqueen said:

Wonderful, thank you!image.png.e8ef75386c123bd75ba896013c7c0343.png

hi - is that any skin or a custom spraycan skin?  thanks!

monsterqueen

Posted

1 minute ago, Rust Admin said:

hi - is that any skin or a custom spraycan skin?  thanks!

Hey there I used the custom spray can skin protocol to make the custom skin. The skin itself was made by me - my servers colors and logo. If you need help with a design I am happy to help but I'm not sure if I'm allowed to offer that on another persons store item lol

monsterqueen

Posted

Hi, can you confirm that I have this right in the configuration? It was turning players supply drops into the lucky boxes so I added this crate_normal here so it's only those boxes. 

image.png.7406e0d3d3f0beee7c8bbf1a090057ef.png

Since making this change, they no longer spawn. My dev looked at the PlugIn and said UnityEngine.Random.Range(1, 100) in your code should be 101 instead but he doesn't want to touch someone elses work, so I hope that might be helpful somehow.

Thank you for your continued support and providing a cool plugin.

tofurahie

Posted

6 hours ago, monsterqueen said:

Hi, can you confirm that I have this right in the configuration? It was turning players supply drops into the lucky boxes so I added this crate_normal here so it's only those boxes. 

image.png.7406e0d3d3f0beee7c8bbf1a090057ef.png

Since making this change, they no longer spawn. My dev looked at the PlugIn and said UnityEngine.Random.Range(1, 100) in your code should be 101 instead but he doesn't want to touch someone elses work, so I hope that might be helpful somehow.

Thank you for your continued support and providing a cool plugin.

now it turns entities only with this prefab which in the config (i will update it so airdrop won't turn in the luckyblock)

  • Like 1
Mr. Wilder Wilderness

Posted

Hello, after i installed the plugin i keep getting my console spammed and i get fps drops, can you take a look? thank you

NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at BaseEntity.WorldSpaceBounds () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetNearestBuildingPrivledge () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetBuildingPrivilege () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.GetBuildingPrivilege () [0x00011] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.DecayTick () [0x0008b] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerBuildingManager.Cycle () [0x00157] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerMgr.Update () [0x00119] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) ServerMgr:Update()

Mr. Wilder Wilderness

Posted

Just now, Mr. Wilder Wilderness said:

Hello, after i installed the plugin i keep getting my console spammed and i get fps drops, can you take a look? thank you

NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at BaseEntity.WorldSpaceBounds () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetNearestBuildingPrivledge () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetBuildingPrivilege () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.GetBuildingPrivilege () [0x00011] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.DecayTick () [0x0008b] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerBuildingManager.Cycle () [0x00157] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerMgr.Update () [0x00119] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) ServerMgr:Update()

Also this is what it says in the server console
 

Server Exception: Building Manager

NullReferenceException

 

tofurahie

Posted

29 minutes ago, Mr. Wilder Wilderness said:

Hello, after i installed the plugin i keep getting my console spammed and i get fps drops, can you take a look? thank you

NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at BaseEntity.WorldSpaceBounds () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetNearestBuildingPrivledge () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at BaseEntity.GetBuildingPrivilege () [0x00000] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.GetBuildingPrivilege () [0x00011] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at DecayEntity.DecayTick () [0x0008b] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerBuildingManager.Cycle () [0x00157] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 at ServerMgr.Update () [0x00119] in <770d4a4ee8094cedbf547ea77d66f0a6>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) ServerMgr:Update()

Are you running on carbon or oxide?

Mr. Wilder Wilderness

Posted

6 minutes ago, tofurahie said:

Are you running on carbon or oxide?

oxide

Oldbtchsgaming

Posted

hey the spawed cars have  too much fuel how do I change that?

lucky.png

tofurahie

Posted

21 minutes ago, Oldbtchsgaming said:

hey the spawed cars have  too much fuel how do I change that?

lucky.png

The prefab "car_2mod_01" is contains needed components and fuel (i suppose you have some kinda stack increaser plugin so you get so many fuel) , you can change it to different prefab of any car 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2
  • Love 1

tofurahie's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.