Solved [Magma] Error On_EntityHurt

Alexandre

New Member
Member
Sep 7, 2014
3
0
1
Hello,
I have got a error! :(
[Magma] Error invoking function On_EntityHurt in Jail plugin
InvalidCastException: Null object can not be converted to value type.

This message appears every 2-3 seconds.

Sorry for my english, I am a French who does not do his English homework at school. :DD
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Hello,
I have got a error! :(
[Magma] Error invoking function On_EntityHurt in Jail plugin
InvalidCastException: Null object can not be converted to value type.

This message appears every 2-3 seconds.

Sorry for my english, I am a French who does not do his English homework at school. :DD
That plugin has a null error.

Paste the full log pls.
 

Alexandre

New Member
Member
Sep 7, 2014
3
0
1
Here is my log.

Code:
[9/13/2014 1:55:09 PM] [Console] [Modules] Loading modules...
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked GlitchFix.GlitchFix
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: GlitchFix.GlitchFix
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] JintPlugin is not configured to be loaded.
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked MagmaPlugin.MagmaPluginModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: MagmaPlugin.MagmaPluginModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked RustPP.RustPPModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: RustPP.RustPPModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: ServerTests.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: ServerTests.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked ServerTests.ServerTests
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: ServerTests.ServerTests
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: ServerTests.dll
[9/13/2014 1:55:10 PM] [Console] [Modules] Module RustPP v1.1.6.0 (by xEnt22) initiated.
[9/13/2014 1:55:10 PM] [Console] [Modules] Module GlitchFix v1.0.0.0 (by dretax14) initiated.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Drop++.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Drop++\Drop++.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: ExtractTables
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_TablesLoaded
[9/13/2014 1:55:10 PM] [Console] [Magma] Drop++ plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin InvLookup.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\InvLookup\InvLookup.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: argsToText
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: DataStoreContainsKey
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: returnUserInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: returnInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: recordUserInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: recordInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Console] [Magma] InvLookup plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Jail.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Jail\Jail.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: addCop
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: isCop
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: checkJail
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: freePlayer
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: sendToJail
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailRadius
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: setJailRadius
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailLength
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailStatus
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_EntityHurt
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_PlayerHurt
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Chat
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_PlayerConnected
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: CheckJailCallback
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getIni
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: requestConfig
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_ServerInit
[9/13/2014 1:55:10 PM] [Console] [Magma] Jail plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Time.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Time\Time.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: TimeStamp
[9/13/2014 1:55:10 PM] [Console] [Magma] Time plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded plugin configs
[9/13/2014 1:55:10 PM] [Console] [Modules] Module MagmaPlugin v1.0.9.2 (by Riketta, mikec, xEnt, EquiFox) initiated.
[9/13/2014 1:55:10 PM] [Console] [Modules] Module ServerTests v1.0.0.0 (by Riketta) initiated.
[9/13/2014 1:55:32 PM] [Error] [Magma] Error invoking function On_TablesLoaded in Drop++ plugin.
[9/13/2014 1:55:33 PM] [Exception] [ Plugin->Invoke | Plugin->OnTablesLoaded | Hooks->TablesLoaded | DatablockDictionary->Initialize | RustLoader->OnResourcesLoaded | BundleBridger->FinalizeAndInstall | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->StartLoading | <Start>c__IteratorA->MoveNext | ]
System.InvalidCastException: Cannot cast from source type to destination type.
at (wrapper managed-to-native) object.__icall_wrapper_mono_object_castclass (object,intptr) <0x00004>
at System.Linq.Enumerable/<CreateCastIterator>c__Iterator0`1<System.Linq.IGrouping`2<string, IniParser/SectionPair>>.MoveNext () <0x000c7>
at System.Linq.Enumerable/<CreateSelectManyIterator>c__Iterator14`3<System.Linq.IGrouping`2<string, IniParser/SectionPair>, System.Linq.IGrouping`2<string, IniParser/SectionPair>, string>.MoveNext () <0x001e3>
at EnumerableToArray/EnumeratorToArray`1<string>..ctor (System.Collections.Generic.IEnumerator`1<string>) <0x00030>
at EnumerableToArray.ToArray<string> (System.Collections.Generic.IEnumerable`1<string>) <0x00132>
at IniParser.get_Sections () <0x000ff>
at IniParser.Count () <0x00010>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.jsWrapper (Jint.Native.IGlobal,Jint.Native.JsInstance,Jint.Native.JsInstance[]) <0x0008a>
at Jint.Native.NativeMethod.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x00039>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MethodCall) <0x0042c>
at Jint.Expressions.MethodCall.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MemberExpression) <0x0003e>
at Jint.Expressions.MemberExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BinaryExpression) <0x00031>
at Jint.Expressions.BinaryExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.VariableDeclarationStatement) <0x0003c>
at Jint.Expressions.VariableDeclarationStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.ForEachInStatement) <0x00377>
at Jint.Expressions.ForEachInStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.IfStatement) <0x0007d>
at Jint.Expressions.IfStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.Native.JsFunction.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0008c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0001b>
at Jint.JintEngine.CallFunction (Jint.Native.JsFunction,object[]) <0x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>

