PDA

View Full Version : DoD EvilAdmin ( v0.5beta )


Firestorm
07-09-2006, 10:46 AM
// DESCRIPTION:
// ============
//
// This plugin is dedicated to ez™ from the DoD Editing Center
// for showing me the dark side of server administration a
// long long time ago (in a galaxy far far away ;)
//
// If people piss you off, just show them who's the king on
// the server with one of the little mean features!

// USAGE (admin commands):
// =======================
//
//
// amx_evilslay <player> = Slay target with explosion (*)
//
// amx_evilpimpslap <player> = PimpSlap target to death (*)
//
// amx_evilkick <player> = Boot player off DoD (*)
//
// amx_evilstfu <player> = Disables VoiceComm/Chat for the target (**)
//
// amx_evilslowdown <player> = Depleat targets stamina (**)
//
// amx_evilmirrordmg <player> = Enable MirrorDamage for Target (**)
//
// amx_evilmelee <player> = Only allow melee weapons for target (**)
//
// amx_evilglow <player> = Target glows in his team color (**)
//
// amx_evilbury <player> = Bury target into the ground (*)
//
// amx_evillowhealth <player> = Target has only 1hp (**)
//
// amx_evilvision <player> = Change targets view (**)
//
// amx_evilnoprone <player> = Disallow proning for target (**)
//
// NOTES:
// (*) = one time action
// (**) = continuous action until disabled again
// - using the corresponding command on the
// specified target again will disable the punishment

// CHANGELOG:
// ==========
//
// - 05.08.2005 Version 0.4beta
// Initial Release
//
// - 09.08.2005 Version 0.5beta
// added features:
// - EvilVision: change target's view
// - EvilNoProne: disallow player to go prone

Slade
07-20-2006, 02:53 PM
il l'aire bien interessant ce plugin

Smiffy
07-23-2006, 10:28 AM
is there a menu wiv this 1 because it dont seem to go in the client commaneds menu or have 1 of its own.

if there isnt is it possible to put a menu in it for easy access??

diamond-optic
07-23-2006, 03:39 PM
you should be able to add them to the clcmds.ini

Molz
08-10-2006, 06:11 PM
Thanks for the plugin, looks great but where is the file amxx please ?? :rolleyes:

Hell Phoenix
08-10-2006, 06:33 PM
You need to complile the sma to get the amxx file. You can either use the web compiler on the amxx forums or look in the tutorial forums on this site to see how to do it on your computer.

Molz
08-10-2006, 07:17 PM
Ok sorry I've just learnt how to compile a file sma to amxx :p

Thanks ;)

bxwarrior
08-12-2006, 03:16 PM
I have no idea how to convert can you help me PLEASE. what can I use to convert it?

Hell Phoenix
08-12-2006, 11:39 PM
By convert to you mean compile?

http://www.dodplugins.net/forums/showthread.php?t=50

TigerMan4
08-22-2006, 10:27 PM
http://www.amxmodx.org/webcompiler.cgi click this link...click the browse button and select the .sma file you downloaded from this forum and click compile buttom.

then click the link they give you and download the compiled plugin.

done deal...works for me everytime on plugins from this site.

Anarchy Bizz
08-23-2006, 01:10 PM
I downloaded it now where do I put it?


Regards

Bizz

Garion
08-23-2006, 07:58 PM
what did you download? If it was the sma you need to compile it. If it's the .amxx then you put that in your plugins folder and then place the name of the plugin(which I believe is dod_eviladmin.amxx) into your plugins.ini file. Then if there's any cvars they go in your amxx.cfg file.

p34chc0bbler
09-03-2006, 03:27 PM
can someone help me with the sma. files i only know how to do the amxx. files
thanks hellllllllllllllllp would be apreciated :confused:

=|[76AD]|= TatsuSaisei
09-03-2006, 04:08 PM
can someone help me with the sma. files i only know how to do the amxx. files
thanks hellllllllllllllllp would be apreciated :confused:
your answer was only 3 & 4 posts up !!

http://www.dodplugins.net/forums/showthread.php?t=50

http://www.amxmodx.org/webcompiler.cgi click this link...click the browse button and select the .sma file you downloaded from this forum and click compile buttom.

then click the link they give you and download the compiled plugin.

