[Release] Load font by BYTE

Posts 1–13 of 13 · Page 1 of 1
[Release] Load font by BYTE
[php]//Globals
DWORD THEFONT
BYTE FONT[] = { /*BYTES HERE, USE A FILE TO BYTE ARRAY CONVERTER!*/ }
//----------------------------
void cMisc::LoadFont(DWORD &Temp, BYTE Name[], char FontName[])
{
Temp = NULL;
AddFontMemResourceEx((void*)Name,sizeof(Name),0,&T emp);
Hack->Misc->Fontname = FontName;
}[/php]

Temp: Convert ur DWORD to the Font(this address is the Font, this means, the Font wil be deleted when the game is closing, so its nice for public hacks.)
Name: The ByteArray of ur Font
FontName: Not the name of the data(.ttf or what ever u use file), this means the name like "Arial")

Example
[php]LoadFont(THEFONT,FONT,"Spiderman");
//i had no idea xD i never saw a default font with name spiderman, so i choosed this... and i look at the moment spiderman3 xD[/php]

The function clean ur RAM after the process is ended, and also the editor accept this font.

Enjoy or not

Screen



Creditz:
Gordon` (helped by search)
Kotentopf
Can you show us a screenshot /
Quote Originally Posted by flameswor10 View Post
Can you show us a screenshot /
the screenshot in my sig is based with it^^ font name: Aldo

EDIT:
here u have a better

Quote Originally Posted by flameswor10 View Post
Can you show us a screenshot /
look at his sig lol.
Wait so, You convert yout .ttf file or w.e it is to bytes then you can use this function and use that font?
If so, Thats kewl as
combatarms vip
"*" "Aimbot ->" {
"*" "Activation ->" {
"*" "Aimbot ->" {
"*" "Mouse1" "bind mouse1 +aim"
"*" "Mouse2" "bind mouse2 +aim"
"*" "Mouse3" "bind mouse3 +aim"
"*" "Unbind Aimbot" "unbind +aim"
}
"*" "Tactical Aim ->" {
"*" "F" "bind f +tacsaim"
"*" "G" "bind g +tacsaim"
"*" "Alt" "bind alt +tacsaim"
"*" "Caps" "bind capslock +tacsaim"
"*" "Unbind Tactical Aim" "unbind +tacsaim"
}
}
"*" "Bone ->" {
"*" "Head" "aim_bone 0"
"*" "Neck" "aim_bone 1"
"*" "upper Chest" "aim_bone 2"
"*" "Chest" "aim_bone 3"
}
"*" "Aimbot Options ->" {
"*" "FOV ->" {
"*" "10" "aim_fov 10"
"*" "20" "aim_fov 20"
"*" "30" "aim_fov 30"
"*" "45" "aim_fov 45"
"*" "60" "aim_fov 60"
"*" "90" "aim_fov 90"
"*" "180" "aim_fov 180"
"*" "360" "aim_fov 360"
}
"*" "Aim at visible target" "aim_whenvis"
"*" "Trace all bones" "aim_tab"
"*" "Auto attack" "aim_autoattack"
"*" "Switch after kill" "aim_switch"
}
}
"*" "ESP ->" {
"*" "lasers" "lasers"
"*" "Box Esp" "boxes"
"*" "Names" "esp_names"
"*" "Score" "esp_score"
}
"*" "Speed ->" {
"*" "x1.5" "speedval 1.5"
"*" "x2" "speedval 2"
"*" "x3" "speedval 3"
"*" "x5" "speedval 5"
"*" "x10" "speedval 10"
"*" "x20" "speedval 20"
"*" "x100" "speedval 100"
}
"*" "Wallhacks ->" {
"*" "Cham Colors ->" {
"*" "Color A ->" {
"*" "red" "cham_color_a 1"
"*" "green" "cham_color_a 2"
"*" "yellow" "cham_color_a 3"
"*" "blue" "cham_color_a 4"
"*" "cyan" "cham_color_a 5"
"*" "purple" "cham_color_a 6"
"*" "orange" "cham_color_a 7"
"*" "white" "cham_color_a 8"
"*" "gray" "cham_color_a 9"
"*" "black" "cham_color_a 10"
"*" "mgreen" "cham_color_a 11"
"*" "mblue" "cham_color_a 12"
"*" "lblue" "cham_color_a 13"
"*" "violet" "cham_color_a 14"
}
"*" "Color B ->" {
"*" "red" "cham_color_b 1"
"*" "green" "cham_color_b 2"
"*" "yellow" "cham_color_b 3"
"*" "blue" "cham_color_b 4"
"*" "cyan" "cham_color_b 5"
"*" "purple" "cham_color_b 6"
"*" "orange" "cham_color_b 7"
"*" "white" "cham_color_b 8"
"*" "gray" "cham_color_b 9"
"*" "black" "cham_color_b 10"
"*" "mgreen" "cham_color_b 11"
"*" "mblue" "cham_color_b 12"
"*" "lblue" "cham_color_b 13"
"*" "violet" "cham_color_b 14"
}
}
"*" "Chams" "wall_chams"
}
"*" "Hacks ->" {
"*" "Jump Hack ->" {
"*" "250" "jumpheight 250"
"*" "300 (default)" "jumpheight 300"
"*" "400" "jumpheight 400"
"*" "500" "jumpheight 500"
"*" "600" "jumpheight 600"
"*" "700" "jumpheight 700"
"*" "800" "jumpheight 800"
"*" "900" "jumpheight 900"
}
"*" "Fly Hack ->" {
"*" "Toggle ->" {
"*" "Alt (defautl)" "bind alt flyhack"
"*" "X" "bind x flyhack"
"*" "Caps" "bind capslock flyhack"
"*" "Unbind Fly-Hack" "unbind flyhack"
}
"*" "Height ->" {
"*" "250" "flyheight 250"
"*" "500" "flyheight 500"
"*" "750" "flyheight 750"
"*" "1000 (default)" "flyheight 1000"
"*" "2000" "flyheight 2000"
}
}
"*" "No Spread" "nospread"
"*" "Instant Reload" "noreload"
"*" "Super Bullets" "superbullets"
"*" "Window Mode" "windowed"
"*" "Crosshair" "vis_xhair"
}
"*" "Misc ->" {
"*" "Save / Load ->" {
"*" "Load Config 1" "load 1"
"*" "Load Config 2" "load 2"
"*" "Load Config 3" "load 3"
"*" "Save Config 1" "save 1"
"*" "Save Config 2" "save 2"
"*" "Save Config 3" "save 3"
"*" "Set Startup Config" "setstartup 1"
}
"*" "Winamp ->" {
"*" "Stop" "winamp 2"
"*" "Play" "winamp 1"
"*" "Next" "winamp 3"
"*" "Back" "winamp 4"
"*" "Volume Up" "winamp 5"
"*" "Volume Down" "winamp 6"
"*" "Fast Forward" "winamp 7"
"*" "Rewind" "winamp 8"
"*" "Shuffle" "winamp 9"
"*" "Repeat" "winamp 10"
}
Quote Originally Posted by bloodymac144 View Post
Code:
"*" "Aimbot ->" {
	"*" "Activation ->" {
		"*" "Aimbot ->" {
			"*" "Mouse1"			"bind mouse1 +aim"
			"*" "Mouse2"			"bind mouse2 +aim"
			"*" "Mouse3"			"bind mouse3 +aim"
			"*" "Unbind Aimbot"		"unbind +aim"
			}
		"*" "Tactical Aim ->" {
			"*" "F"				"bind f +tacsaim"
			"*" "G"				"bind g +tacsaim"
			"*" "Alt"			"bind alt +tacsaim"
			"*" "Caps"			"bind capslock +tacsaim"
			"*" "Unbind Tactical Aim"	"unbind +tacsaim"
			}
		}
	"*" "Bone ->" {
		"*" "Head"				"aim_bone 0"
		"*" "Neck"				"aim_bone 1"
		"*" "upper Chest"			"aim_bone 2"
		"*" "Chest"				"aim_bone 3"
		}
	"*" "Aimbot Options ->" {
		"*" "FOV ->" {
			"*" "10"			"aim_fov 10"
			"*" "20"			"aim_fov 20"
			"*" "30"			"aim_fov 30"
			"*" "45"			"aim_fov 45"
			"*" "60"			"aim_fov 60"
			"*" "90"			"aim_fov 90"
			"*" "180"			"aim_fov 180"
			"*" "360"			"aim_fov 360"
			}
		"*" "Aim at visible target"		"aim_whenvis"
		"*" "Trace all bones"			"aim_tab"
		"*" "Auto attack"			"aim_autoattack"
		"*" "Switch after kill"			"aim_switch"
		}
	}
"*" "ESP ->" {
	"*" "lasers"					"lasers"
	"*" "Box Esp"					"boxes"
	"*" "Names"					"esp_names"
	"*" "Score"					"esp_score"
	}
"*" "Speed ->" {
	"*" "x1.5"					"speedval 1.5"
	"*" "x2"					"speedval 2"
	"*" "x3"					"speedval 3"
	"*" "x5"					"speedval 5"
	"*" "x10"					"speedval 10"
	"*" "x20"					"speedval 20"
	"*" "x100"					"speedval 100"
	}
"*" "Wallhacks ->" {
	"*" "Cham Colors ->" {
		"*" "Color A ->" {
			"*" "red"				"cham_color_a 1"
			"*" "green"				"cham_color_a 2"
			"*" "yellow"				"cham_color_a 3"
			"*" "blue"				"cham_color_a 4"
			"*" "cyan"				"cham_color_a 5"
			"*" "purple"				"cham_color_a 6"
			"*" "orange"				"cham_color_a 7"
			"*" "white"				"cham_color_a 8"
			"*" "gray"				"cham_color_a 9"
			"*" "black"				"cham_color_a 10"
			"*" "mgreen"				"cham_color_a 11"
			"*" "mblue"				"cham_color_a 12"
			"*" "lblue"				"cham_color_a 13"
			"*" "violet"				"cham_color_a 14"
			}
		"*" "Color B ->" {
			"*" "red"				"cham_color_b 1"
			"*" "green"				"cham_color_b 2"
			"*" "yellow"				"cham_color_b 3"
			"*" "blue"				"cham_color_b 4"
			"*" "cyan"				"cham_color_b 5"
			"*" "purple"				"cham_color_b 6"
			"*" "orange"				"cham_color_b 7"
			"*" "white"				"cham_color_b 8"
			"*" "gray"				"cham_color_b 9"
			"*" "black"				"cham_color_b 10"
			"*" "mgreen"				"cham_color_b 11"
			"*" "mblue"				"cham_color_b 12"
			"*" "lblue"				"cham_color_b 13"
			"*" "violet"				"cham_color_b 14"
			}
		}
	"*" "Chams"					"wall_chams"
	}	
"*" "Hacks ->" {
	"*" "Jump Hack ->" {
			"*" "250"			"jumpheight 250"
			"*" "300 (default)"		"jumpheight 300"
			"*" "400"			"jumpheight 400"
			"*" "500"			"jumpheight 500"
			"*" "600"			"jumpheight 600"
			"*" "700"			"jumpheight 700"
			"*" "800"			"jumpheight 800"
			"*" "900"			"jumpheight 900"
		}
	"*" "Fly Hack ->" {
		"*" "Toggle ->" {
			"*" "Alt (defautl)"		"bind alt flyhack"
			"*" "X"				"bind x flyhack"
			"*" "Caps"			"bind capslock flyhack"
			"*" "Unbind Fly-Hack"		"unbind flyhack"
			}
		"*" "Height ->" {
			"*" "250"			"flyheight 250"
			"*" "500"			"flyheight 500"
			"*" "750"			"flyheight 750"
			"*" "1000 (default)"		"flyheight 1000"
			"*" "2000"			"flyheight 2000"
			}
		}
	"*" "No Spread"					"nospread"
	"*" "Instant Reload"				"noreload"
	"*" "Super Bullets"				"superbullets"
	"*" "Window Mode"				"windowed"
	"*" "Crosshair"					"vis_xhair"
}
"*" "Misc ->" {
	"*" "Save / Load ->" {
		"*" "Load Config 1"    			"load 1"
		"*" "Load Config 2"    			"load 2"
		"*" "Load Config 3"    			"load 3"
		"*" "Save Config 1"    			"save 1"
		"*" "Save Config 2"    			"save 2"
		"*" "Save Config 3"    			"save 3"
		"*" "Set Startup Config"		"setstartup 1"
	}
	"*" "Winamp ->" {
		"*" "Stop"     				"winamp 2"
		"*" "Play"     				"winamp 1"
		"*" "Next"     				"winamp 3"
		"*" "Back"     				"winamp 4"
		"*" "Volume Up"     			"winamp 5"
		"*" "Volume Down"     			"winamp 6"
		"*" "Fast Forward"     			"winamp 7"
		"*" "Rewind"     			"winamp 8"
		"*" "Shuffle"     			"winamp 9"
		"*" "Repeat"     			"winamp 10"
	}/you/facefloorbobo/baba
NICE SOURCE now i have a VIP hack with aimbot /
Quote Originally Posted by swatfx View Post
NICE SOURCE now i have a VIP hack with aimbot /
WTF... That aint Aimbot LOL
Quote Originally Posted by ac1d_buRn View Post
Wait so, You convert yout .ttf file or w.e it is to bytes then you can use this function and use that font?
If so, Thats kewl as
yeah,
its simulate that the font is installed
so if u have a font data(.ttf) with more than 1 fonts u can also use the other fonts at this data
Quote Originally Posted by kotentopf View Post
yeah,
its simulate that the font is installed
so if u have a font data(.ttf) with more than 1 fonts u can also use the other fonts at this data
Thanks for clarifying that.
Quote Originally Posted by bloodymac144 View Post
"*" "Aimbot ->" {
"*" "Activation ->" {
"*" "Aimbot ->" {
"*" "Mouse1" "bind mouse1 +aim"
"*" "Mouse2" "bind mouse2 +aim"
"*" "Mouse3" "bind mouse3 +aim"
"*" "Unbind Aimbot" "unbind +aim"
}
"*" "Tactical Aim ->" {
"*" "F" "bind f +tacsaim"
"*" "G" "bind g +tacsaim"
"*" "Alt" "bind alt +tacsaim"
"*" "Caps" "bind capslock +tacsaim"
"*" "Unbind Tactical Aim" "unbind +tacsaim"
}
}
"*" "Bone ->" {
"*" "Head" "aim_bone 0"
"*" "Neck" "aim_bone 1"
"*" "upper Chest" "aim_bone 2"
"*" "Chest" "aim_bone 3"
}
"*" "Aimbot Options ->" {
"*" "FOV ->" {
"*" "10" "aim_fov 10"
"*" "20" "aim_fov 20"
"*" "30" "aim_fov 30"
"*" "45" "aim_fov 45"
"*" "60" "aim_fov 60"
"*" "90" "aim_fov 90"
"*" "180" "aim_fov 180"
"*" "360" "aim_fov 360"
}
"*" "Aim at visible target" "aim_whenvis"
"*" "Trace all bones" "aim_tab"
"*" "Auto attack" "aim_autoattack"
"*" "Switch after kill" "aim_switch"
}
}
"*" "ESP ->" {
"*" "lasers" "lasers"
"*" "Box Esp" "boxes"
"*" "Names" "esp_names"
"*" "Score" "esp_score"
}
"*" "Speed ->" {
"*" "x1.5" "speedval 1.5"
"*" "x2" "speedval 2"
"*" "x3" "speedval 3"
"*" "x5" "speedval 5"
"*" "x10" "speedval 10"
"*" "x20" "speedval 20"
"*" "x100" "speedval 100"
}
"*" "Wallhacks ->" {
"*" "Cham Colors ->" {
"*" "Color A ->" {
"*" "red" "cham_color_a 1"
"*" "green" "cham_color_a 2"
"*" "yellow" "cham_color_a 3"
"*" "blue" "cham_color_a 4"
"*" "cyan" "cham_color_a 5"
"*" "purple" "cham_color_a 6"
"*" "orange" "cham_color_a 7"
"*" "white" "cham_color_a 8"
"*" "gray" "cham_color_a 9"
"*" "black" "cham_color_a 10"
"*" "mgreen" "cham_color_a 11"
"*" "mblue" "cham_color_a 12"
"*" "lblue" "cham_color_a 13"
"*" "violet" "cham_color_a 14"
}
"*" "Color B ->" {
"*" "red" "cham_color_b 1"
"*" "green" "cham_color_b 2"
"*" "yellow" "cham_color_b 3"
"*" "blue" "cham_color_b 4"
"*" "cyan" "cham_color_b 5"
"*" "purple" "cham_color_b 6"
"*" "orange" "cham_color_b 7"
"*" "white" "cham_color_b 8"
"*" "gray" "cham_color_b 9"
"*" "black" "cham_color_b 10"
"*" "mgreen" "cham_color_b 11"
"*" "mblue" "cham_color_b 12"
"*" "lblue" "cham_color_b 13"
"*" "violet" "cham_color_b 14"
}
}
"*" "Chams" "wall_chams"
}
"*" "Hacks ->" {
"*" "Jump Hack ->" {
"*" "250" "jumpheight 250"
"*" "300 (default)" "jumpheight 300"
"*" "400" "jumpheight 400"
"*" "500" "jumpheight 500"
"*" "600" "jumpheight 600"
"*" "700" "jumpheight 700"
"*" "800" "jumpheight 800"
"*" "900" "jumpheight 900"
}
"*" "Fly Hack ->" {
"*" "Toggle ->" {
"*" "Alt (defautl)" "bind alt flyhack"
"*" "X" "bind x flyhack"
"*" "Caps" "bind capslock flyhack"
"*" "Unbind Fly-Hack" "unbind flyhack"
}
"*" "Height ->" {
"*" "250" "flyheight 250"
"*" "500" "flyheight 500"
"*" "750" "flyheight 750"
"*" "1000 (default)" "flyheight 1000"
"*" "2000" "flyheight 2000"
}
}
"*" "No Spread" "nospread"
"*" "Instant Reload" "noreload"
"*" "Super Bullets" "superbullets"
"*" "Window Mode" "windowed"
"*" "Crosshair" "vis_xhair"
}
"*" "Misc ->" {
"*" "Save / Load ->" {
"*" "Load Config 1" "load 1"
"*" "Load Config 2" "load 2"
"*" "Load Config 3" "load 3"
"*" "Save Config 1" "save 1"
"*" "Save Config 2" "save 2"
"*" "Save Config 3" "save 3"
"*" "Set Startup Config" "setstartup 1"
}
"*" "Winamp ->" {
"*" "Stop" "winamp 2"
"*" "Play" "winamp 1"
"*" "Next" "winamp 3"
"*" "Back" "winamp 4"
"*" "Volume Up" "winamp 5"
"*" "Volume Down" "winamp 6"
"*" "Fast Forward" "winamp 7"
"*" "Rewind" "winamp 8"
"*" "Shuffle" "winamp 9"
"*" "Repeat" "winamp 10"
}
Looks like someone copied the HLH/GDCS file intepreter for the menu.
This more like playing UV in 3d modeling where you import an alphabet image & render it according to each letter you want, genius.
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us