Jump to content

Timer

Closed 2.2.4 2.2.4

TuxGeek


TuxGeek

Posted

Hello, i run a carbon server and im getting this error in console when i load the plugin

Loaded plugin Geodes v2.2.4 by Wrecks [137ms]
[Geodes] MarkerManager needs to be loaded to have Rockhound's Location Displayed!
Timer of 1s has failed in 'Geodes v2.2.4 by Wrecks' [callback] (String was not recognized as a valid Boolean.)
   at bool bool.Parse(ReadOnlySpan<char> value) x 2
   at bool Convert.ToBoolean(string value, IFormatProvider provider)
   at bool string.System.IConvertible.ToBoolean(IFormatProvider provider)
   at bool Convert.ToBoolean(object value)
   at void Oxide.Plugins.Geodes.PasteGeodeShedFromConfig(Vector3 spawnPoint) in /home/container/carbon/plugins/Geodes.cs:line 1235
   at void Oxide.Plugins.Geodes.OnServerInitialized()+() => { } in /home/container/carbon/plugins/Geodes.cs:line 850
   at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { } in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 50

Wrecks

Posted

1 hour ago, TuxGeek said:

Hello, i run a carbon server and im getting this error in console when i load the plugin

Loaded plugin Geodes v2.2.4 by Wrecks [137ms]
[Geodes] MarkerManager needs to be loaded to have Rockhound's Location Displayed!
Timer of 1s has failed in 'Geodes v2.2.4 by Wrecks' [callback] (String was not recognized as a valid Boolean.)
   at bool bool.Parse(ReadOnlySpan<char> value) x 2
   at bool Convert.ToBoolean(string value, IFormatProvider provider)
   at bool string.System.IConvertible.ToBoolean(IFormatProvider provider)
   at bool Convert.ToBoolean(object value)
   at void Oxide.Plugins.Geodes.PasteGeodeShedFromConfig(Vector3 spawnPoint) in /home/container/carbon/plugins/Geodes.cs:line 1235
   at void Oxide.Plugins.Geodes.OnServerInitialized()+() => { } in /home/container/carbon/plugins/Geodes.cs:line 850
   at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { } in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 50

Make sure you have the dependencies if you’re using dynamic spawn 

Wrecks

Posted

I run this on my carbon server too

TuxGeek

Posted

I don't see any dependencies in the plug-in page, but I don't use dynamic spawn

Wrecks

Posted

58 minutes ago, TuxGeek said:

I don't see any dependencies in the plug-in page, but I don't use dynamic spawn

Well you have dynamic on if it’s trying to paste the npc building 

Wrecks

Posted

Oxide.Plugins.Geodes.PasteGeodeShedFromConfig(Vector3 spawnPoint)

 

 

if dynamic is on, make sure the base is in the copy paste data folder 

Wrecks

Posted

Send your config , i just got home ill throw it on test.

Wrecks

Posted

with dynamic on or off, I dont get that error

Wrecks

Posted

I only get that, if dynamic is true, and the base isnt in the copypaste data folder

TuxGeek

Posted

I have the geodes.json data file in the copy paste folder, here is my config

Geodes.json

TuxGeek

Posted

I get the error only when the dynamic spawn of the base is true, when set to false the error isnt there

Wrecks

Posted

what happens if you paste the geodes copypaste in game.

 

/paste geodes

Wrecks

Posted

i used your config, set to true, and false, reloaded both and no error.

TuxGeek

Posted

here is my list of plugins on that server, i will paste the building into that server in a min, im on another server i run right now helping a player out

plugin-list.txt

Wrecks

Posted

Its most likely the base file

TuxGeek

Posted

I was able to paste the base with the old file manually with /paste geodes and the base went in without any error, when the dynamic spawn is set to false the npc and building will not spawn at outpost, but there is no error. when set to true the error exists even with the new copypaste file

Wrecks

Posted

im on carbon too, on windows. not sure how to replicate it 

TuxGeek

Posted

Im on a linux dedicated machine using pterodactyl, maybe its a linux thing?

Wrecks

Posted

it could be idk anything about linux.

what if you do /pastegeodes

you might have to clean it up manually if it does paste it 

 

TuxGeek

Posted

i can paste the base in with /paste geodes, but there is no npc in the base, i dont really want to paste the base in manually when its part of the plugin either

Wrecks

Posted

im saying do the built in command from my plugin, /pastegeodes

TuxGeek

Posted

sorry i didnt realize it was a different command included with the plugin, I get the error below when running that command

Failed executing chat command 'pastegeodes' in 'Geodes v2.2.4 by Wrecks' [callback] (String was not recognized as a valid Boolean.)
   at bool bool.Parse(ReadOnlySpan<char> value) x 2
   at bool Convert.ToBoolean(string value, IFormatProvider provider)
   at bool string.System.IConvertible.ToBoolean(IFormatProvider provider)
   at bool Convert.ToBoolean(object value)
   at void Oxide.Plugins.Geodes.PasteGeodeShed(BasePlayer player, Vector3 spawnPosition) in /home/container/carbon/plugins/Geodes.cs:line 1211
   at void Oxide.Plugins.Geodes.CmdSpawnGeodeHouse(BasePlayer player, string command, string[] args) in /home/container/carbon/plugins/Geodes.cs:line 61
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)


1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.5k

Files Sold

Total number of files sold.

2.4m

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.