ฟอรั่ม PSsix

Would you like to react to this message? Create an account in a few clicks or log in to continue.

ฟอรั่มของบล็อก http://pssix.blogspot.com


3 posters

    ช่วยชี้แนะด้วยครับ

    avatar
    kornvampirekorn
    มือใหม่เพิ่งสมัคร
    มือใหม่เพิ่งสมัคร


    ช่วยชี้แนะด้วยครับ Empty ช่วยชี้แนะด้วยครับ Empty
    จำนวนข้อความ : 6
    ความนิยม : 0
    เข้าร่วมเมื่อ : 11/02/2012

    ช่วยชี้แนะด้วยครับ Empty ช่วยชี้แนะด้วยครับ

    ตั้งหัวข้อ by kornvampirekorn 11/02/12, 02:05 pm

    ถ้าผมจะให้ตีมอนที่สี 0x000800 ในกรอบ 327,157,981,537 จนหายไปแล้วค่อยค้นหามอนตัวใหม่โดยการวนลูปไปเรื่อยๆและยังกดปุ่ม 3,4 อยู่ตลอด การครอบ While 1 กับ Wend เขียนแบบนี้ถูกต้องมั้ยครับ
    em230

    While 1
    ControlSend($GameHD, "", "", "2")
    Sleep(100)
    ControlSend($GameHD, "", "", "3")
    Sleep(200)
    ControlSend($GameHD, "", "", "4")
    Sleep(300)
    $coord = PixelSearch( 327,157, 981,537, 0x000800 )
    If Not @error Then
    MouseClick("",$coord[0] ,$coord[1],1,0)
    ControlSend($GameHD, "", "", "1")
    While PixelGetColor("",$coord[0] , $coord[1])
    ControlSend($GameHD, "", "", "1")
    WEnd
    EndIf
    Sleep (100)
    WEnd
    Hiewsound
    Hiewsound
    PSsix Member High Class
    PSsix Member High Class


    PSsix Game Coder
    จำนวนข้อความ : 93
    ความนิยม : 33
    เข้าร่วมเมื่อ : 08/01/2012

    ช่วยชี้แนะด้วยครับ Empty Re: ช่วยชี้แนะด้วยครับ

    ตั้งหัวข้อ by Hiewsound 11/02/12, 04:15 pm

    ตกลงนายทดสอบแล้วหรือยังครับ
    avatar
    loveapple244
    PSsix Member Super Class II
    PSsix Member Super Class II


    PSsix Game Coder
    จำนวนข้อความ : 160
    ความนิยม : 9
    เข้าร่วมเมื่อ : 15/07/2011

    ช่วยชี้แนะด้วยครับ Empty Re: ช่วยชี้แนะด้วยครับ

    ตั้งหัวข้อ by loveapple244 14/02/12, 07:58 pm

    ค่า $coord ซ้อนคิดว่าไม่ทำงาน

      เวลาขณะนี้ 27/04/24, 07:44 am