Important Pluton for Experimental Branch

Status
Not open for further replies.
@balu92 There is no loadout config loaded in output.log
http://pastebin.com/rvx0KB2h




When I get mine working wouldnt mine sharing it, I was hoping @DreTaX would jump on it and convert his TPFriend for Pluton...
I'm sure he is extremely busy tho, so if Mine is working before his, I'll share. :)
Yeah I'm kinda busy with the damn installer, I have been testing a problem, that works at me but not at balu. tomorrow im full speed ahead on pluton.
 
  • Like
Reactions: Ionstorm
#Pluton is now our channel on freenode.net! :) An IRC channel is almost the same like having our own forum! Well, almost.
 
Last edited:
I've got 2 TP zones setup on the server ATM, Player to Player or a SetHome would be epic to fix these shit door locks!
 
Compiling new thing with CMD.exe got warning...
Player.cs on line 105
C#:
basePlayer.supressSnapshots = true;
And how I saw there is something made up with TP code failure...

Just reporting!
 
Compiling new thing with CMD.exe got warning...
Player.cs on line 105
C#:
basePlayer.supressSnapshots = true;
And how I saw there is something made up with TP code failure...

Just reporting!
This was reported earlier. SafeTeleport hasn't been implemented yet.
What were you trying before? teleporting one person to another?
Yes I was trying to get one player at another players positon by using it's transfom.position. But did not get it fully working so will be trying again tomorrow.
 
This was reported earlier. SafeTeleport hasn't been implemented yet.

Yes I was trying to get one player at another players positon by using it's transfom.position. But did not get it fully working so will be trying again tomorrow.

So uh, why not use Player.Location now that it has the code in there...

C#:
public static Player Find(string nameOrSteamidOrIP)
        {
            BasePlayer player = BasePlayer.Find(nameOrSteamidOrIP);
            if (player != null)
                return new Player(player);
            Logger.LogDebug("[Player] Couldn't find player!");
            return null;
        }

C#:
public Vector3 Location {
            get {
                return basePlayer.transform.position;
            }
            set {
                basePlayer.transform.position.Set(value.x, value.y, value.z);
            }
        }

Currently my unfinished possibly broken code for TPA:

Python:
__author__ = 'CorrosionX'
import clr
import sys
clr.AddReferenceByPartialName("UnityEngine")
clr.AddReferenceByPartialName("Pluton")
import UnityEngine
import Pluton

class Teleport:
    def On_Command(self, Player, cmd, args):
        if cmd == "tpa":
            if len(args) == 0:
                Player.Message('Please use /tpa playername')
                return
            else:
                name = args[0]
                nametp = Player.Find(name)
                if nametp not None or nametp not False:
                    try:
                        Player.Teleport(nametp.Location)
                        Player.Message("Teleported to" + nametp)
                    except:
                        Plugin.Log("Something broke with teleport", "Fix teleport")
                        return
                else:
                    Player.Message("Player Not Found!")
 
So uh, why not use Player.Location now that it has the code in there...

C#:
public static Player Find(string nameOrSteamidOrIP)
        {
            BasePlayer player = BasePlayer.Find(nameOrSteamidOrIP);
            if (player != null)
                return new Player(player);
            Logger.LogDebug("[Player] Couldn't find player!");
            return null;
        }

C#:
public Vector3 Location {
            get {
                return basePlayer.transform.position;
            }
            set {
                basePlayer.transform.position.Set(value.x, value.y, value.z);
            }
        }
Woops, I meant the class instead of transform.positon. I'm not on my pc atm hehe.
 
So uh, why not use Player.Location now that it has the code in there...

C#:
public static Player Find(string nameOrSteamidOrIP)
        {
            BasePlayer player = BasePlayer.Find(nameOrSteamidOrIP);
            if (player != null)
                return new Player(player);
            Logger.LogDebug("[Player] Couldn't find player!");
            return null;
        }

C#:
public Vector3 Location {
            get {
                return basePlayer.transform.position;
            }
            set {
                basePlayer.transform.position.Set(value.x, value.y, value.z);
            }
        }

Currently my unfinished possibly broken code for TPA:

Python:
__author__ = 'CorrosionX'
import clr
import sys
clr.AddReferenceByPartialName("UnityEngine")
clr.AddReferenceByPartialName("Pluton")
import UnityEngine
import Pluton

class Teleport:
    def On_Command(self, Player, cmd, args):
        if cmd == "tpa":
            if len(args) == 0:
                Player.Message('Please use /tpa playername')
                return
            else:
                name = args[0]
                nametp = Player.Find(name)
                if nametp not None or nametp not False:
                    try:
                        Player.Teleport(nametp.Location)
                        Player.Message("Teleported to" + nametp)
                    except:
                        Plugin.Log("Something broke with teleport", "Fix teleport")
                        return
                else:
                    Player.Message("Player Not Found!")
