Sign in to follow this  
Followers 0
XXwashuXX

help with a dam loop its not working

27 posts in this topic

Do

$i = 0

$i = $i + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(3000)

Send("Bump" + $i)

Send("{TAB 84}")

Sleep(35000)

Send("{ENTER}")

Until $i = 99999

EndIf

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

if u keep $i = 0 where it was...it always sets $i to zero then to 1, then back to zero :)

$i = 0

Do

$i = $i + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(3000)

Send("Bump" + $i)

Send("{TAB 84}")

Sleep(35000)

Send("{ENTER}")

Until $i = 99999

EndIf

Edited by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

if u keep $i = 0 where it was...it always sets $i to zero then to 1, then back to zero :)

$i = 0

Do

$i = $i + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(3000)

Send("Bump" + $i)

Send("{TAB 84}")

Sleep(35000)

Send("{ENTER}")

Until $i = 99999

EndIf

now i'm getting an error and its just quiting

+>19:45:16 Starting AutoIt3Wrapper v.1.7.6

>Running AU3Check (1.54.6.0) params: from:E:\Program Files\AutoIt3

D:\Programs\Autoit3\autoumper.au3(26,9) : WARNING: $i: possibly used before declaration.

$i = $i +

~~~~~~~~^

D:\Programs\Autoit3\autoumper.au3 - 0 error(s), 1 warning(s)

->19:45:16 AU3Check ended.rc:1

>Running:(3.2.2.0):E:\Program Files\AutoIt3\autoit3.exe "D:\Programs\Autoit3\autoumper.au3"

D:\Programs\Autoit3\autoumper.au3 (26) : ==> Variable used without being declared.:

$i = $i + 1

$i = ^ ERROR

+>19:45:51 AutoIT3.exe ended.rc:0

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

now i'm getting an error and its just quiting

+>19:45:16 Starting AutoIt3Wrapper v.1.7.6

>Running AU3Check (1.54.6.0) params: from:E:\Program Files\AutoIt3

D:\Programs\Autoit3\autoumper.au3(26,9) : WARNING: $i: possibly used before declaration.

$i = $i +

~~~~~~~~^

D:\Programs\Autoit3\autoumper.au3 - 0 error(s), 1 warning(s)

->19:45:16 AU3Check ended.rc:1

>Running:(3.2.2.0):E:\Program Files\AutoIt3\autoit3.exe "D:\Programs\Autoit3\autoumper.au3"

D:\Programs\Autoit3\autoumper.au3 (26) : ==> Variable used without being declared.:

$i = $i + 1

$i = ^ ERROR

+>19:45:51 AutoIT3.exe ended.rc:0

#include <GUIConstants.au3>
#include<IE.au3>

global $loops = 0
Do
$loops = $loops + 1
Sleep(1200)
Send("{tab}")
send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")
send("{ENTER}")
winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")
Sleep(7000)
Send("{TAB 8}")
sleep(3000)
Send("Bump" + $loops)
Send("{TAB 84}")
Sleep(35000)
Send("{ENTER}")
Until $loops = 99999

try it now, its globalized...but, let me work on it and test it

Edited by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

#include <GUIConstants.au3>
#include<IE.au3>

global $loops = 0
Do
$loops = $loops + 1
Sleep(1200)
Send("{tab}")
send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")
send("{ENTER}")
winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")
Sleep(7000)
Send("{TAB 8}")
sleep(3000)
Send("Bump" + $loops)
Send("{TAB 84}")
Sleep(35000)
Send("{ENTER}")
Until $loops = 99999
EndIf

try it now, its globalized...but, let me work on it and test it

wow that cool thanks

Share this post


Link to post
Share on other sites

wow that cool thanks

any time, any time... :) just tested it here, :) enjoy


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

any time, any time... :) just tested it here, :) enjoy

ummm i have a problem its not posting bump but its just 1 whats wrong with it

Share this post


Link to post
Share on other sites

ummm i have a problem its not posting bump but its just 1 whats wrong with it

can I get more info please? lol

is it only posting the # 1, not Bump1?


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

Send("Bump" + $loops)

try

Send("Bump" & $loops)

Dave


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------"I don't need to know everything, I just need to know where to find it when I need it"....EinsteinAnd in our case... That's the AutoIT helpfile ;) Please read before posting!!!

Share this post


Link to post
Share on other sites

Also I think it would be less confusing for you if you use a For loop to control that loop. For example

For $loops = 1 To 99999
Sleep(1200)
Send("{tab}")
send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119",1)
send("{ENTER}")
winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")
Sleep(7000)
Send("{TAB 8}")
sleep(3000)
Send("Bump" & $i)
Send("{TAB 84}")
Sleep(35000)
Send("{ENTER}")
Next

I also fixed up some problems you might of encountered in the above code

Dave


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------"I don't need to know everything, I just need to know where to find it when I need it"....EinsteinAnd in our case... That's the AutoIT helpfile ;) Please read before posting!!!

Share this post


Link to post
Share on other sites

hmmm, nice work, it should work...but gotta wait for the official call from XXwashuXX


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

hmmm, nice work, it should work...but gotta wait for the official call from XXwashuXX

ok ok ok ok ok

dam thing is there a way to make it do like the abc's

because gaia does let numbers work so i need letters

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

ok ok ok ok ok