done deal...works for me everytime on plugins from this site.

http://www.dodplugins.net/forums/showthread.php?t=204

Zor
09-04-2006, 01:22 PM
Or you could use ours!

http://www.dodplugins.net/forums/showthread.php?t=222

Cheers!

jay_48383
09-26-2006, 01:13 PM
ok i did the compiling and added it to the plugins file but is till pops up as a bad load

PenDragon
09-26-2006, 03:00 PM
Please see: http://www.dodplugins.net/forums/showpost.php?p=1401&postcount=3

jay_48383
09-26-2006, 04:22 PM
amxx 1.71


unknown unknown unknown dod_eviladmin.a bad load
unknown unknown unknown dod_sniperfun.a bad load
unknown unknown unknown dod_ubergarand. bad load
25 plugins, 22 running
that is what i get when i type amx_plugins no errors


Fun 1.71 AMX Mod X Dev Team
DoD Fun 1.71 AMX Mod X Dev Team
DoDX 1.71 AMX Mod X Dev Team
3 modules


dod_eviladmin.amxx
dod_sniperfun.amxx
dod_closecombatfun.amxx

{SR} *Raggy*
09-26-2006, 06:59 PM
I might be wrong here but you have to activate the modules to get them working. I might be wrong here I can't remember :P

jay_48383
09-26-2006, 08:08 PM
what one would i need to acivate?

diamond-optic
09-26-2006, 08:32 PM
for those 3 plugins you'll need:


amxmodx
amxmisc
engine
fakemeta
fun
dodfun
dodx

jay_48383
09-27-2006, 12:05 AM
where am i able to get the ones that i dont have??

diamond-optic
09-27-2006, 12:45 AM
you should have them all already

just go in your modules.ini file and remove the ";" from infront of those modules and save the file and upload it to your server & restart/change map

jay_48383
09-27-2006, 04:29 AM
thanks guys im sry if i look like i am stupid but i never had much exp runnin a server :)

{SR} *Raggy*
09-27-2006, 01:04 PM
People ask to learn these things :P I asked alot of questions aswell when I started :P

cartman
09-30-2006, 03:39 PM
Can anyone add an "obeyimmunity" cvar to this... so you can decide to allow/disallow immunity for admins to this plugin in spite of the settings in users.ini?

Smiffy
10-07-2006, 11:53 AM
what are the cvars that i enter in the cmd.ini or whatever it is to add these to my menu?

i keep forgetting sorry!

{D.R.}-Jester
10-18-2006, 04:45 AM
how can I get this plugin to not show the admins name when executing the command? e.g when executing evil stfu it tells waht admin did it, I would like to say just evil admin or the servers name.

any help would be good

=|[76AD]|= TatsuSaisei
10-18-2006, 10:43 AM
how can I get this plugin to not show the admins name when executing the command? e.g when executing evil stfu it tells waht admin did it, I would like to say just evil admin or the servers name.

any help would be good

Edit the sma and change the text that is displayed when an action is used.

Or simply edit the amxx.cfg file...

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 1

Zaclegend
01-05-2007, 05:34 PM
How come it dont show up on my server i added this too plugins and also fixed my plugins.ini in amxx folder

|OnEHiTwOnDeR|SoCal
03-26-2007, 02:20 AM
hey guys ive ran this plugin for quite sometime but the whole * and ** for until disabled hasnt worked for me a single time. Am i the only one?

=|[76AD]|= TatsuSaisei
03-26-2007, 10:09 AM
hey guys ive ran this plugin for quite sometime but the whole * and ** for until disabled hasnt worked for me a single time. Am i the only one?

lmao, * and ** are not commands to use or enter in to make a command once, or until disabled... they are used to indicate the duration of the listed commands once used...

|OnEHiTwOnDeR|SoCal
03-26-2007, 11:34 AM
ok ok i give u that lol but BUT honestly once a player disconnects those wit the ** (meaning lasts until disabled) are back to normal. Just doesnt last. Maybe im doin someshit wayyy wrong lol but it dont work

=|[76AD]|= TatsuSaisei
03-26-2007, 05:44 PM
BUT honestly once a player disconnects those wit the ** (meaning lasts until disabled) are back to normal. Just doesnt last. Maybe im doin someshit wayyy wrong lol but it dont work

