-
Notifications
You must be signed in to change notification settings - Fork 4
/
WildNosBot_stripped.au3
1747 lines (1747 loc) · 93.5 KB
/
WildNosBot_stripped.au3
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
#RequireAdmin
Global Const $FD_FILEMUSTEXIST = 1
Global Const $BS_PUSHLIKE = 0x1000
Global Const $BS_RIGHTBUTTON = 0x0020
Global Const $BS_FLAT = 0x8000
Global Const $GUI_SS_DEFAULT_CHECKBOX = 0
Global Const $GUI_SS_DEFAULT_RADIO = 0
Global Const $CBS_AUTOHSCROLL = 0x40
Global Const $CBS_DROPDOWN = 0x2
Global Const $CBS_DROPDOWNLIST = 0x3
Global Const $CBS_SIMPLE = 0x1
Global Const $ES_READONLY = 2048
Global Const $GUI_SS_DEFAULT_INPUT = 0x00000080
Global Const $GUI_CHECKED = 1
Global Const $GUI_GR_LINE = 2
Global Const $GUI_GR_MOVE = 6
Global Const $GUI_GR_COLOR = 8
Global Const $GUI_GR_DOT = 16
Global Const $GUI_GR_REFRESH = 22
Global Const $TBS_AUTOTICKS = 0x0001
Global Const $TBS_ENABLESELRANGE = 0x20
Global Const $TBS_FIXEDLENGTH = 0x40
Global Const $TBS_LEFT = 0x0004
Global Const $TBS_TOP = 0x0004
Global Const $GUI_SS_DEFAULT_SLIDER = $TBS_AUTOTICKS
Global Const $SS_CENTER = 0x1
Global Const $SS_RIGHT = 0x2
Global Const $SS_CENTERIMAGE = 0x0200
Global Const $TCS_FOCUSONBUTTONDOWN = 0x00001000
Global Const $TCS_MULTILINE = 0x00000200
Global Const $TCS_VERTICAL = 0x00000080
Global Const $WS_BORDER = 0x00800000
Global Const $WS_POPUP = 0x80000000
Global Const $WS_EX_LAYERED = 0x00080000
Global Const $WS_EX_MDICHILD = 0x00000040
Global Const $WM_KEYDOWN = 0x0100
Global Const $WM_KEYUP = 0x0101
Global Const $VK_BACK = 0x08
Global Const $VK_TAB = 0x09
Global Const $VK_RETURN = 0x0D
Global Const $VK_SHIFT = 0x10
Global Const $VK_CONTROL = 0x11
Global Const $VK_MENU = 0x12
Global Const $VK_PAUSE = 0x13
Global Const $VK_CAPITAL = 0x14
Global Const $VK_ESCAPE = 0x1B
Global Const $VK_SPACE = 0x20
Global Const $VK_PRIOR = 0x21
Global Const $VK_NEXT = 0x22
Global Const $VK_END = 0x23
Global Const $VK_HOME = 0x24
Global Const $VK_LEFT = 0x25
Global Const $VK_UP = 0x26
Global Const $VK_RIGHT = 0x27
Global Const $VK_DOWN = 0x28
Global Const $VK_SNAPSHOT = 0x2C
Global Const $VK_INSERT = 0x2D
Global Const $VK_DELETE = 0x2E
Global Const $VK_NUMPAD0 = 0x60
Global Const $VK_NUMPAD1 = 0x61
Global Const $VK_NUMPAD2 = 0x62
Global Const $VK_NUMPAD3 = 0x63
Global Const $VK_NUMPAD4 = 0x64
Global Const $VK_NUMPAD5 = 0x65
Global Const $VK_NUMPAD6 = 0x66
Global Const $VK_NUMPAD7 = 0x67
Global Const $VK_NUMPAD8 = 0x68
Global Const $VK_NUMPAD9 = 0x69
Global Const $VK_MULTIPLY = 0x6A
Global Const $VK_ADD = 0x6B
Global Const $VK_SUBTRACT = 0x6D
Global Const $VK_DECIMAL = 0x6E
Global Const $VK_DIVIDE = 0x6F
Global Const $VK_F1 = 0x70
Global Const $VK_F2 = 0x71
Global Const $VK_F3 = 0x72
Global Const $VK_F4 = 0x73
Global Const $VK_F5 = 0x74
Global Const $VK_F6 = 0x75
Global Const $VK_F7 = 0x76
Global Const $VK_F8 = 0x77
Global Const $VK_F9 = 0x78
Global Const $VK_F10 = 0x79
Global Const $VK_F11 = 0x7A
Global Const $VK_F12 = 0x7B
Global Const $VK_NUMLOCK = 0x90
Global Const $VK_SCROLL = 0x91
Opt("MustDeclareVars", 1)
Opt("GUICloseOnESC", 0)
Global Const $STR_REGEXPARRAYMATCH = 1
Func _PathSplit($sFilePath, ByRef $sDrive, ByRef $sDir, ByRef $sFileName, ByRef $sExtension)
Local $aArray = StringRegExp($sFilePath, "^\h*((?:\\\\\?\\)*(\\\\[^\?\/\\]+|[A-Za-z]:)?(.*[\/\\]\h*)?((?:[^\.\/\\]|(?(?=\.[^\/\\]*\.)\.))*)?([^\/\\]*))$", $STR_REGEXPARRAYMATCH)
If @error Then
ReDim $aArray[5]
$aArray[0] = $sFilePath
EndIf
$sDrive = $aArray[1]
If StringLeft($aArray[2], 1) == "/" Then
$sDir = StringRegExpReplace($aArray[2], "\h*[\/\\]+\h*", "\/")
Else
$sDir = StringRegExpReplace($aArray[2], "\h*[\/\\]+\h*", "\\")
EndIf
$aArray[2] = $sDir
$sFileName = $aArray[3]
$sExtension = $aArray[4]
Return $aArray
EndFunc
Global Const $tagRECT = "struct;long Left;long Top;long Right;long Bottom;endstruct"
Global Const $tagREBARBANDINFO = "uint cbSize;uint fMask;uint fStyle;dword clrFore;dword clrBack;ptr lpText;uint cch;" & "int iImage;hwnd hwndChild;uint cxMinChild;uint cyMinChild;uint cx;handle hbmBack;uint wID;uint cyChild;uint cyMaxChild;" & "uint cyIntegral;uint cxIdeal;lparam lParam;uint cxHeader" &((@OSVersion = "WIN_XP") ? "" : ";" & $tagRECT & ";uint uChevronState")
Global Const $tagOSVERSIONINFO = 'struct;dword OSVersionInfoSize;dword MajorVersion;dword MinorVersion;dword BuildNumber;dword PlatformId;wchar CSDVersion[128];endstruct'
Global Const $__WINVER = __WINVER()
Func __Iif($bTest, $vTrue, $vFalse)
Return $bTest ? $vTrue : $vFalse
EndFunc
Func __WINVER()
Local $tOSVI = DllStructCreate($tagOSVERSIONINFO)
DllStructSetData($tOSVI, 1, DllStructGetSize($tOSVI))
Local $aRet = DllCall('kernel32.dll', 'bool', 'GetVersionExW', 'struct*', $tOSVI)
If @error Or Not $aRet[0] Then Return SetError(@error, @extended, 0)
Return BitOR(BitShift(DllStructGetData($tOSVI, 2), -8), DllStructGetData($tOSVI, 3))
EndFunc
Func _WinAPI_GetModuleFileNameEx($hProcess, $hModule = 0)
Local $aRet = DllCall(@SystemDir & '\psapi.dll', 'dword', 'GetModuleFileNameExW', 'handle', $hProcess, 'handle', $hModule, 'wstr', '', 'int', 4096)
If @error Or Not $aRet[0] Then Return SetError(@error + 10, @extended, '')
Return $aRet[3]
EndFunc
Func _WinAPI_GetProcessFileName($iPID = 0)
If Not $iPID Then $iPID = @AutoItPID
Local $hProcess = DllCall('kernel32.dll', 'handle', 'OpenProcess', 'dword', __Iif($__WINVER < 0x0600, 0x00000410, 0x00001010), 'bool', 0, 'dword', $iPID)
If @error Or Not $hProcess[0] Then Return SetError(@error + 20, @extended, '')
Local $sPath = _WinAPI_GetModuleFileNameEx($hProcess[0])
Local $iError = @error
DllCall("kernel32.dll", "bool", "CloseHandle", "handle", $hProcess[0])
If $iError Then Return SetError(@error, 0, '')
Return $sPath
EndFunc
Func _ProcessGetName($iPID)
Local $aProcessList = ProcessList()
If Not @error Then
For $i = 1 To $aProcessList[0][0]
If $aProcessList[$i][1] = $iPID Then
Return $aProcessList[$i][0]
EndIf
Next
EndIf
Return SetError(1, 0, "")
EndFunc
Global Const $SE_PRIVILEGE_ENABLED = 0x00000002
Global Const $TOKEN_QUERY = 0x00000008
Global Const $TOKEN_ADJUST_PRIVILEGES = 0x00000020
Global Const $HGDI_ERROR = Ptr(-1)
Global Const $INVALID_HANDLE_VALUE = Ptr(-1)
Global Const $KF_EXTENDED = 0x0100
Global Const $KF_ALTDOWN = 0x2000
Global Const $KF_UP = 0x8000
Global Const $LLKHF_EXTENDED = BitShift($KF_EXTENDED, 8)
Global Const $LLKHF_ALTDOWN = BitShift($KF_ALTDOWN, 8)
Global Const $LLKHF_UP = BitShift($KF_UP, 8)
Func _WinAPI_SetLayeredWindowAttributes($hWnd, $iTransColor, $iTransGUI = 255, $iFlags = 0x03, $bColorRef = False)
If $iFlags = Default Or $iFlags = "" Or $iFlags < 0 Then $iFlags = 0x03
If Not $bColorRef Then
$iTransColor = Int(BinaryMid($iTransColor, 3, 1) & BinaryMid($iTransColor, 2, 1) & BinaryMid($iTransColor, 1, 1))
EndIf
Local $aResult = DllCall("user32.dll", "bool", "SetLayeredWindowAttributes", "hwnd", $hWnd, "INT", $iTransColor, "byte", $iTransGUI, "dword", $iFlags)
If @error Then Return SetError(@error, @extended, False)
Return $aResult[0]
EndFunc
Func _MemoryOpen($iv_Pid, $iv_DesiredAccess = 0x1F0FFF, $iv_InheritHandle = 1)
If Not ProcessExists($iv_Pid) Then
SetError(1)
Return 0
EndIf
Local $ah_Handle[2] = [DllOpen('kernel32.dll')]
If @Error Then
SetError(2)
Return 0
EndIf
Local $av_OpenProcess = DllCall($ah_Handle[0], 'int', 'OpenProcess', 'int', $iv_DesiredAccess, 'int', $iv_InheritHandle, 'int', $iv_Pid)
If @Error Then
DllClose($ah_Handle[0])
SetError(3)
Return 0
EndIf
$ah_Handle[1] = $av_OpenProcess[0]
Return $ah_Handle
EndFunc
Func _MemoryRead($iv_Address, $ah_Handle, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Local $v_Value = DllStructGetData($v_Buffer, 1)
Return $v_Value
Else
SetError(6)
Return 0
EndIf
EndFunc
Func _MemoryWrite($iv_Address, $ah_Handle, $v_Data, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
Else
DllStructSetData($v_Buffer, 1, $v_Data)
If @Error Then
SetError(6)
Return 0
EndIf
EndIf
DllCall($ah_Handle[0], 'int', 'WriteProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Return 1
Else
SetError(7)
Return 0
EndIf
EndFunc
Func _MemoryClose($ah_Handle)
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'CloseHandle', 'int', $ah_Handle[1])
If Not @Error Then
DllClose($ah_Handle[0])
Return 1
Else
DllClose($ah_Handle[0])
SetError(2)
Return 0
EndIf
EndFunc
Func SetPrivilege( $privilege, $bEnable )
Local $hToken, $SP_auxret, $SP_ret, $hCurrProcess, $nTokens, $nTokenIndex, $priv
$nTokens = 1
Local $LUID = DLLStructCreate("dword;int")
If IsArray($privilege) Then $nTokens = UBound($privilege)
Local $TOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" &(3 * $nTokens) & "]")
Local $NEWTOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" &(3 * $nTokens) & "]")
$hCurrProcess = DLLCall("kernel32.dll","hwnd","GetCurrentProcess")
$SP_auxret = DLLCall("advapi32.dll","int","OpenProcessToken","hwnd",$hCurrProcess[0], "int",BitOR($TOKEN_ADJUST_PRIVILEGES,$TOKEN_QUERY),"int*",0)
If $SP_auxret[0] Then
$hToken = $SP_auxret[3]
DLLStructSetData($TOKEN_PRIVILEGES,1,1)
$nTokenIndex = 1
While $nTokenIndex <= $nTokens
If IsArray($privilege) Then
$priv = $privilege[$nTokenIndex-1]
Else
$priv = $privilege
EndIf
$SP_ret = DLLCall("advapi32.dll","int","LookupPrivilegeValue","str","","str",$priv, "ptr",DLLStructGetPtr($LUID))
If $SP_ret[0] Then
If $bEnable Then
DLLStructSetData($TOKEN_PRIVILEGES,2,$SE_PRIVILEGE_ENABLED,(3 * $nTokenIndex))
Else
DLLStructSetData($TOKEN_PRIVILEGES,2,0,(3 * $nTokenIndex))
EndIf
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,1),(3 *($nTokenIndex-1)) + 1)
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,2),(3 *($nTokenIndex-1)) + 2)
DLLStructSetData($LUID,1,0)
DLLStructSetData($LUID,2,0)
EndIf
$nTokenIndex += 1
WEnd
$SP_ret = DLLCall("advapi32.dll","int","AdjustTokenPrivileges","hwnd",$hToken,"int",0, "ptr",DllStructGetPtr($TOKEN_PRIVILEGES),"int",DllStructGetSize($NEWTOKEN_PRIVILEGES), "ptr",DllStructGetPtr($NEWTOKEN_PRIVILEGES),"int*",0)
DLLCall("kernel32.dll","int","GetLastError")
EndIf
$NEWTOKEN_PRIVILEGES=0
$TOKEN_PRIVILEGES=0
$LUID=0
If $SP_auxret[0] = 0 Then Return 0
$SP_auxret = DLLCall("kernel32.dll","int","CloseHandle","hwnd",$hToken)
If Not $SP_ret[0] And Not $SP_auxret[0] Then Return 0
return $SP_ret[0]
EndFunc
Func _MemoryPointerRead($iv_Address, $ah_Handle, $av_Offset, $sv_Type = 'dword')
If IsArray($av_Offset) Then
If IsArray($ah_Handle) Then
Local $iv_PointerCount = UBound($av_Offset) - 1
Else
SetError(2)
Return 0
EndIf
Else
SetError(1)
Return 0
EndIf
Local $iv_Data[2], $i
Local $v_Buffer = DllStructCreate('dword')
For $i = 0 To $iv_PointerCount
If $i = $iv_PointerCount Then
$v_Buffer = DllStructCreate($sv_Type)
If @error Then
SetError(@error + 2)
Return 0
EndIf
$iv_Address = '0x' & Hex(Int((Int(($iv_Data[1])) + $av_Offset[$i])))
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @error Then
SetError(7)
Return 0
EndIf
$iv_Data[1] = DllStructGetData($v_Buffer, 1)
ElseIf $i = 0 Then
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @error Then
SetError(7)
Return 0
EndIf
$iv_Data[1] = DllStructGetData($v_Buffer, 1)
Else
$iv_Address = '0x' & Hex(Int(($iv_Data[1]) + $av_Offset[$i]))
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @error Then
SetError(7)
Return 0
EndIf
$iv_Data[1] = DllStructGetData($v_Buffer, 1)
EndIf
Next
$iv_Data[0] = $iv_Address
Return $iv_Data
EndFunc
Func _MemoryPointerWrite($iv_Address, $ah_Handle, $av_Offset, $v_Data, $sv_Type = 'dword')
If IsArray($av_Offset) Then
If IsArray($ah_Handle) Then
Local $iv_PointerCount = UBound($av_Offset) - 1
Else
SetError(2)
Return 0
EndIf
Else
SetError(1)
Return 0
EndIf
Local $iv_StructData, $i
Local $v_Buffer = DllStructCreate('dword')
For $i = 0 to $iv_PointerCount
If $i = $iv_PointerCount Then
$v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 3)
Return 0
EndIf
DllStructSetData($v_Buffer, 1, $v_Data)
If @Error Then
SetError(8)
Return 0
EndIf
$iv_Address = '0x' & hex(Int(($iv_StructData) + $av_Offset[$i]))
DllCall($ah_Handle[0], 'int', 'WriteProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @Error Then
SetError(9)
Return 0
Else
Return $iv_Address
EndIf
ElseIf $i = 0 Then
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @Error Then
SetError(3)
Return 0
EndIf
$iv_StructData = DllStructGetData($v_Buffer, 1)
Else
$iv_Address = '0x' & hex(Int(($iv_StructData) + $av_Offset[$i]))
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If @Error Then
SetError(3)
Return 0
EndIf
$iv_StructData = DllStructGetData($v_Buffer, 1)
EndIf
Next
EndFunc
Func _getoffset($sdata)
Local $aoffeset[1], $aoffset
$aoffeset[0] = 0
$aoffset = StringSplit($sdata, ",", 1)
For $i = 1 To $aoffset[0]
ReDim $aoffeset[UBound($aoffeset) + 1]
$aoffeset[UBound($aoffeset) - 1] = Dec($aoffset[$i])
Next
Return $aoffeset
EndFunc
Func _MemoryScanEx($ah_Handle, $pattern, $mask , $after = False, $iv_addrStart = 0x00400000, $iv_addrEnd = 0x00FFFFFF, $step = 51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern = StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
If StringLen($pattern) = 0 Then
SetError(2)
Return -2
EndIf
If Stringlen($pattern)/2 <> Stringlen($mask) Then
SetError(4)
Return -4
EndIf
Local $formatedpattern=""
Local $BufferPattern
Local $BufferMask
for $i = 0 to stringlen($mask)-1
$BufferPattern = StringLeft($pattern,2)
$pattern = StringRight($pattern,StringLen($pattern)-2)
$BufferMask = StringLeft($mask,1)
$mask = StringRight($mask,StringLen($mask)-1)
if $BufferMask = "?" then $BufferPattern = ".."
$formatedpattern = $formatedpattern&$BufferPattern
Next
$pattern = $formatedpattern
For $addr = $iv_addrStart To $iv_addrEnd Step $step -(StringLen($pattern) / 2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @error Then
If $after Then
Return StringFormat("0x%.8X", $addr +((@extended - 2) / 2))
Else
Return StringFormat("0x%.8X", $addr +((@extended - StringLen($pattern) - 2) / 2))
EndIf
EndIf
Next
Return -3
EndFunc
Func _memoryasmwrite($iadresse, $istack, $imemopen)
Local $isplit = StringRegExp(StringReplace($istack, " ", ""), "(..)", 3)
Local $istep = 0
For $i = 0 To UBound($isplit)-1
_memorywrite($iadresse + $istep, $imemopen, "0x" & $isplit[$istep], "byte")
$istep += 1
Next
EndFunc
Func _replacekey($key)
$key = StringReplace($key, "{DELETE}", $vk_back)
$key = StringReplace($key, "{TAB}", $vk_tab)
$key = StringReplace($key, "{ENTER}", $vk_return)
$key = StringReplace($key, "+", $vk_shift)
$key = StringReplace($key, "{LSHIFT}", $vk_shift)
$key = StringReplace($key, "{RSHIFT}", $vk_shift)
$key = StringReplace($key, "^", $vk_control)
$key = StringReplace($key, "{LCTRL}", $vk_control)
$key = StringReplace($key, "{RCTRL}", $vk_control)
$key = StringReplace($key, "!", $vk_menu)
$key = StringReplace($key, "{LALT}", $vk_menu)
$key = StringReplace($key, "{RALT}", $vk_menu)
$key = StringReplace($key, "{PAUSE}", $vk_pause)
$key = StringReplace($key, "{CAPSLOCK}", $vk_capital)
$key = StringReplace($key, "{CAPSLOCK ON}", $vk_capital)
$key = StringReplace($key, "{CAPSLOCK OFF}", $vk_capital)
$key = StringReplace($key, "{CAPSLOCK TOGGLE}", $vk_capital)
$key = StringReplace($key, "{ESCAPE}", $vk_escape)
$key = StringReplace($key, "{SPACE}", $vk_space)
$key = StringReplace($key, "{PGUP}", $vk_prior)
$key = StringReplace($key, "{PGDN}", $vk_next)
$key = StringReplace($key, "{END}", $vk_end)
$key = StringReplace($key, "{HOME}", $vk_home)
$key = StringReplace($key, "{LEFT}", $vk_left)
$key = StringReplace($key, "{UP}", $vk_up)
$key = StringReplace($key, "{RIGHT}", $vk_right)
$key = StringReplace($key, "{DOWN}", $vk_down)
$key = StringReplace($key, "{PRINTSCREEN}", $vk_snapshot)
$key = StringReplace($key, "{INSERT}", $vk_insert)
$key = StringReplace($key, "{DELETE}", $vk_delete)
$key = StringReplace($key, "{NUMPAD0}", $vk_numpad0)
$key = StringReplace($key, "{NUMPAD1}", $vk_numpad1)
$key = StringReplace($key, "{NUMPAD2}", $vk_numpad2)
$key = StringReplace($key, "{NUMPAD3}", $vk_numpad3)
$key = StringReplace($key, "{NUMPAD4}", $vk_numpad4)
$key = StringReplace($key, "{NUMPAD5}", $vk_numpad5)
$key = StringReplace($key, "{NUMPAD6}", $vk_numpad6)
$key = StringReplace($key, "{NUMPAD7}", $vk_numpad7)
$key = StringReplace($key, "{NUMPAD8}", $vk_numpad8)
$key = StringReplace($key, "{NUMPAD9}", $vk_numpad9)
$key = StringReplace($key, "{NUMPADMULT}", $vk_multiply)
$key = StringReplace($key, "{NUMPADADD}", $vk_add)
$key = StringReplace($key, "{NUMPADSUB}", $vk_subtract)
$key = StringReplace($key, "{NUMPADDOT}", $vk_decimal)
$key = StringReplace($key, "{NUMPADDIV}", $vk_divide)
$key = StringReplace($key, "{F1}", $vk_f1)
$key = StringReplace($key, "{F2}", $vk_f2)
$key = StringReplace($key, "{F3}", $vk_f3)
$key = StringReplace($key, "{F4}", $vk_f4)
$key = StringReplace($key, "{F5}", $vk_f5)
$key = StringReplace($key, "{F6}", $vk_f6)
$key = StringReplace($key, "{F7}", $vk_f7)
$key = StringReplace($key, "{F8}", $vk_f8)
$key = StringReplace($key, "{F9}", $vk_f9)
$key = StringReplace($key, "{F10}", $vk_f10)
$key = StringReplace($key, "{F11}", $vk_f11)
$key = StringReplace($key, "{F12}", $vk_f12)
$key = StringReplace($key, "{NUMLOCK}", $vk_numlock)
$key = StringReplace($key, "{NUMLOCK ON}", $vk_numlock)
$key = StringReplace($key, "{NUMLOCK OFF}", $vk_numlock)
$key = StringReplace($key, "{NUMLOCK TOGGLE}", $vk_numlock)
$key = StringReplace($key, "{SCROLLLOCK}", $vk_scroll)
$key = StringReplace($key, "{SCROLLLOCK ON}", $vk_scroll)
$key = StringReplace($key, "{SCROLLLOCK OFF}", $vk_scroll)
$key = StringReplace($key, "{SCROLLLOCK TOGGLE}", $vk_scroll)
Return $key
EndFunc
Func _postmessage_send($hwnd, $key, $delay = 10)
If StringLen($key) == 1 Then
If $key == "+" Or $key == "^" Or $key == "!" Then
SetError(1)
Else
$key = StringUpper($key)
$key = StringToBinary($key)
EndIf
Else
$key = _replacekey($key)
EndIf
Local $key_
$key_ = DllCall("user32.dll", "int", "MapVirtualKey", "int", $key, "int", 0)
If IsArray($key_) Then
DllCall("user32.dll", "bool", "PostMessage", "hwnd", $hwnd, "int", $wm_keydown, "int", $key, "long", _MakeLong(1, $key_[0]))
Sleep($delay)
DllCall("user32.dll", "bool", "PostMessage", "hwnd", $hwnd, "int", $wm_keyup, "int", $key, "long", _MakeLong(1, $key_[0]) + -1073741824)
Else
SetError(2)
EndIf
EndFunc
Func _MakeLong($LoDWORD, $HiDWORD)
Return BitOR($HiDWORD * 0x10000, BitAND($LoDWORD, 0xFFFF))
EndFunc
Opt("WinTitleMatchMode", 2)
SetPrivilege("SeDebugPrivilege", 1)
Global $fstart = False
Global $fstate = "Yüklendi"
Global $lnostaleclienthwn
Global $scharname = ""
Global $hProc, $hProcInfo, $hProcPid
Global $sClientLang = "TUR_tur"
Global $sPathDir = @ProgramFilesDir & "\GameforgeLive\Games\" & $sClientLang & "\NosTale\"
Global $sClientExe = "NostaleX.dat"
Global $sFClientPath = $sPathDir & $sClientExe
Global $lnostaleclient = WinList("[Class:TNosTaleMainF]")
If Not $lnostaleclient[0][0] Then
_runclient()
$lnostaleclient = WinList("[Class:TNosTaleMainF]")
If Not $lnostaleclient[0][0] Then Exit MsgBox(16, "Hata", "NosTale bulunamadı.")
EndIf
$lnostaleclienthwn = WinGetProcess($lnostaleclient[1][1])
Global $ihpid = ProcessExists($lnostaleclienthwn)
If($ihpid = @error) Then Exit MsgBox(16, "Hata", "NosTale bulunamadı.")
Global $sFClientPathNew = _WinAPI_GetProcessFileName($lnostaleclienthwn)
If @error = 0 And $sFClientPathNew <> "" Then
Global $sDriveTemp = "", $sDirTemp = "", $sFileNameTemp = "", $sExtensionTemp = ""
$sFClientPath = $sFClientPathNew
$sClientExe = _ProcessGetName($lnostaleclienthwn)
_PathSplit($sFClientPathNew, $sDriveTemp, $sDirTemp, $sFileNameTemp, $sExtensionTemp)
$sPathDir = $sDriveTemp & $sDirTemp
EndIf
Global $ahmemomopen = _memoryopen($ihpid)
Global $iplayerinfoadress_pattern = "\xA1\x00\x00\x00\x00\x8B\x00\x8B\x80\xAC\x00\x00\x00\x8B\x40\x48"
Global $iplayerinfoadress_mask = "x????xxxxxxxxxxx"
Global $iplayerinfoadress_offset = 0x01
Global $iattacktypeadress_pattern = "\xE8\x00\x00\x00\x00\x8B\xC3\xE8\x00\x00\x00\x00\xB2\x01\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xA3\x00\x00\x00\x00\xB2\x01\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00"
Global $iattacktypeadress_mask = "x????xxx????xxx????x????x????xxx????x????"
Global $iattacktypeadress_offset = 0x19
Global $iplayerinfo2adress_pattern = "\xA3\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x8B\x15\x00\x00\x00\x00\x89\x90\x00\x00\x00\x00\x66\xBA\xC7\x01\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00"
Global $iplayerinfo2adress_mask = "x????x????xx????xx????xxxxx????x????"
Global $iplayerinfo2adress_offset = 0x1
Global $iplayerinfo3adress_pattern = "\x8B\x40\x08\x8B\x15\x00\x00\x00\x00\x8B\x12\x8B\x52\x20\x3B\x42\x08"
Global $iplayerinfo3adress_mask = "xxxxx????xxxxxxxx"
Global $iplayerinfo3adress_offset = 0x4
Global $imacrobaradress_pattern = "\xA1\x00\x00\x00\x00\x8B\x00\x8B\x80\xB4\x00\x00\x00\xE8\x00\x00\x00\x00\x33\xC0"
Global $imacrobaradress_mask = "x????xxxxxxxxx????xx"
Global $imacrobaradress_offset = 0x01
Global $iselectbaradress_pattern = "\x83\xE0\x7F\x8B\x15\x00\x00\x00\x00\x8B\x12\x89\x42\x60\xA1\x00\x00\x00\x00\x8B\x00"
Global $iselectbaradress_mask = "xxxxx????xxxxxx????xx"
Global $iselectbaradress_offset = 0x05
Global $inostmatebaradress_pattern = "\xB2\x01\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00\x8B\xD3\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00\x8B\xD3\xA1\x00\x00\x00\x00\xE8\x00\x00\x00\x00"
Global $inostmatebaradress_mask = "xxx????x????xxx????x????xxx????x????"
Global $inostmatebaradress_offset = 0x0F
Global $ichatbaradress_pattern = "\x40\x75\x0E\xA1\x00\x00\x00\x00\x8B\x00\x8B\xD3\xE8\x00\x00\x00\x00"
Global $ichatbaradress_mask = "xxxx????xxxxx????"
Global $ichatbaradress_offset = 0x04
Global $iplayernameadress_pattern = "\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xB9\x00\x00\x00\x00\x8B\x15\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\x33\xC0"
Global $iplayernameadress_mask = "x????x????x????x????x????x????x????x????x????xx????x????x????x????x????x????xx"
Global $iplayernameadress_offset = 0x10
Global $iplayerinfoadress = $iplayerinfoadress_offset + _memoryscanex($ahmemomopen, $iplayerinfoadress_pattern, $iplayerinfoadress_mask)
Global $iselectbaradress = $iselectbaradress_offset + _memoryscanex($ahmemomopen, $iselectbaradress_pattern, $iselectbaradress_mask)
Global $iattacktypeadress = $iattacktypeadress_offset + _memoryscanex($ahmemomopen, $iattacktypeadress_pattern, $iattacktypeadress_mask)
Global $imacrobaradress = $imacrobaradress_offset + _memoryscanex($ahmemomopen, $imacrobaradress_pattern, $imacrobaradress_mask)
Global $inostmatebaradress = $inostmatebaradress_offset + _memoryscanex($ahmemomopen, $inostmatebaradress_pattern, $inostmatebaradress_mask)
Global $iplayerinfo2adress = $iplayerinfo2adress_offset + _memoryscanex($ahmemomopen, $iplayerinfo2adress_pattern, $iplayerinfo2adress_mask)
Global $iplayerinfo3adress = $iplayerinfo3adress_offset + _memoryscanex($ahmemomopen, $iplayerinfo3adress_pattern, $iplayerinfo3adress_mask)
Global $ichatbaradress = $ichatbaradress_offset + _memoryscanex($ahmemomopen, $ichatbaradress_pattern, $ichatbaradress_mask)
Global $iplayernameadress = $iplayernameadress_offset + _memoryscanex($ahmemomopen, $iplayernameadress_pattern, $iplayernameadress_mask)
Global $ihpaddress = $iplayerinfoadress
Global $ahpoffset = _getoffset("0,0,ac,4c")
Global $impaddress = $iplayerinfoadress
Global $ampoffset = _getoffset("0,0,b0,4c")
Global $ileveladdress = $iplayerinfo2adress
Global $aleveloffset = _getoffset("0,1d4")
Global $aexpoffset = _getoffset("568,88")
Global $igoldaddress = $iplayerinfo2adress
Global $agoldoffset = _getoffset("0,1dc")
Global $imaxhpaddress = $iplayerinfoadress
Global $amaxhpoffset = _getoffset("0,0,ac,48")
Global $imaxmpaddress = $iplayerinfoadress
Global $amaxmpoffset = _getoffset("0,0,b0,48")
Global $iselectaddress = $iselectbaradress
Global $aselectoffset = _getoffset("0,0,60")
Global $iselecthpaddress = $iselectbaradress
Global $aselecthpoffset = _getoffset("0,0,20,4,C,4C")
Global $isitaddress = $iplayerinfo3adress
Global $asitoffset = _getoffset("0,0,81")
Global $inm1hpaddress = $inostmatebaradress
Global $anm1hpoffset = _getoffset("0,b4,0,b0,4C")
Global $inm2hpaddress = $inostmatebaradress
Global $anm2hpoffset = _getoffset("0,b4,4,b0,4C")
Global $inameaddress = $iplayernameadress
Global $anameoffset = _getoffset("0,0")
Global $imacrobarenableaddress = $imacrobaradress
Global $amacrobarenableoffset[16]
$amacrobarenableoffset[0] = 15
For $i = 1 To 15
$amacrobarenableoffset[$i] = _getoffset("0,0,b4," & Hex(0x68 +(($i - 1) * 4), 2) & ",41")
Next
$iattacktypeadress = $iattacktypeadress
Global $aattacktypeoffset = _getoffset("0,14")
Global $ichatpaneladress = $ichatbaradress
Global $achatpaneloffset = _getoffset("0,0,cc")
Global Const $mob = "\x80\xBB\xCE\x00\x00\x00\x00"
Global Const $mob_mask = "xxx????"
Global Const $item = "\x80\xBB\xCF\x00\x00\x00\x00"
Global Const $item_mask = "xxx????"
Global Const $npc1 = "\x80\xBB\xC8\x00\x00\x00\x00\x0F\x84\x00\x00\x00\x00\x8B\x15\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x8B\x00\xE8\x00\x00\x00\x00"
Global Const $npc1_mask = "xxxxxxxxx????xx????x????xxx????"
Global Const $npc2 = "\x80\xBB\xCD\x00\x00\x00\x00\x0F\x84\x00\x00\x00\x00\x8B\x15\x00\x00\x00\x00\xA1\x00\x00\x00\x00"
Global Const $npc2_mask = "xxxxxxxxx????xx????x????"
Global Const $playeronmap = "\x80\xBB\xCC\x00\x00\x00\x00\x0F\x84\x00\x00\x00\x00\x68\x00\x00\x00\x00\x33\xC9\xB2\xFF\xB0\xFF\xE8\x00\x00\x00\x00\xA1\x00\x00\x00\x00"
Global Const $playeronmap_mask = "xxxxxxxxx????x????xxxxxxx????x????"
Global Const $zoom = "\x75\x0E\xD9\x43\x5C\xD8\x1D\x00\x00\x00\x00\xDF\xE0\x9E\x74\x2E\xD9\x05\x00\x00\x00\x00\xD8\x5B\x58\xDF\xE0\x9E\x73\x0A"
Global Const $zoom_mask = "xxxxxxx????xxxxxxx????xxxxxxxx"
Global Const $ts = "\x80\xBB\xCA\x00\x00\x00\x00\x0F\x84\x00\x00\x00\x00\xA1\x00\x00\x00\x00\xDF\x40\x04\xD8\x35\x00\x00\x00\x00"
Global Const $ts_mask = "xxxxxxxxx????x????xxxxx????"
Global Const $portal = "\x80\xBB\xC9\x00\x00\x00\x00\x0F\x84\x00\x00\x00\x00\xA1\x00\x00\x00\x00\xDF\x40\x04"
Global Const $portal_mask = "xxxxxxxxx????x????xxx"
Global Const $0pt = "\x8B\x00\x99\x52\x50\xA1\x00\x00\x00\x00\x8B\x00\x33\xD2\x33\x04\x24\x33\x54\x24\x04\x83\xC4\x08\x52\x50\x8D\x45\xF0\xE8\x00\x00\x00\x00\xFF\x75\xF0\x68\x00\x00\x00\x00"
Global Const $0pt_mask = "xxxxxx????xxxxxxxxxxxxxxxxxxxx????xxxx????"
Global Const $akt4nameadress = "\x0F\x8E\x00\x00\x00\x00\x66\xFF\xCE\x74\x11"
Global Const $akt4nameadress_mask = "xx????xxxxx"
Global Const $showlvladress = "\x76\x20\x80\xC3\xFD\x80\xEB\x02\x73\x18\x8B\x86\x00\x00\x00\x00\x05\x00\x00\x00\x00\x8B\x15\x00\x00\x00\x00\x8B\x12\xE8\x00\x00\x00\x00"
Global Const $showlvladress_mask = "xxxxxxxxxxxx????x????xx????xxx????"
Global Const $akt4infoadress1 = "\x75\x1E\x6A\x01\xA1\x00\x00\x00\x00\x8B\x00"
Global Const $akt4infoadress1_mask = "xxxxx????xx"
Global Const $akt4infoadress2 = "\x75\x33\x8B\x43\x08\x33\xD2\x52"
Global Const $akt4infoadress2_mask = "xxxxxxxx"
Global Const $ghostwalkadress1 = "\xE8\x00\x00\x00\x00\xD9\x86\x00\x00\x00\x00\xA1\x00\x00\x00\x00\xD8\x18\xDF\xE0\x9E\x76\x32\xE8\x00\x00\x00\x00\x89\x45\xEC\x33\xC0\x89\x45\xF0\xDF\x6D\xEC\xD9\x86\x00\x00\x00\x00"
Global Const $ghostwalkadress1_mask = "x????xx????x????xxxxxxxx????xxxxxxxxxxxxx????"
Global Const $ghostwalkadress2 = "\x55\x8B\xEC\xB9\x00\x00\x00\x00\x6A\x00\x6A\x00\x49\x75\xF9\x53\x56\x57\x8B\xF2\x33\xC0\x55\x68\x00\x00\x00\x00\x64\xFF\x30"
Global Const $ghostwalkadress2_mask = "xxxx????xxxxxxxxxxxxxxxx????xxx"
Global Const $life = "\x03\xC3\x2B\xC1\x99\x52\x50\xA1\x00\x00\x00\x00\x8B\x00\x33\xD2"
Global Const $life_mask = "xxxxxxxx????xxxx"
Global Const $taglia1 = "\x83\xC2\x3C\x8B\x45\xFC\xE8\x00\x00\x00\x00\x8B\x45\xFC\xFF\x80\x00\x00\x00\x00\x8B\x45\xFC"
Global Const $taglia1_mask = "xxxxxxx????xxxxx????xxx"
Global Const $taglia2 = "\x83\xC2\x1E\x8B\x45\xFC\xE8\x00\x00\x00\x00\x8B\x45\xFC"
Global Const $taglia2_mask = "xxxxxxx????xxx"
Global Const $taglia3 = "\x83\xC2\x0A\x8B\x45\xFC\xE8\x00\x00\x00\x00"
Global Const $taglia3_mask = "xxxxxxx????"
Global Const $cava = "\xB8\x00\x00\x00\x00\xE8\x00\x00\x00\x00\x8B\xD0\x03\x96\x00\x00\x00\x00\x83\xC2\x32"
Global Const $cava_mask = "x????x????xxxx????xxx"
Global Const $pesci1 = "\xE8\x00\x00\x00\x00\xEB\x42\x33\xD2\x8A\x90\x5C\x17\x00\x00\x6B\xD2\x32\x03\x90\x00\x00\x00\x00"
Global Const $pesci1_mask = "x????xxxxxxxxxxxxxxx????"
Global Const $spara1 = "\x83\xC2\x0A\x8B\xC3\xE8\x00\x00\x00\x00\xE9\x00\x00\x00\x00\x8B\x93\x00\x00\x00\x00\x83\xC2\x14"
Global Const $spara1_mask = "xxxxxx????x????xx????xxx"
Global $taglia1a = _memoryscanex($ahmemomopen, $taglia1, $taglia1_mask)
Global $taglia2a = _memoryscanex($ahmemomopen, $taglia2, $taglia2_mask)
Global $taglia3a = _memoryscanex($ahmemomopen, $taglia3, $taglia3_mask)
Global $cavaa = _memoryscanex($ahmemomopen, $cava, $cava_mask)
Global $pesci1a = _memoryscanex($ahmemomopen, $pesci1, $pesci1_mask)
Global $spara1a = _memoryscanex($ahmemomopen, $spara1, $spara1_mask)
Global $zooma = _memoryscanex($ahmemomopen, $zoom, $zoom_mask)
Global $moba = _memoryscanex($ahmemomopen, $mob, $mob_mask)
Global $itema = _memoryscanex($ahmemomopen, $item, $item_mask)
Global $npc1a = _memoryscanex($ahmemomopen, $npc1, $npc1_mask)
Global $npc2a = _memoryscanex($ahmemomopen, $npc2, $npc2_mask)
Global $player = _memoryscanex($ahmemomopen, $playeronmap, $playeronmap_mask)
Global $tsa = _memoryscanex($ahmemomopen, $ts, $ts_mask)
Global $portala = _memoryscanex($ahmemomopen, $portal, $portal_mask)
Global $0pta = _memoryscanex($ahmemomopen, $0pt, $0pt_mask)
Global $akt4nameadressa = _memoryscanex($ahmemomopen, $akt4nameadress, $akt4nameadress_mask)
Global $showlvladressa = _memoryscanex($ahmemomopen, $showlvladress, $showlvladress_mask)
Global $akt4infoadress1a = _memoryscanex($ahmemomopen, $akt4infoadress1, $akt4infoadress1_mask)
Global $akt4infoadress2a = _memoryscanex($ahmemomopen, $akt4infoadress2, $akt4infoadress2_mask)
Global $ghostwalkadress1a = _memoryscanex($ahmemomopen, $ghostwalkadress1, $ghostwalkadress1_mask)
Global $ghostwalkadress2a = _memoryscanex($ahmemomopen, $ghostwalkadress2, $ghostwalkadress2_mask)
Global $lifeaddress = _memoryscanex($ahmemomopen, $life, $life_mask)
Global Const $nodelay_pattern = "\x8B\x45\xF0\x83\xCA\xFF\xE8\x00\x00\x00\x00\x89\x45\xFC\x8D\x4D\xEC\xBA\x00\x00\x00\x00\x8B\xC6\x8B\x18\xFF\x53\x00"
Global Const $nodelay_mask = "xxxxxxx????xxxxxxx????xxxxxx?"
Global Const $nodelay_offset = 0x00
Global $nodelay_p_adress = $nodelay_offset + _memoryscanex($ahmemomopen, $nodelay_pattern, $nodelay_mask)
Global $nodelay_n_adress = $nodelay_offset + _memoryscanex($ahmemomopen, $nodelay_pattern, $nodelay_mask, False, $nodelay_p_adress + 100)
Global Const $speed_pattern = "\x33\xC0\x8A\x83\x96\x00\x00\x00\x8B\x04\x85\x00\x00\x00\x00\x89\x04\x24"
Global Const $speed_mask = "xxxx?xxxxxx????xxx"
Global Const $speed_offset = 0x02
Global $speeda = $speed_offset + _memoryscanex($ahmemomopen, $speed_pattern, $speed_mask)
Global Const $sleep_pattern = "\x6A\xFF\xA1\x00\x00\x00\x00\x8B\x00\x2B\xC3\x50\xE8\x00\x00\x00\x00"
Global Const $sleep_mask = "xxx????xxxxxx????"
Global Const $sleep_a_offset = 0x03
Global $sleep_adress = $sleep_a_offset + _memoryscanex($ahmemomopen, $sleep_pattern, $sleep_mask)
Global $sleep_offset = _getoffset("0,0")
Global Const $petbag_pattern = "\x8B\x45\xF4\x33\xD2\xE8\x00\x00\x00\x00\x8B\xD0\xA1\x00\x00\x00\x00\x8B\x00\xE8\x00\x00\x00\x00\x8B\x45\xFC\x8B\x10"
Global Const $petbag_mask = "xxxxxx????xxx????xxx????xxxxx"
Global Const $petbag_a_offset = 0x0a
Global $petbag_a_address[3]
$petbag_a_address[0] = $petbag_a_offset + _memoryscanex($ahmemomopen, $petbag_pattern, $petbag_mask)
$petbag_a_address[1] = $petbag_a_offset + _memoryscanex($ahmemomopen, $petbag_pattern, $petbag_mask, False, $petbag_a_address[0] + 25)
$petbag_a_address[2] = $petbag_a_offset + _memoryscanex($ahmemomopen, $petbag_pattern, $petbag_mask, False, $petbag_a_address[1] + 25)
Global $petbag_address = $petbag_a_address[1]
Global Const $eagleeye_pattern = "\x55\x8B\xEC\x6A\x00\x6A\x00\x6A\x00\x53\x56\x57\x8B\xDA\x33\xC0\x55\x68\x00\x00\x00\x00"
Global Const $eagleeye_mask = "xxxxxxxxxxxxxxxxxx????"
Global Const $eagleeye_a_offset = 0x00
Global $eagleeye_a_address[2]
$eagleeye_a_address[0] = $eagleeye_a_offset + _memoryscanex($ahmemomopen, $eagleeye_pattern, $eagleeye_mask)
$eagleeye_a_address[1] = $eagleeye_a_offset + _memoryscanex($ahmemomopen, $eagleeye_pattern, $eagleeye_mask, False, $eagleeye_a_address[0] + 25)
Global $eagleeye_address = $eagleeye_a_address[1]
Global $awhp = _pointer("MAXHP") * .4
Global $awmp = _pointer("MAXMP") * .3
Global $awfhp = _pointer("MAXHP") * .7
Global $awfmp = _pointer("MAXMP") * .7
$scharname = _pointer("NAME")
Global $hgui = GUICreate("WildNosBot", 596, 413, 197, 120)
Global $Tab1 = GUICtrlCreateTab(0, 0, 585, 401, BitOR($TCS_VERTICAL, $TCS_MULTILINE, $TCS_FOCUSONBUTTONDOWN))
Global $TabSheet1 = GUICtrlCreateTabItem("Bot")
GUICtrlCreateGroup("Bot Ayarları", 50, 14, 333, 238)
Global $obuttonstart = GUICtrlCreateButton("Başlat", 218, 30, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obuttonpause = GUICtrlCreateButton("Durdur", 298, 30, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $ointputcharname = GUICtrlCreateInput("", 58, 30, 153, 21, BitOR($GUI_SS_DEFAULT_INPUT, $ES_READONLY))
GUIStartGroup()
Global $oradioattacktype_1 = GUICtrlCreateRadio("Birincil Saldırı", 58, 190, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $oradioattacktype_2 = GUICtrlCreateRadio("İkincil Saldırı", 162, 190, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioattacktype_0 = GUICtrlCreateRadio("Saldırı Kapalı", 266, 190, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUIStartGroup()
GUIStartGroup()
Global $oradiolooton = GUICtrlCreateRadio("Eşyalar Yerden Toplansın", 210, 222, 161, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiolootoff = GUICtrlCreateRadio("Eşyalar Toplanmasın", 58, 222, 153, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiofindmobon = GUICtrlCreateRadio("Standart Arama", 58, 158, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $oradiofindplayeron = GUICtrlCreateRadio("Oyuncu Arama", 162, 158, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiofindoff = GUICtrlCreateRadio("Arama Kapalı", 266, 158, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUIStartGroup()
GUIStartGroup()
Global $oradiofindmobfilterblack = GUICtrlCreateRadio("Kara Liste Kullan", 58, 126, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiofindmobfilterwhite = GUICtrlCreateRadio("Beyaz Liste Kullan", 162, 126, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiofindmobfilteroff = GUICtrlCreateRadio("Filitre Kullanma", 266, 126, 105, 25, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUICtrlCreateLabel("Hedef YP Beceri Kullanım Aralığı", 58, 54, 313, 17, BitOR($SS_CENTER, $WS_BORDER))
Global $olabel_skill_start = GUICtrlCreateLabel("30 %", 176, 86, 52, 21)
Global $oslider_skill_start = GUICtrlCreateSlider(80, 78, 92, 37, BitOR($GUI_SS_DEFAULT_SLIDER, $TBS_TOP, $TBS_LEFT, $TBS_ENABLESELRANGE, $TBS_FIXEDLENGTH))
GUICtrlSetData(-1, 30)
Global $olabel_skill_until = GUICtrlCreateLabel("100 %", 320, 86, 52, 21)
Global $oslider_skill_until = GUICtrlCreateSlider(224, 78, 92, 37, BitOR($GUI_SS_DEFAULT_SLIDER, $TBS_TOP, $TBS_LEFT, $TBS_ENABLESELRANGE, $TBS_FIXEDLENGTH))
GUICtrlSetData(-1, 100)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateGroup("HP/MP/EXP/Gold/LVL Checker", 49, 253, 333, 135)
GUICtrlCreateLabel("HP:", 57, 293, 30, 17, $SS_RIGHT)
GUICtrlCreateLabel("MP:", 57, 317, 31, 17, $SS_RIGHT)
GUICtrlCreateLabel("EXP:", 57, 365, 28, 17, $SS_RIGHT)
GUICtrlCreateLabel("Gold:", 57, 341, 29, 17)
Global $oprogressexp = GUICtrlCreateProgress(89, 365, 126, 17)
Global $oprogresshp = GUICtrlCreateProgress(89, 293, 126, 17)
Global $oprogressmp = GUICtrlCreateProgress(89, 317, 126, 17)
Global $olabelgold = GUICtrlCreateLabel("", 89, 341, 53, 17)
GUICtrlCreateLabel("Level:", 153, 341, 33, 17)
Global $olabellevel = GUICtrlCreateLabel("", 185, 341, 33, 17)
Global $oprogressnm1hp = GUICtrlCreateProgress(249, 293, 126, 17)
Global $oprogressnm2hp = GUICtrlCreateProgress(249, 317, 126, 17)
GUICtrlCreateLabel("NosMate/Yardımcı HP:", 225, 269, 126, 17)
GUICtrlCreateLabel("Ana Karakter", 57, 269, 126, 17)
GUICtrlCreateLabel("N", 225, 293, 22, 17)
GUICtrlCreateLabel("Y", 225, 317, 22, 17)
GUICtrlCreateLabel("Yaratık HP:", 225, 341, 126, 17)
Global $oprogressmobhp = GUICtrlCreateProgress(249, 365, 126, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group1 = GUICtrlCreateGroup("Kullanılacak Beceriler", 386, 14, 185, 374)
Global $olabelskill_1 = GUICtrlCreateLabel("1", 442, 30, 122, 17)
Global $olabelskill_2 = GUICtrlCreateLabel("2", 442, 54, 122, 17)
Global $olabelskill_3 = GUICtrlCreateLabel("3", 442, 78, 122, 17)
Global $olabelskill_4 = GUICtrlCreateLabel("4", 442, 102, 122, 17)
Global $olabelskill_5 = GUICtrlCreateLabel("5", 442, 126, 122, 17)
Global $olabelskill_q = GUICtrlCreateLabel("Q", 442, 150, 122, 17)
Global $olabelskill_w = GUICtrlCreateLabel("W", 442, 174, 122, 17)
Global $olabelskill_e = GUICtrlCreateLabel("E", 442, 198, 122, 17)
Global $olabelskill_r = GUICtrlCreateLabel("R", 442, 222, 122, 17)
Global $olabelskill_t = GUICtrlCreateLabel("T", 442, 246, 122, 17)
Global $olabelskill_6 = GUICtrlCreateLabel("6", 442, 270, 122, 17)
Global $olabelskill_7 = GUICtrlCreateLabel("7", 442, 294, 122, 17)
Global $olabelskill_8 = GUICtrlCreateLabel("8", 442, 318, 122, 17)
Global $ocheckboxskill_1 = GUICtrlCreateCheckbox("1", 394, 30, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetBkColor(-1, 0x00FFFF)
Global $ocheckboxskill_2 = GUICtrlCreateCheckbox("2", 394, 54, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_3 = GUICtrlCreateCheckbox("3", 394, 78, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_4 = GUICtrlCreateCheckbox("4", 394, 102, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_5 = GUICtrlCreateCheckbox("5", 394, 126, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_q = GUICtrlCreateCheckbox("Q", 394, 150, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_w = GUICtrlCreateCheckbox("W", 394, 174, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_e = GUICtrlCreateCheckbox("E", 394, 198, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_r = GUICtrlCreateCheckbox("R", 394, 222, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_t = GUICtrlCreateCheckbox("T", 394, 246, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_6 = GUICtrlCreateCheckbox("6", 394, 270, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_7 = GUICtrlCreateCheckbox("7", 394, 294, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_8 = GUICtrlCreateCheckbox("8", 394, 318, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_9 = GUICtrlCreateCheckbox("9", 394, 342, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $ocheckboxskill_0 = GUICtrlCreateCheckbox("0", 394, 366, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_RIGHTBUTTON, $BS_PUSHLIKE, $BS_FLAT))
Global $olabelskill_9 = GUICtrlCreateLabel("9", 442, 342, 122, 17)
Global $olabelskill_0 = GUICtrlCreateLabel("0", 442, 366, 122, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $TabSheet2 = GUICtrlCreateTabItem("Hile")
Global $Group2 = GUICtrlCreateGroup("Mini Map Hack", 314, 6, 257, 385)
GUIStartGroup()
Global $oradiommobon = GUICtrlCreateRadio("Açık", 418, 30, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiommoboff = GUICtrlCreateRadio("Kapalı", 490, 30, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label1 = GUICtrlCreateLabel("Yaratıklar", 322, 30, 92, 17, $SS_RIGHT)
Global $oradiommobdef = GUICtrlCreateRadio("Varsayılan", 418, 46, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomitemon = GUICtrlCreateRadio("Açık", 418, 70, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomitemoff = GUICtrlCreateRadio("Kapalı", 490, 70, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label2 = GUICtrlCreateLabel("Eşyalar", 322, 70, 92, 17, $SS_RIGHT)
Global $oradiomitemdef = GUICtrlCreateRadio("Varsayılan", 418, 86, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomnpc1on = GUICtrlCreateRadio("Açık", 418, 110, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomnpc1off = GUICtrlCreateRadio("Kapalı", 490, 110, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label3 = GUICtrlCreateLabel("NPC 1", 322, 110, 92, 17, $SS_RIGHT)
Global $oradiomnpc1def = GUICtrlCreateRadio("Varsayılan", 418, 126, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomnpc2on = GUICtrlCreateRadio("Açık", 418, 150, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomnpc2off = GUICtrlCreateRadio("Kapalı", 490, 150, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label4 = GUICtrlCreateLabel("NPC 2", 322, 150, 92, 17, $SS_RIGHT)
Global $oradiomnpc2def = GUICtrlCreateRadio("Varsayılan", 418, 166, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomplayeron = GUICtrlCreateRadio("Açık", 418, 190, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomplayeroff = GUICtrlCreateRadio("Kapalı", 490, 190, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label5 = GUICtrlCreateLabel("Oyuncular", 322, 190, 92, 17, $SS_RIGHT)
Global $oradiomplayerdef = GUICtrlCreateRadio("Varsayılan", 418, 206, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomtson = GUICtrlCreateRadio("Açık", 418, 230, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomtsoff = GUICtrlCreateRadio("Kapalı", 490, 230, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $Label6 = GUICtrlCreateLabel("Zaman Boşlukları", 322, 230, 92, 17, $SS_RIGHT)
Global $oradiomtsdef = GUICtrlCreateRadio("Varsayılan", 418, 246, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUIStartGroup()
Global $oradiomportalon = GUICtrlCreateRadio("Açık", 418, 270, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiomportaloff = GUICtrlCreateRadio("Kapalı", 490, 270, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlCreateLabel("Geçişler", 322, 270, 92, 17, $SS_RIGHT)
Global $oradiomportaldef = GUICtrlCreateRadio("Varsayılan", 418, 286, 145, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUIStartGroup()
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group3 = GUICtrlCreateGroup("Walk Hack", 50, 142, 257, 121)
Global $osliderspeed = GUICtrlCreateSlider(67, 184, 186, 37)
GUICtrlSetLimit(-1, 40, 0)
GUICtrlSetData(-1, 10)
GUIStartGroup()
Global $oradiospeedon = GUICtrlCreateRadio("Açık", 154, 166, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiospeedoff = GUICtrlCreateRadio("Kapalı", 226, 166, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUICtrlCreateLabel("Speed Hack", 58, 166, 90, 17, $SS_RIGHT)
GUIStartGroup()
Global $olabelspeed = GUICtrlCreateLabel("x 1.0", 258, 198, 36, 17)
GUIStartGroup()
Global $oradiospeedportwalkon = GUICtrlCreateRadio("Açık", 154, 230, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiospeedportwalkoff = GUICtrlCreateRadio("Kapalı", 226, 230, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
GUICtrlCreateLabel("Port Walk", 58, 230, 92, 17, $SS_RIGHT)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF0000)
GUIStartGroup()
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group4 = GUICtrlCreateGroup("Akt4 Hack", 50, 270, 257, 121)
GUIStartGroup()
Global $oradioghostwalkon = GUICtrlCreateRadio("Açık", 154, 294, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioghostwalkoff = GUICtrlCreateRadio("Kapalı", 226, 294, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label7 = GUICtrlCreateLabel("Hayalet Yürüme", 58, 294, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradioshownameon = GUICtrlCreateRadio("Açık", 154, 318, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioshownameoff = GUICtrlCreateRadio("Kapalı", 226, 318, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label12 = GUICtrlCreateLabel("İsimleri Göster", 58, 318, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradioshowlvlon = GUICtrlCreateRadio("Açık", 154, 342, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioshowlvloff = GUICtrlCreateRadio("Kapalı", 226, 342, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label13 = GUICtrlCreateLabel("Seviyeleri Göster", 58, 342, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradioshowinfoon = GUICtrlCreateRadio("Açık", 154, 366, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioshowinfooff = GUICtrlCreateRadio("Kapalı", 226, 366, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label14 = GUICtrlCreateLabel("Bilgileri Göster", 58, 366, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group5 = GUICtrlCreateGroup("Genel Hack", 50, 6, 257, 129)
GUIStartGroup()
Global $oradionodelayon = GUICtrlCreateRadio("Açık", 154, 30, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradionodelayoff = GUICtrlCreateRadio("Kapalı", 226, 30, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label17 = GUICtrlCreateLabel("Bekleme Yok", 58, 30, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradiozoomhackon = GUICtrlCreateRadio("Açık", 154, 54, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiozoomhackoff = GUICtrlCreateRadio("Kapalı", 226, 54, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label18 = GUICtrlCreateLabel("Zoom Hack", 58, 54, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradioeagleeyeon = GUICtrlCreateRadio("Açık", 154, 78, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradioeagleeyeoff = GUICtrlCreateRadio("Kapalı", 226, 78, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label19 = GUICtrlCreateLabel("Görünmez Patch", 58, 78, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUIStartGroup()
Global $oradiopartnerbagon = GUICtrlCreateRadio("Açık", 154, 102, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
Global $oradiopartnerbagoff = GUICtrlCreateRadio("Kapalı", 226, 102, 73, 17, BitOR($GUI_SS_DEFAULT_RADIO, $BS_PUSHLIKE, $BS_FLAT))
GUICtrlSetState(-1, $GUI_CHECKED)
Global $Label15 = GUICtrlCreateLabel("Pet Çanta Hack", 58, 102, 92, 17, $SS_RIGHT)
GUIStartGroup()
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $TabSheet3 = GUICtrlCreateTabItem("Klient")
Global $Group6 = GUICtrlCreateGroup("Klient Ayarları", 50, 222, 521, 169)
Global $oinputgamedir = GUICtrlCreateInput($sPathDir, 186, 286, 281, 21)
GUICtrlCreateLabel("Game Klient Klasörü", 66, 286, 116, 21, BitOR($SS_RIGHT, $SS_CENTERIMAGE))
Global $obuttonclientdirbrowse = GUICtrlCreateButton("Araştır", 474, 286, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
GUICtrlCreateLabel("Game Klient Tipi", 66, 262, 116, 21, BitOR($SS_RIGHT, $SS_CENTERIMAGE))
Global $ocomboclienttype = GUICtrlCreateCombo($sClientExe, 186, 262, 145, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "NostaleX.dat|Nostale.dat")
GUICtrlCreateLabel("Game Klient Dili", 66, 238, 116, 21, BitOR($SS_RIGHT, $SS_CENTERIMAGE))
Global $ocomboclientlang = GUICtrlCreateCombo($sClientLang, 186, 238, 145, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "TUR_tur|ENG|DE|RU|IT|FR|CZ|PL|<Diğer>")
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group7 = GUICtrlCreateGroup("Dll Inject", 51, 132, 521, 81)
Global $oinputdll = GUICtrlCreateInput("nosPacket.dll", 187, 180, 281, 21)
GUICtrlCreateLabel("Inject Edilecek DLL", 67, 180, 116, 21, BitOR($SS_RIGHT, $SS_CENTERIMAGE))
Global $obuttonbrowsedll = GUICtrlCreateButton("Araştır", 475, 180, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obuttoninjectdll = GUICtrlCreateButton("DLL Inject", 67, 148, 123, 21, BitOR($BS_FLAT, $WS_BORDER))
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group8 = GUICtrlCreateGroup("Yeni Klient ve Bot Çalıştırma", 50, 70, 521, 57)
Global $obuttonrun = GUICtrlCreateButton("Klient Çalıştır", 186, 94, 123, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obottunnewbot = GUICtrlCreateButton("Bot Çalıştır", 442, 94, 123, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obuttonclientnewrunnconnect = GUICtrlCreateButton("Klient+Bot Çalıştır", 314, 94, 123, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obuttonrunnconnect = GUICtrlCreateButton("Klient Çalıştır ve Bağlan", 58, 94, 123, 21, BitOR($BS_FLAT, $WS_BORDER))
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group9 = GUICtrlCreateGroup("Klient Seçimi", 50, 6, 521, 57)
Global $ocomboclientlis = GUICtrlCreateCombo("", 226, 22, 161, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL))
Global $Label8 = GUICtrlCreateLabel("Karakter ve Klient Seçimi", 66, 22, 156, 21, BitOR($SS_RIGHT, $SS_CENTERIMAGE))
Global $obuttonrefreshclientlist = GUICtrlCreateButton("Yenile", 394, 22, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
Global $obuttonconnectclient = GUICtrlCreateButton("Bağlan", 474, 22, 75, 21, BitOR($BS_FLAT, $WS_BORDER))
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $TabSheet5 = GUICtrlCreateTabItem("Otomatik Effect")
Global $Group10 = GUICtrlCreateGroup("Otomatik Efekt", 42, 6, 529, 385)
Global $Checkbox1 = GUICtrlCreateCheckbox("1", 50, 30, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox2 = GUICtrlCreateCheckbox("2", 50, 54, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox3 = GUICtrlCreateCheckbox("3", 50, 78, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox4 = GUICtrlCreateCheckbox("4", 50, 102, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox5 = GUICtrlCreateCheckbox("5", 50, 126, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox6 = GUICtrlCreateCheckbox("Q", 50, 150, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox7 = GUICtrlCreateCheckbox("W", 50, 174, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox8 = GUICtrlCreateCheckbox("E", 50, 198, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox9 = GUICtrlCreateCheckbox("R", 50, 222, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox10 = GUICtrlCreateCheckbox("T", 50, 246, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox11 = GUICtrlCreateCheckbox("6", 50, 270, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox12 = GUICtrlCreateCheckbox("7", 50, 294, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox13 = GUICtrlCreateCheckbox("8", 50, 318, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox14 = GUICtrlCreateCheckbox("9", 50, 342, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Checkbox15 = GUICtrlCreateCheckbox("0", 50, 366, 37, 17, BitOR($GUI_SS_DEFAULT_CHECKBOX, $BS_PUSHLIKE, $BS_FLAT))
Global $Combo5 = GUICtrlCreateCombo("", 90, 30, 145, 25, BitOR($CBS_SIMPLE, $CBS_AUTOHSCROLL))
GUICtrlSetFont(-1, 6, 400, 0, "MS Sans Serif")