Results 1 to 7 of 7
  1. #1
    sd999444's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    386
    Reputation
    15
    Thanks
    98

    source code editing syntax error

    so i'm editing the source code by @nunya but i get this error when i try and build/F5/CTRL+F5 it...

    +>22:12:48 Starting AutoIt3Wrapper v.2.0.1.24 Environment(Language:0409 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X86)
    >Running AU3Check (1.54.19.0) from:C:\Program Files\AutoIt3
    C:\Users\msd\Desktop\scripts\smartbot ingkara2.au3(120,70) : ERROR: syntax error
    Exit ;end key pressed, exit application.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^
    C:\Users\....\(ingkara named).au3 - 1 error(s), 0 warning(s)
    !>22:12:52 AU3Check ended.rc:2
    >Exit code: 0 Time: 8.080

  2. #2
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Please paste the whole block of code that is around where the error stems from.. (where the exit command is)
    PLAYING RIFT!

  3. #3
    sd999444's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    386
    Reputation
    15
    Thanks
    98
    Quote Originally Posted by nunya View Post
    Please paste the whole block of code that is around where the error stems from.. (where the exit command is)
    do you mean this?

    WEnd ;end of the main loop.Will keep looping till exit button(end) is pressed.
    EndFunc ;end of the main function.

    Func End() ;This is the function to deactivate script and exit application.
    Exit ;end key pressed, exit application.

  4. #4
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by sd999444 View Post
    do you mean this?

    WEnd ;end of the main loop.Will keep looping till exit button(end) is pressed.
    EndFunc ;end of the main function.

    Func End() ;This is the function to deactivate script and exit application.
    Exit ;end key pressed, exit application.

    Func End() ;This is the function to deactivate script and exit application.
    Exit ;end key pressed, exit application.

    EndFunc

    Fix this part like I did above. Your missing EndFunc
    PLAYING RIFT!

  5. The Following User Says Thank You to DanK For This Useful Post:

    sd999444 (06-02-2011)

  6. #5
    sd999444's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    386
    Reputation
    15
    Thanks
    98
    new problem... the control click doesnt work for me, it doesnt click anything. not sure why? @nunya
    Last edited by sd999444; 06-02-2011 at 08:48 PM.

  7. #6
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by sd999444 View Post
    new problem... the control click doesnt work for me, it doesnt click anything. not sure why? @nunya
    Must be in custom fullscreen to background click.
    PLAYING RIFT!

  8. #7
    sd999444's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    386
    Reputation
    15
    Thanks
    98
    Quote Originally Posted by nunya View Post
    Must be in custom fullscreen to background click.
    @nunya i have custom fullscreen, it won't let me use the find tool though if it's in custom fullscreen. what should i do to get the coords? i have no other way to test the clicks if i can't use find...