View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
supermega
Junior Member
Join Date: Oct 2008
Old 03-06-2010 , 18:57   32-bit test v2.0
Reply With Quote #1

Introduction

This plugin requires players to use 32-bit video mode. When a player dies he or she needs to pass this test:



Players are tested only once after connection.

4. More information: . . . . . . . . . . 5. Quick version: . . . . . . . . . . . Why 16-bit players won't pass the test?

. . . . . .


Installing

1. Place the 32bit_test.amxx file in the addons/amxmodx/plugins folder.
2. Place the 32bit_test.txt file in the addons/amxmodx/data/lang folder.
3. Add the line "32bit_test.amxx" (without quotes) to addons\amxmodx\configs\plugins.ini


Settings (optional)

32bit_max_tries (default "2"). When set to 1, players are kicked after first failure. Default "2", let them to fail it once.

32bit_immunity_flag (default ""). Sets admin flag that prevents to test the admin. By default it's disabled. The main reason for this option is problem with test under Linux & Wine (MOTD isn't shown). IMO regular admins should be tested, too. I use flag "s" and give it only to people having troubles with the test itself.


Technical information

16-bit video mode is illegal in probably all Counter-Strike leagues. It allows you to see through any number of smoke grenades, while in 32-bit video mode you can't see anything through 2 SGs.

Plugin is based on color approximation made when you have only 16-bit colors. 7 pictures in a row use 2 very similar colors. However these similar colors are approximated to completely different colors in 16-bit mode. The 8th picture uses different colors but they are approximated to the same colors as in other pictures. So in 16-bit mode all pictures look the same while in 32-bit mode there are 7 nearly solid pictures and 1 with different colors. Of course position of pictures is random.

Chance to fool the plugin: 0,1953125% (by average you need take the test 256 times to pass it)

Players can have slots unbound (like special grenades buttons), which makes him unable to pass the test. My suggestion is to bind slots on numpad:

Quote:
bind "KP_END" "slot1"
bind "KP_DOWNARROW" "slot2"
bind "KP_PGDN" "slot3"
bind "KP_LEFTARROW" "slot4"
bind "KP_5" "slot5"
bind "KP_RIGHTARROW" "slot6"
bind "KP_HOME" "slot7"
bind "KP_UPARROW" "slot8"
bind "KP_PGUP" "slot9"
bind "KP_INS" "slot10"

Translations


Thank you for many v1.X translations. Unfortunately, with the introduction of v2.0 new translations are required. You don't need to translate it literally, use your own words to best explain what's going on. My native Polish translation is far from English one ;)
All pages need to fit in small 640x480 window - if your translation is too long then you can edit HTML/CSS "line-height" parameter (otherwise I suggest to leave it as is).


Changelog

v2.0 (2010-05-04)
Easier test, better explained (quick version kept under option 5.). New translations needed (reason for major version increment).

v1.2 (2010-05-04)
More languages (English, Polish, German by KadiR, French by ConnorMcLeod, Bulgarian by papyrus_kn, Russian by NiHiLaNTh, Dutch by crazyeffect, Spanish by xjose93, Romanian by Amonel, Serbian by Rosenstein). Minor changes.

v1.1 (2010-03-07)
More languages. More contrasting colors (easier to distinguish).

v1.0 (2010-03-06)
First version.
Attached Files
File Type: zip 32bit_test-v1.2.zip (12.6 KB, 3443 views)
File Type: sma Get Plugin or Get Source (32bit_test.sma - 4662 views - 8.7 KB)
File Type: txt 32bit_test.txt (2.1 KB, 2439 views)

Last edited by supermega; 05-03-2010 at 22:33.
supermega is offline