dam thing is there a way to make it do like the abc's

because gaia does let numbers work so i need letters

send("Bump" & Asc ( 64 + $i)

Edited by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

send("Bump" & Asc ( 64 + $i)

D:\Programs\Autoit3\autoumper.au3(35,33) : ERROR: syntax error

send("Bump" & Asc ( 64 + $loops)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

D:\Programs\Autoit3\autoumper.au3 - 1 error(s), 0 warning(s)

!>20:56:33 AU3Check ended.rc:2

+>20:56:39 AutoIt3Wrapper Finished

>Exit code: 0 Time: 7.125

thats the error

Share this post


Link to post
Share on other sites

D:\Programs\Autoit3\autoumper.au3(35,33) : ERROR: syntax error

send("Bump" & Asc ( 64 + $loops)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

D:\Programs\Autoit3\autoumper.au3 - 1 error(s), 0 warning(s)

!>20:56:33 AU3Check ended.rc:2

+>20:56:39 AutoIt3Wrapper Finished

>Exit code: 0 Time: 7.125

thats the error

heres the full code

$MsgBoxResult = MsgBox(1, "AutoBumper", "Made by MidnightRaven. making life around gaia easier")

If $MsgBoxResult = -1 Then

Exit

Endif

If $MsgBoxResult = 1 Then

Run("E:\Program Files\Internet Explorer\iexplore.exe","E:\Program Files\Internet Explorer",@SW_MAXIMIZE)

winwaitactive("Imperial Valley College - Windows Internet Explorer")

sleep(6000)

send("{tab}")

send("http://www.gaiaonline.com")

send("{enter}")

winwaitactive("Welcome to Gaia Online - Windows Internet Explorer")

sleep(6000)

send("{TAB 8}")

sleep(1000)

send("")

sleep(1500)

send("{TAB}")

send("")

sleep(8000)

send("{TAB}")

send("{ENTER}")

WinWaitActive("Gaia :: Welcome to Gaia - Windows Internet Explorer")

global $loops = 0

Do

$loops = $loops + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(4000)

send("Bump" & Asc ( 64 + $loops)

Send("{TAB 83}")

Sleep(35000)

Send("{ENTER}")

Until $loops = 99999

EndIf

Share this post


Link to post
Share on other sites

http://www.gaiaonline.com/info/index.php?mode=rules

Botting. Using an automated script, macro, or refreshing feature to post or surf webpages in order to generate Gold (Botting) is forbidden. The use of any software or codes to generate gold without the need for you being in front of your computer is generally considered as botting. Anyone suspected of botting will have their account banned.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

i know but i want it to work

hmmm does that apply for this site as well? lol

Edited by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

i know but i want it to work

$MsgBoxResult = MsgBox(1, "AutoBumper", "Made by littlewashu. making life around gaia easier")

If $MsgBoxResult = -1 Then

Exit

Endif

If $MsgBoxResult = 1 Then

Run("E:\Program Files\Internet Explorer\iexplore.exe","E:\Program Files\Internet Explorer",@SW_MAXIMIZE)

winwaitactive("Imperial Valley College - Windows Internet Explorer")

sleep(6000)

send("{tab}")

send("http://www.gaiaonline.com")

send("{enter}")

winwaitactive("Welcome to Gaia Online - Windows Internet Explorer")

sleep(6000)

send("{TAB 8}")

sleep(1000)

send("")

sleep(1500)

send("{TAB}")

send("")

sleep(8000)

send("{TAB}")

send("{ENTER}")

WinWaitActive("Gaia :: Welcome to Gaia - Windows Internet Explorer")

global $loops = 0

Do

$loops = $loops + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(4000)

send("Bump" & Asc ( 64 + $loops)

Send("{TAB 83}")

Sleep(35000)

Send("{ENTER}")

Until $loops = 99999

EndIf

Share this post


Link to post
Share on other sites

$MsgBoxResult = MsgBox(1, "AutoBumper", "Made by littlewashu. making life around gaia easier")

If $MsgBoxResult = -1 Then

Exit

Endif

If $MsgBoxResult = 1 Then

Run("E:\Program Files\Internet Explorer\iexplore.exe","E:\Program Files\Internet Explorer",@SW_MAXIMIZE)

winwaitactive("Imperial Valley College - Windows Internet Explorer")

sleep(6000)

send("{tab}")

send("http://www.gaiaonline.com")

send("{enter}")

winwaitactive("Welcome to Gaia Online - Windows Internet Explorer")

sleep(6000)

send("{TAB 8}")

sleep(1000)

send("")

sleep(1500)

send("{TAB}")

send("")

sleep(8000)

send("{TAB}")

send("{ENTER}")

WinWaitActive("Gaia :: Welcome to Gaia - Windows Internet Explorer")

global $loops = 0

Do

$loops = $loops + 1

Sleep(1200)

Send("{tab}")

send("http://www.gaiaonline.com/guilds/posting.php?mode=reply&tc=576&t=7831119")

send("{ENTER}")

winwaitactive("Gaia :: Forums - Post a Reply - Windows Internet Explorer")

Sleep(7000)

Send("{TAB 8}")

sleep(4000)

send("Bump" & Asc ( 64 + $loops)

Send("{TAB 83}")

Sleep(35000)

Send("{ENTER}")

Until $loops = 99999

EndIf

ya _ _

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0