Resource icon

Approved DeathMSG 1.3a

No permission to download

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
Code:
[9/5/2014 9:14:39 AM] [Debug] [JintPlugin] Loading plugin DeathMSG.
[9/5/2014 9:14:39 AM] [Exception] [ JintPluginModule->LoadPlugin | JintPluginModule->ReloadPlugins | JintPluginModule->Initialize | ModuleContainer->Initialize | ModuleManager->LoadModules | Bootstrap->Start | ]
Jint.Parser.ParserException: Line 66: Unexpected token *
  at Jint.Parser.JavaScriptParser.ThrowError (Jint.Parser.Token token, System.String messageFormat, System.Object[] arguments) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ThrowUnexpected (Jint.Parser.Token token) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParsePrimaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseLeftHandSideExpressionAllowCall () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParsePostfixExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseUnaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseBinaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseConditionalExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseAssignmentExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatementList () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseBlock () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseIfStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseFunctionSourceElements () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseFunctionDeclaration () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElements () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseProgram () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.Parse (System.String code, Jint.Parser.ParserOptions options) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.Parse (System.String code) [0x00000] in <filename unknown>:0
  at Jint.Engine.Execute (System.String source) [0x00000] in <filename unknown>:0
  at JintPlugin.Plugin..ctor (System.IO.DirectoryInfo directory, System.String name, System.String code) [0x00000] in <filename unknown>:0
  at JintPlugin.JintPluginModule.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
