Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Anti Cham for Spearhead server

  1. #1

    Default Anti Cham for Spearhead server

    Hello firiends
    now i download anti cham for Shadow & PakRac for my spearhead server
    Shadow's rar have 5 pk3 files and i must use this ( ZzZzZzZ_Anti-ChamSH-FFA ) becouse iam game type team match cd
    but its do nothing ...
    Attached Images Attached Images
    • File Type: png 2.png (3.9 KB, 59 views)
    • File Type: png 1.png (4.2 KB, 51 views)
    • File Type: png 3.png (15.1 KB, 66 views)
    • File Type: png 4.png (4.7 KB, 61 views)
    Last edited by Old Fox; March 25th, 2019 at 10:54 PM.

  2. #2

    Default

    i have this anticham.scr

    Code:
    main:
        if (getcvar("anticham") == "1") {
    
            if (level.run_anticham != NIL)
                end;
    
            level.run_anticham = 1;
            thread showChams;
        }
    end
    
    showChams:
    while (1) {
        local.chams = makeArray
            "textures/bad.tga"
            "textures/blue_pants.tga"
            "textures/blue_top.tga"
            "textures/good.tga"
            "textures/alpha.tga"
            "textures/models/human/chamallies.tga"
            "textures/cham_textures/siren_Axis.tga"
            "textures/cham_textures/cham_health.tga"
            "textures/models/weapons/p_masher/steilhangrenate2.tga"
            "textures/models/human/alliesch.tga"
            "textures/models/human/cm_allies.tga"
            "textures/models/human/cm_axis.tga"
            "textures/general_structure/test_2.tga"
            "textures/cham/chamallies.tga"
            "textures/cham/allies_torso.tga" //VaCtoR-Wall
            "textures/hud/LS.tga"
            "textures/window/window4_broken.tga"
            "textures/trans/trans.tga"
            "textures/cham/cdaxis.tga"
            "textures/models/human/germanmaps/axis_hack.tga"
            "textures/models/human/germanmaps/hack_pants.tga"
            "textures/models/human/usmaps/BoB_allie_top.tga"
            "textures/models/items/first_aid2.tga"
            "textures/models/items/pulse_axis.tga"
            "textures/models/human/allie.tga"
            "textures/models/human/chamalliesn.tga"
            "textures/models/items/alliegrenade.tga"
            "textures/pics/You Found A Secret.tga"
            "textures/pics/cory.tga"
            "textures/pulseweapallies.tga"
            "textures/wambot/blue.tga"
            "textures/da-cham/blue.tga"
            "textures/models/items/pulse1.tga"
            "textures/BOP/cham/BOPallies.tga"
            "textures/laser/blue.tga"
            "textures/laser/green.tga"
            "textures/menu/fYCcreationZ.tga"
            "textures/effects/wambot.tga"
            "textures/hud/nuttin.tga"
            "textures/ACD/cham/ALLIANCE-FATBOYSallies.tga"
            "textures/general_structure/door.tga"
            "textures/menu/fYCchamZ.tga"
            "textures/cham_textures/lange1_Allies.tga"
            "textures/chxms/chxmnxdx1.tga"
            "textures/AnimS/fYC_light_1.tga"
            "textures/AnimS/fYC_slider_thumb_sel2.tga"
            "textures/pmenu/pause.tga"
            "textures/pmenu/pchxms.tga"
            "textures/models/items/allieshow.tga"
            "textures/models/human/axisch.tga"
            "textures/models/items/axis_pulse.tga"
            "textures/speed/loading.tga"
            "textures/bgimg.tga"
            "textures/general_structure/test_1.tga"
            "textures/models/human/items/pulse_axi2.tga"
            "textures/models/cham/pulse_allies.tga"
            "textures/models/cham/pulse_allied5.tga"
            "textures/models/cham/pulse_axis.tga"
            "textures/models/human/HandViewdead.tga"
            "textures/models/human/faces/green_face1.tga"
            "textures/models/human/usmaps/insignia/green_corp.tga"
            "textures/models/human/usmaps/marines/green_pantsgreen1.tga"
            "textures/models/human/viewsleeves/sv_wermachtdead.tga"
            "textures/sprites/hrpuffnstuff_german.tga"
            "textures/models/human/head_allies.tga"
            "textures/BOP/cham/BOPallies_pulse.tga"
            "textures/models/items/1944_axis_hat.tga"
            "textures/cham/axis_head.tga"
            "textures/cham/cdaxis_pulse.tga"
            "textures/cham/cdallies_pulse.tga"
            "textures/models/human/chamalliesn.tga"
            "textures/models/gear/german_gear/German_gear_neon.tga"
            "textures/models/gear/german_gear/riflebelt_neon.tga"  
            "textures/models/items/pulse_alliesn.tga"
            "textures/models/items/tracer_allied_hat.tga"
            "textures/models/human/germanmaps/wehrmact/WPantsgreen_neon.tga" 
            "textures/models/human/germanmaps/axis_hack.tga" 
            "textures/pulsenadeallies.tga"
            "textures/cham_textures/siren2_Axis.tga"
            "textures/models/human/axis.tga"
            "textures/models/items/allie_pulse.tga"
            "textures/models/human/germanmaps/german_worker/woker_shirtd.tga"
            "textures/general_structure/test_1.tga"
            "textures/models/human/allie.tga"
            "textures/cham_textures/lange_Allies.tga"
            "textures/chxms/pulse_nade1.tga"
            "textures/hardcore/hardcore.tga"
            "textures/menu/achter.tga"
            "textures/models/human/chamaxis1.tga"
            "textures/models/items/allienade.tga"
            "textures/pics/highlight.tga"
            "textures/chams/chamallies_pulse3.tga"
            "textures/chams/chamaxis_pulse.tga"
            "textures/models/human/chamallie2.tga"
            "textures/models/human/chamaxi2.tga"
            "allied_chams"
            "axis_chams"
            "ACDallies"
            "ACDaxis"
            "bright_allies"
            "bright_axis"
            "weapon_chams"
        endArray;
        
        local.j = local.chams.size;
        for (local.i = 1; local.i <= local.j; local.i++) {
            local.v = (70 + local.i);
    
            huddraw_virtualsize    local.v 1;
            huddraw_rect        local.v 0 0 800 800;
            huddraw_shader        local.v local.chams[local.i][1];
            huddraw_alpha        local.v 1;
    
            if (local.i % 5 == 0)
                wait 0.5;
        }
    
        if ($player)
            $player stufftext ("ui_hud 1");
    
        wait 30;
    }
    end;
    it uses an array for the textures so is easier to add new ones
    seta anticham "1" in your server.cfg

    but i have to warning you,
    antichams are very easy to bypass, so don't expect to have a 'wallhacks free' server just by using this
    Last edited by Zappa; May 19th, 2018 at 12:20 AM. Reason: xcode

  3. #3

    Default

    Quote Originally Posted by Zappa View Post
    i have this anticham.scr

    Code:
    main:
        if (getcvar("anticham") == "1") {
    
            if (level.run_anticham != NIL)
                end;
    
            level.run_anticham = 1;
            thread showChams;
        }
    end
    
    showChams:
    while (1) {
        local.chams = makeArray
            "textures/bad.tga"
            "textures/blue_pants.tga"
            "textures/blue_top.tga"
            "textures/good.tga"
            "textures/alpha.tga"
            "textures/models/human/chamallies.tga"
            "textures/cham_textures/siren_Axis.tga"
            "textures/cham_textures/cham_health.tga"
            "textures/models/weapons/p_masher/steilhangrenate2.tga"
            "textures/models/human/alliesch.tga"
            "textures/models/human/cm_allies.tga"
            "textures/models/human/cm_axis.tga"
            "textures/general_structure/test_2.tga"
            "textures/cham/chamallies.tga"
            "textures/cham/allies_torso.tga" //VaCtoR-Wall
            "textures/hud/LS.tga"
            "textures/window/window4_broken.tga"
            "textures/trans/trans.tga"
            "textures/cham/cdaxis.tga"
            "textures/models/human/germanmaps/axis_hack.tga"
            "textures/models/human/germanmaps/hack_pants.tga"
            "textures/models/human/usmaps/BoB_allie_top.tga"
            "textures/models/items/first_aid2.tga"
            "textures/models/items/pulse_axis.tga"
            "textures/models/human/allie.tga"
            "textures/models/human/chamalliesn.tga"
            "textures/models/items/alliegrenade.tga"
            "textures/pics/You Found A Secret.tga"
            "textures/pics/cory.tga"
            "textures/pulseweapallies.tga"
            "textures/wambot/blue.tga"
            "textures/da-cham/blue.tga"
            "textures/models/items/pulse1.tga"
            "textures/BOP/cham/BOPallies.tga"
            "textures/laser/blue.tga"
            "textures/laser/green.tga"
            "textures/menu/fYCcreationZ.tga"
            "textures/effects/wambot.tga"
            "textures/hud/nuttin.tga"
            "textures/ACD/cham/ALLIANCE-FATBOYSallies.tga"
            "textures/general_structure/door.tga"
            "textures/menu/fYCchamZ.tga"
            "textures/cham_textures/lange1_Allies.tga"
            "textures/chxms/chxmnxdx1.tga"
            "textures/AnimS/fYC_light_1.tga"
            "textures/AnimS/fYC_slider_thumb_sel2.tga"
            "textures/pmenu/pause.tga"
            "textures/pmenu/pchxms.tga"
            "textures/models/items/allieshow.tga"
            "textures/models/human/axisch.tga"
            "textures/models/items/axis_pulse.tga"
            "textures/speed/loading.tga"
            "textures/bgimg.tga"
            "textures/general_structure/test_1.tga"
            "textures/models/human/items/pulse_axi2.tga"
            "textures/models/cham/pulse_allies.tga"
            "textures/models/cham/pulse_allied5.tga"
            "textures/models/cham/pulse_axis.tga"
            "textures/models/human/HandViewdead.tga"
            "textures/models/human/faces/green_face1.tga"
            "textures/models/human/usmaps/insignia/green_corp.tga"
            "textures/models/human/usmaps/marines/green_pantsgreen1.tga"
            "textures/models/human/viewsleeves/sv_wermachtdead.tga"
            "textures/sprites/hrpuffnstuff_german.tga"
            "textures/models/human/head_allies.tga"
            "textures/BOP/cham/BOPallies_pulse.tga"
            "textures/models/items/1944_axis_hat.tga"
            "textures/cham/axis_head.tga"
            "textures/cham/cdaxis_pulse.tga"
            "textures/cham/cdallies_pulse.tga"
            "textures/models/human/chamalliesn.tga"
            "textures/models/gear/german_gear/German_gear_neon.tga"
            "textures/models/gear/german_gear/riflebelt_neon.tga"  
            "textures/models/items/pulse_alliesn.tga"
            "textures/models/items/tracer_allied_hat.tga"
            "textures/models/human/germanmaps/wehrmact/WPantsgreen_neon.tga" 
            "textures/models/human/germanmaps/axis_hack.tga" 
            "textures/pulsenadeallies.tga"
            "textures/cham_textures/siren2_Axis.tga"
            "textures/models/human/axis.tga"
            "textures/models/items/allie_pulse.tga"
            "textures/models/human/germanmaps/german_worker/woker_shirtd.tga"
            "textures/general_structure/test_1.tga"
            "textures/models/human/allie.tga"
            "textures/cham_textures/lange_Allies.tga"
            "textures/chxms/pulse_nade1.tga"
            "textures/hardcore/hardcore.tga"
            "textures/menu/achter.tga"
            "textures/models/human/chamaxis1.tga"
            "textures/models/items/allienade.tga"
            "textures/pics/highlight.tga"
            "textures/chams/chamallies_pulse3.tga"
            "textures/chams/chamaxis_pulse.tga"
            "textures/models/human/chamallie2.tga"
            "textures/models/human/chamaxi2.tga"
            "allied_chams"
            "axis_chams"
            "ACDallies"
            "ACDaxis"
            "bright_allies"
            "bright_axis"
            "weapon_chams"
        endArray;
        
        local.j = local.chams.size;
        for (local.i = 1; local.i <= local.j; local.i++) {
            local.v = (70 + local.i);
    
            huddraw_virtualsize    local.v 1;
            huddraw_rect        local.v 0 0 800 800;
            huddraw_shader        local.v local.chams[local.i][1];
            huddraw_alpha        local.v 1;
    
            if (local.i % 5 == 0)
                wait 0.5;
        }
    
        if ($player)
            $player stufftext ("ui_hud 1");
    
        wait 30;
    }
    end;
    it uses an array for the textures so is easier to add new ones
    seta anticham "1" in your server.cfg

    but i have to warning you,
    antichams are very easy to bypass, so don't expect to have a 'wallhacks free' server just by using this
    what is this .scr ??
    and where is must to add it ?
    and i know the anticham will bypass with opengl hack only (i think)
    but any chams no (by shadow)

  4. #4

    Default

    copy the script, exec from Dmprecahe just like the others.

  5. #5

    Default

    I add the scr in my mod and add the line in the dmprecach
    then its colord the clean and the cheating players both

    also i remove all my tools from my game and still green screen

    i think its should to be blue screen ?
    and how can i fix this colored screen for clean players ?
    Last edited by Old Fox; May 19th, 2018 at 05:09 AM.

  6. #6
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    You will have to go through the list of chams in the array you can see in the mod posted above and find out which ones are causing the 'clean' players to be targeted, as certain custom maps contain the same textures as the ones in the array. So just look at each one and see which ones are in your mohaa folder (including pk3s). Or just comment certain chunks out until you narrow down which ones are causing you problems.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  7. #7

    Default

    try this one I think it's one I did what PE said and it worked for me. always remeber when you have a problem like this to remove all custom files and add them back one at a time untill you find the one causing problems

  8. #8

    Default

    Quote Originally Posted by Old Fox View Post
    I add the scr in my mod and add the line in the dmprecach
    then its colord the clean and the cheating players both

    also i remove all my tools from my game and still green screen

    i think its should to be blue screen ?
    and how can i fix this colored screen for clean players ?
    probably are the textures from the smoke grenades
    but I don't remember the texture name

  9. #9

    Default

    tested on Stock Spearhead Game no mods I installed the game and tested on a lan server.

    In anticham.scr remove this:

    //huddraw_virtualsize 52 1
    //huddraw_alpha 52 1
    //huddraw_rect 52 0 0 800 800
    //huddraw_shader 52 "textures/models/weapons/F1_grenade.jpg"

    in anticham1.scr remove this:

    //huddraw_virtualsize 127 1
    //huddraw_alpha 127 1
    //huddraw_rect 127 0 0 800 800
    //huddraw_shader 127 "textures/sprites/hrpuffnstuff_german.tga"

    if you use showcham.scr remove this:

    "textures/models/weapons/F1_grenade.jpg"
    "textures/sprites/hrpuffnstuff_german.tga"

  10. #10

    Default

    hey friends i made like what you said but still catch the clean games
    are i mess something ?

    or i should to use another patch ?

    my patch is old for Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •