Jump to content

Cyber Hunter Info


ronoazoro1231

Recommended Posts

ModelFilter :


namespace ModelFilter {
	class WeaponData {
	public:
		class Rifles {
		public:
			Rifles(std::string tmp) { riflename = tmp; }
			bool isLibertyAlpha() {//Basic Rifle
				return (riflename.find("ar08") != std::string::npos);
			}
			bool isDrakeBuster() {//Advanced Rifle
				return (riflename.find("ar09") != std::string::npos);
			}
			bool isCrusader() {//Rare Advanced Rifle
				return (riflename.find("ar10") != std::string::npos);
			}
			bool isDirectConfrontation() {//Basic Rifle
				return (riflename.find("ar11") != std::string::npos);
			}
			bool isDelta() {//Basic Rifle
				return (riflename.find("ar12") != std::string::npos);
			}
			bool isSonOfTheSky() {//Advanced Rifle
				return (riflename.find("ar13") != std::string::npos);
			}
			bool isInterstellarLieutenant() {//Advanced Rifle
				return (riflename.find("ar16") != std::string::npos);
			}
			bool isBasicRifle() {
				return (isLibertyAlpha() || isDirectConfrontation() || isDelta());
			}
			bool isAdvancedRifle() {
				return (isDrakeBuster() || isInterstellarLieutenant() || isSonOfTheSky());
			}
			bool isRareAdvancedRifle() {
				return isCrusader();
			}
			bool isRifle() {
				return (isBasicRifle() || isAdvancedRifle() || isRareAdvancedRifle());
			}
			std::string getriflename() {
				if (isLibertyAlpha()) {
					return "Liberty Alpha";
				}
				else if (isDrakeBuster()) {
					return "Drake Buster";
				}
				else if (isCrusader()) {
					return "Crusader";
				}
				else if (isDirectConfrontation()) {
					return "Direct Confrontation";
				}
				else if (isDelta()) {
					return "Delta";
				}
				else if (isSonOfTheSky()) {
					return "Son Of The Sky";
				}
				else if (isInterstellarLieutenant()) {
					return "Iterstellar Lieutenant";
				}
				return "Rifle";
			}
		private:
			std::string riflename;
		};
		class Sniper {
		public:
			Sniper(std::string tmp) { snipername = tmp; }
			bool isSoulSnatcher() {//Single Shot
				return (snipername.find("sr08") != std::string::npos);
			}
			bool isValkyrie() {//Semi auto
				return (snipername.find("sr09") != std::string::npos);
			}
			bool isEmptyCoffin() {//Semi auto
				return (snipername.find("sr10") != std::string::npos);
			}
			bool isFlamingo() {//Single shot
				return (snipername.find("sr11") != std::string::npos);
			}
			bool isExecutioner() {//Advanced Sniper Rifle
				return (snipername.find("sr12") != std::string::npos);
			}
			bool isSemiAuto() {
				return (isEmptyCoffin() || isValkyrie());
			}
			bool isSingleShot() {
				return (isSoulSnatcher() || isFlamingo());
			}
			bool isAdvancedSniper() {
				return isExecutioner();
			}
			bool isSniper() {
				return (isSemiAuto() || isSingleShot() | isAdvancedSniper());
			}
			std::string getsnipername() {
				if (isSoulSnatcher()) {
					return "Soul Snatcher";
				}
				else if (isEmptyCoffin()) {
					return "Empty Coffin";
				}
				else if (isValkyrie()) {
					return "Valkyrie";
				}
				else if (isFlamingo()) {
					return "Flamingo";
				}
				else if (isExecutioner()) {
					return "Executioner";
				}
				return "Sniper";
			}
		private:
			std::string snipername;
		};
		class SMG {
		public:
			SMG(std::string tmp) { smgweaponname = tmp; }
			bool isOmega() {
				return (smgweaponname.find("smg06") != std::string::npos);
			}
			bool isFoxtrot() {
				return (smgweaponname.find("smg07") != std::string::npos);
			}
			bool isSentinel() {
				return (smgweaponname.find("smg08") != std::string::npos);
			}
			bool isAlpha() {
				return (smgweaponname.find("smg09") != std::string::npos);
			}
			bool isHummingBird() {
				return (smgweaponname.find("dg01") != std::string::npos);
			}
			bool isBasicSMG() {
				return isOmega();
			}
			bool isAdvancedSMG() {
				return (isFoxtrot() || isSentinel() || isAlpha() || isHummingBird());
			}
			bool isSMG() {
				return (isBasicSMG() || isAdvancedSMG());
			}
			std::string getsmgname() {
				if (isOmega()) {
					return "Omega";
				}
				else if (isFoxtrot()) {
					return "Foxtrot";
				}
				else if (isSentinel()) {
					return "Sentinel";
				}
				else if (isAlpha()) {
					return "Alpha";
				}
				else if (isHummingBird()) {
					return "Humming Bird";
				}
				return "SMG";
			}
		private:
			std::string smgweaponname;
		};
		class Shotgun {
		public:
			Shotgun(std::string tmp) { shotgunname = tmp; }
			bool isTiburon() {
				return (shotgunname.find("mega01") != std::string::npos);
			}
			bool isVortex() {
				return (shotgunname.find("mega02") != std::string::npos);
			}
			bool isKillerWhale() {
				return (shotgunname.find("mega03") != std::string::npos);
			}
			bool isNightingale() {
				return (shotgunname.find("mega04") != std::string::npos);
			}
			bool isShockWave() {
				return (shotgunname.find("mega05") != std::string::npos);
			}
			bool isShotGun() {
				return (isTiburon() || isKillerWhale() || isShockWave());
			}
			bool isArcShotgun() {
				return isVortex();
			}
			bool isHealingShotgun() {
				return isNightingale();
			}
			bool isShotgunWeapon() {
				return (isShotGun() || isArcShotgun() || isHealingShotgun());
			}
			std::string getshotgunname() {
				if (isTiburon()) {
					return "Tiburon";
				}
				else if (isVortex()) {
					return "Vortex";
				}
				else if (isKillerWhale()) {
					return "Killer Whale";
				}
				else if (isNightingale()) {
					return "Nightingale";
				}
				else if (isShockWave()) {
					return "Shock Wave";
				}
				return "Shotgun";
			}
		private:
			std::string shotgunname;
		};
		class HeavyWeapon {
		public:
			HeavyWeapon(std::string tmp) { heavyweaponname = tmp; }
			bool isAbsoluteZero() {//Cold Ray H-WPN
				return (heavyweaponname.find("cannon01") != std::string::npos);
			}
			bool isFallingStar() {//Grenade - H - WPN
				return (heavyweaponname.find("cannon02") != std::string::npos);
			}
			bool isDestroyer() {//Heavy Railgun
				return (heavyweaponname.find("cannon05") != std::string::npos);
			}
			bool isHeavyWeapon() {
				return (isAbsoluteZero() || isFallingStar() || isDestroyer());
			}
			std::string getheavyname() {
				if (isAbsoluteZero()) {
					return "Absolute Zero";
				}
				else if (isFallingStar()) {
					return "Falling Star";
				}
				else if (isDestroyer()) {
					return "Destroyer";
				}
				return "Heavy Weapon";
			}
			
