- Статус
- Оффлайн
- Регистрация
- 24 Мар 2018
- Сообщения
- 3
- Реакции
- 2
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
This is a project i've been working on all by myself lately, and i've sold a few copys of this script and people really like it. So since sales have come to an abrupt halt, i decided to make this a public release. If you intend to use this script, please at least give credit where credit is due. I know i'm new to this community, but shit man. Cut a guy some slack.
HTML:
init: ; H1Z1: Advanced Colorbot by: ProLibrary
#SingleInstance, Force
#Persistent
#InstallKeybdHook
#InstallMouseHook
#UseHook
#KeyHistory, 0
#HotKeyInterval 1
#MaxHotkeysPerInterval 300
traytip, Aim Assist Pro 1.3, Running in background!, 5, 1
Menu, tray, NoStandard
Menu, tray, Tip, Aim Assist Pro 1.3
Menu, tray, Add, Aim Assist Pro 1.3, return
Menu, tray, Add
Menu, tray, Add, Exit, exit
SetKeyDelay, -1
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Pixel, Screen, RGB
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, High
EMCol1 := 0x2C221E ;------------|
EMCol2 := 0x8F6B51 ;-----------|
EMCol3 := 0x2C1916 ;----------|
EMCol4 := 0xDAB790 ;---------|
EMCol5 := 0x7B62AD ;--------|
EMCol6 := 0x2E1B40 ;-------|
EMCol7 := 0x4C3131 ;------|
EMCol8 := 0x946DBB ;-----|
EMCol9 := 0x3E2B2B ;----|
EMCol10 := 0x997560 ;---|<------------ Unique H1Z1 Character Color Library
EMCol11 := 0xC7A796 ;----|
EMCol12 := 0xEDE1C7 ;-----|------ These Colors are based off of CONSTANTS in the game. Such as
EMCol13 := 0x512E32 ;------| Particular helmet colors, Hair color, and skin color. More color Hex
EMCol14 := 0x874742 ;-------| codes may be added to improve this Scripts Accuracy, but colors that are
EMCol15 := 0x3C3B3D ;--------| common may result in the script locking onto random objects in the game.
EMCol16 := 0x6C574C ;---------|
EMCol17 := 0x4D4943 ;----------|
EMCol18 := 0x8B815E ;-----------|
EMCol19 := 0x5D312F ;-----------|
EMCol20 := 0x1B1A1C ;-----------|
colVn := 50 ;Color Variance Recognition
AntiShakeX := (A_ScreenHeight // 160) ;Smoothing X axis
AntiShakeY := (A_ScreenHeight // 128) ;Smoothing y axis
ZeroX := (A_ScreenWidth // 2)
ZeroY := (A_ScreenHeight // 2)
CFovX := (A_ScreenWidth // 74)
CFovY := (A_ScreenHeight // 74)
ScanL := ZeroX - CFovX
ScanT := ZeroY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY
Loop, { ;The bread and butter function.
while (getkeystate("RButton"))
{
PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, colVn, Fast RGB
if (!ErrorLevel=0) {
loop, 1 {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, colVn, Fast RGB
AimX := AimPixelX - ZeroX
AimY := AimPixelY - ZeroY
DirX := -1
DirY := -1
If ( AimX > 0 ) {
DirX := 1
}
If ( AimY > 0 ) {
DirY := 1
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
sleep, 0
DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
sleep, 0
DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
sleep, 0
DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
sleep, 0
}
}
}
}
insert::pause
return:
goto, init
return
exit:
exitapp