Jump to content

CRadio 1.0.8

$10.00
   (3 reviews)

7 Screenshots

  • 49.5k
  • 240
  • 56.37 kB

Recommended Comments



Bodymenn.de

Posted

i changed the setting to be needed a item and changed the radio one on CNewItemManager
but if i press Attack on the Radio, nothing happend , ui still "Disabled"

TF Crazy

Posted

Change settings in CNewItemManager for item us rf.detonator. And if frequency not define radio disabled. 

 

When you have item. Maintain left click and define radio frequency.  

Bodymenn.de

Posted

After Restart Server it worked.

 

TF Crazy

Posted

 

35 minutes ago, Bodymenn.de said:

After Restart Server it worked.

 

When you updated cfg file. Always reload plugin. With 'o.reload PLLUGINNAME'

 

Dont forget put note if you like plugin. 

 

SgtKamato

Posted (edited)

I have in some way the same problem... If i set everything up i give myself a radio and set it up then i give me a secound and i cant change the mhz... and then its bugging... and i get an error from CRadio

 

Sry for bad english xD

(16:38:41) | [Oxide] 16:38 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CRadio v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.CRadio.OnPlayerConnected (BasePlayer player) [0x000cf] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CRadio.OnServerInitialized () [0x0011a] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

€dit: I dont know how but it works now... ???

Edited by SgtKamato
TF Crazy

Posted

I understand nothing ^^. Be clearer on how the error occurred so I can fix it.

CADÃO

Posted

bind b radio_statement

Error using bind

 

Failed to call hook 'cmdChangeRadioStatement' on plugin 'CRadio v1.0.3' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.CRadio.GetLang (System.String langKey, System.Boolean prefix, System.String playerId, System.Object[] args) [0x00058] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CRadio.cmdChangeRadioStatement (ConsoleSystem+Arg arg) [0x000a9] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003fe] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
Failed to call hook 'cmdChangeRadioStatement' on plugin 'CRadio v1.0.3' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.CRadio.GetLang (System.String langKey, System.Boolean prefix, System.String playerId, System.Object[] args) [0x00058] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CRadio.cmdChangeRadioStatement (ConsoleSystem+Arg arg) [0x000a9] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003fe] in <edfd619249a1484481bce6695fa2bf0e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 

 

goontrash

Posted

i have the same issue as above

TF Crazy

Posted (edited)

I fix now

Edited by TF Crazy
SgtKamato

Posted

8 hours ago, SgtKamato said:

I have in some way the same problem... If i set everything up i give myself a radio and set it up then i give me a secound and i cant change the mhz... and then its bugging... and i get an error from CRadio

 

Sry for bad english xD


(16:38:41) | [Oxide] 16:38 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CRadio v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.CRadio.OnPlayerConnected (BasePlayer player) [0x000cf] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CRadio.OnServerInitialized () [0x0011a] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <3fefbebd9f774a02ae8595c549e2d5c3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

€dit: I dont know how but it works now... ???

I have instaled the plugin then i forgot to change the Item in NewItemManager. Then i change the Item and change the config in CRadio to true. Then i reloaded the CRadio and got that error message... then i reloaded again and there was no error but didnt worked.... i unloaded both plugins and loaded Newitem first and then Radio. Got the same error... i reloaded the CRadio again and the error was gone and it works now.

TF Crazy

Posted

Ok thanks. I need to go find bug 🙂

SgtKamato

Posted

6 hours ago, TF Crazy said:

@SgtKamato Can you put your config file please

 

{
  "1. CONFIG": {
    "» Chat Command": "radio",
    "» Chat Prefix message": "RADIO",
    "» Chat prefix size": 18,
    "» Chat prefix color": "#ce422b",
    "» Work only radio item in inventory ?": true
  },
  "2. VERSION": {
    "Major": 1,
    "Minor": 0,
    "Patch": 3
  }
}

 

CADÃO

Posted

 

hi,, =D
When this option is activated, do you have to press 2 buttons to talk? The one to speak + the click of the mouse. Is it not possible to just press 1?

"» Work only radio item in inventory ?": true

 

TF Crazy

Posted

No possibility for transmit voice if player not speak

SgtKamato

Posted

is there a way to give this item without the playername? i want to make it buyable via my server shop for economy money... if the player buys the radio a command will execute to give the player the radio. But i cant write a playername in...

TF Crazy

Posted (edited)

radio.give 76561198969362505

 

Edited by TF Crazy
goontrash

Posted (edited)

Failed to call hook 'OnServerInitialized' on plugin 'CRadio v1.0.4' (KeyNotFoundException: The given key was not present in the dictionary.)at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0at Oxide.Plugins.CRadio.OnPlayerConnected (BasePlayer player) [0x000cf] in :0at Oxide.Plugins.CRadio.OnServerInitialized () [0x0011a] in :0at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in :0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

{
  "1. CONFIG": {
    "» Chat Command": "radio",
    "» Chat Prefix message": "RADIO",
    "» Chat prefix size": 18,
    "» Chat prefix color": "#ce422b",
    "» Work only radio item in inventory ?": true
  },

 

issue with it not working when set to true

Edited by goontrash
RustPutin

Posted

I have the same issue when pressing b until I set frequency

Quote

[Oxide] 12:57 [Error] Failed to call hook 'cmdChangeRadioStatement' on plugin 'CRadio v1.0.5' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at Oxide.Plugins.CRadio.GetLang (System.String langKey, System.Boolean prefix, System.String playerId, System.Object[] args) [0x00058] in <577c818e379f4df2965a0ef0f84cc5de>:0
  at Oxide.Plugins.CRadio.cmdChangeRadioStatement (ConsoleSystem+Arg arg) [0x0008f] in <577c818e379f4df2965a0ef0f84cc5de>:0
  at Oxide.Plugins.CRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003fe] in <577c818e379f4df2965a0ef0f84cc5de>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

 

TF Crazy

Posted

Sorry little bug i fix now

  • Like 1
Banana

Posted

Getting: [FileSystem]: Not Found:   (UnityEngine.Material) when holding left click with the radio. Also the audio is pretty choppy and/or cutting out. Otherwise incredible plugin!

Vastitude

Posted

Can you add options to for example set a *default* server wide radio, and an option to turn on/off the GUI? 

 

For example, if people don't want to see 'disabled' on their screen when they aren't using it.

TF Crazy

Posted

2 hours ago, dankmemer said:

Can you add options to for example set a *default* server wide radio, and an option to turn on/off the GUI? 

 

For example, if people don't want to see 'disabled' on their screen when they aren't using it.

In a future update I will do this for you

  • Love 1
Shaun Murphy

Posted (edited)

Thx

 

Edited by Shaun Murphy

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 3

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

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.