-
Notifications
You must be signed in to change notification settings - Fork 9
/
frmOption.frm
855 lines (826 loc) · 26.2 KB
/
frmOption.frm
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
VERSION 5.00
Begin VB.Form frmAIOption
BorderStyle = 0 'None
Caption = "Revemu Options"
ClientHeight = 4020
ClientLeft = 0
ClientTop = 0
ClientWidth = 4200
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 4020
ScaleWidth = 4200
ShowInTaskbar = 0 'False
Begin VB.PictureBox imgExAll
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0000
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 30
Top = 3330
Width = 225
End
Begin VB.PictureBox imgGSonyou
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":011B
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 29
Top = 2370
Width = 225
End
Begin VB.PictureBox imgGSnearyou
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0236
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 28
Top = 2610
Width = 225
End
Begin VB.PictureBox imgMGSonyou
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0351
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 27
Top = 2850
Width = 225
End
Begin VB.PictureBox imgMGSnearyou
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":046C
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 26
Top = 3090
Width = 225
End
Begin VB.PictureBox imgBackBuy
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0587
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 20
Top = 2120
Width = 225
End
Begin VB.TextBox txtChatRoomName
Alignment = 2 'Center
BorderStyle = 0 'None
ForeColor = &H00FF0000&
Height = 255
Left = 2040
TabIndex = 19
Text = "<AFK>"
Top = 1850
Width = 1095
End
Begin VB.PictureBox imgAlwaySit
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":06A2
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 17
Top = 1860
Width = 225
End
Begin VB.PictureBox imgBackTown
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":07BD
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 15
Top = 1100
Width = 225
End
Begin VB.TextBox txtBackTown
Alignment = 2 'Center
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty DataFormat
Type = 1
Format = "0"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1054
SubFormatType = 1
EndProperty
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 2730
MaxLength = 2
TabIndex = 14
Text = "48"
Top = 1100
Width = 255
End
Begin VB.TextBox txtStopAttack
Alignment = 2 'Center
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty DataFormat
Type = 1
Format = "0"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1054
SubFormatType = 1
EndProperty
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 2730
MaxLength = 2
TabIndex = 13
Text = "48"
Top = 1600
Width = 255
End
Begin VB.PictureBox imgStopAttack
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":08D8
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 11
Top = 1600
Width = 225
End
Begin VB.TextBox txtStopPick
Alignment = 2 'Center
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty DataFormat
Type = 1
Format = "0"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1054
SubFormatType = 1
EndProperty
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 2730
MaxLength = 2
TabIndex = 10
Text = "48"
Top = 1350
Width = 255
End
Begin VB.PictureBox imgStopPick
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":09F3
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 8
Top = 1350
Width = 225
End
Begin VB.TextBox txtWaypoint
Alignment = 2 'Center
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 3240
TabIndex = 7
Text = "15"
Top = 850
Width = 230
End
Begin VB.PictureBox imgWayPoint
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0B0E
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 5
Top = 850
Width = 225
End
Begin VB.PictureBox imgMove
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0C29
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 3
Top = 600
Width = 225
End
Begin VB.PictureBox ImgPick
Appearance = 0 'Flat
AutoSize = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 225
Left = 120
Picture = "frmOption.frx":0D44
ScaleHeight = 225
ScaleWidth = 225
TabIndex = 0
Top = 360
Width = 225
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Auto block whisper"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 31
Top = 3330
Width = 1410
End
Begin VB.Label labGSonyou
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Avoid player's skill at your position"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 25
Top = 2370
Width = 2490
End
Begin VB.Label labGSnearyou
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Avoid player's skill near your position"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 24
Top = 2610
Width = 2685
End
Begin VB.Label labMGSonyou
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Avoid monster's skill at your position"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 23
Top = 2850
Width = 2625
End
Begin VB.Label labMGSnearyou
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Avoid monster's skill near your position"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 22
Top = 3090
Width = 2820
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Back Town to Buy"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 21
Top = 2115
Width = 1335
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Alway Sit and make "" "" Chat Room"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 18
Top = 1860
Width = 3645
End
Begin VB.Image Image6
Height = 135
Left = 3960
Picture = "frmOption.frx":0E5F
Top = 60
Width = 135
End
Begin VB.Image Image4
Height = 135
Left = 70
Picture = "frmOption.frx":0F94
Top = 60
Width = 135
End
Begin VB.Image Image5
Height = 300
Left = 3480
Picture = "frmOption.frx":10C9
ToolTipText = "Save all edited value."
Top = 3660
Width = 630
End
Begin VB.Image Image3
Height = 420
Left = 0
Picture = "frmOption.frx":137B
Top = 3600
Width = 4200
End
Begin VB.Label labBackTown
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Back Town when weight reach %"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 16
Top = 1095
Width = 2760
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Stop attack when weight reach %"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 12
Top = 1605
Width = 2745
End
Begin VB.Label LabStopPick
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Stop pickup when weight reach %"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 9
Top = 1350
Width = 2775
End
Begin VB.Label labWaypoint
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Use waypoint when no monster every sec(s)"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 6
Top = 855
Width = 3585
End
Begin VB.Label labMove
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Auto Move"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 4
Top = 615
Width = 780
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "AI Options"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 2
Top = 15
Width = 1215
End
Begin VB.Label labPickup
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Auto Pickup"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 405
TabIndex = 1
Top = 375
Width = 855
End
Begin VB.Image Image1
Height = 255
Left = 0
Picture = "frmOption.frx":14BF
Top = 0
Width = 4200
End
Begin VB.Image Image7
Height = 3960
Left = 0
Picture = "frmOption.frx":1A68
Stretch = -1 'True
Top = 240
Width = 4200
End
End
Attribute VB_Name = "frmAIOption"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Image1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call ReleaseCapture
Call SendMessage(hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&)
End Sub
Public Sub update_imgPick()
If IsAutoPick Then
ImgPick.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
ImgPick.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Public Sub update_imgMove()
If Automove Then
imgMove.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgMove.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Public Sub update_imgWayPoint()
If RandomMove Then
imgWayPoint.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgWayPoint.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
txtWaypoint.text = Movetime
End Sub
Private Sub Image5_Click()
MDIfrmMain.Save_Option
End Sub
Private Sub Image5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image5.Picture = LoadPicture(App.Path & "\interface\bt_change_c.gif")
End Sub
Private Sub Image5_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image5.Picture = LoadPicture(App.Path & "\interface\bt_change.gif")
End Sub
Private Sub Image6_Click()
Unload frmAIOption
End Sub
Public Sub update_imgBackTown()
If IsBackTown Then
imgBackTown.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgBackTown.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
txtBackTown.text = WeightBackTown * 100
End Sub
Public Sub update_imgBackBuy()
If isBackBuy Then
imgBackBuy.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgBackBuy.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Public Sub update_imgAlwaySit()
If AlwaySit Then
imgAlwaySit.Picture = LoadPicture(App.Path & "\interface\on.gif")
If ConnState > 3 Then
frmMain.create_chatroom "test", ChatRoomName
frmMain.Send_Sit
End If
Else
imgAlwaySit.Picture = LoadPicture(App.Path & "\interface\off.gif")
If ConnState > 3 Then frmMain.destroy_chatroom
End If
txtChatRoomName.text = ChatRoomName
End Sub
Private Sub imgAlwaySit_Click()
AlwaySit = Not AlwaySit
update_imgAlwaySit
End Sub
Private Sub imgBackBuy_Click()
isBackBuy = Not isBackBuy
update_imgBackBuy
End Sub
Private Sub imgBackTown_Click()
IsBackTown = Not IsBackTown
update_imgBackTown
End Sub
Private Sub imgExAll_Click()
ExAll = Not ExAll
update_imgExAll
MDIfrmMain.Save_Option
End Sub
Private Sub imgGSonyou_Click()
GSonyou = Not GSonyou
update_imgGSonyou
MDIfrmMain.Save_Option
End Sub
Public Sub update_imgGSonyou()
If GSonyou Then
imgGSonyou.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgGSonyou.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Private Sub imgMGSonyou_Click()
MGSonyou = Not MGSonyou
update_imgMGSonyou
MDIfrmMain.Save_Option
End Sub
Private Sub imgGSnearyou_Click()
GSnearyou = Not GSnearyou
update_imgGSnearyou
MDIfrmMain.Save_Option
End Sub
Public Sub update_imgGSnearyou()
If GSnearyou Then
imgGSnearyou.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgGSnearyou.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Public Sub update_imgMGSonyou()
If MGSonyou Then
imgMGSonyou.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgMGSonyou.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Private Sub imgMGSnearyou_Click()
MGSnearyou = Not MGSnearyou
update_imgMGSnearyou
MDIfrmMain.Save_Option
End Sub
Public Sub update_imgMGSnearyou()
If MGSnearyou Then
imgMGSnearyou.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgMGSnearyou.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Public Sub update_imgExAll()
If ExAll Then
imgExAll.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgExAll.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
End Sub
Private Sub imgMove_Click()
Automove = Not Automove
update_imgMove
MDIfrmMain.Save_Option
End Sub
Private Sub ImgPick_Click()
IsAutoPick = Not IsAutoPick
update_imgPick
MDIfrmMain.Save_Option
End Sub
Public Sub update_imgStopPick()
If SWeight2 Then
imgStopPick.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgStopPick.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
txtStopPick.text = Weight2 * 100
End Sub
Private Sub imgStopPick_Click()
SWeight2 = Not SWeight2
update_imgStopPick
MDIfrmMain.Save_Option
End Sub
Public Sub update_imgStopAttack()
If SWeight1 Then
imgStopAttack.Picture = LoadPicture(App.Path & "\interface\on.gif")
Else
imgStopAttack.Picture = LoadPicture(App.Path & "\interface\off.gif")
End If
txtStopAttack.text = Weight1 * 100
End Sub
Private Sub imgStopAttack_Click()
SWeight1 = Not SWeight1
update_imgStopAttack
MDIfrmMain.Save_Option
End Sub
Private Sub imgWayPoint_Click()
RandomMove = Not RandomMove
update_imgWayPoint
MDIfrmMain.Save_Option
End Sub
Private Sub txtBackTown_Change()
WeightBackTown = val(txtBackTown.text) / 100
End Sub
Private Sub txtStopAttack_Change()
Weight1 = val(txtStopAttack.text) / 100
End Sub
Private Sub txtStopPick_Change()
Weight2 = val(txtStopPick.text) / 100
End Sub
Private Sub txtWaypoint_Change()
Movetime = val(txtWaypoint.text)
End Sub