[9/13/2014 1:56:59 PM] [Debug] User Connected: FuckerEdu (76561197961719699 | 78.169.207.10)
[9/13/2014 1:57:04 PM] [Debug] User Connected: EBSbatuhan (76561197960520906 | 46.196.169.137)
[9/13/2014 1:59:03 PM] [Debug] User Connected: Jacky2 (76561197961983852 | 92.155.2.198)
[9/13/2014 1:59:29 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 1:59:45 PM] [Debug] [CHAT-CMD] "FuckerEdu" executed "/palyers"
[9/13/2014 1:59:47 PM] [Debug] [CHAT-CMD] "FuckerEdu" executed "/players"
[9/13/2014 1:59:49 PM] [Debug] [CHAT-CMD] "EBSbatuhan" executed "/help"
[9/13/2014 1:59:50 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 1:59:55 PM] [Debug] [CHAT-CMD] "EBSbatuhan" executed "/players"
[9/13/2014 2:00:03 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 2:00:18 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail Jacky2 30"
[9/13/2014 2:00:44 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/getjailradius"
[9/13/2014 2:01:59 PM] [Error] [Magma] Error invoking function On_EntityHurt in Jail plugin.
[9/13/2014 2:01:59 PM] [Exception] [ Plugin->Invoke | Plugin->OnEntityHurt | Hooks->EntityHurt | DeployableObject->OnHurt | Component->SendMessage | TakeDamage->Hurt | TakeDamage->HurtShared | TakeDamage->HurtShared | TakeDamage->HurtSelf | EnvDecay->DecayThink | Schedule->ThinkInstance | Schedule->Think | Callbacks->RunDecayThink | UpdateDelegate->Invoke | Callbacks->FirePreUpdate | NetPreUpdate->LateUpdate | ]
x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>
System.InvalidCastException: Null object can not be converted to a value type.
at System.Convert.ToType (object,System.Type,System.IFormatProvider,bool) <0x0073e>
at System.Convert.ChangeType (object,System.Type) <0x0005c>
at Jint.Marshaller.MarshalJsValue<single> (Jint.Native.JsInstance) <0x0040b>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.jsWrapper (Jint.Native.IGlobal,Jint.Native.JsInstance,Jint.Native.JsInstance[]) <0x000b3>
at Jint.Native.NativeMethod.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x00039>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MethodCall) <0x0042c>
at Jint.Expressions.MethodCall.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MemberExpression) <0x0003e>
at Jint.Expressions.MemberExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.VariableDeclarationStatement) <0x0003c>
at Jint.Expressions.VariableDeclarationStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.Native.JsFunction.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0008c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0001b>
at Jint.JintEngine.CallFunction (Jint.Native.JsFunction,object[]) <0x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Here is my log.

