AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AdminmodX - A port of some adminmod commands (https://forums.alliedmods.net/showthread.php?t=5412)

Zor 08-31-2004 15:39

AdminmodX - A port of some adminmod commands
 
3 Attachment(s)
Requires following MODULES be installed and running

Quote:

fakemeta
fun
Directory Structure

Quote:

addons
|_amxmodx/
|_config/
| |_custom.cfg
|_data/
| |_lang/
| |_adminmodx.txt
|_plugins/
|_adminmodx.amxx
This plugin ports some of the commands that adminmod has that I couldn't seem to find for Amxx. So I made it.

Features:
Code:

amx_exec
amx_execteam
amx_execall
amx_slap
amx_slapteam
amx_slapall
amx_beat
amx_beatteam
amx_beatall
amx_slay
amx_slayteam
amx_slayall
amx_god
amx_godteam
amx_godall
amx_noclip
amx_noclipteam
amx_noclipall
amx_heal
amx_bury
amx_buryteam
amx_buryall
amx_unbury
amx_unburyteam
amx_unburyall

*Server Related Stuff
amx_hostname
amx_timelimit
amx_password
amx_listmaps
amx_slapdmg
amx_alltalk

*Client Punishments
amx_llama and amx_unllama
amx_gag and amx_ungag
amx_shutup and amx_unshutup
amx_pig and amx_unpig

*For Getting Rid of those Dicks
amx_quit

Version Control:
Code:

v0.1
- Be!
v0.3
- Borrowed some code from Nick, thanks for your AIOS
v0.4
- Ok did some minor repairs
v0.5
- Repaired how the why works
- Repaired hostname
- Reworked the exec method to work better
- Changed listmaps to MOTD window
- Made the plugin more generic and not DoD orientated
v0.6
- Added noclip and god mode
v0.6a
- Replaced trim with a replace
v0.6b
- Fixed the problem with the exec commands
v0.7
- Did some repairs that I notices with the why, and added 3 new functions
v0.7a
- Minor Fixes.  Repaired some small errors found in logs.
- Fixed the server commands to call the functions not the amx calls
- Fixed the check against admins
v0.7b
- Fixed the way I do the actual work.  All thanks to speedy!  The llama gag and shutup were being done but not undone.  So fixed it!
v0.7c
- Fixed the non checking error in the exec stuff, thanks to Lasershock
v0.7d        - Fixed the Llama bug because of death as well as a few mods also removed the why as its a pain and most users dont look at the console nor even the chat.
v0.7e
- Reworked the team commands so that they use numbers instead of team names as this is always different for each mod
v0.8
- Did a major overhaul on the whole plugin to fix up errors and so some patching
- Most of the commands have been modified and help stuff is more detailed...as well its a new file not the old one although alot of functions were ported over the client / team / all commands have been modified to a new function for all 3 commands.  Such as amx_exec / amx_execteam / amx_execall call upon adminexec
v0.8a
- Added alltalk done a complete overhaul on the code and made sure it ALL works!
v0.8b
- Fixed pileoshit.wav thx to MrGardenHoseMan
v0.8c        - Fixed problem with wrong sound being played for alltalk
- Added a cvar to turn the sounds off
- Removed some debug code that I missed
- Added the use of fakemeta commands for team selection all thanks to the following:
    depot - For finding the help
    White Panther (karlos) - For giving depot the code needed
v0.8d
- Added the require_module("FAKEMETA")
- Worked on some errors that I noticed in the log files
- Fixed an error in the amx_shutup in that it turns voice stuff off on the person who calls it
- Removed yet another piece of debug code in Llama check
- Added 2 new cvars that will help with the Llama chatting
- Gag fixed thx to depot
v0.9
- Fixed up the llama timeing so that it uses user_time instead of game time, this allows us to use int's instead of floats, easier, we are not trying to be that precice
- Added some features:
        amx_heal
        amx_revive
        amx_bury / amx_buryteam / amx_buryall
v0.9a
- Added amx_unbury / amx_unburyteam / amx_unburyall
- Small error with bashing...didn't check to see how many slaps to give...fixed it to give only up to 100
- Fixed error with the nameAgainst and steamAgainst, this was why it was saying caller was calling it against himself
- Added way to block the stuck / unstuck that some mods use, such as NS, all thanks to White Panther and depot
v0.9b
- Added a config file for the cvars
- Added amx_clanpractice, amx_scrim
v0.9c
- The set task in slaparound has been set to a player id + 1000 so that I can track and kill off the task        if they die
- In slaptarget recuring function I changed user_slap(param[0], 1, 1) to use get_cvar_num("slappower") instead of 1 dmg point
- In setslappower I changed the level that you can change the values, from 1 - 9 power to 0 - 10 power
- Put in a test to see if a task exists upon death so that it will kill off the beat around on death
v0.9d
- Did a rework on the Stuck as it wasn't working on NS, thx to depot
- Added adminmodx_burydepth 50 This can be changed in the custom.cfg
- Moved the checks for /stuck to the single function say_type_blocks NOW WORKS
- Redid the function bury so that it is a single function.
Thanks to Panther, your coding is sloppy though :wink:
v0.9e
- Fixed problem with team calls not affecting bots
V0.9f
- Fixed immunity in bury
- Inserted SLAY data in Dictionary file
- Fixed No-Clip sayying problem
- Fixed God Mode sayying problem
- Fixed Slap Power not having a CVAR
- These were all detected by depot, thanks again!
v0.9g
- Added Public War
- Added a timeleft for when a scrim is ongoing
- Commented out revive as it isnt specific to all mods, when able to get it to work will reinstall it.  Thanks for this one goes out to XxKpAznGuyxX for finding one that works, but in CS
- Changed some task numbers around
- Added a capture screen feature to the scrim
- Fixed the problem with the set slap power. Thanks for this one goes out to someone...cant remember who!
v0.9h
- Added console commands as well as client commands for the overides
    Thanks for this one goes out to XxKpAznGuyxX
- Added a password command
v0.9i
- Redid the Voice Com code to use a better way
- Worked on the gag and llama
- Rearanged the Gag and Llama say checks so that if user is gaged and llama ( Shouldnt realy be but wtf ) it would check the gag first and if they are gaged who cares if they are llamad, just skip it
- Changed the times for name checks, in some mods you cant change your name when your dead, so I increased the check times so that ppl cant fiddle around with their names
- Set the Llama asses to hear their own gurgles in VERY HIGH AND INTENSENESS, and not the rest of the server!
- Fixed a string formation incorrect for some of the loggin features
v0.9j
- Did some work on Llama name changes
- Fixed up team actions
- Consolodated the Say functions (In testing)
v0.9h        - Removed the Clan Practice / Public War / Scrim
- Added cvar adminmodx_show_activity for messages to the screen
  0: print to callers console only
  1: print to global chat
  2: standard hud message as was for all previous versions
*** Note *** This version you must add adminmodx_show_activity to your custom.cfg yourself
- Removed all server_print
- Fixed an error in Llama

So I hope this is of help and if you find a bug please report it to this thread only as I will be monitoring it and repairing it as bugs are found!

Cheers!

Zor 08-31-2004 23:08

Did some minor repairs on things and added the neccesary sounds.

Cheers!

kingpin 08-31-2004 23:24

nice zor some of those would be nice for people looking for an a bunch in one solution.

Zor 09-01-2004 11:36

Thx king. There are some things that I borrowed from ppl and moded so they would work well. Now somethings Im having problems with. But I'm getting the idea. As I make more and more plugins I'm getting the idea. Now if I could figure out the array I'd be happppyyyyy!!! I love multidimentional arrays! my fav is like 3x3!

Henyway...cheers!

3RM 09-01-2004 23:20

the gag and llama and shut up ect.. dont work
they say the coamnd has eben executed but they dont work .... i.e llama changes name and they can talk
and so on

Zor 09-02-2004 17:46

Ensure to read the directions.

amx_gag name why

amx_gag 3RM Cause he don't read to well!

Cheers!

Lasershock 09-03-2004 09:54

i love this so much :D :D :D

but are you gonna add godmode and noclip???
ok they are released but those versions arent that good :/

Zor 09-03-2004 10:07

Sure...let me look into it. I'll add them in.

Cheers!

ancient1 09-03-2004 10:09

Get plugin gives a compilation error :s

Ancient

Zor 09-03-2004 10:38

*bump* New Version, added noclip and godmode. I will be testing to see if it shuts off after their death. If so I will make it so that upon rebirth, heeheh, it will re-enable it. Shouldn't be difficult.

Cheers!


All times are GMT -4. The time now is 00:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.