		private:
			std::string heavyweaponname;
		};
		class Ammo {
		public:
			Ammo(std::string tmp) { ammoname = tmp; }
			bool isSmgAmmo() {
				return (ammoname.find("b_bullet01") != std::string::npos);
			}
			bool isRifleAmmo() {
				return (ammoname.find("b_bullet02") != std::string::npos);
			}
			bool isSniperAmmo() {
				return (ammoname.find("b_bullet03") != std::string::npos);
			}
			bool isShotgunAmmo() {
				return (ammoname.find("b_bullet04") != std::string::npos);
			}
			bool isHeavyAmmo() {
				return (ammoname.find("b_bullet05") != std::string::npos);
			}
			bool isAmmo() {
				return (isSmgAmmo() || isRifleAmmo() || isSniperAmmo() || isShotgunAmmo() || isHeavyAmmo());
			}
			std::string getammoname() {
				if (isSmgAmmo()) {
					return "SMG Ammo";
				}
				else if (isRifleAmmo()) {
					return "Rifle Ammo";
				}
				else if (isSniperAmmo()) {
					return "Sniper Ammo";
				}
				else if (isShotgunAmmo()) {
					return "Shotgun Ammo";
				}
				else if (isHeavyAmmo()) {
					return "Heavy Ammo";
				}
				return "Ammo";
			}
		private:
			std::string ammoname;
		};
		class WeaponCore {
		public:
			WeaponCore(std::string tmp) { weaponcorename = tmp; }
			bool isSMGCore() {
				return (weaponcorename.find("d_bmag01") != std::string::npos);
			}
			bool isRifleCore() {
				return (weaponcorename.find("d_bmag02") != std::string::npos);
			}
			bool isSniperRifleCore() {
				return (weaponcorename.find("d_bmag03") != std::string::npos);
			}
			bool isHeavyCore() {
				return (weaponcorename.find("d_bmag04") != std::string::npos);
			}
			bool isShotgunCore() {
				return (weaponcorename.find("d_bmag05") != std::string::npos);
			}
			bool isCore() {
				return (isSMGCore() || isRifleCore() || isSniperRifleCore() || isHeavyCore() || isShotgunCore());
			}
			std::string getcorename() {
				if (isSMGCore()) {
					return "SMG Core";
				}
				else if (isRifleCore()) {
					return "Rifle Core";
				}
				else if (isSniperRifleCore()) {
					return "Sniper Core";
				}
				else if (isHeavyCore()) {
					return "Heavy Core";
				}
				else if (isShotgunCore()) {
					return "Shotgun Core";
				}
				return "Core";
			}
		private:
			std::string weaponcorename;
		};
		class WeaponMagazine {
		public:
			WeaponMagazine(std::string tmp) { weaponmagazinename = tmp; }
			bool isSMGMagazine() {
				return (weaponmagazinename.find("a_mag01") != std::string::npos);
			}
			bool isRifleMagazine() {
				return (weaponmagazinename.find("a_mag02") != std::string::npos);
			}
			bool isSniperRifleMagazine() {
				return (weaponmagazinename.find("a_mag03") != std::string::npos);
			}
			bool isShotgunMagazine() {
				return (weaponmagazinename.find("a_mag04") != std::string::npos);
			}
			bool isHeavyMagazine() {
				return (weaponmagazinename.find("a_mag05") != std::string::npos);
			}
			bool isMagazine() {
				return (isSMGMagazine() || isRifleMagazine() || isSniperRifleMagazine() || isShotgunMagazine() || isHeavyMagazine());
			}
			std::string getmagazinename() {
				if (isSMGMagazine()) {
					return "SMG Magazine";
				}
				else if (isRifleMagazine()) {
					return "Rifle Magazine";
				}
				else if (isSniperRifleMagazine()) {
					return "Sniper Magazine";
				}
				else if (isShotgunMagazine()) {
					return "Shotgun Magazine";
				}
				else if (isHeavyMagazine()) {
					return "Heavy Magazine";
				}
				return "Magazine";
			}
		private:
			std::string weaponmagazinename;
		};
		class WeaponScope {
		public:
			WeaponScope(std::string tmp) { weaponscopename = tmp; }
			bool isRedDot() {
				return (weaponscopename.find("rdsight01") != std::string::npos);
			}
			bool is2xScope() {
				return (weaponscopename.find("rdsight02") != std::string::npos);
			}
			bool is4xScope() {
				return (weaponscopename.find("rdsight03") != std::string::npos);
			}
			bool is8xScope() {
				return (weaponscopename.find("rdsight04") != std::string::npos);
			}
			bool is3xScope() {
				return (weaponscopename.find("rdsight06") != std::string::npos);
			}
			bool is6xScope() {
				return (weaponscopename.find("rdsight07") != std::string::npos);
			}
			bool isScope() {
				return (isRedDot() || is2xScope() || is4xScope() || is3xScope() || is8xScope() || is6xScope());
			}
			std::string getscopename() {
				if (isRedDot()) {
					return "Red-Dot Sight";
				}
				else if (is2xScope()) {
					return "2x Scope";
				}
				else if (is4xScope()) {
					return "4x Scope";
				}
				else if (is8xScope()) {
					return "8x Scope";
				}
				else if (is3xScope()) {
					return "3x Scope";
				}
				else if (is6xScope()) {
					return "6x Scope";
				}
				return "Scope";
			}
		private:
			std::string weaponscopename;
		};
	};

