Resource icon

Approved DeathMSG 1.3a

No permission to download
I'm sending yesterday's record night until today full
can you help me with these errors?
 

Attachments

can confirm me on record that sent you wipe the system is giving error too?
 
every time I enter the server of this error attached, you tell me what it is?
 

Attachments

  • Fixed.jpg
    Fixed.jpg
    117.1 KB · Views: 4
every time I enter the server of this error attached, you tell me what it is?
You might want to remove that picture, Anyone can connect using that IP address and login with the RCON password displayed in the picture.

EDIT: Blanked out the Rcon p/w for you.
 
You might want to remove that picture, Anyone can connect using that IP address and login with the RCON password displayed in the picture.

EDIT: Blanked out the Rcon p/w for you.
our excuse, did not realize it
 
Isn't it wrong?

Code:
def On_PluginInit(self):
        config = self.DeathMSGConfig()
        v = int(config.GetSetting("Settings", "usebannedpeoplebanlist"))
        if Plugin.GetPlugin("BannedPeople") is not None and v == 1:
            methodname = "BannedPeopleIni"
            pl = Plugin.GetPlugin("BannedPeople")
            ClassName = BannedPeople.BannedPeople()
            setattr(BannedPeople, "Plugin", pl)
            self.method = getattr(ClassName, methodname)
            self.bannedpeople = True
        Util.ConsoleLog("DeathMSG by" + __author__ + " Version: " + __version__ + " loaded.", False)

You assuming in line 31 (4 in this code) that I have BannedPeople directory. Well I don't have, what gives error and plugin wont work. It should check if plugin is available, and if not, set some variable to 0. And only if variable is 1 try to get plugin. Is it possible to make this fix?
 
Isn't it wrong?

Code:
def On_PluginInit(self):
        config = self.DeathMSGConfig()
        v = int(config.GetSetting("Settings", "usebannedpeoplebanlist"))
        if Plugin.GetPlugin("BannedPeople") is not None and v == 1:
            methodname = "BannedPeopleIni"
            pl = Plugin.GetPlugin("BannedPeople")
            ClassName = BannedPeople.BannedPeople()
            setattr(BannedPeople, "Plugin", pl)
            self.method = getattr(ClassName, methodname)
            self.bannedpeople = True
        Util.ConsoleLog("DeathMSG by" + __author__ + " Version: " + __version__ + " loaded.", False)

You assuming in line 31 (4 in this code) that I have BannedPeople directory. Well I don't have, what gives error and plugin wont work. It should check if plugin is available, and if not, set some variable to 0. And only if variable is 1 try to get plugin. Is it possible to make this fix?
That's what the code does. Shouldn't give any error at all.
 
But yes it does :D:
Code:
Traceback (most recent call last):
File "<string>", line 31 in On_PluginInit
KeyError: The given key was not present in the dictionary.

Whatever this error means, you just need to delete "Plugin.GetPlugin("BannedPeople") is not None" from IF in line 31 and it works fine.

I feel like it's checking if plugin exists here:

Code:
try:
    path = Util.GetRootFolder() + "\\Save\\PyPlugins\\BannedPeople"
    sys.path.append(path)
    import BannedPeople
except:
    pass

But in line 31 you just still assuming that plugin was found.
asd.....................
 
But yes it does :D:
Code:
Traceback (most recent call last):
File "<string>", line 31 in On_PluginInit
KeyError: The given key was not present in the dictionary.

Whatever this error means, you just need to delete "Plugin.GetPlugin("BannedPeople") is not None" from IF in line 31 and it works fine.

I feel like it's checking if plugin exists here:

Code:
try:
    path = Util.GetRootFolder() + "\\Save\\PyPlugins\\BannedPeople"
    sys.path.append(path)
    import BannedPeople
except:
    pass

But in line 31 you just still assuming that plugin was found (I mean code assuming it, not you)
Deleting that line is not really an option.

As I forgot GetPlugin doesn't return null, It throws lovely exception If the name is not in the collected list.
 
Sorry, plugin is working, but it would be better to not have error.

Now it has not with your fix! You are genius! :)
 
  • Funny
Reactions: DreTaX
Good evening Staff
I am having great difficulty, an error that is complicating my life.
Functioning server perfectly until of nowhere begins climb a lot of red letters and of a warning on the screen and then closes.
I am sending the files it is crianto every time does it
 

Attachments