DonatorRank

Approved DonatorRank 1.7.1

No permission to download

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
What version of DeathMSG's are you using?
I see a bit of this: (Something to do with SpikeWalls)
Code:
[2/2/2015 4:49:28 AM] [Debug] [IronPython] An error occurred in: DeathMSG plugin while calling method: On_PlayerKilled
[2/2/2015 4:49:28 AM] [Exception] [ IPPlugin->Invoke | IPPlugin->OnPlayerKilled | Hooks->PlayerKilled | HumanController->OnKilled | Component->SendMessage | TakeDamage->Hurt | HumanBodyTakeDamage->Hurt | TakeDamage->HurtShared | TakeDamage->HurtShared | TakeDamage->Hurt | SpikeWall->DamageDeal | ]
System.TypeInitializationException: An exception was thrown by the type initializer for CodecsInfo ---> System.NotSupportedException: CodePage 37 not supported
  at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename unknown>:0
  at System.Text.EncodingInfo.GetEncoding () [0x00000] in <filename unknown>:0
  at System.Text.EncodingInfo.get_Name () [0x00000] in <filename unknown>:0
  at IronPython.Runtime.Operations.StringOps+CodecsInfo.MakeCodecsDict () [0x00000] in <filename unknown>:0
  at IronPython.Runtime.Operations.StringOps+CodecsInfo..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
at IronPython.Runtime.Operations.StringOps.RawDecode (IronPython.Runtime.CodeContext,string,object,string) <0x001de>
at IronPython.Runtime.Operations.StringOps.decode (IronPython.Runtime.CodeContext,string,object,string) <0x00016>
at IronPython.Runtime.Operations.StringOps.__new__ (IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,object,string,string) <0x00084>
at IronPython.Runtime.Operations.StringOps.CheckAsciiString (IronPython.Runtime.CodeContext,string) <0x0004a>
at IronPython.Runtime.Operations.StringOps.__new__ (IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,string) <0x00020>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x000e4>
at Microsoft.Scripting.Interpreter.DynamicInstruction`4<IronPython.Runtime.CodeContext, object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00107>
at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x0007a>
Also are you up to date date with BuildingRestrictor? (Error is NoneType has no attributes called Admin). Even tho its if Player.Admin:
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
What version of DeathMSG's are you using?
I see a bit of this: (Something to do with SpikeWalls)
Code:
[2/2/2015 4:49:28 AM] [Debug] [IronPython] An error occurred in: DeathMSG plugin while calling method: On_PlayerKilled
[2/2/2015 4:49:28 AM] [Exception] [ IPPlugin->Invoke | IPPlugin->OnPlayerKilled | Hooks->PlayerKilled | HumanController->OnKilled | Component->SendMessage | TakeDamage->Hurt | HumanBodyTakeDamage->Hurt | TakeDamage->HurtShared | TakeDamage->HurtShared | TakeDamage->Hurt | SpikeWall->DamageDeal | ]
System.TypeInitializationException: An exception was thrown by the type initializer for CodecsInfo ---> System.NotSupportedException: CodePage 37 not supported
  at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename unknown>:0
  at System.Text.EncodingInfo.GetEncoding () [0x00000] in <filename unknown>:0
  at System.Text.EncodingInfo.get_Name () [0x00000] in <filename unknown>:0
  at IronPython.Runtime.Operations.StringOps+CodecsInfo.MakeCodecsDict () [0x00000] in <filename unknown>:0
  at IronPython.Runtime.Operations.StringOps+CodecsInfo..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
at IronPython.Runtime.Operations.StringOps.RawDecode (IronPython.Runtime.CodeContext,string,object,string) <0x001de>
at IronPython.Runtime.Operations.StringOps.decode (IronPython.Runtime.CodeContext,string,object,string) <0x00016>
at IronPython.Runtime.Operations.StringOps.__new__ (IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,object,string,string) <0x00084>
at IronPython.Runtime.Operations.StringOps.CheckAsciiString (IronPython.Runtime.CodeContext,string) <0x0004a>
at IronPython.Runtime.Operations.StringOps.__new__ (IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,string) <0x00020>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x000e4>
at Microsoft.Scripting.Interpreter.DynamicInstruction`4<IronPython.Runtime.CodeContext, object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00107>
at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x0007a>
Also are you up to date date with BuildingRestrictor? (Error is NoneType has no attributes called Admin). Even tho its if Player.Admin:
Mono cannot read non ascii characters which causes It to error. With IllegalName or ANA, this can be avoided.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
its ashame IsAscii(Char c) is private
Python:
# coding=utf-8
import re
string = "assfefeewwuwuhwu523r"
string2 = "erhtrterééü62525wüögweöwegwere"
name = re.match('^[\x00-\x7F]+$', string)
name2 = re.match('^[\x00-\x7F]+$', string2)
if not name:
    print "Contains non ascii" # Will not print.
if not name2:
    print "Contains non ascii2"
 
  • Informative
Reactions: Jakkee

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Maybe the Error in HomeSystem is this: https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L588
(Maybe)
Try:
s = "string"
s = int(s)
Instead of:
s = int("String")
@DreTaX

For On_PlayerConnected there is the same error but a lot of int(string). Not 100% sure if int("String", number) is the cause but in my experience it has.

ERROR FOR BOTH: Multiple targets could match: int(type, IList[Byte]), int(type, object), int(type, Extensible[float])
Nah.

He upgraded from the old HomeSystem, he probably didn't update his config.

@lee ashton could you update your homesystem config please? There are missing options in the ini.
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
i cant get vtp and dtp to work it just says /vtp [Number] even when i do /vtp Hackervalley
Do /vtp to list the locations as server admins can now change the default ones.
By default I think hackervalley is number 6 and is only for donators
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
I Installed, Worked 1 Time tryd to give someone admin via (admin plus) and didnt Worked anymore; C maybe help?
You can not give admin with AdminPlus.
You can give admin through Rust++ by logging into rcon and typing /setmasteradmin once you have typed that, you have set yourself as master admin amd you can now do /addadmin [Name]
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
50
i still cant get vtp or dtp to work if i do /vtp on its own it just say /vtp [Number] and if i do say /vtp 6 it still says /vtp [Number]