928
113
Australia
Code:
[9/5/2014 9:14:39 AM] [Debug] [JintPlugin] Loading plugin DeathMSG.
[9/5/2014 9:14:39 AM] [Exception] [ JintPluginModule->LoadPlugin | JintPluginModule->ReloadPlugins | JintPluginModule->Initialize | ModuleContainer->Initialize | ModuleManager->LoadModules | Bootstrap->Start | ]
Jint.Parser.ParserException: Line 66: Unexpected token *
  at Jint.Parser.JavaScriptParser.ThrowError (Jint.Parser.Token token, System.String messageFormat, System.Object[] arguments) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ThrowUnexpected (Jint.Parser.Token token) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParsePrimaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseLeftHandSideExpressionAllowCall () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParsePostfixExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseUnaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseBinaryExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseConditionalExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseAssignmentExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseExpression () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatementList () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseBlock () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseIfStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseStatement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseFunctionSourceElements () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseFunctionDeclaration () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseSourceElements () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.ParseProgram () [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.Parse (System.String code, Jint.Parser.ParserOptions options) [0x00000] in <filename unknown>:0
  at Jint.Parser.JavaScriptParser.Parse (System.String code) [0x00000] in <filename unknown>:0
  at Jint.Engine.Execute (System.String source) [0x00000] in <filename unknown>:0
  at JintPlugin.Plugin..ctor (System.IO.DirectoryInfo directory, System.String name, System.String code) [0x00000] in <filename unknown>:0
  at JintPlugin.JintPluginModule.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
At the end of line 66 he has "*/". Just remove it.
 

Kot-Someone

New Member
Member
Aug 24, 2014
8
1
1
(Magma Mode)
error on load plugin at line 66
missplaced "*/"
I`m remove last 2 characters

DeathMSG.PNG
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,772
113
At your house.
github.com

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
If there are 100 people on line, don't you think 100 x 5 second timer checks will become an issue... with Jint? Could move it to Jint2 for speed increases....just saying =D

But seriously, even the death messages on Oxide had a period which it stopped checking players after. Typically people are going to hack immediately or within first 30min, which is what the other plugin was set to, after 30min wouldn't check the player anymore unless you manually ran a /check playername or a /checkall
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,772
113
At your house.
github.com
If there are 100 people on line, don't you think 100 x 5 second timer checks will become an issue... with Jint? Could move it to Jint2 for speed increases....just saying =D

But seriously, even the death messages on Oxide had a period which it stopped checking players after. Typically people are going to hack immediately or within first 30min, which is what the other plugin was set to, after 30min wouldn't check the player anymore unless you manually ran a /check playername
Definetely not Jint2.

It will be Python.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,772
113
At your house.
github.com
If there are 100 people on line, don't you think 100 x 5 second timer checks will become an issue... with Jint? Could move it to Jint2 for speed increases....just saying =D

But seriously, even the death messages on Oxide had a period which it stopped checking players after. Typically people are going to hack immediately or within first 30min, which is what the other plugin was set to, after 30min wouldn't check the player anymore unless you manually ran a /check playername or a /checkall
About the "Stop" Thats why I kill the timer when the void runs, and then I recreate it. Mike already notified me about this. That solves the issue...

More questions?
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
928
113
Australia
Some features I think would be pretty cool to have;
-Command to Show/Hide death MSG (Not the whole server, Just the player who Hide/Show).
-Admins get a detailed message of the kill where normal players get Who killed Who with What and Where.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,772
113
At your house.
github.com
Some features I think would be pretty cool to have;
-Command to Show/Hide death MSG (Not the whole server, Just the player who Hide/Show).
-Admins get a detailed message of the kill where normal players get Who killed Who with What and Where.
Good ideas. Noted for the conversion. I really do plan to convert all my plugins to PY, tho With school It takes time. I also have to finish the Installer/Updater.
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
Code:
[10/4/2014 2:45:09 PM] [Debug] User Connected: [r1oT]MEEPMEEP (76561198146539077 | 96.247.64.167)
[10/4/2014 2:45:09 PM] [Console] [AC] Nick: [r1oT]MEEPMEEP. Banned chars in name.
[10/4/2014 2:45:09 PM] [Debug] User Disconnected: [r1oT]MEEPMEEP (76561198146539077)
[10/4/2014 2:45:09 PM] [Error] [Magma] Error invoking function On_PlayerConnected in DeathMSG plugin.
[10/4/2014 2:45:09 PM] [Exception] [ Plugin->Invoke | Plugin->OnPlayerConnected | Hooks->PlayerConnect | RustServerManagement->OnUserConnected | ConnectionAcceptor->uLink_OnPlayerConnected | GameObject->SendMessage | #=qSBVG6i3HoKQx$z3bwADYIgVX_kCktQP8JwBh1CI$O_8=->#=qnBC8vvHltGiAoAcoGPaaAA== | #=qSBVG6i3HoKQx$z3bwADYIgVX_kCktQP8JwBh1CI$O_8=->#=qopOwgPOjk_HOzOwWVDsWIQ== | #=qr9YotdsWVwSdbrj6D5OlmHWwwJVhBeBIJ5J461Az$DQ=->#=qM25p$Ei_tgo0VZPqr5NeJg== | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=q2HqDTZFVDws8Yv2UHd8me8CJU2rmEhl0UENDzxjFAFA= | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=qGm_HL$oYHQfIKbtxj_QFnQ== | NetworkPlayerApproval->Approve | <AuthorisationRoutine>c__Iterator31->MoveNext | ]
System.NullReferenceException: Object reference not set to an instance of an object
at Fougerite.Player.get_SteamID () <0x0002a>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.dynamicPropertyGetter (Jint.Marshaller,Jint.Native.JsDictionaryObject) <0x00029>
at Jint.Native.NativeDescriptor.Get (Jint.Native.JsDictionaryObject) <0x0002a>
at Jint.Native.JsDictionaryObject.TryGetProperty (string,Jint.Native.JsInstance&) <0x00047>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.PropertyExpression) <0x00085>
at Jint.Expressions.PropertyExpression.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,772
113
At your house.
github.com
Code:
[10/4/2014 2:45:09 PM] [Debug] User Connected: [r1oT]MEEPMEEP (76561198146539077 | 96.247.64.167)
[10/4/2014 2:45:09 PM] [Console] [AC] Nick: [r1oT]MEEPMEEP. Banned chars in name.
[10/4/2014 2:45:09 PM] [Debug] User Disconnected: [r1oT]MEEPMEEP (76561198146539077)
[10/4/2014 2:45:09 PM] [Error] [Magma] Error invoking function On_PlayerConnected in DeathMSG plugin.
[10/4/2014 2:45:09 PM] [Exception] [ Plugin->Invoke | Plugin->OnPlayerConnected | Hooks->PlayerConnect | RustServerManagement->OnUserConnected | ConnectionAcceptor->uLink_OnPlayerConnected | GameObject->SendMessage | #=qSBVG6i3HoKQx$z3bwADYIgVX_kCktQP8JwBh1CI$O_8=->#=qnBC8vvHltGiAoAcoGPaaAA== | #=qSBVG6i3HoKQx$z3bwADYIgVX_kCktQP8JwBh1CI$O_8=->#=qopOwgPOjk_HOzOwWVDsWIQ== | #=qr9YotdsWVwSdbrj6D5OlmHWwwJVhBeBIJ5J461Az$DQ=->#=qM25p$Ei_tgo0VZPqr5NeJg== | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=q2HqDTZFVDws8Yv2UHd8me8CJU2rmEhl0UENDzxjFAFA= | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=qGm_HL$oYHQfIKbtxj_QFnQ== | NetworkPlayerApproval->Approve | <AuthorisationRoutine>c__Iterator31->MoveNext | ]
System.NullReferenceException: Object reference not set to an instance of an object
at Fougerite.Player.get_SteamID () <0x0002a>
at (wrapper dynamic-method) Jint.Marshal.ProxyHelper.dynamicPropertyGetter (Jint.Marshaller,Jint.Native.JsDictionaryObject) <0x00029>
at Jint.Native.NativeDescriptor.Get (Jint.Native.JsDictionaryObject) <0x0002a>
at Jint.Native.JsDictionaryObject.TryGetProperty (string,Jint.Native.JsInstance&) <0x00047>
at Jint.ExecutionVisitor.Visit (Jint.Expressions.PropertyExpression) <0x00085>
at Jint.Expressions.PropertyExpression.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>
Player became null when AC disconnected the other player.

Sent from my Samsung Galaxy S4