Results 1 to 2 of 2
  1. #1
    xfaultx's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Prevent Cheater Tags?

    Is there any script where as the host you can block the Cheater Tags and display message?

  2. #2
    xfaultx's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Would this work potentially?

    Code:
     --RENAME CHEATER
    --Changes the CHEATER above peoples' heads
    if not LocalizationManager or not LocalizationManager.text then return end
    LocalizationManager_text = LocalizationManager_text or LocalizationManager.text
    function LocalizationManager:text( string_id, macros )
        if string_id == "menu_hud_cheater" then
            return tweak_data.hoxhud.cheater_name
        end
        return LocalizationManager_text(self, string_id, macros)
    end
    
    --ANTI-ANTICHEAT by Baldwin, only works if host
    if not PlayerManager then return end
    function PlayerManager.verify_carry(_ARG_0_, _ARG_1_, _ARG_2_)
        return true
    end
    function PlayerManager:verify_equipment( peer_id, equipment_id )
        return true
    end
    function PlayerManager:verify_grenade( peer_id )
        return true
    end
    if not NetworkMember then return end
    function NetworkMember.place_deployable(_ARG_0_, _ARG_1_)
        return true
    end
    function NetworkMember.place_bag(_ARG_0_, _ARG_1_, _ARG_2_)
        return true
    end
    function NetworkMember.set_grenade(_ARG_0_, _ARG_1_)
        return true
    end
    if NetworkAccountSTEAM then
        function NetworkAccountSTEAM:publish_statistics( stats, force_store ) end
    end
    --ANTI-HOXHUD ANTICHEAT
    if not HoxHudTweakData or not UnitNetworkHandler then return end
    function UnitNetworkHandler.check_loot_cheater(_ARG_0_, _ARG_1_, _ARG_2_) end
    function UnitNetworkHandler.set_carry_blacklisted(_ARG_0_, _ARG_1_, _ARG_2_) end
    function UnitNetworkHandler.sync_interacted(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, ...)
        if _ARG_3_ == "corpse_alarm_pager" then
            managers.hud:set_control_info({pager_answered = true})
        end
        _ARG_0_.oldMethods.sync_interacted(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, ...)
    end
    function UnitNetworkHandler.sync_grenades(_ARG_0_, ...)
        _ARG_0_.oldMethods.sync_grenades(_ARG_0_, ...)
    end
    function UnitNetworkHandler.server_throw_grenade(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, ...)
        _ARG_0_.oldMethods.server_throw_grenade(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, ...)
    end
    function UnitNetworkHandler.place_deployable_bag(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, ...)
        _ARG_0_.oldMethods.place_deployable_bag(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, ...)
    end
    function UnitNetworkHandler.place_sentry_gun(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_, _ARG_7_, _ARG_8_, ...)
        _ARG_0_.oldMethods.place_sentry_gun(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_, _ARG_6_, _ARG_7_, _ARG_8_, ...)
    end
    function UnitNetworkHandler.attach_device(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, ...)
        _ARG_0_.oldMethods.attach_device(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, ...)
    end
    function UnitNetworkHandler.request_place_ecm_jammer(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, ...)
        _ARG_0_.oldMethods.request_place_ecm_jammer(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, ...)
    end
    
    --TOGGLE CHEATS
    if ChatManager_feed_system_message then ChatManager.feed_system_message = ChatManager_feed_system_message end
    if LootManager_get_secured_bonus_bags_value then LootManager.get_secured_bonus_bags_value = LootManager_get_secured_bonus_bags_value end
    tweak_data.money_manager.max_small_loot_value = 99999999999999999999999999999999
    
    --REMOVE CHATSPAM by hejoro
    --Silences person cheated messages in the chatbox, in all languages
    if not ChatManager then return end
    ChatManager_feed_system_message = ChatManager_feed_system_message or ChatManager.feed_system_message
    function ChatManager:feed_system_message( channel_id, message )
        local _gmatch = {
            managers.localization:text( "menu_chat_peer_cheated_many_assets", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_many_bags", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_wrong_equipment_server", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_many_equipments_server", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_many_bags_server", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_many_bags_pickup_server", { name = ".*" } ),
            managers.localization:text( "menu_chat_peer_cheated_many_grenades_server", { name = ".*" } )
        }
        for k,v in pairs(_gmatch) do
            if message:gmatch(v) then return end
        end
        ChatManager_feed_system_message( channel_id, message)
    end
    
    -- ANTI PAYOUT CAP by LazyOzzy and hejoro (edited to allow truly unlimited bags)
    --Removes the bag limit payout cap
    if not LootManager.get_secured_bonus_bags_value then return end
    LootManager_get_secured_bonus_bags_value = LootManager_get_secured_bonus_bags_value or LootManager.get_secured_bonus_bags_value
    function LootManager:get_secured_bonus_bags_value( level_id )
        local mandatory_bags_amount = self._global.mandatory_bags.amount or 0
        
        local value = 0
        for _,data in ipairs( self._global.secured ) do
            if not tweak_data.carry.small_loot[ data.carry_id ] then
                if mandatory_bags_amount > 0 and (self._global.mandatory_bags.carry_id == "none" or self._global.mandatory_bags.carry_id == data.carry_id) then
                    mandatory_bags_amount = mandatory_bags_amount - 1
                end
                value = value + managers.money:get_bag_value( data.carry_id, data.multiplier )
            end
        end
        
        return value
    end

Similar Threads

  1. bant stick VICTIM ONLY tag
    By -[standoff]- in forum Art & Graphic Design
    Replies: 1
    Last Post: 08-29-2006, 01:27 PM
  2. anti- fan tag TAG
    By -[standoff]- in forum Art & Graphic Design
    Replies: 20
    Last Post: 07-21-2006, 12:12 AM
  3. Bant Stick Fan Tag
    By -[standoff]- in forum Art & Graphic Design
    Replies: 8
    Last Post: 07-19-2006, 03:47 AM
  4. Now my fan tag
    By jadedfrog in forum Art & Graphic Design
    Replies: 19
    Last Post: 07-18-2006, 03:31 AM
  5. My Fan Tag
    By Jackal in forum Art & Graphic Design
    Replies: 16
    Last Post: 07-15-2006, 12:16 PM