Raised This Month: $ Target: $400
 0% 

Ban with seal of approval


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 05-14-2009 , 16:56   Ban with seal of approval
Reply With Quote #1

1. How it works:
  • makes target invulnerable to damage
  • saves target HP
  • sets target HP to 123
  • makes screenshot
  • restores target HP
  • makes target vulnerable to damage
  • bans target by steamID or IP (default IP, see cvars below)

2. But why?
Because i had some smart cheaters on my server.
Whenever a admin made a snapshot, they disabled cheats and made a quick manual snapshot without hax,
making sure that te info text is still there for the snapshot they just made.

3. Commands:
  • amx_sban
    • Snapshot & ban, DOES NOT work on admins with flag "a"
      Usage: "amx_sban nick/#id minutes"
      minutes argument it's not mandatory (see amx_seal_btime cvar)

  • amx_ss
    • Snapshot only, DOES work on admins with flag "a"

      Both of them can ONLY be used on targets that ARE ALIVE
      (because admins don't usually look and make stupid snapshots).

4. Cvars:
  • amx_seal_url url to display on snapshot & console
  • amx_seal_btype 1=IP, 2=STEAM ID, 3=AMXBANS (deafult: 1)
  • amx_seal_btime default ban time in minutes (deafult 600min)

5. Modules required:
  • fakemeta

6. Credits:
  • camper
  • arkshine
  • Bugsy
  • Exolent[jNr]

7. Misc
  • should work with any HL1 based GameMod

8. Screens:
9. Changelog:
  • 0.7.3 - 5 June 2009
    - now works with AMXBANS
    - small optimization
    - fixed a typo
  • 0.7.2 - 14 May 2009
    - first public release

Attached Files
File Type: sma Get Plugin or Get Source (seal.sma - 1313 views - 8.7 KB)

Last edited by ehha; 08-15-2009 at 10:00.
ehha is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-14-2009 , 17:16   Re: Ban with seal of approval
Reply With Quote #2

Code:
set_pev(target, pev_health, float(123));
Why use float() ? Just do this:
Code:
set_pev(target, pev_health, 123.0);
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
1337
Senior Member
Join Date: Mar 2009
Old 05-14-2009 , 17:21   Re: Ban with seal of approval
Reply With Quote #3

lol u should make it work with amxbans i guess
1337 is offline
AlejandroSk
BANNED
Join Date: Nov 2008
Location: Aqui, en mi casa. Karma:
Old 05-14-2009 , 17:21   Re: Ban with seal of approval
Reply With Quote #4

Quote:
1. How it wokrs:
or
What it do?
AlejandroSk is offline
Send a message via MSN to AlejandroSk
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-14-2009 , 17:41   Re: Ban with seal of approval
Reply With Quote #5

Quote:
Originally Posted by AlejandroSk View Post
or
What it do?
Quote:
Originally Posted by ehha View Post
3. Commands:
  • amx_sban
    • Snapshot & ban, DOES NOT work on admins with flag "a"
      Usage: "amx_sban nick/#id seconds"
      seconds argument it's not mandatory (see amx_seal_btime cvar)

  • amx_ss
    • Snapshot only, DOES work on admins with flag "a"
      Both of them can ONLY be used on targets that ARE ALIVE,
      (because admins don't usually look and make stupid snapshots).
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 05-14-2009 , 17:54   Re: Ban with seal of approval
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
Code:
set_pev(target, pev_health, float(123));
Why use float() ? Just do this:
Code:
set_pev(target, pev_health, 123.0);
I'll change it when enough data is gathered for a important update, thanks

Quote:
Originally Posted by 1337 View Post
lol u should make it work with amxbans i guess
All i have to do is to make it use amx_ban nick/#userid ?
ehha is offline
1337
Senior Member
Join Date: Mar 2009
Old 05-15-2009 , 00:43   Re: Ban with seal of approval
Reply With Quote #7

amxbans command look like this:
amx_ban times nick\userid\something else\ reason
1337 is offline
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 06-05-2009 , 04:19   Re: Ban with seal of approval
Reply With Quote #8

Update:

v0.7.3 - 5 June 2009
  • now works with AMXBANS
  • small optimization
  • fixed a typo
ehha is offline
hcxx
Senior Member
Join Date: Jan 2007
Location: 127.0.0.1
Old 06-05-2009 , 06:38   Re: Ban with seal of approval
Reply With Quote #9

is there any way when I type "amx_ban <Time> <#ID> <Reason>" then it will make automaticly all this, screenshot and ban. intregate to amxban what I mean
hcxx is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-05-2009 , 08:42   Re: Ban with seal of approval
Reply With Quote #10

Why don't you simply clean player chat or display message stating that snapshot has already been taken and any snapshot containing this message is invalid.
__________________
Impossible is Nothing
Sylwester is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:33.


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