![]() |
| |||||||
| Forum Arşivi Gereksiz,Yanlış konular bu alanda toplanır. |
| |
| |
| | LinkBack | Konu Araçları | Stil |
| | #1 (permalink) |
| Banned | -Selamün Aleyküm Arkadaşlar Burada Size Koxp Oto HP Ve MP Yapımı Kodlarını vericem. Gerekenler : 2 Adet CheckBox 2 Adet TextBox 2 Adet ComboBox 1 Adet Timer 1 Adet Module Kodları : Check1 Captonunu Oto HP yapın ve Kod Kısmına Bunu Yazın. Kod: If Check1.Value = 1 Then UseAutoHeal = 1 Else UseAutoHeal = 0 End If Check2 Captonunu Oto MP yapın ve Kod Kısmına Bunu Yazın. Kod: If Check2.Value = 1 Then UseAutoMana = 1 Else UseAutoMana = 0 End If Text1in Kod Kısmına Aşağıdaki Kodu yazın. Kod: If IsNumeric(Text1.Text) Then HealPercent = Text1.Text End If Text2in Kod Kısmına Aşağıdaki Kodu yazın. Kod: If IsNumeric(Text2.Text) Then HealPercent = Text2.Text End If Form_Loada Bu Kodları Ekleyin Kod: PotID HealPercent = Text1.Text ManaPercent = Text2.Text Timerin Intervali 100 Yapın ve Kod Kısmına bunu yazın. Kod: If Combo1.Text = "" Then Else If UseAutoHeal = 1 Then Dim CurrentHP As Long, maxhp As Long, HEALON2 As Single, HEALON As Long CurrentHP = ReadLong(KO_ADR_CHR + KO_OFF_HP) maxhp = ReadLong(KO_ADR_CHR + KO_OFF_MAXHP) HEALON2 = HealPercent / 100 HEALON = Round(maxhp * HEALON2, 0) If CurrentHP <= HEALON And CurrentHP <> 0 Then PotionDiff = DateDiff("s", PotionTimer, Now) If PotionDiff >= 3 Then Skill Combo1.ItemData(Combo1.ListIndex) End If End If End If End If If Combo2.Text = "" Then Else If UseAutoMana = 1 Then Dim CurrentMP As Long, MaxMP As Long, ManaON2 As Single, ManaON As Long CurrentMP = ReadLong(KO_ADR_CHR + KO_OFF_MP) MaxMP = ReadLong(KO_ADR_CHR + KO_OFF_MAXMP) ManaON2 = ManaPercent / 100 ManaON = Round(MaxMP * ManaON2, 0) If CurrentMP <= ManaON And CurrentMP <> 0 Then PotionDiff = DateDiff("s", PotionTimer, Now) If PotionDiff >= 3 Then Skill Combo2.ItemData(Combo2.ListIndex) End If End If End If End If Modüle Bu Kodları Ekleyin Kod: Public Sub PotID() Form1.Combo1.AddItem "45" Form1.Combo1.ItemData(Form1.Combo1.NewIndex) = 490010 Form1.Combo1.AddItem "90" Form1.Combo1.ItemData(Form1.Combo1.NewIndex) = 490011 Form1.Combo1.AddItem "180" Form1.Combo1.ItemData(Form1.Combo1.NewIndex) = 490012 Form1.Combo1.AddItem "360" Form1.Combo1.ItemData(Form1.Combo1.NewIndex) = 490013 Form1.Combo1.AddItem "720" Form1.Combo1.ItemData(Form1.Combo1.NewIndex) = 490014 'mp potlar Form1.Combo2.AddItem "120" Form1.Combo2.ItemData(Form1.Combo2.NewIndex) = 490016 Form1.Combo2.AddItem "240" Form1.Combo2.ItemData(Form1.Combo2.NewIndex) = 490017 Form1.Combo2.AddItem "480" Form1.Combo2.ItemData(Form1.Combo2.NewIndex) = 490018 Form1.Combo2.AddItem "960" Form1.Combo2.ItemData(Form1.Combo2.NewIndex) = 490019 Form1.Combo2.AddItem "1920" Form1.Combo2.ItemData(Form1.Combo2.NewIndex) = 490020 End Sub Bu Kadar Koxpumuza oto heal eklemiş olduk. |
| |
| Etiket |
| oto, yapımı |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Konu Araçları | |
| Stil | |
| |