Well, do you mean you wish for it to "save" the info in a file somewhere, which is then read when players join back up, so that it auto sets the effect back on them ?

What I am thinking you are asking for is that...

otherwise, the behavior of it not persisting once a player disconnects is intentional... as it should be... if the effects were not removed then players would accuse the server operators of slow-hacking...

While I am firm believer in doing what you want on any server you rent/own and operate ... I do not care for "effects" which would follow a player after they disconnected... Once the player leaves the server you no longer have any rights to "control" their settings... if the person is so much of an asshat that you feel they should always have that effect on them then you are in need a of completely different plugin that is designed specifically for that purpose...

Otherwise you are doing nothing wrong except making an improper assumption about how the plugin should work...

for the sake of this plugin, my ASSUMPTION is thus ... execute once means it will last until a player dies... execute and remain in effect until disabled means until the player LEAVES the server or is released from the clutches of the plugin...

Think...
* Once = until death
** until disabled = until player QUITS, or admin disables effect (meaning effects last after a death/respawn)

diamond-optic
03-26-2007, 06:09 PM
well theres no way to 'predict' when a player is gonna disconnect.. so you cant really run any commands 'on them' when they do so..

so any changes made to the players actual local settings.. will most likely stick



im not sure exactly how or what the plugin does lol.. but disabling things when a player quits would very likely prevent another player joining and the effects being on them from the beginning

=|[76AD]|= TatsuSaisei
03-26-2007, 06:31 PM
well theres no way to 'predict' when a player is gonna disconnect.. so you cant really run any commands 'on them' when they do so..

so any changes made to the players actual local settings.. will most likely stick

im not sure exactly how or what the plugin does lol.. but disabling things when a player quits would very likely prevent another player joining and the effects being on them from the beginning

I agree and disagree, but we had this discussion the other night.. client_disconnect by design will catch 90% of the players who quit or change to another server, so it is still a viable function for "disabling" an option set on an id, but I do know that there are times, when a player will "timeout" on a server and in effect bypass a client_disconnect ... and this is where carryover issues can arise, meaning the "id" used by one player is recycled amongst any new joiners... and should a player join right after another player timed out, they can adopt that players id and in effect be regarded as that other person as far as the plugin is concerned.

I dont quite understand the inablity to join part, but I can envision players entering the server and adopting "effects" that were meant for someone else... I experienced this in early versions of my damage mod where people would join the server and adopt the "broken legs" of a player who mysteriously disappeared from the server...

diamond-optic
03-26-2007, 06:47 PM
i dont know why i worded it that way lol.. i think i was going to say something else with the 'prevent' part but then changed the ending lol

|OnEHiTwOnDeR|SoCal
03-26-2007, 08:53 PM
TAtsu lol no thats not what i want at all. I want it to work like a voiceban plugin or a amx_blind command. Where when they disconnect the effect still is on them when they connect back up to MY server. Maybe u misunderstood me. But i just want the effect to last on my server for that client until i disable it and none of the current effects in this plugin do that.

diamond-optic
03-27-2007, 12:00 AM
ahh ic...


you'd probably have to have it save the players steam id to a file & check the file apon join to determine if it should be active on them..

vault would work too..

=|[76AD]|= TatsuSaisei
03-27-2007, 01:17 AM
TAtsu lol no thats not what i want at all. I want it to work like a voiceban plugin or a amx_blind command. Where when they disconnect the effect still is on them when they connect back up to MY server. Maybe u misunderstood me. But i just want the effect to last on my server for that client until i disable it and none of the current effects in this plugin do that.

you never worded it as a request for the feature but rather as a question as to why it was not working the way you "anticipated" it would... as stated in aim, it is simply not the "intent" of this plugin to do specifically what you want, and I told you the same thing diamond had said, using the vault or a custom file that stores ids is a means to what you want, and therefore has to be requested as a feature update...

sped4lif
03-30-2007, 03:09 AM
ok i have the amxx file i have uploaded it to the plugins folder and added the name to ini folder what else do i need to do to make it work

Kiel |17.SS|
03-30-2007, 03:37 AM
Restart the server, and it should work fine.

blobby
04-11-2007, 11:33 AM
Added this to my server no problems at all. !!good work!!

Regards

Blobby