	class CharacterData
	{
	public:
		CharacterData(std::string tmp) { charactermodelname = tmp; }

		bool isMale() {
			return isTianshen();
		}
		bool isFemale() {
			return (isLeila() || isLingzi());
		}
		bool isTianshen() {
			return (charactermodelname.find("tianshen") != std::string::npos);
		}
		bool isLeila() {
			return (charactermodelname.find("leila") != std::string::npos);
		}
		bool isLingzi() {
			return (charactermodelname.find("lingzi") != std::string::npos);
		}
		bool isCharacter() {
			return (isMale() || isFemale());
		}

		/*bool isMaleByStr() {
			return (charactermodelname.find("male") != std::string::npos);
		}
		bool isFemaleByStr() {
			return (charactermodelname.find("female") != std::string::npos);
		}*/
		

		class CharacterEquipment {
		public:
			CharacterEquipment(std::string tmp) { charaequipname = tmp; }
			bool isBasicBoots() {
				return (charaequipname.find("i_shoe04") != std::string::npos);
			}
			bool isRareBoots() {
				return (charaequipname.find("i_shoe05") != std::string::npos);
			}
			bool isAdvancedBoots() {
				return (charaequipname.find("i_shoe06") != std::string::npos);
			}

			bool isBasicGloves() {
				return (charaequipname.find("i_glove04") != std::string::npos);
			}
			bool isRareGloves() {
				return (charaequipname.find("i_glove05") != std::string::npos);
			}
			bool isAdvancedGloves() {
				return (charaequipname.find("i_glove06") != std::string::npos);
			}