Python:
__author__ = 'CorrosionX'
import clr
import sys
clr.AddReferenceByPartialName("UnityEngine")
clr.AddReferenceByPartialName("Pluton")
import UnityEngine
from UnityEngine import *
import Pluton

class Teleport:
    def On_Command(self, command):
        if command.cmd == "tpa":
            if len(command.args) == 0:
                command.User.Message('Please use /tpa playername')
                return
            else:
                name = command.quotedArgs[0]
                nametp = Server.FindPlayer(name)
                if nametp not None or nametp not False:
                    try:
                        command.User.Teleport(nametp.Location)
                        command.User.Message("Teleported to " + name)
                    except:
                        Debug.Log("Something broke with teleport", "Fix teleport")
                        return
                else:
                    command.User.Message("Player Not Found!")
 
As always, thanks balu92!

New error when I was messing with console commands:
Code:
NullReferenceException: Object reference not set to an instance of an object

Pluton.pluton.reload (.Arg arg)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
ConsoleSystem+Index+<>c__DisplayClass2a.b__25 (.Arg arg)
ConsoleSystem.RunCommandInternal (.Arg arg, Boolean bWantReply)
UnityEngine.Debug:LogException(Exception)
ConsoleSystem:RunCommandInternal(Arg, Boolean)
ConsoleSystem:Run(String, Boolean)
ServerConsole:OnInputText(String)
Windows.ConsoleInput:OnEnter()
Windows.ConsoleInput:Update()
ServerConsole:Update()

Code:
NullReferenceException: Object reference not set to an instance of an object
  at Pluton.pluton.reload (.Arg arg) [0x00000] in <filename unknown>:0

  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0

  at ConsoleSystem+Index+<>c__DisplayClass2a.<BuildFunctions>b__25 (.Arg arg) [0x00000] in <filename unknown>:0

  at ConsoleSystem.RunCommandInternal (.Arg arg, Boolean bWantReply) [0x00000] in <filename unknown>:0
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ConsoleSystem:RunCommandInternal(Arg, Boolean)
ConsoleSystem:Run(String, Boolean)
ServerConsole:OnInputText(String)
Windows.ConsoleInput:OnEnter()
Windows.ConsoleInput:Update()
ServerConsole:Update()
(Filename:  Line: -1)

Error: pluton.reload - Exception has been thrown by the target of an invocation. (mscorlib)
 
As always, thanks balu92!

New error when I was messing with console commands:
Code:
NullReferenceException: Object reference not set to an instance of an object

Pluton.pluton.reload (.Arg arg)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
ConsoleSystem+Index+<>c__DisplayClass2a.b__25 (.Arg arg)
ConsoleSystem.RunCommandInternal (.Arg arg, Boolean bWantReply)
UnityEngine.Debug:LogException(Exception)
ConsoleSystem:RunCommandInternal(Arg, Boolean)
ConsoleSystem:Run(String, Boolean)
ServerConsole:OnInputText(String)
Windows.ConsoleInput:OnEnter()
Windows.ConsoleInput:Update()
ServerConsole:Update()

Code:
NullReferenceException: Object reference not set to an instance of an object
  at Pluton.pluton.reload (.Arg arg) [0x00000] in <filename unknown>:0

  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0

  at ConsoleSystem+Index+<>c__DisplayClass2a.<BuildFunctions>b__25 (.Arg arg) [0x00000] in <filename unknown>:0

  at ConsoleSystem.RunCommandInternal (.Arg arg, Boolean bWantReply) [0x00000] in <filename unknown>:0
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ConsoleSystem:RunCommandInternal(Arg, Boolean)
ConsoleSystem:Run(String, Boolean)
ServerConsole:OnInputText(String)
Windows.ConsoleInput:OnEnter()
Windows.ConsoleInput:Update()
ServerConsole:Update()
(Filename:  Line: -1)

Error: pluton.reload - Exception has been thrown by the target of an invocation. (mscorlib)


Hmm, trying a fresh server files and pluton.dll and patcher, not sure why my plugins wont load.


Update, that fixed the issue however..

umm balu92..

