Posts: 44
Threads: 2
Joined: Feb 2012
Reputation:
0
02-12-2012, 16:02
(This post was last modified: 02-12-2012, 16:07 by Predje.)
I've installed the Promod and the RCON Ingame plugins and figured out almost everything except for one thing which i can't seem to find,
if i use the !help command it gives the help from the rcon plugin but i want it to show the help from the promod,
is it possible to do this if so how?
One more small thing i stumbled uppon, if you warn someone using the rcon ingame tool the players name is in red, warned for is in yellow, reason is in red and the rest is in white, anyway to change these colors?
Thnx in advance
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
02-12-2012, 16:15
(This post was last modified: 02-12-2012, 16:15 by iAegle.)
(02-12-2012, 16:02)Predje Wrote: I've installed the Promod and the RCON Ingame plugins and figured out almost everything except for one thing which i can't seem to find,
if i use the !help command it gives the help from the rcon plugin but i want it to show the help from the promod,
is it possible to do this if so how?
One more small thing i stumbled uppon, if you warn someone using the rcon ingame tool the players name is in red, warned for is in yellow, reason is in red and the rest is in white, anyway to change these colors?
Thnx in advance
Rename the promodplugin to aaaPromod(.dll if extensions are enabled)
and you can't change the colors I think, unless you change the plugin itsself
Posts: 44
Threads: 2
Joined: Feb 2012
Reputation:
0
So it takes the commands from the one thats alphabetically on top?
And its to bad you can't change those colors as you could change it for almost everything else
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
(02-12-2012, 16:27)Predje Wrote: So it takes the commands from the one thats alphabetically on top?
And its to bad you can't change those colors as you could change it for almost everything else
Well the plugin uses a function called "OnSay" it passes this tru every plugin in alphabetical order and the plugin can decide if the message is passed tru to the next plugin or not, the rcon plugin just tells the program that no other plugin may use this message. I hope this is understandable :p
Posts: 44
Threads: 2
Joined: Feb 2012
Reputation:
0
02-12-2012, 16:51
(This post was last modified: 02-12-2012, 17:02 by Predje.)
(02-12-2012, 16:41)iAegle Wrote: (02-12-2012, 16:27)Predje Wrote: So it takes the commands from the one thats alphabetically on top?
And its to bad you can't change those colors as you could change it for almost everything else
Well the plugin uses a function called "OnSay" it passes this tru every plugin in alphabetical order and the plugin can decide if the message is passed tru to the next plugin or not, the rcon plugin just tells the program that no other plugin may use this message. I hope this is understandable :p
So to be 100% correct,
if there are multiple plugins with the same commands, the commands of the plugin that comes first (in alphabetical order) after the permission plugin will get priority?
Small note, i opened the dll with a simple texteditor and changed the colorcodes but now for some reason not one plugin works,
if i remove the edited dll and upload the original one everything works again
Could it be that i removed a space or something that caused this or is it not possible at all to change anything?
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
(02-12-2012, 16:51)Predje Wrote: (02-12-2012, 16:41)iAegle Wrote: (02-12-2012, 16:27)Predje Wrote: So it takes the commands from the one thats alphabetically on top?
And its to bad you can't change those colors as you could change it for almost everything else
Well the plugin uses a function called "OnSay" it passes this tru every plugin in alphabetical order and the plugin can decide if the message is passed tru to the next plugin or not, the rcon plugin just tells the program that no other plugin may use this message. I hope this is understandable :p
So to be 100% correct,
if there are multiple plugins with the same commands, the commands of the plugin that comes first (in alphabetical order) after the permission plugin will get priority?
Small note, i opened the dll with a simple texteditor and changed the colorcodes but now for some reason not one plugin works,
if i remove the edited dll and upload the original one everything works again
Could it be that i removed a space or something that caused this or is it not possible at all to change anything?
The plugin is a .dll file (library) you cannot just open it and edit it, you need to recompile the modified source code in order to get the new color codes.
and about the priority, yes this is how it works.
Posts: 44
Threads: 2
Joined: Feb 2012
Reputation:
0
(02-12-2012, 17:04)iAegle Wrote: The plugin is a .dll file (library) you cannot just open it and edit it, you need to recompile the modified source code in order to get the new color codes.
and about the priority, yes this is how it works.
Ah to bad as i have no idea how to recompile it, is it simple to do? as in can i google it and learn how to do it?
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
(02-12-2012, 17:06)Predje Wrote: (02-12-2012, 17:04)iAegle Wrote: The plugin is a .dll file (library) you cannot just open it and edit it, you need to recompile the modified source code in order to get the new color codes.
and about the priority, yes this is how it works.
Ah to bad as i have no idea how to recompile it, is it simple to do? as in can i google it and learn how to do it?
Well you need a C# compiler (google), you need to have the source of the plugin(ask @ bonemind) and you need to know what to edit.
Posts: 5,135
Threads: 241
Joined: Nov 2010
Reputation:
100
I didn't read everything, but if you change a plugin to aaaBlabla.dll make sure permission plugin is aaaaPermissionPlugin.dll or the permission plugin won't work anymore.
Also my permission plugin also has a help command which displays all commands available for the usergroup the player is in..
Posts: 44
Threads: 2
Joined: Feb 2012
Reputation:
0
02-12-2012, 18:35
(This post was last modified: 02-12-2012, 19:29 by Predje.)
(02-12-2012, 18:26)Pozzuh Wrote: I didn't read everything, but if you change a plugin to aaaBlabla.dll make sure permission plugin is aaaaPermissionPlugin.dll or the permission plugin won't work anymore.
Also my permission plugin also has a help command which displays all commands available for the usergroup the player is in..
I currently have aaaPermisionplugin,aaMW3_Promod and ServerAdmin, when i type !help i still get it from the serveradmin :/ or i'm mistaken and this is the one from the premisionplugin?
And if i do it like you say pozzuh that means i have to add all the promod commands to that usergroup?
Just stumbled on something else, no one in the server can use any promod commands, even after i've added them manually to the the usergroups permissions
|