Jump to content

Quarry Limit

Can't Reproduce 1.4.1

dustyhansen
dustyhansen

Posted

The limit only works when you place a quarry, so players can spawn unlimited quarries before placing one. They can then recycle them for hqm and gears, basically making an unlimited resource factory.

Marte6

Posted

I recommend adding this feature to kits or the shop so that players can access it easily. Additionally, it's best to keep the command restricted to admins only.

Here’s how to add the recycler to your shop:

Use the Command:

gq %steamID%

  • Like 1
Marte6

Posted

Changed Status from Pending to Not a Bug

dustyhansen

Posted

On 1/15/2025 at 4:52 PM, Marte6 said:

I recommend adding this feature to kits or the shop so that players can access it easily. Additionally, it's best to keep the command restricted to admins only.

Here’s how to add the recycler to your shop:

Use the Command:

gq %steamID%

I added this to my shop like you said, but I get an error in console when the command is executed:

Failed executing console command 'gq' in 'Quarry Computer v1.4.1 by Marte6' [callback] (Object reference not set to an instance of an object)
at void Oxide.Plugins.QuarryComputer.GiveQuarryCommandCmd(Arg arg) in /home/container/carbon/plugins/QuarryComputer.cs:line 1277
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
01/16 18:53:36 | [ShoppyStock] Player Milfred (76561198328184183) purchased x1 Quarry Computer for 15k SCRAP.

 

dustyhansen

Posted

On 1/16/2025 at 6:57 PM, dustyhansen said:

I added this to my shop like you said, but I get an error in console when the command is executed:

Failed executing console command 'gq' in 'Quarry Computer v1.4.1 by Marte6' [callback] (Object reference not set to an instance of an object)
at void Oxide.Plugins.QuarryComputer.GiveQuarryCommandCmd(Arg arg) in /home/container/carbon/plugins/QuarryComputer.cs:line 1277
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
01/16 18:53:36 | [ShoppyStock] Player Milfred (76561198328184183) purchased x1 Quarry Computer for 15k SCRAP.

 

@Marte6 can you please reopen this ticket and see the above?

  • Like 1
Marte6

Posted

Changed Status from Not a Bug to Work in Progress

Marte6

Posted

This is working for me.image.png.79d10dc91464ecae203f997c02069b19.png

Marte6

Posted

Changed Status from Work in Progress to Can't Reproduce

Marte6

Posted

This is the part of the code you can send to the other dev:
[ConsoleCommand("gq")]
 private void GiveQuarryCommandCmd(ConsoleSystem.Arg arg)

Marte6

Posted (edited)

Im gonna do some testing here to see if I found the problemm

Edited by Marte6
dustyhansen

Posted

On 1/21/2025 at 9:33 AM, Marte6 said:

Im gonna do some testing here to see if I found the problemm

any luck?

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.