Code:
[9/13/2014 1:55:09 PM] [Console] [Modules] Loading modules...
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked GlitchFix.GlitchFix
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: GlitchFix.GlitchFix
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: GlitchFix.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] JintPlugin is not configured to be loaded.
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked MagmaPlugin.MagmaPluginModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: MagmaPlugin.MagmaPluginModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: MagmaPlugin.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked RustPP.RustPPModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: RustPP.RustPPModule
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: RustPP.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module Found: ServerTests.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Loading assembly: ServerTests.dll
[9/13/2014 1:55:09 PM] [Debug] [Modules] Checked ServerTests.ServerTests
[9/13/2014 1:55:09 PM] [Debug] [Modules] Instance created: ServerTests.ServerTests
[9/13/2014 1:55:09 PM] [Debug] [Modules] Module added: ServerTests.dll
[9/13/2014 1:55:10 PM] [Console] [Modules] Module RustPP v1.1.6.0 (by xEnt22) initiated.
[9/13/2014 1:55:10 PM] [Console] [Modules] Module GlitchFix v1.0.0.0 (by dretax14) initiated.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Drop++.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Drop++\Drop++.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: ExtractTables
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_TablesLoaded
[9/13/2014 1:55:10 PM] [Console] [Magma] Drop++ plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin InvLookup.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\InvLookup\InvLookup.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: argsToText
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: DataStoreContainsKey
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: returnUserInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: returnInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: recordUserInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: recordInventory
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Console] [Magma] InvLookup plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Jail.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Jail\Jail.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: addCop
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: isCop
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: checkJail
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: freePlayer
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: sendToJail
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailRadius
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: setJailRadius
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailLength
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getJailStatus
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_EntityHurt
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_PlayerHurt
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Chat
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_PlayerConnected
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: CheckJailCallback
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: getIni
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: requestConfig
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_ServerInit
[9/13/2014 1:55:10 PM] [Console] [Magma] Jail plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loading plugin Time.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded: C:\Users\Administrator\Desktop\Premade - Copie - Copie - Copy\Premade - Copie - Copie\Save\Magma\Time\Time.js
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: On_Command
[9/13/2014 1:55:10 PM] [Debug] [Magma] Found Function: TimeStamp
[9/13/2014 1:55:10 PM] [Console] [Magma] Time plugin was loaded successfuly.
[9/13/2014 1:55:10 PM] [Debug] [Magma] Loaded plugin configs
[9/13/2014 1:55:10 PM] [Console] [Modules] Module MagmaPlugin v1.0.9.2 (by Riketta, mikec, xEnt, EquiFox) initiated.
[9/13/2014 1:55:10 PM] [Console] [Modules] Module ServerTests v1.0.0.0 (by Riketta) initiated.
[9/13/2014 1:55:32 PM] [Error] [Magma] Error invoking function On_TablesLoaded in Drop++ plugin.
[9/13/2014 1:55:33 PM] [Exception] [ Plugin->Invoke | Plugin->OnTablesLoaded | Hooks->TablesLoaded | DatablockDictionary->Initialize | RustLoader->OnResourcesLoaded | BundleBridger->FinalizeAndInstall | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->OnJobCompleted | Job->OnDownloadingComplete | Downloader->BeginJob | Loader->StartJob | Loader->StartNextGroup | Loader->StartLoading | <Start>c__IteratorA->MoveNext | ]
System.InvalidCastException: Cannot cast from source type to destination type.
at (wrapper managed-to-native) object.__icall_wrapper_mono_object_castclass (object,intptr) <0x00004>
at System.Linq.Enumerable/<CreateCastIterator>c__Iterator0`1<System.Linq.IGrouping`2<string, IniParser/SectionPair>>.MoveNext () <0x000c7>
at System.Linq.Enumerable/<CreateSelectManyIterator>c__Iterator14`3<System.Linq.IGrouping`2<string, IniParser/SectionPair>, System.Linq.IGrouping`2<string, IniParser/SectionPair>, string>.MoveNext () <0x001e3>
at EnumerableToArray/EnumeratorToArray`1<string>..ctor (System.Collections.Generic.IEnumerator`1<string>) <0x00030>
at EnumerableToArray.ToArray<string> (System.Collections.Generic.IEnumerable`1<string>) <0x00132>
at IniParser.get_Sections () <0x000ff>
at IniParser.Count () <0x00010>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.jsWrapper (Jint.Native.IGlobal,Jint.Native.JsInstance,Jint.Native.JsInstance[]) <0x0008a>
at Jint.Native.NativeMethod.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x00039>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MethodCall) <0x0042c>
at Jint.Expressions.MethodCall.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MemberExpression) <0x0003e>
at Jint.Expressions.MemberExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BinaryExpression) <0x00031>
at Jint.Expressions.BinaryExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.VariableDeclarationStatement) <0x0003c>
at Jint.Expressions.VariableDeclarationStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.ForEachInStatement) <0x00377>
at Jint.Expressions.ForEachInStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.IfStatement) <0x0007d>
at Jint.Expressions.IfStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.Native.JsFunction.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0008c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0001b>
at Jint.JintEngine.CallFunction (Jint.Native.JsFunction,object[]) <0x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>