jondoe
04-15-2007, 07:03 AM
is there a menu wiv this 1 because it dont seem to go in the client commaneds menu or have 1 of its own.

if there isnt is it possible to put a menu in it for easy access??

Just as an FYI.

you can add this to the clcmds.ini to have them showup in the amxmodmenu.
you may want to change the flags to suit your admin levels.

"evil_stfu" "amx_evilstfu #&#37;userid%" "bd" "su"
"evil_noprone" "amx_evilnoprone #%userid%" "b" "su"
"evil_glow" "amx_evilglow #%userid%" "b" "su"
"evil_pimpslap" "amx_evilpimpslap #%userid%" "b" "su"
"evil_mirrordmg" "amx_evilmirrordmg #%userid%" "b" "su"
"evil_bury" "amx_evilbury #%userid%" "b" "su"
"evil_vision" "amx_evilvision #%userid%" "b" "su"
"evil_slay" "amx_evilslay #%userid%" "b" "su"

Private
04-18-2007, 07:08 AM
ok i added the cammands to the clcmds ini and nothing changes on my amxmodmenu.
i have all the flags in the ini folder so i dont know whats iam soppsed to do.
any more info on that jhondoe?,like iam i sopposed to do something else,
how do i make it that amxmodmenu can see those cammands from eviladmin?.witch would make it much eaiser

Hood [10th MD]
04-20-2007, 03:53 PM
when you add those commands to clcmds.ini, if you do it correctly, and then restart your server/change the map, when you got amxmodmenu option
8. Client Commands
will then display a menu, where the first 7 are player names, and if you hit 8. it will cycle thru the options, etc.

blobby
04-24-2007, 08:43 AM
Can anyone tell me if there is away other than putting it in client commands so i could put it in its own menu or file on the amxmodmenu as we dont give our admins all of the commands you can have with amx but i would like them to have this any help will be great

Regards

Blobby

Hood [10th MD]
04-24-2007, 08:53 PM
Uh... You can, in clcmds, define what kind of access a user needs to see / use a command, it's explained at the top of clcmds.ini, so just pick a flag for the standard things you give to admins, and another one for the super-admins to get all of it, etc.

Or, you could make your own menu, I have no idea how, but it is entirely possible.

I would do the first thing - if you don't understand, I can post an example later on.

blobby
04-24-2007, 11:20 PM
ok thanks m8 ill try to understand this tomorrow as its like 02:20am here and my head is bobbing but if i don't get it i will be so great full for a link

Regards

Blobby

{SR} *Raggy*
05-20-2007, 01:40 PM
I put debug after this plugin and all the plugins that I have just in case something from those plugins are crashing my server... So I got this error off this plugin...

L 05/20/2007 - 11:22:25: Start of error session.
L 05/20/2007 - 11:22:25: Info (map "mcdonalds") (logfile "error_052007.log")
L 05/20/2007 - 11:22:25: [ENGINE] Invalid player 8
L 05/20/2007 - 11:22:25: [AMXX] Displaying debug trace (plugin "dod_eviladmin.amxx")
L 05/20/2007 - 11:22:25: [AMXX] Run time error 10: native error (native "get_speak")
L 05/20/2007 - 11:22:25: [AMXX] [0] phpurPZCY.sma::evil_stfu (line 278)

This wouldn't cause any problems, would it?

diamond-optic
05-20-2007, 07:06 PM
shouldnt really cause any problems..

most likely caused by the task that calls that function already being set and the player disconnected before the task timer was up... and since the plugin doesnt check if the target player is connected or remove the tasks.. it would throw an error when they are not..

{SR} *Raggy*
05-20-2007, 08:19 PM
Cool thanks just wanted to make sure :)

Scrappy
06-09-2007, 07:17 PM
I'm abit lost with this EvilAdmin thing, I want to give one of my low admins EvilAdmin and just EvilAdmin but I can't seem to get it to work, does anybody know where and what flags I have to give him...

Thanks for your time

{SR} *Raggy*
06-09-2007, 07:31 PM
Well you could do it with the clcmds.ini... Put the commands in that and set it to the admin level that this person has :P

diamond-optic
06-10-2007, 08:09 PM
I'm abit lost with this EvilAdmin thing, I want to give one of my low admins EvilAdmin and just EvilAdmin but I can't seem to get it to work, does anybody know where and what flags I have to give him...

