Jump to content

carl101

Member
  • Posts

    779
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by carl101

  1. There's a seperate bunch of code you can add to your description.ext that's suppose to stop some scripts/hacks from being opened up and they get kicked for public variable kicks.

    But there was also a big BE update yesterday that's suppose to have stopped a lot of the current hacks.

    If you want the code for your description.ext then pm me and il link you to it

  2. Has anyone got a up to date community ban file? Recently started getting hassled with script kiddies so just want to put a stop to it before it gets worse.

    Also if a hacker was to execute a script, is it more likly to show in a be log or in the rpt?

    Just got one that killed everyone on the server then crashed the server.

    Thanks

  3. hi,

    go into your server pbo

     

    in compile>server_playersync.sqf

     

    around  line 194 should look like this

      _key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:%17:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
    

    the paramaters are the %1:%2 ect,

     

    the numbers should match the bit after is that are starting _charadterid ect ect,

     

    make sure you have the same amount of numbers as variables in the next part like in mine i have 17 numbers and 17 variables

  4. probably this

    DROP EVENT IF EXISTS DeleteOldVehicles;
    CREATE EVENT DeleteOldVehicles
    
        ON SCHEDULE EVERY 1 DAY
    
        COMMENT 'Delete Old Vehicles'
    
        DO
    Delete From `Object_DATA`
    WHERE
    `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 14 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 24 DAY)
    AND `Object_DATA`.`CharacterID` <> 0
    AND `Object_DATA`.`CharacterID` <= 12500
    AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
    AND `Object_DATA`.`Classname` NOT LIKE 'Land%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'
    AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ', 'Uroven1DrevenaBudka', 'Uroven2KladaDomek', 'Uroven3DrevenyDomek', 'Uroven1VelkaBudka', 'Uroven2MalyDomek', 'Uroven3VelkyDomek', 'kingramida', 'velkaGaraz', 'malaGaraz', 'krepost')
    AND `Object_DATA`.`Inventory` NOT LIKE '%Gold%'
    
  5. they should fall under the %locked and cinder% calls but i suppose you could also add the built classname to the NOT IN section too

     

    EDIT

     

    just checked and yes they all fall under the %cinder %locked sections

     

    just changed it up abit for origins buildings as im on overpochins

    Delete From `Object_DATA`
    WHERE
    `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 14 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 24 DAY)
    AND `Object_DATA`.`CharacterID` <> 0
    AND `Object_DATA`.`CharacterID` <= 12500
    AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
    AND `Object_DATA`.`Classname` NOT LIKE 'Land%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'
    AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ', 'Uroven1DrevenaBudka', 'Uroven2KladaDomek', 'Uroven3DrevenyDomek', 'Uroven1VelkaBudka', 'Uroven2MalyDomek', 'Uroven3VelkyDomek', 'kingramida', 'velkaGaraz', 'malaGaraz', 'krepost')
    AND `Object_DATA`.`Inventory` NOT LIKE '%Gold%'
    
    
  6. Calamity is right but heres mine aswel just for you to compare more

    class ExtraRc {
        class ItemRadio {
            class GroupManagement {
                text = "Group Management";
                script = "execVM 'dzgm\loadGroupManagement.sqf'";
            };
    		};
    		class ItemToolbox {
            class DeployBike {
                text = "Deploy Bike";
                script = "execVM 'custom\bike.sqf'";
            };
       
            class DeployMozzie {
                text = "Deploy Motorbike";
                script = "execVM 'custom\motor.sqf'";
            };
        
            class DeployMotorbike {
                text = "Deploy Gyro";
                script = "execVM 'custom\gyro.sqf'";
            };
        };
    		
    
        class Binocular_Vector  {
                        class viewdistanceTitle {
                                text = "View Distance:";
                                script = "systemChat('Change View Distance Locally. Click on one of the distance options');";
                        };
                        class distance400m {
                                text = "400 Meters";
                                script = "setViewDistance 400; systemChat('ViewDistance: 400');";
                        };
                        class distance600m {
                                text = "600 Meters";
                                script = "setViewDistance 600; systemChat('ViewDistance: 600');";
                        };
                        class distance800m {
                                text = "800 Meters";
                                script = "setViewDistance 800; systemChat('ViewDistance: 800');";
                        };
                        class distance1000m {
                                text = "1000 Meters";
                                script = "setViewDistance 1000; systemChat('ViewDistance: 1000');";
                        };
                        class distance1250m {
                                text = "1250 Meters";
                                script = "setViewDistance 1250; systemChat('ViewDistance: 1250');";
                        };
                        class distance1500m {
                                text = "1500 Meters";
                                script = "setViewDistance 1500; systemChat('ViewDistance: 1500');";
                        };
                        class distance2000m {
                                text = "2000 Meters";
                                script = "setViewDistance 2000; systemChat('ViewDistance: 2000'); systemChat('Warning: Higher the view distance Lower the FPS');";
                        };
                        class distance3000m {
                                text = "3000 Meters";
                                script = "setViewDistance 3000; systemChat('ViewDistance: 3000'); systemChat('Warning: Higher the view distance Lower the FPS');";
                        };
                };
                class Binocular {
                        class viewdistanceTitle {
                                text = "View Distance:";
                                script = "systemChat('Change View Distance Locally. Click on one of the distance options');";
                        };
                        class distance400m {
                                text = "400 Meters";
                                script = "setViewDistance 400; systemChat('ViewDistance: 400');";
                        };
                        class distance600m {
                                text = "600 Meters";
                                script = "setViewDistance 600; systemChat('ViewDistance: 600');";
                        };
                        class distance800m {
                                text = "800 Meters";
                                script = "setViewDistance 800; systemChat('ViewDistance: 800');";
                        };
                        class distance1000m {
                                text = "1000 Meters";
                                script = "setViewDistance 1000; systemChat('ViewDistance: 1000');";
                        };
                        class distance1250m {
                                text = "1250 Meters";
                                script = "setViewDistance 1250; systemChat('ViewDistance: 1250');";
                        };
                        class distance1500m {
                                text = "1500 Meters";
                                script = "setViewDistance 1500; systemChat('ViewDistance: 1500');";
                        };
                        class distance2000m {
                                text = "2000 Meters";
                                script = "setViewDistance 2000; systemChat('ViewDistance: 2000'); systemChat('Warning: Higher the view distance Lower the FPS');";
                        };
                        class distance3000m {
                                text = "3000 Meters";
                                script = "setViewDistance 3000; systemChat('ViewDistance: 3000'); systemChat('Warning: Higher the view distance Lower the FPS');";
                        };
                };
    
    
    };
    
  7. havnt tried it yet but was plannign on running this in about a weeks timeor so, adjusting days to suit

    Delete From `Object_DATA`
    WHERE
    `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 14 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 24 DAY)
    AND `Object_DATA`.`CharacterID` <> 0
    AND `Object_DATA`.`CharacterID` <= 12500
    AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
    AND `Object_DATA`.`Classname` NOT LIKE 'Land%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'
    AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ')
    AND `Object_DATA`.`Inventory` NOT LIKE '%Gold%'
    
×
×
  • Create New...