[9/13/2014 1:56:59 PM] [Debug] User Connected: FuckerEdu (76561197961719699 | 78.169.207.10)
[9/13/2014 1:57:04 PM] [Debug] User Connected: EBSbatuhan (76561197960520906 | 46.196.169.137)
[9/13/2014 1:59:03 PM] [Debug] User Connected: Jacky2 (76561197961983852 | 92.155.2.198)
[9/13/2014 1:59:29 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 1:59:45 PM] [Debug] [CHAT-CMD] "FuckerEdu" executed "/palyers"
[9/13/2014 1:59:47 PM] [Debug] [CHAT-CMD] "FuckerEdu" executed "/players"
[9/13/2014 1:59:49 PM] [Debug] [CHAT-CMD] "EBSbatuhan" executed "/help"
[9/13/2014 1:59:50 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 1:59:55 PM] [Debug] [CHAT-CMD] "EBSbatuhan" executed "/players"
[9/13/2014 2:00:03 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail"
[9/13/2014 2:00:18 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/jail Jacky2 30"
[9/13/2014 2:00:44 PM] [Debug] [CHAT-CMD] "Jacky2" executed "/getjailradius"
[9/13/2014 2:01:59 PM] [Error] [Magma] Error invoking function On_EntityHurt in Jail plugin.
[9/13/2014 2:01:59 PM] [Exception] [ Plugin->Invoke | Plugin->OnEntityHurt | Hooks->EntityHurt | DeployableObject->OnHurt | Component->SendMessage | TakeDamage->Hurt | TakeDamage->HurtShared | TakeDamage->HurtShared | TakeDamage->HurtSelf | EnvDecay->DecayThink | Schedule->ThinkInstance | Schedule->Think | Callbacks->RunDecayThink | UpdateDelegate->Invoke | Callbacks->FirePreUpdate | NetPreUpdate->LateUpdate | ]
x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>
System.InvalidCastException: Null object can not be converted to a value type.
at System.Convert.ToType (object,System.Type,System.IFormatProvider,bool) <0x0073e>
at System.Convert.ChangeType (object,System.Type) <0x0005c>
at Jint.Marshaller.MarshalJsValue<single> (Jint.Native.JsInstance) <0x0040b>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.jsWrapper (Jint.Native.IGlobal,Jint.Native.JsInstance,Jint.Native.JsInstance[]) <0x000b3>
at Jint.Native.NativeMethod.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x00039>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MethodCall) <0x0042c>
at Jint.Expressions.MethodCall.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.MemberExpression) <0x0003e>
at Jint.Expressions.MemberExpression.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.VariableDeclarationStatement) <0x0003c>
at Jint.Expressions.VariableDeclarationStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.BlockStatement) <0x000b4>
at Jint.Expressions.BlockStatement.Accept (Jint.Expressions.IStatementVisitor) <0x0001e>
at Jint.Native.JsFunction.Execute (Jint.Expressions.IJintVisitor,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0008c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[],System.Type[]) <0x0033c>
at Jint.ExecutionVisitor.ExecuteFunction (Jint.Native.JsFunction,Jint.Native.JsDictionaryObject,Jint.Native.JsInstance[]) <0x0001b>
at Jint.JintEngine.CallFunction (Jint.Native.JsFunction,object[]) <0x00066>
at Jint.JintEngine.CallFunction (string,object[]) <0x00094>
at MagmaPlugin.Plugin.Invoke (string,object[]) <0x00024>
Found it. It's just a typical mistake at the devs.

Edit your js file and find on_entityhurt

Replace it with this:

JavaScript:
function On_EntityHurt(he)
{
    if (he.Attacker != null && he.Entity != null && !he.IsDecay) {  
        //he.Victim.Message("A player is receiving this message!");
        var x = DataStore.Get("Jail", "JailX");
        var y = DataStore.Get("Jail", "JailY");
        var z = DataStore.Get("Jail", "JailZ");

        var a = Util.CreateVector(x, y, z);
        var b = Util.CreateVector(he.Attacker.X, he.Attacker.Y, he.Attacker.Z);

        var radius = parseInt(DataStore.Get("Jail", "JailRadius"));
        var distance = parseInt(Util.GetVectorsDistance(a, b));

        if (distance < radius+50 && he.WeaponName == false)
        {
            he.Entity.Health = he.Entity.Health + he.DamageAmount;
            if (he.DamageAmount < 10)
                return;
            he.Attacker.Message("You may not destroy objects within 50 meters of the jail!");
        }
    }
}