Koxp, Koxp Türkiye, Koxp 1868, 1869 Koxp  

Geri git   Koxp, Koxp Türkiye, Koxp 1868, 1869 Koxp > Programlama > Visual Basic > Vb Paylaşımlar

Vb Paylaşımlar Genel paylaşımlar..

Hoş geldiniz..
www.HilePort.Com



Yeni sitemize sizleride bekleriz.

Cevapla
 
LinkBack Konu Araçları Stil
Alt 05-09-2011, 20:16   #1 (permalink)
Oyuncu
 
Forum
Üye No: 42693
Üyelik tarihi: May 2011
Mesajlar: 13
Teşekkürler
+ Puan Verdi: 2
+ Puan Aldı: 2
Rep Bilgileri
Rep Gücü: 100
Rep Derecesi:
NothingFalse will become famous soon enoughNothingFalse will become famous soon enough
Standart Oto Pot Yapımı // Kısa

Örnek Caps



İlk Önce Inventory Okutalım

Kod:
Public Sub InventoryOku()
      Dim tmpBase As Long, tmpLng1 As Long, tmpLng2 As Long, tmpLng3 As Long, tmpLng4 As Long
      Dim lngItemID As Long, lngItemID_Ext As Long, lngItemNameLen As Long, AdrItemName As Long
      Dim ItemNameB() As Byte, ItemName As String, i As Integer
      tmpBase = LongOku(KO_PTRDLG)
      tmpLng1 = LongOku(tmpBase + &H1A0) 'first pointer
      Form1.ItemList.Clear
For i = 26 To 53 'read 0 to 41 inventory slots (0=earring, 1=helmet, 2=earring, 3=necklace, 4=pauldron ....14=first inventory slot)
          tmpLng2 = LongOku(tmpLng1 + (&H134 + (4 * i))) 'inventory slot
          tmpLng3 = LongOku(tmpLng2 + &H38) 'item id adress
          tmpLng4 = LongOku(tmpLng2 + &H3C) 'item id_ext adress
          
          lngItemID = LongOku(tmpLng3) 'item id value
          lngItemID_Ext = LongOku(tmpLng4) 'item id_ext value
          lngItemID = lngItemID + lngItemID_Ext 'real item id
          lngItemNameLen = LongOku(tmpLng3 + &H10) 'n° characters in item name
          AdrItemName = LongOku(tmpLng3 + &HC) 'item name adress
          
          ItemName = "" 'reset ItemName variable
          If lngItemNameLen > 0 Then
              SıraByteOku AdrItemName, ItemNameB, lngItemNameLen 'get item name (byte array)
              ItemName = StrConv(ItemNameB, vbUnicode) 'convert it to string
          End If

If Form1.ItemList.ListCount <> "28" Then
Form1.ItemList.AddItem Form1.ItemList.ListCount + 1 & "-) " & ItemName
End If
      Next
End Sub
Item arama fonksiyonumuz

Kod:
Public Function ItemARA(item As String) As Boolean
Dim i As Integer
For i = 0 To Form1.ItemList.ListCount - 1
If InStr(1, Form1.ItemList.list(i), item) Then ItemARA = True
Next
End Function
AutoPot fonksiyonlarımız

Kod:
Sub PotBAS(PotID As String)
Paket PotID + KarakterID + KarakterID
End Sub

Sub AutoHP()
If Form1.chPot(0).Value = 1 And CharHP(0) < ((CharHP(1) * Form1.txLim(0).text) / 100) Then
If ItemARA("of favors") = True Then PotBAS "31031E7A0700": Exit Sub
If ItemARA("of grace") = True Then PotBAS "31031D7A0700": Exit Sub
If ItemARA("of love") = True Then PotBAS "31031C7A0700": Exit Sub
If ItemARA("of life") = True Then PotBAS "31031B7A0700": Exit Sub
If ItemARA("Holy water") = True Then PotBAS "31031A7A0700": Exit Sub
End If
End Sub

