Raised This Month: $94 Target: $400
 23% 

Admin Screen 2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 01-02-2007 , 09:26   Admin Screen 2
Reply With Quote #1

Description:
Admin Screen was originally written by Rav for AMX Mod, and can be found here.

It forces the client to take a screenshot. This can be useful for a few reasons. People I know use this plugin to check for cheaters. On suspicion, they amx_screen the client and ban them. They tell them to post the screens on their site to be unbanned (granted they're clean).

Admin Screen 2 is different from Admin Screen because the original didn't allow you to specify the amount of screenshots to be taken. This one does. This one also uses a hud message and a client_print timestamp, instead of just client_print.

Commands:
amx_screen <authid, nick or #userid> <# of screens>

CVARs:
amx_maxscreens - Default 10 (How many screens are the admins allowed to take?)
amx_ssinterval - Default 1.0 (How much time between each screenshot?)
amx_timestamptype - Default 3 (0 = Off / 1 = client_print only / 2 = HUD message only / 3 = Both)

Credits:
* Rav for Admin Screen
* sawce for set_task help
* GHW_Chronic for set_task help
Attached Files
File Type: sma Get Plugin or Get Source (admin_screen2.sma - 13002 views - 3.2 KB)
__________________
What's my confidence level? I do crossword puzzles with a pen.

Last edited by uTg | bigpapajiggs; 01-03-2007 at 03:26.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
neogeo
Senior Member
Join Date: Jul 2005
Old 01-02-2007 , 10:15   Re: Admin Screen 2
Reply With Quote #2

thanks
neogeo is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 01-02-2007 , 10:20   Re: Admin Screen 2
Reply With Quote #3

So it forces the client to take a screenshot and save it to their own computer?
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 01-02-2007 , 10:26   Re: Admin Screen 2
Reply With Quote #4

It uses the snapshot command, so yes. You could take a screenshot of it yourself, but you wouldn't be able to see their cheats ;)
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-02-2007 , 12:33   Re: Admin Screen 2
Reply With Quote #5

There is a bug.

When I use "amx_screen user 5" command It seems that all players take a screenshot.

I've asked to another admins and a player. They found 5 screenshots in their folder.
__________________
Arkshine is offline
F34RInc
BANNED
Join Date: Dec 2005
Location: Medellín, Colombia
Old 01-02-2007 , 17:47   Re: Admin Screen 2
Reply With Quote #6

I made something like this but abandoned it for a few reasons.

1 - Some cheats totaly block the screenshot and snapshot commands
2 - Others 'hide' and turn everything off when the screenshot\snapshop cmd is used
3 - If you really think someone might be using cheats flag them with serverbuddy and IF they send in their scan it will tell you more then you could ever get out of a screenshot
F34RInc is offline
Send a message via AIM to F34RInc Send a message via MSN to F34RInc
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 01-02-2007 , 20:06   Re: Admin Screen 2
Reply With Quote #7

Fixed the bug thanks to help from GHW_Chronic. I also added a new CVAR for the timestamp type.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 01-02-2007 , 20:55   Re: Admin Screen 2
Reply With Quote #8

fear i use amx_screen, and the way i use it is completely differant. You screen someone, then ban them, then if they want to be unbanned, they must show me the screenshots i took on them, if they dont, then baibai

nice work jigga, i'll try this version out
__________________
pulpy is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 01-03-2007 , 02:30   Re: Admin Screen 2
Reply With Quote #9

@arkshine

This is unrelated to this topic--but I'd like to say that your signature messed w/my head. That picture of birds flying around--well I thought flies or bugs were crawling on my laptop screen and I started hitting the screen and smacking it and --well-- yeah...

Just thought I'd share that.


GJ nice plugin.
SubStream is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 01-03-2007 , 02:37   Re: Admin Screen 2
Reply With Quote #10

You have 3 required command arguments (including zero argument - an actual command) so you should specify 3 when executing a cmd_access.

You should use a bitwise operators (http://wiki.amxmodx.org/index.php/Pawn_Tutorial) when checking for timestamp type. That will allow to not repeat the exact same block of code twice.
VEN is offline
Reply


Thread Tools
Display Modes

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 20:35.


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