Code:
[10/6/2014 4:23:42 PM] [Debug] [PluginLoader] Loading plugin TPA.
[10/6/2014 4:23:43 PM] [Exception] [ PluginLoader->LoadPlugin | PluginLoader->LoadPlugins | PluginLoader->ReloadPlugins | PluginLoader->Init | Bootstrap->Init | Bootstrap->AttachBootstrap | Bootstrap->Start | ]
Microsoft.Scripting.SyntaxErrorException: unexpected token 'None'
  at Microsoft.Scripting.ErrorSink.Add (Microsoft.Scripting.SourceUnit source, System.String message, SourceSpan span, Int32 errorCode, Severity severity) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (Int32 start, Int32 end, System.String message, Int32 errorCode) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (IronPython.Compiler.Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (TokenWithSpan t, Int32 errorCode) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (TokenWithSpan t) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.Eat (TokenKind kind) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseComparison () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseNotTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseAndTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseOrTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseExpression () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmtTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmtTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassOrFuncBody () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFuncDef () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassOrFuncBody () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassDef () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFileWorker (Boolean makeModule, Boolean returnValue) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFile (Boolean makeModule, Boolean returnValue) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.ParseAndBindAst (Microsoft.Scripting.Runtime.CompilerContext context) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.CompilePythonCode (Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.CompileSourceCode (Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Compile (Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Execute (Microsoft.Scripting.Runtime.Scope scope, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Execute (Microsoft.Scripting.Runtime.Scope scope) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.Hosting.ScriptSource.Execute (Microsoft.Scripting.Hosting.ScriptScope scope) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptSource:Execute (Microsoft.Scripting.Hosting.ScriptScope)
  at Microsoft.Scripting.Hosting.ScriptEngine.Execute (System.String expression, Microsoft.Scripting.Hosting.ScriptScope scope) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptEngine:Execute (string,Microsoft.Scripting.Hosting.ScriptScope)
  at Pluton.Plugin..ctor (System.String name, System.String code, System.IO.DirectoryInfo path, PluginType type) [0x00000] in <filename unknown>:0
  at Pluton.PluginLoader.LoadPlugin (System.String name, PluginType type) [0x00000] in <filename unknown>:0

Going to try
Code:
if nametp not False:
 
Last edited:
Hello again,

So even with the example script, I'm confused on how to load the scripts in...

For example, I've taken the example script, copied the code into a new .py file and saved it in a new plugin folder named 'InDev'. I then go to the Rust console and type 'pluton.reload' which reloads, but the following error is thrown no matter what script I try to load:

Code:
[10/6/2014 1:50:50 AM] [Exception] [ PluginLoader->LoadPlugin | PluginLoader->LoadPlugins | PluginLoader->ReloadPlugins | pluton->reload | MonoMethod->InternalInvoke | MonoMethod->Invoke | MethodBase->Invoke | <>c__DisplayClass2a-><BuildFunctions>b__25 | ConsoleSystem->RunCommandInternal | ConsoleSystem->Run | ServerConsole->OnInputText | ConsoleInput->OnEnter | ConsoleInput->Update | ServerConsole->Update | ]
System.MissingMemberException: 'ScopeStorage' object has no attribute 'InDev'

Best Regards,
Noob
 
Hello again,

So even with the example script, I'm confused on how to load the scripts in...

For example, I've taken the example script, copied the code into a new .py file and saved it in a new plugin folder named 'InDev'. I then go to the Rust console and type 'pluton.reload' which reloads, but the following error is thrown no matter what script I try to load:

Code:
[10/6/2014 1:50:50 AM] [Exception] [ PluginLoader->LoadPlugin | PluginLoader->LoadPlugins | PluginLoader->ReloadPlugins | pluton->reload | MonoMethod->InternalInvoke | MonoMethod->Invoke | MethodBase->Invoke | <>c__DisplayClass2a-><BuildFunctions>b__25 | ConsoleSystem->RunCommandInternal | ConsoleSystem->Run | ServerConsole->OnInputText | ConsoleInput->OnEnter | ConsoleInput->Update | ServerConsole->Update | ]
System.MissingMemberException: 'ScopeStorage' object has no attribute 'InDev'

Best Regards,
Noob
Not 100% sure, but I followed it anyways, the folder name and the python name have to be the same.

pluton.reload is broken...had other issues with it, assume its not working, and restart your server instead to narrrow down the issue.
 
Last edited:
Not 100% sure, but I followed it anyways, the folder name and the python name have to be the same.

pluton.reload is broken...had other issues with it, assume its not working, and restart your server instead to narrrow down the issue.
I'v never had a problem with Pluton.reload.
 
Not 100% sure, but I followed it anyways, the folder name and the python name have to be the same.

pluton.reload is broken...had other issues with it, assume its not working, and restart your server instead to narrrow down the issue.

Unfortunately, I've tried restarting the server as well as pulling the latest from GIT and compiling. The folder name and script name are the same. (I've also tried using no folders, or folders with different names).

How about this. How do you go about debugging the pluton.dll? I thought I could attach Visual Studio to the process but I don't see pluton.dll as one of the DLLs in the module view. I'm more than willing to track this issue down myself, I've just never debugged a dll that's written for an executable that I don't own the source for.
 
Last edited:
Python:
__author__ = 'CorrosionX'
import clr
import sys
clr.AddReferenceByPartialName("UnityEngine")
clr.AddReferenceByPartialName("Pluton")
import UnityEngine
import Pluton

class Teleport:
    def On_Command(self, Player, cmd, args):
        if cmd == "tpa":
            if len(args) == 0:
                Player.Message('Please use /tpa playername')
                return
            else:
                name = args[0]
                nametp = Player.Find(name)
                if nametp not None or nametp not False:
                    try:
                        Player.Teleport(nametp.Location)
                        Player.Message("Teleported to" + nametp)
                    except:
                        Plugin.Log("Something broke with teleport", "Fix teleport")
                        return
                else:
                    Player.Message("Player Not Found!")
Well heres my version of this.
It has /tpa [name] and /tpaccept
*It works but im sure someone will find something wrong with it as i'v only tested this once*
Updating... Come back later
 
Last edited:
Hmm, trying a fresh server files and pluton.dll and patcher, not sure why my plugins wont load.


Update, that fixed the issue however..

umm balu92..

Code:
[10/6/2014 4:23:42 PM] [Debug] [PluginLoader] Loading plugin TPA.
[10/6/2014 4:23:43 PM] [Exception] [ PluginLoader->LoadPlugin | PluginLoader->LoadPlugins | PluginLoader->ReloadPlugins | PluginLoader->Init | Bootstrap->Init | Bootstrap->AttachBootstrap | Bootstrap->Start | ]
Microsoft.Scripting.SyntaxErrorException: unexpected token 'None'
  at Microsoft.Scripting.ErrorSink.Add (Microsoft.Scripting.SourceUnit source, System.String message, SourceSpan span, Int32 errorCode, Severity severity) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (Int32 start, Int32 end, System.String message, Int32 errorCode) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (IronPython.Compiler.Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (TokenWithSpan t, Int32 errorCode) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ReportSyntaxError (TokenWithSpan t) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.Eat (TokenKind kind) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseComparison () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseNotTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseAndTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseOrTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseExpression () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmtTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmtTest () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseIfStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassOrFuncBody () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFuncDef () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseSuite () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassOrFuncBody () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseClassDef () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseStmt () [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFileWorker (Boolean makeModule, Boolean returnValue) [0x00000] in <filename unknown>:0
  at IronPython.Compiler.Parser.ParseFile (Boolean makeModule, Boolean returnValue) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.ParseAndBindAst (Microsoft.Scripting.Runtime.CompilerContext context) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.CompilePythonCode (Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at IronPython.Runtime.PythonContext.CompileSourceCode (Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Compile (Microsoft.Scripting.CompilerOptions options, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Execute (Microsoft.Scripting.Runtime.Scope scope, Microsoft.Scripting.ErrorSink errorSink) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.SourceUnit.Execute (Microsoft.Scripting.Runtime.Scope scope) [0x00000] in <filename unknown>:0
  at Microsoft.Scripting.Hosting.ScriptSource.Execute (Microsoft.Scripting.Hosting.ScriptScope scope) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptSource:Execute (Microsoft.Scripting.Hosting.ScriptScope)
  at Microsoft.Scripting.Hosting.ScriptEngine.Execute (System.String expression, Microsoft.Scripting.Hosting.ScriptScope scope) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptEngine:Execute (string,Microsoft.Scripting.Hosting.ScriptScope)
  at Pluton.Plugin..ctor (System.String name, System.String code, System.IO.DirectoryInfo path, PluginType type) [0x00000] in <filename unknown>:0
  at Pluton.PluginLoader.LoadPlugin (System.String name, PluginType type) [0x00000] in <filename unknown>:0

Going to try
Code:
if nametp not False:
Unexpected token: None
you have a 'None' where it expect something else
 
We have confirmed support from Streamlines. They were really generous and we will be having test servers up soon, where all the Pluton devs can keep testing things, and people can also join.

Sent from my Samsung Galaxy S4
 
Unexpected token: None
you have a 'None' where it expect something else
Its because he had this:
Python:
if nametp not None or nametp not False:
it should be:
Python:
if nametp is not None or nametp is not False:
or (DreTaX said not to use this one)
Python:
if nametp != None or nametp != False:
 
Last edited:
Status
Not open for further replies.