forked from CSGOLeaks/supremacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.h
2154 lines (1707 loc) · 81.7 KB
/
menu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#pragma once
class AimbotTab : public Tab {
public:
// col1.
Checkbox enable;
Checkbox silent;
Dropdown selection;
Checkbox fov;
Slider fov_amount;
MultiDropdown hitbox;
MultiDropdown hitbox_history;
MultiDropdown multipoint;
Slider scale;
Slider body_scale;
Slider minimal_damage;
Checkbox minimal_damage_hp;
Checkbox penetrate;
Slider penetrate_minimal_damage;
Checkbox penetrate_minimal_damage_hp;
Checkbox knifebot;
Checkbox zeusbot;
// col2.
Dropdown zoom;
Checkbox nospread;
Checkbox norecoil;
Checkbox hitchance;
Slider hitchance_amount;
Checkbox lagfix;
Checkbox correct;
MultiDropdown baim1;
MultiDropdown baim2;
Slider baim_hp;
Keybind baim_key;
public:
void init( ) {
// title.
SetTitle( XOR( "aimbot" ) );
enable.setup( XOR( "enable" ), XOR( "enable" ) );
RegisterElement( &enable );
silent.setup( XOR( "silent aimbot" ), XOR( "silent" ) );
RegisterElement( &silent );
selection.setup( XOR( "target selection" ), XOR( "selection" ), { XOR( "distance" ), XOR( "crosshair" ), XOR( "damage" ), XOR( "health" ), XOR( "lag" ), XOR( "height" ) } );
RegisterElement( &selection );
fov.setup( XOR( "angle limit" ), XOR( "fov" ) );
RegisterElement( &fov );
fov_amount.setup( "", XOR( "fov_amount" ), 1.f, 180.f, false, 0, 180.f, 1.f, XOR( L"°" ) );
fov_amount.AddShowCallback( callbacks::IsFovOn );
RegisterElement( &fov_amount );
hitbox.setup( XOR( "hitbox" ), XOR( "hitbox" ), { XOR( "head" ), XOR( "chest" ), XOR( "body" ), XOR( "arms" ), XOR( "legs" ) } );
RegisterElement( &hitbox );
hitbox_history.setup( XOR( "hitbox history" ), XOR( "hitbox_history" ), { XOR( "head" ), XOR( "chest" ), XOR( "body" ), XOR( "arms" ), XOR( "legs" ) } );
RegisterElement( &hitbox_history );
multipoint.setup( XOR( "multi-point" ), XOR( "multipoint" ), { XOR( "head" ), XOR( "chest" ), XOR( "body" ), XOR( "legs" ) } );
RegisterElement( &multipoint );
scale.setup( "", XOR( "hitbox_scale" ), 1.f, 100.f, false, 0, 90.f, 1.f, XOR( L"%" ) );
scale.AddShowCallback( callbacks::IsMultipointOn );
RegisterElement( &scale );
body_scale.setup( XOR( "body hitbox scale" ), XOR( "body_hitbox_scale" ), 1.f, 100.f, true, 0, 50.f, 1.f, XOR( L"%" ) );
body_scale.AddShowCallback( callbacks::IsMultipointBodyOn );
RegisterElement( &body_scale );
minimal_damage.setup( XOR( "minimal damage" ), XOR( "minimal_damage" ), 1.f, 100.f, true, 0, 40.f, 1.f );
RegisterElement( &minimal_damage );
minimal_damage_hp.setup( XOR( "scale damage on hp" ), XOR( "minimal_damage_hp" ) );
RegisterElement( &minimal_damage_hp );
penetrate.setup( XOR( "penetrate walls" ), XOR( "penetrate" ) );
RegisterElement( &penetrate );
penetrate_minimal_damage.setup( "", XOR( "penetrate_minimal_damage" ), 1.f, 100.f, false, 0, 30.f, 1.f );
penetrate_minimal_damage.AddShowCallback( callbacks::IsPenetrationOn );
RegisterElement( &penetrate_minimal_damage );
penetrate_minimal_damage_hp.setup( XOR( "scale penetration damage on hp" ), XOR( "penetrate_minimal_damage_hp" ) );
penetrate_minimal_damage_hp.AddShowCallback( callbacks::IsPenetrationOn );
RegisterElement( &penetrate_minimal_damage_hp );
knifebot.setup( XOR( "aimbot with knife" ), XOR( "knifebot" ) );
RegisterElement( &knifebot );
zeusbot.setup( XOR( "aimbot with taser" ), XOR( "zeusbot" ) );
RegisterElement( &zeusbot );
// col2.
zoom.setup( XOR( "auto scope" ), XOR( "zoom" ), { XOR( "off" ), XOR( "always" ), XOR( "hitchance fail" ) } );
RegisterElement( &zoom, 1 );
nospread.setup( XOR( "compensate spread" ), XOR( "nospread" ) );
nospread.AddShowCallback( callbacks::IsConfigNS );
RegisterElement( &nospread, 1 );
norecoil.setup( XOR( "compensate recoil" ), XOR( "norecoil" ) );
RegisterElement( &norecoil, 1 );
hitchance.setup( XOR( "hitchance" ), XOR( "hitchance" ) );
hitchance.AddShowCallback( callbacks::IsConfigMM );
RegisterElement( &hitchance, 1 );
hitchance_amount.setup( "", XOR( "hitchance_amount" ), 1.f, 100.f, false, 0, 50.f, 1.f, XOR( L"%" ) );
hitchance_amount.AddShowCallback( callbacks::IsConfigMM );
hitchance_amount.AddShowCallback( callbacks::IsHitchanceOn );
RegisterElement( &hitchance_amount, 1 );
lagfix.setup( XOR( "predict fake-lag" ), XOR( "lagfix" ) );
RegisterElement( &lagfix, 1 );
correct.setup( XOR( "correct anti-aim" ), XOR( "correct" ) );
RegisterElement( &correct, 1 );
baim1.setup( XOR( "prefer body aim" ), XOR( "baim1" ), { XOR( "always" ), XOR( "lethal" ), XOR( "lethal x2" ), XOR( "fake" ), XOR( "in air" ) } );
RegisterElement( &baim1, 1 );
baim2.setup( XOR( "only body aim" ), XOR( "baim2" ), { XOR( "always" ), XOR( "health" ), XOR( "fake" ), XOR( "in air" ) } );
RegisterElement( &baim2, 1 );
baim_hp.setup( "", XOR( "baim_hp" ), 1.f, 50.f, false, 0, 20.f, 1.f, XOR( L"hp" ) );
baim_hp.AddShowCallback( callbacks::IsBaimHealth );
RegisterElement( &baim_hp, 1 );
baim_key.setup( XOR( "body aim on key" ), XOR( "body aim on key" ) );
RegisterElement( &baim_key, 1 );
}
};
class AntiAimTab : public Tab {
public:
// col 1.
Checkbox enable;
Checkbox edge;
Dropdown mode;
Dropdown pitch_stand;
Dropdown yaw_stand;
Slider jitter_range_stand;
Slider rot_range_stand;
Slider rot_speed_stand;
Slider rand_update_stand;
Dropdown dir_stand;
Slider dir_time_stand;
Slider dir_custom_stand;
Checkbox dir_lock;
Dropdown base_angle_stand;
Dropdown body_fake_stand;
Dropdown pitch_walk;
Dropdown yaw_walk;
Slider jitter_range_walk;
Slider rot_range_walk;
Slider rot_speed_walk;
Slider rand_update_walk;
Dropdown dir_walk;
Slider dir_time_walk;
Slider dir_custom_walk;
Dropdown base_angle_walk;
Dropdown pitch_air;
Dropdown yaw_air;
Slider jitter_range_air;
Slider rot_range_air;
Slider rot_speed_air;
Slider rand_update_air;
Dropdown dir_air;
Slider dir_time_air;
Slider dir_custom_air;
Dropdown base_angle_air;
Dropdown body_fake_air;
// col 2.
Dropdown fake_yaw;
Slider fake_relative;
Slider fake_jitter_range;
Checkbox lag_enable;
MultiDropdown lag_active;
Dropdown lag_mode;
Slider lag_limit;
Checkbox lag_land;
public:
void init( ) {
SetTitle( XOR( "anti-aim" ) );
enable.setup( XOR( "enable" ), XOR( "enable" ) );
RegisterElement( &enable );
edge.setup( XOR( "edge" ), XOR( "edge" ) );
RegisterElement( &edge );
mode.setup( "", XOR( "mode" ), { XOR( "stand" ), XOR( "walk" ), XOR( "air" ) }, false );
RegisterElement( &mode );
// stand.
pitch_stand.setup( XOR( "pitch" ), XOR( "pitch_stnd" ), { XOR( "off" ), XOR( "down" ), XOR( "up" ), XOR( "random" ), XOR( "ideal" ) } );
pitch_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
RegisterElement( &pitch_stand );
yaw_stand.setup( XOR( "yaw" ), XOR( "yaw_stnd" ), { XOR( "off" ), XOR( "direction" ), XOR( "jitter" ), XOR( "rotate" ), XOR( "random" ) } );
yaw_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
RegisterElement( &yaw_stand );
jitter_range_stand.setup( "", XOR( "jitter_range_stnd" ), 1.f, 180.f, false, 0, 45.f, 5.f, XOR( L"°" ) );
jitter_range_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
jitter_range_stand.AddShowCallback( callbacks::IsStandYawJitter );
RegisterElement( &jitter_range_stand );
rot_range_stand.setup( "", XOR( "rot_range_stnd" ), 0.f, 360.f, false, 0, 360.f, 5.f, XOR( L"°" ) );
rot_range_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
rot_range_stand.AddShowCallback( callbacks::IsStandYawRotate );
RegisterElement( &rot_range_stand );
rot_speed_stand.setup( "", XOR( "rot_speed_stnd" ), 1.f, 100.f, false, 0, 10.f, 1.f, XOR( L"%" ) );
rot_speed_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
rot_speed_stand.AddShowCallback( callbacks::IsStandYawRotate );
RegisterElement( &rot_speed_stand );
rand_update_stand.setup( "", XOR( "rand_update_stnd" ), 0.f, 1.f, false, 1, 0.f, 0.1f );
rand_update_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
rand_update_stand.AddShowCallback( callbacks::IsStandYawRnadom );
RegisterElement( &rand_update_stand );
dir_stand.setup( XOR( "direction" ), XOR( "dir_stnd" ), { XOR( "auto" ), XOR( "backwards" ), XOR( "left" ), XOR( "right" ), XOR( "custom" ) } );
dir_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
dir_stand.AddShowCallback( callbacks::HasStandYaw );
RegisterElement( &dir_stand );
dir_time_stand.setup( "", XOR( "dir_time_stnd" ), 0.f, 10.f, false, 0, 0.f, 1.f, XOR( L"s" ) );
dir_time_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
dir_time_stand.AddShowCallback( callbacks::HasStandYaw );
dir_time_stand.AddShowCallback( callbacks::IsStandDirAuto );
RegisterElement( &dir_time_stand );
dir_custom_stand.setup( "", XOR( "dir_custom_stnd" ), -180.f, 180.f, false, 0, 0.f, 5.f, XOR( L"°" ) );
dir_custom_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
dir_custom_stand.AddShowCallback( callbacks::HasStandYaw );
dir_custom_stand.AddShowCallback( callbacks::IsStandDirCustom );
RegisterElement( &dir_custom_stand );
base_angle_stand.setup( XOR( "base angle" ), XOR( "base_angle_stand" ), { XOR( "off" ), XOR( "static" ), XOR( "away crosshair" ), XOR( "away distance" ) } );
base_angle_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
base_angle_stand.AddShowCallback( callbacks::HasStandYaw );
RegisterElement( &base_angle_stand );
dir_lock.setup( XOR( "lock direction" ), XOR( "dir_lock" ) );
dir_lock.AddShowCallback( callbacks::IsAntiAimModeStand );
dir_lock.AddShowCallback( callbacks::HasStandYaw );
RegisterElement( &dir_lock );
body_fake_stand.setup( XOR( "fake body" ), XOR( "body_fake_stnd" ), { XOR( "off" ), XOR( "left" ), XOR( "right" ), XOR( "opposite" ), XOR( "z" ) } );
body_fake_stand.AddShowCallback( callbacks::IsAntiAimModeStand );
body_fake_stand.AddShowCallback( callbacks::HasStandYaw );
RegisterElement( &body_fake_stand );
// walk.
pitch_walk.setup( XOR( "pitch" ), XOR( "pitch_walk" ), { XOR( "off" ), XOR( "down" ), XOR( "up" ), XOR( "random" ), XOR( "ideal" ) } );
pitch_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
RegisterElement( &pitch_walk );
yaw_walk.setup( XOR( "yaw" ), XOR( "yaw_walk" ), { XOR( "off" ), XOR( "direction" ), XOR( "jitter" ), XOR( "rotate" ), XOR( "random" ) } );
yaw_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
RegisterElement( &yaw_walk );
jitter_range_walk.setup( "", XOR( "jitter_range_walk" ), 1.f, 180.f, false, 0, 45.f, 5.f, XOR( L"°" ) );
jitter_range_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
jitter_range_walk.AddShowCallback( callbacks::IsWalkYawJitter );
RegisterElement( &jitter_range_walk );
rot_range_walk.setup( "", XOR( "rot_range_walk" ), 0.f, 360.f, false, 0, 360.f, 5.f, XOR( L"°" ) );
rot_range_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
rot_range_walk.AddShowCallback( callbacks::IsWalkYawRotate );
RegisterElement( &rot_range_walk );
rot_speed_walk.setup( "", XOR( "rot_speed_walk" ), 1.f, 100.f, false, 0, 10.f, 1.f, XOR( L"%" ) );
rot_speed_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
rot_speed_walk.AddShowCallback( callbacks::IsWalkYawRotate );
RegisterElement( &rot_speed_walk );
rand_update_walk.setup( "", XOR( "rand_update_walk" ), 0.f, 1.f, false, 1, 0.f, 0.1f );
rand_update_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
rand_update_walk.AddShowCallback( callbacks::IsWalkYawRandom );
RegisterElement( &rand_update_walk );
dir_walk.setup( XOR( "direction" ), XOR( "dir_walk" ), { XOR( "auto" ), XOR( "backwards" ), XOR( "left" ), XOR( "right" ), XOR( "custom" ) } );
dir_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
dir_walk.AddShowCallback( callbacks::WalkHasYaw );
RegisterElement( &dir_walk );
dir_time_walk.setup( "", XOR( "dir_time_walk" ), 0.f, 10.f, false, 0, 0.f, 1.f, XOR( L"s" ) );
dir_time_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
dir_time_walk.AddShowCallback( callbacks::WalkHasYaw );
dir_time_walk.AddShowCallback( callbacks::IsWalkDirAuto );
RegisterElement( &dir_time_walk );
dir_custom_walk.setup( "", XOR( "dir_custom_walk" ), -180.f, 180.f, false, 0, 0.f, 5.f, XOR( L"°" ) );
dir_custom_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
dir_custom_walk.AddShowCallback( callbacks::WalkHasYaw );
dir_custom_walk.AddShowCallback( callbacks::IsWalkDirCustom );
RegisterElement( &dir_custom_walk );
base_angle_walk.setup( XOR( "base angle" ), XOR( "base_angle_walk" ), { XOR( "off" ), XOR( "static" ), XOR( "away crosshair" ), XOR( "away distance" ) } );
base_angle_walk.AddShowCallback( callbacks::IsAntiAimModeWalk );
base_angle_walk.AddShowCallback( callbacks::WalkHasYaw );
RegisterElement( &base_angle_walk );
// air.
pitch_air.setup( XOR( "pitch" ), XOR( "pitch_air" ), { XOR( "off" ), XOR( "down" ), XOR( "up" ), XOR( "random" ), XOR( "ideal" ) } );
pitch_air.AddShowCallback( callbacks::IsAntiAimModeAir );
RegisterElement( &pitch_air );
yaw_air.setup( XOR( "yaw" ), XOR( "yaw_air" ), { XOR( "off" ), XOR( "direction" ), XOR( "jitter" ), XOR( "rotate" ), XOR( "random" ) } );
yaw_air.AddShowCallback( callbacks::IsAntiAimModeAir );
RegisterElement( &yaw_air );
jitter_range_air.setup( "", XOR( "jitter_range_air" ), 1.f, 180.f, false, 0, 45.f, 5.f, XOR( L"°" ) );
jitter_range_air.AddShowCallback( callbacks::IsAntiAimModeAir );
jitter_range_air.AddShowCallback( callbacks::IsAirYawJitter );
RegisterElement( &jitter_range_air );
rot_range_air.setup( "", XOR( "rot_range_air" ), 0.f, 360.f, false, 0, 360.f, 5.f, XOR( L"°" ) );
rot_range_air.AddShowCallback( callbacks::IsAntiAimModeAir );
rot_range_air.AddShowCallback( callbacks::IsAirYawRotate );
RegisterElement( &rot_range_air );
rot_speed_air.setup( "", XOR( "rot_speed_air" ), 1.f, 100.f, false, 0, 10.f, 1.f, XOR( L"%" ) );
rot_speed_air.AddShowCallback( callbacks::IsAntiAimModeAir );
rot_speed_air.AddShowCallback( callbacks::IsAirYawRotate );
RegisterElement( &rot_speed_air );
rand_update_air.setup( "", XOR( "rand_update_air" ), 0.f, 1.f, false, 1, 0.f, 0.1f );
rand_update_air.AddShowCallback( callbacks::IsAntiAimModeAir );
rand_update_air.AddShowCallback( callbacks::IsAirYawRandom );
RegisterElement( &rand_update_air );
dir_air.setup( XOR( "direction" ), XOR( "dir_air" ), { XOR( "auto" ), XOR( "backwards" ), XOR( "left" ), XOR( "right" ), XOR( "custom" ) } );
dir_air.AddShowCallback( callbacks::IsAntiAimModeAir );
dir_air.AddShowCallback( callbacks::AirHasYaw );
RegisterElement( &dir_air );
dir_time_air.setup( "", XOR( "dir_time_air" ), 0.f, 10.f, false, 0, 0.f, 1.f, XOR( L"s" ) );
dir_time_air.AddShowCallback( callbacks::IsAntiAimModeAir );
dir_time_air.AddShowCallback( callbacks::AirHasYaw );
dir_time_air.AddShowCallback( callbacks::IsAirDirAuto );
RegisterElement( &dir_time_air );
dir_custom_air.setup( "", XOR( "dir_custom_air" ), -180.f, 180.f, false, 0, 0.f, 5.f, XOR( L"°" ) );
dir_custom_air.AddShowCallback( callbacks::IsAntiAimModeAir );
dir_custom_air.AddShowCallback( callbacks::AirHasYaw );
dir_custom_air.AddShowCallback( callbacks::IsAirDirCustom );
RegisterElement( &dir_custom_air );
base_angle_air.setup( XOR( "base angle" ), XOR( "base_angle_air" ), { XOR( "off" ), XOR( "static" ), XOR( "away crosshair" ), XOR( "away distance" ) } );
base_angle_air.AddShowCallback( callbacks::IsAntiAimModeAir );
base_angle_air.AddShowCallback( callbacks::AirHasYaw );
RegisterElement( &base_angle_air );
body_fake_air.setup( XOR( "fake body" ), XOR( "body_fake_air" ), { XOR( "off" ), XOR( "left" ), XOR( "right" ), XOR( "opposite" ) } );
body_fake_air.AddShowCallback( callbacks::IsAntiAimModeAir );
body_fake_air.AddShowCallback( callbacks::AirHasYaw );
RegisterElement( &body_fake_air );
// col2.
fake_yaw.setup( XOR( "fake yaw" ), XOR( "fake_yaw" ), { XOR( "off" ), XOR( "default" ), XOR( "relative" ), XOR( "jitter" ), XOR( "rotate" ), XOR( "random" ), XOR( "local view" ) } );
RegisterElement( &fake_yaw, 1 );
fake_relative.setup( "", XOR( "fake_relative" ), -90.f, 90.f, false, 0, 0.f, 5.f, XOR( L"°" ) );
fake_relative.AddShowCallback( callbacks::IsFakeAntiAimRelative );
RegisterElement( &fake_relative, 1 );
fake_jitter_range.setup( "", XOR( "fake_jitter_range" ), 1.f, 90.f, false, 0, 0.f, 5.f, XOR( L"°" ) );
fake_jitter_range.AddShowCallback( callbacks::IsFakeAntiAimJitter );
RegisterElement( &fake_jitter_range, 1 );
// col 2.
lag_enable.setup( XOR( "fake-lag" ), XOR( "lag_enable" ) );
RegisterElement( &lag_enable, 1 );
lag_active.setup( "", XOR( "lag_active" ), { XOR( "move" ), XOR( "air" ), XOR( "crouch" ) }, false );
RegisterElement( &lag_active, 1 );
lag_mode.setup( "", XOR( "lag_mode" ), { XOR( "max" ), XOR( "break" ), XOR( "random" ), XOR( "break step" ) }, false );
RegisterElement( &lag_mode, 1 );
lag_limit.setup( XOR( "limit" ), XOR( "lag_limit" ), 2, 16, true, 0, 2, 1.f );
RegisterElement( &lag_limit, 1 );
lag_land.setup( XOR( "on land" ), XOR( "lag_land" ) );
RegisterElement( &lag_land, 1 );
}
};
class PlayersTab : public Tab {
public:
MultiDropdown box;
Colorpicker box_enemy;
Colorpicker box_friendly;
Checkbox dormant;
Checkbox offscreen;
Colorpicker offscreen_color;
MultiDropdown name;
Colorpicker name_color;
MultiDropdown health;
MultiDropdown flags_enemy;
MultiDropdown flags_friendly;
MultiDropdown weapon;
Dropdown weapon_mode;
Checkbox ammo;
Colorpicker ammo_color;
Checkbox lby_update;
Colorpicker lby_update_color;
// col2.
MultiDropdown skeleton;
Colorpicker skeleton_enemy;
Colorpicker skeleton_friendly;
MultiDropdown glow;
Colorpicker glow_enemy;
Colorpicker glow_friendly;
Slider glow_blend;
MultiDropdown chams_enemy;
Colorpicker chams_enemy_vis;
Colorpicker chams_enemy_invis;
Slider chams_enemy_blend;
Checkbox chams_enemy_history;
Colorpicker chams_enemy_history_col;
Slider chams_enemy_history_blend;
MultiDropdown chams_friendly;
Colorpicker chams_friendly_vis;
Colorpicker chams_friendly_invis;
Slider chams_friendly_blend;
Checkbox chams_local;
Colorpicker chams_local_col;
Slider chams_local_blend;
Checkbox chams_local_scope;
public:
void init( ) {
SetTitle( XOR( "players" ) );
box.setup( XOR( "boxes" ), XOR( "box" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &box );
box_enemy.setup( XOR( "box enemy color" ), XOR( "box_enemy" ), { 150, 200, 60 } );
RegisterElement( &box_enemy );
box_friendly.setup( XOR( "box friendly color" ), XOR( "box_friendly" ), { 255, 200, 0 } );
RegisterElement( &box_friendly );
dormant.setup( XOR( "dormant enemies" ), XOR( "dormant" ) );
RegisterElement( &dormant );
offscreen.setup( XOR( "enemy offscreen esp" ), XOR( "offscreen" ) );
RegisterElement( &offscreen );
offscreen_color.setup( XOR( "offscreen esp color" ), XOR( "offscreen_color" ), colors::white );
RegisterElement( &offscreen_color );
name.setup( XOR( "name" ), XOR( "name" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &name );
name_color.setup( XOR( "name color" ), XOR( "name_color" ), colors::white );
RegisterElement( &name_color );
health.setup( XOR( "health" ), XOR( "health" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &health );
flags_enemy.setup( XOR( "flags enemy" ), XOR( "flags_enemy" ), { XOR( "money" ), XOR( "armor" ), XOR( "scoped" ), XOR( "flashed" ), XOR( "reloading" ), XOR( "bomb" ) } );
RegisterElement( &flags_enemy );
flags_friendly.setup( XOR( "flags friendly" ), XOR( "flags_friendly" ), { XOR( "money" ), XOR( "armor" ), XOR( "scoped" ), XOR( "flashed" ), XOR( "reloading" ), XOR( "bomb" ) } );
RegisterElement( &flags_friendly );
weapon.setup( XOR( "weapon" ), XOR( "weapon" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &weapon );
weapon_mode.setup( "", XOR( "weapon_mode" ), { XOR( "text" ), XOR( "icon" ) }, false );
RegisterElement( &weapon_mode );
ammo.setup( XOR( "ammo" ), XOR( "ammo" ) );
RegisterElement( &ammo );
ammo_color.setup( XOR( "color" ), XOR( "ammo_color" ), colors::burgundy );
RegisterElement( &ammo_color );
lby_update.setup( XOR( "lby update" ), XOR( "lby_update" ) );
RegisterElement( &lby_update );
lby_update_color.setup( XOR( "color" ), XOR( "lby_update_color" ), colors::orange );
RegisterElement( &lby_update_color );
// col2.
skeleton.setup( XOR( "skeleton" ), XOR( "skeleton" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &skeleton, 1 );
skeleton_enemy.setup( XOR( "enemy color" ), XOR( "skeleton_enemy" ), { 255, 255, 255 } );
RegisterElement( &skeleton_enemy, 1 );
skeleton_friendly.setup( XOR( "friendly color" ), XOR( "skeleton_friendly" ), { 255, 255, 255 } );
RegisterElement( &skeleton_friendly, 1 );
glow.setup( XOR( "glow" ), XOR( "glow" ), { XOR( "enemy" ), XOR( "friendly" ) } );
RegisterElement( &glow, 1 );
glow_enemy.setup( XOR( "enemy color" ), XOR( "glow_enemy" ), { 150, 200, 60 } );
RegisterElement( &glow_enemy, 1 );
glow_friendly.setup( XOR( "friendly color" ), XOR( "glow_friendly" ), { 150, 200, 60 } );
RegisterElement( &glow_friendly, 1 );
glow_blend.setup( "", XOR( "glow_blend" ), 10.f, 100.f, false, 0, 60.f, 1.f, XOR( L"%" ) );
RegisterElement( &glow_blend, 1 );
chams_enemy.setup( XOR( "chams enemy" ), XOR( "chams_enemy" ), { XOR( "visible" ), XOR( "invisible" ) } );
RegisterElement( &chams_enemy, 1 );
chams_enemy_vis.setup( XOR( "color visible" ), XOR( "chams_enemy_vis" ), { 150, 200, 60 } );
RegisterElement( &chams_enemy_vis, 1 );
chams_enemy_invis.setup( XOR( "color invisible" ), XOR( "chams_enemy_invis" ), { 60, 180, 225 } );
RegisterElement( &chams_enemy_invis, 1 );
chams_enemy_blend.setup( "", XOR( "chams_enemy_blend" ), 10.f, 100.f, false, 0, 100.f, 1.f, XOR( L"%" ) );
RegisterElement( &chams_enemy_blend, 1 );
chams_enemy_history.setup( XOR( "chams history" ), XOR( "chams_history" ) );
RegisterElement( &chams_enemy_history, 1 );
chams_enemy_history_col.setup( XOR( "color" ), XOR( "chams_history_col" ), { 255, 255, 200 } );
RegisterElement( &chams_enemy_history_col, 1 );
chams_enemy_history_blend.setup( "", XOR( "chams_history_blend" ), 10.f, 100.f, false, 0, 100.f, 1.f, XOR( L"%" ) );
RegisterElement( &chams_enemy_history_blend, 1 );
chams_friendly.setup( XOR( "chams friendly" ), XOR( "chams_friendly" ), { XOR( "visible" ), XOR( "invisible" ) } );
RegisterElement( &chams_friendly, 1 );
chams_friendly_vis.setup( XOR( "color visible" ), XOR( "chams_friendly_vis" ), { 255, 200, 0 } );
RegisterElement( &chams_friendly_vis, 1 );
chams_friendly_invis.setup( XOR( "color invisible" ), XOR( "chams_friendly_invis" ), { 255, 50, 0 } );
RegisterElement( &chams_friendly_invis, 1 );
chams_friendly_blend.setup( "", XOR( "chams_friendly_blend" ), 10.f, 100.f, false, 0, 100.f, 1.f, XOR( L"%" ) );
RegisterElement( &chams_friendly_blend, 1 );
chams_local.setup( XOR( "chams local" ), XOR( "chams_local" ) );
RegisterElement( &chams_local, 1 );
chams_local_col.setup( XOR( "color" ), XOR( "chams_local_col" ), { 255, 255, 200 } );
RegisterElement( &chams_local_col, 1 );
chams_local_blend.setup( "", XOR( "chams_local_blend" ), 10.f, 100.f, false, 0, 100.f, 1.f, XOR( L"%" ) );
RegisterElement( &chams_local_blend, 1 );
chams_local_scope.setup( XOR( "blend when scoped" ), XOR( "chams_local_scope" ) );
RegisterElement( &chams_local_scope, 1 );
}
};
class VisualsTab : public Tab {
public:
Checkbox items;
Checkbox ammo;
Colorpicker item_color;
Checkbox proj;
Colorpicker proj_color;
MultiDropdown proj_range;
Colorpicker proj_range_color;
MultiDropdown planted_c4;
Checkbox disableteam;
Dropdown world;
Checkbox transparent_props;
Checkbox enemy_radar;
// col2.
Checkbox novisrecoil;
Checkbox nosmoke;
Checkbox nofog;
Checkbox noflash;
Checkbox noscope;
Checkbox fov;
Slider fov_amt;
Checkbox fov_scoped;
Checkbox viewmodel_fov;
Slider viewmodel_fov_amt;
Checkbox spectators;
Checkbox force_xhair;
Checkbox spread_xhair;
Colorpicker spread_xhair_col;
Slider spread_xhair_blend;
Checkbox pen_crosshair;
MultiDropdown indicators;
Checkbox tracers;
Checkbox impact_beams;
Colorpicker impact_beams_color;
Colorpicker impact_beams_hurt_color;
Slider impact_beams_time;
Keybind thirdperson;
public:
void init( ) {
SetTitle( XOR( "visuals" ) );
items.setup( XOR( "dropped weapons" ), XOR( "items" ) );
RegisterElement( &items );
ammo.setup( XOR( "dropped weapons ammo" ), XOR( "ammo" ) );
RegisterElement( &ammo );
item_color.setup( XOR( "color" ), XOR( "item_color" ), colors::white );
RegisterElement( &item_color );
proj.setup( XOR( "projectiles" ), XOR( "proj" ) );
RegisterElement( &proj );
proj_color.setup( XOR( "color" ), XOR( "proj_color" ), colors::white );
RegisterElement( &proj_color );
proj_range.setup( XOR( "projectile range" ), XOR( "proj_range" ), { XOR( "frag" ), XOR( "molly" ) } );
RegisterElement( &proj_range );
proj_range_color.setup( XOR( "color" ), XOR( "proj_range_color" ), colors::burgundy );
RegisterElement( &proj_range_color );
planted_c4.setup( XOR( "planted c4" ), XOR( "planted_c4" ), { XOR( "on screen (2D)" ), XOR( "on bomb (3D)" ) } );
RegisterElement( &planted_c4 );
disableteam.setup( XOR( "do not render teammates" ), XOR( "disableteam" ) );
RegisterElement( &disableteam );
world.setup( XOR( "world" ), XOR( "world" ), { XOR( "off" ), XOR( "night" ), XOR( "fullbright" ) } );
world.SetCallback( Visuals::ModulateWorld );
RegisterElement( &world );
transparent_props.setup( XOR( "transparent props" ), XOR( "transparent_props" ) );
transparent_props.SetCallback( Visuals::ModulateWorld );
RegisterElement( &transparent_props );
enemy_radar.setup( XOR( "force enemies on radar" ), XOR( "enemy_radar" ) );
RegisterElement( &enemy_radar );
// col2.
novisrecoil.setup( XOR( "remove visual recoil" ), XOR( "novisrecoil" ) );
RegisterElement( &novisrecoil, 1 );
nosmoke.setup( XOR( "remove smoke grenades" ), XOR( "nosmoke" ) );
RegisterElement( &nosmoke, 1 );
nofog.setup( XOR( "remove fog" ), XOR( "nofog" ) );
RegisterElement( &nofog, 1 );
noflash.setup( XOR( "remove flashbangs" ), XOR( "noflash" ) );
RegisterElement( &noflash, 1 );
noscope.setup( XOR( "remove scope" ), XOR( "noscope" ) );
RegisterElement( &noscope, 1 );
fov.setup( XOR( "override fov" ), XOR( "fov" ) );
RegisterElement( &fov, 1 );
fov_amt.setup( "", XOR( "fov_amt" ), 60.f, 140.f, false, 0, 90.f, 1.f, XOR( L"°" ) );
RegisterElement( &fov_amt, 1 );
fov_scoped.setup( XOR( "override fov when scoped" ), XOR( "fov_scoped" ) );
RegisterElement( &fov_scoped, 1 );
viewmodel_fov.setup( XOR( "override viewmodel fov" ), XOR( "viewmodel_fov" ) );
RegisterElement( &viewmodel_fov, 1 );
viewmodel_fov_amt.setup( "", XOR( "viewmodel_fov_amt" ), 60.f, 140.f, false, 0, 90.f, 1.f, XOR( L"°" ) );
RegisterElement( &viewmodel_fov_amt, 1 );
spectators.setup( XOR( "show spectator list" ), XOR( "spectators" ) );
RegisterElement( &spectators, 1 );
force_xhair.setup( XOR( "force crosshair" ), XOR( "force_xhair" ) );
RegisterElement( &force_xhair, 1 );
spread_xhair.setup( XOR( "visualize spread" ), XOR( "spread_xhair" ) );
RegisterElement( &spread_xhair, 1 );
spread_xhair_col.setup( XOR( "visualize spread color" ), XOR( "spread_xhair_col" ), colors::burgundy );
RegisterElement( &spread_xhair_col, 1 );
spread_xhair_blend.setup( "", XOR( "spread_xhair_blend" ), 10.f, 100.f, false, 0, 100.f, 1.f, XOR( L"%" ) );
RegisterElement( &spread_xhair_blend, 1 );
pen_crosshair.setup( XOR( "penetration crosshair" ), XOR( "pen_xhair" ) );
RegisterElement( &pen_crosshair, 1 );
indicators.setup( XOR( "indicators" ), XOR( "indicators" ), { XOR( "lby" ), XOR( "lag compensation" ), XOR("fake latency") } );
RegisterElement( &indicators, 1 );
tracers.setup( XOR( "grenade simulation" ), XOR( "tracers" ) );
RegisterElement( &tracers, 1 );
impact_beams.setup( XOR( "impact beams" ), XOR( "impact_beams" ) );
RegisterElement( &impact_beams, 1 );
impact_beams_color.setup( XOR( "impact beams color" ), XOR( "impact_beams_color" ), colors::light_blue );
RegisterElement( &impact_beams_color, 1 );
impact_beams_hurt_color.setup( XOR( "impact beams hurt color" ), XOR( "impact_beams_hurt_color" ), colors::red );
RegisterElement( &impact_beams_hurt_color, 1 );
impact_beams_time.setup( XOR( "impact beams time" ), XOR( "impact_beams_time" ), 1.f, 10.f, true, 0, 1.f, 1.f, XOR( L"s" ) );
RegisterElement( &impact_beams_time, 1 );
thirdperson.setup( XOR( "thirdperson" ), XOR( "thirdperson" ) );
thirdperson.SetToggleCallback( callbacks::ToggleThirdPerson );
RegisterElement( &thirdperson, 1 );
}
};
class MovementTab : public Tab {
public:
Checkbox bhop;
Checkbox airduck;
Checkbox autostrafe;
Keybind cstrafe;
Keybind astrafe;
Keybind zstrafe;
Slider z_freq;
Slider z_dist;
Keybind fakewalk;
Keybind autopeek;
Keybind autostop;
Checkbox autostop_always_on;
public:
void init( ) {
SetTitle( XOR( "movement" ) );
bhop.setup( XOR( "automatic jump" ), XOR( "bhop" ) );
RegisterElement( &bhop );
airduck.setup( XOR( "duck in air" ), XOR( "airduck" ) );
RegisterElement( &airduck );
autostrafe.setup( XOR( "automatic strafe" ), XOR( "autostrafe" ) );
RegisterElement( &autostrafe );
cstrafe.setup( XOR( "c-strafe" ), XOR( "cstrafe" ) );
RegisterElement( &cstrafe );
astrafe.setup( XOR( "a-strafe" ), XOR( "astrafe" ) );
RegisterElement( &astrafe );
zstrafe.setup( XOR( "z-strafe" ), XOR( "zstrafe" ) );
RegisterElement( &zstrafe );
z_freq.setup( "", XOR( "z_freq" ), 1.f, 100.f, false, 0, 50.f, 0.5f, XOR( L"hz" ) );
RegisterElement( &z_freq );
z_dist.setup( "", XOR( "z_dist" ), 1.f, 100.f, false, 0, 20.f, 0.5f, XOR( L"%" ) );
RegisterElement( &z_dist );
fakewalk.setup( XOR( "fake-walk" ), XOR( "fakewalk" ) );
RegisterElement( &fakewalk, 1 );
autopeek.setup( XOR( "automatic peek" ), XOR( "autopeek" ) );
RegisterElement( &autopeek, 1 );
autostop_always_on.setup( XOR( "automatic stop always on" ), XOR( "auto_stop_always" ) );
RegisterElement( &autostop_always_on, 1 );
autostop.setup( XOR( "automatic stop" ), XOR( "autostop" ) );
autostop.AddShowCallback( callbacks::AUTO_STOP );
RegisterElement( &autostop, 1 );
}
};
class SkinsTab : public Tab {
public:
Checkbox enable;
Edit id_deagle;
Checkbox stattrak_deagle;
Slider quality_deagle;
Slider seed_deagle;
Edit id_elite;
Checkbox stattrak_elite;
Slider quality_elite;
Slider seed_elite;
Edit id_fiveseven;
Checkbox stattrak_fiveseven;
Slider quality_fiveseven;
Slider seed_fiveseven;
Edit id_glock;
Checkbox stattrak_glock;
Slider quality_glock;
Slider seed_glock;
Edit id_ak47;
Checkbox stattrak_ak47;
Slider quality_ak47;
Slider seed_ak47;
Edit id_aug;
Checkbox stattrak_aug;
Slider quality_aug;
Slider seed_aug;
Edit id_awp;
Checkbox stattrak_awp;
Slider quality_awp;
Slider seed_awp;
Edit id_famas;
Checkbox stattrak_famas;
Slider quality_famas;
Slider seed_famas;
Edit id_g3sg1;
Checkbox stattrak_g3sg1;
Slider quality_g3sg1;
Slider seed_g3sg1;
Edit id_galil;
Checkbox stattrak_galil;
Slider quality_galil;
Slider seed_galil;
Edit id_m249;
Checkbox stattrak_m249;
Slider quality_m249;
Slider seed_m249;
Edit id_m4a4;
Checkbox stattrak_m4a4;
Slider quality_m4a4;
Slider seed_m4a4;
Edit id_mac10;
Checkbox stattrak_mac10;
Slider quality_mac10;
Slider seed_mac10;
Edit id_p90;
Checkbox stattrak_p90;
Slider quality_p90;
Slider seed_p90;
Edit id_ump45;
Checkbox stattrak_ump45;
Slider quality_ump45;
Slider seed_ump45;
Edit id_xm1014;
Checkbox stattrak_xm1014;
Slider quality_xm1014;
Slider seed_xm1014;
Edit id_bizon;
Checkbox stattrak_bizon;
Slider quality_bizon;
Slider seed_bizon;
Edit id_mag7;
Checkbox stattrak_mag7;
Slider quality_mag7;
Slider seed_mag7;
Edit id_negev;
Checkbox stattrak_negev;
Slider quality_negev;
Slider seed_negev;
Edit id_sawedoff;
Checkbox stattrak_sawedoff;
Slider quality_sawedoff;
Slider seed_sawedoff;
Edit id_tec9;
Checkbox stattrak_tec9;
Slider quality_tec9;
Slider seed_tec9;
Edit id_p2000;
Checkbox stattrak_p2000;
Slider quality_p2000;
Slider seed_p2000;
Edit id_mp7;
Checkbox stattrak_mp7;
Slider quality_mp7;
Slider seed_mp7;
Edit id_mp9;
Checkbox stattrak_mp9;
Slider quality_mp9;
Slider seed_mp9;
Edit id_nova;
Checkbox stattrak_nova;
Slider quality_nova;
Slider seed_nova;
Edit id_p250;
Checkbox stattrak_p250;
Slider quality_p250;
Slider seed_p250;
Edit id_scar20;
Checkbox stattrak_scar20;
Slider quality_scar20;
Slider seed_scar20;
Edit id_sg553;
Checkbox stattrak_sg553;
Slider quality_sg553;
Slider seed_sg553;
Edit id_ssg08;
Checkbox stattrak_ssg08;
Slider quality_ssg08;
Slider seed_ssg08;
Edit id_m4a1s;
Checkbox stattrak_m4a1s;
Slider quality_m4a1s;
Slider seed_m4a1s;
Edit id_usps;
Checkbox stattrak_usps;
Slider quality_usps;
Slider seed_usps;
Edit id_cz75a;
Checkbox stattrak_cz75a;
Slider quality_cz75a;
Slider seed_cz75a;
Edit id_revolver;
Checkbox stattrak_revolver;
Slider quality_revolver;
Slider seed_revolver;
Edit id_bayonet;
Checkbox stattrak_bayonet;
Slider quality_bayonet;
Slider seed_bayonet;
Edit id_flip;
Checkbox stattrak_flip;
Slider quality_flip;
Slider seed_flip;
Edit id_gut;
Checkbox stattrak_gut;
Slider quality_gut;
Slider seed_gut;
Edit id_karambit;
Checkbox stattrak_karambit;
Slider quality_karambit;
Slider seed_karambit;
Edit id_m9;
Checkbox stattrak_m9;
Slider quality_m9;
Slider seed_m9;
Edit id_huntsman;
Checkbox stattrak_huntsman;
Slider quality_huntsman;
Slider seed_huntsman;
Edit id_falchion;
Checkbox stattrak_falchion;
Slider quality_falchion;
Slider seed_falchion;
Edit id_bowie;
Checkbox stattrak_bowie;
Slider quality_bowie;
Slider seed_bowie;
Edit id_butterfly;
Checkbox stattrak_butterfly;
Slider quality_butterfly;
Slider seed_butterfly;