Thanks for your time

if you open the .sma file in notepad or any text editor.. on line 102 you'll see the init function.. starts with: public plugin_init()

in that function/section.. all of the lines that start with "register_concmd" are the actual commands.. on each of those lines you'll see "ADMIN_BAN" which means the default level for all the commands is ban ('d' flag)
to change the level the plugin uses.. just change the ADMIN_BAN parts to a different level..

the levels are:
ADMIN_ALL /* everyone */
ADMIN_IMMUNITY /* flag "a" */
ADMIN_RESERVATION /* flag "b" */
ADMIN_KICK /* flag "c" */
ADMIN_BAN /* flag "d" */
ADMIN_SLAY /* flag "e" */
ADMIN_MAP /* flag "f" */
ADMIN_CVAR /* flag "g" */
ADMIN_CFG /* flag "h" */
ADMIN_CHAT /* flag "i" */
ADMIN_VOTE /* flag "j" */
ADMIN_PASSWORD /* flag "k" */
ADMIN_RCON /* flag "l" */
ADMIN_LEVEL_A /* flag "m" */
ADMIN_LEVEL_B /* flag "n" */
ADMIN_LEVEL_C /* flag "o" */
ADMIN_LEVEL_D /* flag "p" */
ADMIN_LEVEL_E /* flag "q" */
ADMIN_LEVEL_F /* flag "r" */
ADMIN_LEVEL_G /* flag "s" */
ADMIN_LEVEL_H /* flag "t" */
ADMIN_MENU /* flag "u" */
ADMIN_ADMIN /* flag "y" */
ADMIN_USER /* flag "z" */

hope that helps you a bit..

Marshal420th
06-11-2007, 03:32 AM
Can anyone tell me how to make a menu for this for on AMXmodmenu. i do nto want it int eh client cmds menu i want its own menu.
can anyone do this or tell me how.

{SR} *Raggy*
06-11-2007, 05:14 AM
Yeah how do ya do that :P I've tried many time's but no success... It stay's dark the whole time...

|OnEHiTwOnDeR|SoCal
06-11-2007, 06:51 AM
didnt get KWo was saying???

http://forums.alliedmods.net/showthread.php?t=28814&highlight=amxmodmenu

just search amxx forums man i guarantee u will find it

Marshal420th
06-15-2007, 12:09 AM
still makes no since
as the plugin does not seem to have a menu built in i do not understand what that guy is talking about

could someone that is good in coding please look into it

=|[76AD]|= TatsuSaisei
06-15-2007, 01:05 AM
There is NO menu for this plugin .. none that I saw when I opened the code.. so attempting to add it to the amxmodmenu menu system is futile ...

If you want a menu in this plugin then you have to request it ... otherwise there is none ...

WARDOG
06-18-2007, 04:46 PM
Add this to your clcmds.ini to incorporate it into your amxmodmenu.

"EvilSlay" "amx_evilslay #%userid%" "bd" "d"
"EvilPimpSlap" "amx_evilpimpslap #%userid%" "bd" "d"
"EvilKick" "amx_evilkick #%userid%" "bd" "d"
"EvilSTFU" "amx_evilstfu #%userid%" "bd" "d"
"EvilSlowdown" "amx_evilslowdown #%userid%" "bd" "d"
"EvilMirrorDmg" "amx_evilmirrordmg #%userid%" "bd" "d"
"EvilMelee" "amx_evilmelee #%userid%" "bd" "d"
"EvilGlow" "amx_evilglow #%userid%" "bd" "d"
"EvilBury" "amx_evilbury #%userid%" "bd" "d"
"EvilLowHealth" "amx_evillowhealth #%userid%" "bd" "d"
"EvilNoProne" "amx_evilnoprone #%userid%" "bd" "d"
"EvilVision" "amx_evilvision #%userid%" "bd" "d"

Or if you do not want it in clcmds, then add it custom to custommenuitems.cfg for it's own area in the amxmodmenu.

Panda
06-19-2007, 07:13 AM
i have added the evil admin but it's blanked out:

amx_addmenuitem “EvilAdmin” “evil_admin” “hu” “dod_eviladmin.1.76c.amxx”