			bool isBasicArmor() {
				return (charaequipname.find("i_bpc04") != std::string::npos);
			}
			bool isRareArmor() {
				return (charaequipname.find("i_bpc05") != std::string::npos);
			}
			bool isAdvancedArmor() {
				return (charaequipname.find("i_bpc06") != std::string::npos);
			}

			bool isBasicHelmet() {
				return (charaequipname.find("i_helmet01") != std::string::npos);
			}
			bool isRareHelmet() {
				return (charaequipname.find("i_helmet02") != std::string::npos);
			}
			bool isAdvancedHelmet() {
				return (charaequipname.find("i_helmet03") != std::string::npos);
			}

			bool isBasicItem() {
				return (isBasicHelmet() || isBasicGloves() || isBasicArmor() || isBasicBoots());
			}

			bool isRareItem() {
				return (isRareHelmet() || isRareGloves() || isRareArmor() || isRareBoots());
			}

			bool isAdvancedItem() {
				return (isAdvancedHelmet() || isAdvancedGloves() || isAdvancedArmor() || isAdvancedBoots());
			}
			bool isCharaEquipment() {
				return (isBasicItem() || isRareItem() || isAdvancedItem());
			}

			std::string getcharaequipname() {
				if (isBasicHelmet()) {
					return "Basic Helmet";
				}
				else if (isBasicGloves()) {
					return "Basic Gloves";
				}
				else if (isBasicArmor()) {
					return "Basic Armor";
				}
				else if (isBasicBoots()) {
					return "Basic Boots";
				}
				else if (isRareHelmet()) {
					return "Rare Helmet";
				}else if(isRareGloves()) {
					return "Rare Gloves";
				}
				else if (isRareArmor()) {
					return "Rare Armor";
				}
				else if (isRareBoots()) {
					return "Rare Boots";
				}
				else if (isAdvancedHelmet()) {
					return "Advanced Helmet";
				}
				else if (isAdvancedGloves()) {
					return "Advanced Gloves";
				}
				else if (isAdvancedArmor()) {
					return "Advanced Armor";
				}
				else if (isAdvancedBoots()) {
					return "Advanced Boots";
				}
				return "Chara Equipment";
			}
		private:
			std::string charaequipname;
		};