Sub AutoMP()
If Form1.chPot(1).Value = 1 And CharMP(0) < ((CharMP(1) * Form1.txLim(1).text) / 100) Then
If ItemARA("of Soul") = True Then PotBAS "3103247A0700": Exit Sub
If ItemARA("of Wisdom") = True Then PotBAS "3103237A0700": Exit Sub
If ItemARA("of Sagacity") = True Then PotBAS "3103227A0700": Exit Sub
If ItemARA("of Intelligence") = True Then PotBAS "3103217A0700": Exit Sub
If ItemARA("of Spirit") = True Then PotBAS "3103207A0700": Exit Sub
End If
End Sub
AutoPot Timer > interval = 1000 ~ 1500 Enabled = True içine

Kod:
AutoHP
AutoMp
InventoryOku
Yazın
NothingFalse isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
1 + Puan Aldı
thefailed (05-12-2011)
Alt 05-09-2011, 20:20   #2 (permalink)
Kral
 
ce'M oKaN - ait Kullanıcı Resmi (Avatar)
 
Kişisel
Bulunduğu yer: 'in ne önemi var yeterki gönüller bir olsun :D
Forum
Üye No: 25361
Üyelik tarihi: May 2010
Mesajlar: 474
Teşekkürler
+ Puan Verdi: 52
+ Puan Aldı: 99
Rep Bilgileri
Rep Gücü: 10
Rep Derecesi:
ce'M oKaN is on a distinguished road
Standart

Aynı Konu Var Kardeş Foruma Dikkatli Bak.


___[ ce'M oKaN adlı kişinin İmzası]_______________
[b] Teşekkürüde Esirgeme Artık..


GALATASARAY...

Dağda üç Beş Koyun Sürüsü
Tutturmuş Bir Kürdistan Türküsü
Eline Almış Bayrak Diye Bir Masa örtüsü
Satsan Beş Para Etmez Ne Dirisi Ne De ölüsü
Soyu Soysuz Olan Sensin Toprak Senin Neyine
İte Itlik Yapıp Kafa Tutma Beyine
Anlasa Dediğimi Sokaktaki Köpek Ağlar Haline
Duy Ulan Soysuz Ne Mutlu Türk'üm Diyene
ce'M oKaN isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 05-12-2011, 15:30   #3 (permalink)
Kral
 
serhatkan - ait Kullanıcı Resmi (Avatar)
 
Forum
Üye No: 38898
Üyelik tarihi: Sep 2010
Mesajlar: 250
Teşekkürler
+ Puan Verdi: 52
+ Puan Aldı: 30
Rep Bilgileri
Rep Gücü: 100
Rep Derecesi:
serhatkan will become famous soon enoughserhatkan will become famous soon enough
Standart

neresi kısa abi bide onu göster
serhatkan isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 05-12-2011, 15:46   #4 (permalink)
Usta Oyuncu
 
Forum
Üye No: 41279
Üyelik tarihi: Dec 2010
Mesajlar: 21
Teşekkürler
+ Puan Verdi: 12
+ Puan Aldı: 0
Rep Bilgileri
Rep Gücü: 100
Rep Derecesi:
thefailed will become famous soon enoughthefailed will become famous soon enough
Standart

teşekkürler
thefailed isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 05-24-2011, 08:44   #5 (permalink)
GameMaster
 
RAZOR 1965 - ait Kullanıcı Resmi (Avatar)
 
Kişisel
Bulunduğu yer: BOLU
Forum
Üye No: 41584
Üyelik tarihi: Jul 2010
Mesajlar: 3.652
Teşekkürler
+ Puan Verdi: 63
+ Puan Aldı: 157
Rep Bilgileri
Rep Gücü: 100
Rep Derecesi:
RAZOR 1965 will become famous soon enoughRAZOR 1965 will become famous soon enough
Smile

Alıntı:
serhatkan´isimli üyeden Alıntı Mesajı göster
neresi kısa abi bide onu göster

öğrenecekler Zamanla Acele Etme


___[ RAZOR 1965 adlı kişinin İmzası]_______________


İnternet Sitem: www.razor1965.tr.gg


Server: Edana / Orc
Job: Priest
Pm: JohannyaLves
Np: 115000
cLan: CantStop
LeveL: 69
RAZOR 1965 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla

Etiket
kısa, or or, oto, pot, yapımı


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Konu Araçları
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Sponsor : balon patlatma puanlı giysi giydirme oyunları süper oyunlar kral oyun mario oyunları

Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 09:48 .

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
# CaN.