thats the code i put in is that correct or am i compleatly wrong?

:s

as you can tell im a noob at this type of thing lol

Panda

=|[76AD]|= TatsuSaisei
06-19-2007, 12:42 PM
custommenuitems.cfg for it's own area in the amxmodmenu.

Ignore my last post all you want.. but since the plugin contains no code for its own internal menu, adding to custommenuitems.cfg is USELESS ...

for that you NEED a menu code that is bulit into the plugin, and without it you are wasting time ....

adding the available codes to the clcmd.ini is valid, tedious, but very valid...

=|[76AD]|= TatsuSaisei
06-19-2007, 12:45 PM
i have added the evil admin but it's blanked out:

amx_addmenuitem “EvilAdmin” “evil_admin” “hu” “dod_eviladmin.1.76c.amxx”

thats the code i put in is that correct or am i compleatly wrong?

:s

as you can tell im a noob at this type of thing lol

Panda

UNLESS the plugin has its own built in menu you can NEVER add it with amx_addmenuitem...

Panda
06-19-2007, 12:48 PM
|= TatsuSaisei;6340']UNLESS the plugin has its own built in menu you can NEVER add it with amx_addmenuitem...

oh sorry didnt realise that

Marshal420th
06-22-2007, 03:17 AM
how do u code a menu? i could maybe write one into the evil admin plugin

{RSR}Crazyhorse_cdn
06-28-2007, 02:14 PM
thanks diamond now i just have to figure out how to do a menu for evil admin and where to put it , i did have it in the clcmd menu but i had somebody else do the menu , now that i have to do everything myself i just hit a wall :( so if somebody can let me no how to do the menu i would appreciate it once again thanks diamond

{SR} *Raggy*
06-28-2007, 07:20 PM
This is what I got for the evil admin but it has to be in clcmds.ini

"EvilSlay" "amx_evilslay #%userid%" "bd" "e"
"EvilPimpSlap" "amx_evilpimpslap #%userid%" "bd" "e"
"EvilKick" "amx_evilkick #%userid%" "bd" "e"
"EvilSTFU" "amx_evilstfu #%userid%" "bd" "e"
"EvilSlowdown" "amx_evilslowdown #%userid%" "bd" "e"
"EvilMirrorDmg" "amx_evilmirrordmg #%userid%" "bd" "e"
"EvilMelee" "amx_evilmelee #%userid%" "bd" "e"
"EvilGlow" "amx_evilglow #%userid%" "bd" "e"
"EvilBury" "amx_evilbury #%userid%" "bd" "e"
"EvilLowHealth" "amx_evillowhealth #%userid%" "bd" "e"
"EvilNoProne" "amx_evilnoprone #%userid%" "bd" "e"
"EvilVision" "amx_evilvision #%userid%" "bd" "e"

{RSR}Crazyhorse_cdn
06-28-2007, 07:41 PM
so i take it i can just copy and paste that menu into my clcmd menu right raggy ?? hope so , right now i have a different menu in place and my guys can't access it so i'll try urs for now thanks guys appreciate it :cool:

blobby
07-02-2007, 08:40 AM
I dont know if anyone is intrested but i ahve just spent 20min or so just cleaning this up a little it now doesnt show admins names when they carry out commands and i have also set the admin level to a custom one i did only do this for me but if anyone is looking for it set like that just pm via here for it

Sorry if i sound cheeky

Regards

Blobby

ozone101
02-12-2008, 08:22 AM
yeah idk how to install all this do i use like the hlsw programe? or what do i do?

Dr.G
02-12-2008, 10:43 AM
Search! This may help http://www.dodplugins.net/forums/showthread.php?t=1161

skyler814
05-28-2009, 05:39 PM
i put the smg file in the scrips folder and the amxx file in the plugins folder and the plugin is not responding

Dr.G
05-28-2009, 06:00 PM
buddy you are in Old/Discontinued Plugins

Tank
05-28-2009, 09:10 PM
Synthetic has it on our second server, I used this version quite a long time, never had issues with it.

And this is not to offend you, but you installed plugins before? Sometimes you forget one action. For example did you place it in plugins.ini and restart the map/server?

noddy
05-29-2009, 10:00 AM
I use this on Linux box with amxmodx 1.8.1.3746 with no problems at all