	private:
		std::string charactermodelname;
	};

	class VehicleTypes {
	public:
		VehicleTypes(std::string ModelName) { vehiclemodelname = ModelName; }
		bool isBlueCar() {
			return (vehiclemodelname.find("car01") != std::string::npos);
		}
		bool isBlackCar() {
			return (vehiclemodelname.find("car03") != std::string::npos);
		}
		bool isBoat() {
			return (vehiclemodelname.find("boat04") != std::string::npos);
		}
		bool isMotor() {
			return (vehiclemodelname.find("motor02") != std::string::npos);
		}
		bool isTruck() {
			return (vehiclemodelname.find("truck02") != std::string::npos);
		}
		bool isAirPlane() {
			return (vehiclemodelname.find("air02_04") != std::string::npos);
		}
		bool isVehicle() {
			return (isBlueCar() || isBlackCar() || isBoat() || isMotor() || isTruck() || isAirPlane());
		}

		std::string getvehiclename() {
			if (isBlueCar()) {
				return "Blue Sports Car";
			}
			else if (isBlackCar()) {
				return "Black Sports Car";
			}
			else if (isBoat()) {
				return "Boat";
			}
			else if (isMotor()) {
				return "Motor";
			}
			else if (isTruck()) {
				return "Truck";
			}
			else if (isAirPlane()) {
				return "AirPlane";
			}
			else {
				return "Vehicle";
			}
		}
	private:
		std::string vehiclemodelname;
	};

	class AdditionalItem {
	public:
		AdditionalItem(std::string tmp) { additionalitem = tmp; }
		bool isQuantumCubeEnergy() {
			return (additionalitem.find("mofang_01") != std::string::npos);
		}
		bool isDeadPlayer() {
			return (additionalitem.find("xiaojingling") != std::string::npos);
		}
		bool isSupplyBox() {
			return (additionalitem.find("box06_c") != std::string::npos);
		}
		bool isMiniSupplyBox() {
			return (additionalitem.find("box07_a") != std::string::npos);
		}

		bool isBandageBox() {
			return (additionalitem.find("m_medbag02") != std::string::npos);
		}

		bool isMedPack() {
			return (additionalitem.find("m_medbox01") != std::string::npos);
		}

		bool isHealing() {
			return (isBandageBox() || isMedPack());
		}

		bool isMiscItem() {
			return (isQuantumCubeEnergy() || isHealing());
		}

		std::string getmiscname() {
			if (isQuantumCubeEnergy()) {
				return "Quantum Cube Energy";
			}
			else if (isSupplyBox()) {
				return "Supply Box";
			}
			else if (isMiniSupplyBox()) {
				return "Mini-Supply";
			}
			else if (isDeadPlayer()){
				return "Dead Player";
			}
			else if (isBandageBox()) {
				return "Bandage Box";
			}
			else if (isMedPack()) {
				return "Med Pack";
			}
			return "Item";
		}

	private:
		std::string additionalitem;
	};
}

 

Good stuff

auto px = pChara->PlayerRotation.x + pTarget->Rotation.x;
auto py = pChara->PlayerRotation.z + pTarget->Rotation.z;
auto pz = pChara->PlayerRotation.w + pTarget->Rotation.w;
D3DXVECTOR3 Diff = WriteVectorDifference(&px,&py,&py,&pChara,-1,5);//Physx virtual function
*(float*)(pChara->LocalPos.x) = Diff.x;
*(float*)(pChara->LocalPos.y) = Diff.y;
*(float*)(pChara->LocalPos.z) = Diff.z;

 

Leu1vMq.png

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

 

AdBlock Extension Detected!

depositphotos_220325684-stock-illustration-hand-holding-mobile-with-ad.jpg

 

Our website is made possible by displaying online Advertisements to our members.

Please disable AdBlock browser Extension first, to be able to use our Community.

You won't be able to access this page.

I've Disabled AdBlock