Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Wizardry Online - Auto Bonus Point ReRoller


  • Please log in to reply
224 replies to this topic
nikgk15
  • Members
  • 1 posts
  • Last active: Mar 27 2013 11:45 AM
  • Joined: 27 Mar 2013

this script::

^d::
Loop {
;MouseClick, left,  281, 615, 5 ;(Race Selection) - >Human (M)
;MouseClick, left,  281, 615, 5 ;(Race Selection) - >Human (M) 2nd attempt
;MouseClick, left,  286, 655, 5 ;(Race Selection) - >Human (F)
;MouseClick, left,  286, 655, 5 ;(Race Selection) - >Human (F) 2nd attempt
;MouseClick, left,  437, 617, 5 ;(Race Selection) - >Elf (M)
;MouseClick, left,  437, 617, 5 ;(Race Selection) - >Elf (M) 2nd attempt
;MouseClick, left,  438, 654, 5 ;(Race Selection) - >Elf (F)
;MouseClick, left,  438, 654, 5 ;(Race Selection) - >Elf (F) 2nd attempt
MouseClick, left,  584, 617, 5 ;(Race Selection) - >Dwarf (M)
MouseClick, left,  584, 617, 5 ;(Race Selection) - >Dwarf (M) 2nd attempt
;MouseClick, left,  587, 657, 5 ;(Race Selection) - >Gnome (F)
;MouseClick, left,  587, 657, 5 ;(Race Selection) - >Gnome (F) 2nd attempt
;MouseClick, left,  737, 622, 5 ;(Race Selection) - >Porkul (M)
;MouseClick, left,  737, 622, 5 ;(Race Selection) - >Porkul (M) 2nd attempt
;MouseClick, left,  738, 657, 5 ;(Race Selection) - >Porkul (F)
;MouseClick, left,  738, 657, 5 ;(Race Selection) - >Porkul (F) 2nd attempt
Sleep, 10
MouseClick, left,  447, 723, 5
MouseClick, left,  447, 723, 5
Sleep, 2200
PixelSearch, colorX, colorY, 490, 378, 502, 391, 0xFFFFFF, 0, fast
if !ErrorLevel
  break
MouseClick, left,  513, 416, 5
MouseClick, left,  513, 416, 5
Sleep, 10
MouseClick, left,  575, 726, 5
MouseClick, left,  575, 726, 5
Sleep, 10
}
return

^s::
Pause
return

 

 

it gets the motions right. but it never clicks. ... any help?
 



Imperial
  • Members
  • 1 posts
  • Last active: Dec 13 2013 11:41 AM
  • Joined: 28 Mar 2013

some of i have edited to make them better.

1280x1024  and scroll down to get 1920x1080

also detects more then white. few other colors added. over kill maybe, but works like a charm.

i tryed some of the other scripts here but i just seem to have the worst luck with them. what i found is the placement for detecting and the timer where off. base on PC speed the macro would not have time to detect the colors or the search was to far from the 1. i placed this one right under the 1s spot. how ever i did not use 11 because its less pixels then a 10 12 or 13. if a 20 30 40 50 60 pop up it will detect these.  even if its 21. 

added extra clicks for these auto error stops. the program only stops when it has found a number over 20 flawless. 

 

1280x1024

;AutoRoll Macro for Wizardry Online Bonus Points.
;All x,y coordinates are for 1280x1024.
;Press the right key to start the macro.
;Press ESC to stop the macro.
;Macro *should automatically stop on 20 or higher.
;Longer delay added and back side detect Rolled a 32 40 and 60 with this program sofar
; range from 3 hours to 20 hours to 8 hours in order.

right::
BreakLoop = 0
White = 0xffffff
Loop
{
        sleep 200 ;A slight pause

	;This section selects Character race/gender.
	;Remove semicolon for whatever race/gender you are rolling for.
	;click 411, 882, 5 ;Race Selection - Human (M)
	;click 411, 918, 5 ;Race Selection - Human (F)
	click 553, 882, 5 ;Race Selection - Elf (M)
	;click 553, 918, 5 ;Race Selection - Elf (F)
	;click 717, 882, 5 ;Race Selection - Dwarf (M)
	;click 717, 918, 5 ;Race Selection - Gnome (F)
	;click 861, 882, 5 ;Race Selection - Porkul (M)
	;click 861, 918, 5 ;Race Selection - Porkul (F)


	sleep 120 ;A slight pause
	;Start the rolling
	click 577, 983, 5 ;OK Button
	sleep 30 ;A slight pause
        click 577, 983, 5 ;OK Button - extra click for system stalled
	Sleep 2500 ;Wait until the roll is done

;#######################################################################################
;###########################################Detects under 1 for 10s#####################
;#######################################################################################

	PixelSearch, Px, Py, 626, 504, 630, 517, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll


;#######################################################################################
;########################################Detects end of 0 for 10s#######################
;#######################################################################################

	PixelSearch, Px, Py, 650, 503, 653, 516, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll

;#######################################################################################
;#######################################################################################
        sleep 600 ;Pause
	click 640, 545, 5 ;OK Button on bonus points dialog.
        sleep 60 ;Pause
	click 640, 545, 5 ;OK Button on bonus points dialog. - extra click for system stalled
	sleep 600 ;Pause

	click 705, 982, 5 ;Cancel character and reroll another.
	sleep 600 ;Wait for Server
        click 705, 982, 5 ;Cancel character and reroll another. - extra click for system stalled
	sleep 60 ;Wait for Server
}
return

Esc::
BreakLoop = 1
return

 

 

1920x1080


;AutoRoll Macro for Wizardry Online Bonus Points.
;All x,y coordinates are for 1920x1080.
;Press the right key to start the macro.
;Press ESC to stop the macro.
;Macro *should automatically stop on 20 or higher.
;Longer delay added and back side detect Rolled a 32 40 and 60 with this program sofar
; range from 3 hours to 20 hours to 8 hours in order.

right::
BreakLoop = 0
White = 0xffffff
Loop
{
        sleep 200 ;A slight pause

	;This section selects Character race/gender.
	;Remove semicolon for whatever race/gender you are rolling for.
	;click 720, 923, 5 ;Race Selection - Human (M)
	;click 732, 969, 5 ;Race Selection - Human (F)
	click bigx, bigy, 5 ;Race Selection - Elf (M)
	;click 880, 970, 5 ;Race Selection - Elf (F)
	;click 1046, 939, 5 ;Race Selection - Dwarf (M)
	;click 1033, 978, 5 ;Race Selection - Gnome (F)
	;click 1186, 938, 5 ;Race Selection - Porkul (M)
	;click 1193, 980, 5 ;Race Selection - Porkul (F)


	sleep 120 ;A slight pause
	;Start the rolling
	click 890, 1040, 5 ;OK Button
	sleep 30 ;A slight pause
        click 890, 1040, 5 ;OK Button - extra click for system stalled
	Sleep 2500 ;Wait until the roll is done

;#######################################################################################
;###########################################Detects under 1 for 10s#####################
;#######################################################################################

	PixelSearch, Px, Py, 945, 532, 950, 545, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 945, 532, 950, 545, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 945, 532, 950, 545, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 945, 532, 950, 545, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll


;#######################################################################################
;########################################Detects end of 0 for 10s#######################
;#######################################################################################

	PixelSearch, Px, Py, 971, 527, 972, 545, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 971, 527, 972, 545, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 971, 527, 972, 545, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 971, 527, 972, 545, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll

;#######################################################################################
;#######################################################################################
        sleep 600 ;Pause
	click 960, 570, 5 ;OK Button on bonus points dialog.
        sleep 60 ;Pause
	click 960, 570, 5 ;OK Button on bonus points dialog. - extra click for system stalled
	sleep 600 ;Pause

	click 1023, 1041, 5 ;Cancel character and reroll another.
	sleep 600 ;Wait for Server
        click 1023, 1041, 5 ;Cancel character and reroll another. - extra click for system stalled
	sleep 60 ;Wait for Server
}
return

Esc::
BreakLoop = 1
return

 

 

 



hvylia
  • Members
  • 1 posts
  • Last active: Mar 31 2013 12:39 PM
  • Joined: 31 Mar 2013

For those who are looking for script to autoroll during reclass i made slight changes to previous post. Changes only affect clicking positions. Resolution is 1280x1024

 

 


 

1280x1024

;AutoRoll Macro for Wizardry Online Bonus Points (reclass).
;All x,y coordinates are for 1280x1024.
;Press the RIGHT ARROW key to start the macro.
;Press ESC to stop the macro.
;Macro *should automatically stop on 20 or higher.
;Longer delay added and back side detect Rolled a 32 40 and 60 with this program sofar
; range from 3 hours to 20 hours to 8 hours in order.

right::
BreakLoop = 0
White = 0xffffff
Loop
{
        sleep 200 ;A slight pause

	;This section starts rolling.
	click 639, 445, 5 ;Reassign the Bonus Points
        sleep 120 ;A slight pause
        click 639, 445, 5 ;Reassign - extra click for system stalled
	sleep 120 ;A slight pause
	Sleep 2500 ;Wait until the roll is done

;#######################################################################################
;###########################################Detects under 1 for 10s#####################
;#######################################################################################

	PixelSearch, Px, Py, 626, 504, 630, 517, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 626, 504, 630, 517, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll


;#######################################################################################
;########################################Detects end of 0 for 10s#######################
;#######################################################################################

	PixelSearch, Px, Py, 650, 503, 653, 516, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll
	PixelSearch, Px, Py, 650, 503, 653, 516, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
	if (ErrorLevel = 0)
		break
		;Stop macro
	if (BreakLoop = 1)
		break
		;Continue to next roll

;#######################################################################################
;#######################################################################################
        sleep 600 ;Pause
	click 640, 545, 5 ;OK Button on bonus points dialog.
        sleep 60 ;Pause
	click 640, 545, 5 ;OK Button on bonus points dialog. - extra click for system stalled
	sleep 600 ;Pause

	click 770, 649, 5 ;Return.
	sleep 600 ;Wait for Server
        click 770, 649, 5 ;Return. - extra click for system stalled
	sleep 60 ;Wait for Server
}
return

Esc::
BreakLoop = 1
return



Laura M
  • Members
  • 2 posts
  • Last active: Apr 08 2013 08:20 PM
  • Joined: 06 Apr 2013
Hi, could anyone please help out a noob. Haven´t used any scripts or such and as people talk about what need´s to be in the script but no downloads for the script itself i´m lost. So if anyone could take the time to guide me and help me get it work would be much appreciated, maybe like step by step guide. 1680x1050 is my screen resolution, read that its important.

k007
  • Members
  • 2 posts
  • Last active: Apr 15 2013 04:42 AM
  • Joined: 07 Apr 2013

Thanks for the scripts guys...I got it up and running within 5 mins.  But it did took me 15 mins to browse through the thread and weed out the bad scripts.  Been running for 5 hours now...=(

 

Edit: It finally stopped with a roll of 20.  So I can confirm the scripts still works as of today.  Going for a higher number!

 

2nd Edit:  Got a 40 last night for my fighter.  Gonna roll for a priest for the next one. 



SpreadSheetNinja
  • Members
  • 1 posts
  • Last active: Apr 07 2013 12:16 PM
  • Joined: 07 Apr 2013
;----------------------------------------------------------------------------------------------------
;
; Left to stop script, right to start script
;
;You need to start the script when you click roll (doesnt have to be perfect
;but dont click the ok button while you roll.. thats where it starts.
;Resulution 1920 x 1080, no AA (antialiasing)(Dunno if aa matters)
;Running windowed, could probebly work fullscreen too (my desktop is
;running 2560x1440.. in anycase im sure you guys can modify this script
;to whatever, ill point out where you need to find your colors and cords.
;
;----------------------------------------------------------------------------------------------------
left::
endingness = 1
return
 
;----------------------------------------------------------------------------------------------------
right::
endingness = 0
 
;Important color = the color behind (example) where you press to add strength
;why its important is because, after youv added all your stat point to your character
;the button disappears (if your out of points that is), and my script works
;by counting how many stat points it can assign to your character before the
;button disappears.
;Basicly what im saying is, do a random roll for any number, SPEND all
;the stat points til your out, then you will notice the button for pressing up
;is gone, and then you wana use the window spy button to look what color it is
;noteably the background is texture so there maybe alot of colors
;so aim carefully.
;I decided to use those buttons as aim for my check how many points you got
;because if i were to aim at the white numberes, there seem to be bit too many
;artifcats and distance onec 2nd digit appear thay may be subject to randomness
;So thats why i figured since the buttons disappear onec youv run out of stat points
;why not just aim for the color that is behind them :p and then make a simple click
;loop to spend points.
 
Color = 0x101D23
 
;now the second color has to be bit more accurate as its the color of the
;alloting bonus points " O K " button :p more spesificly the white part
;that is exacly FFFFFF, i use that to check when the button is clickable
;seeing as its Greyed out (including the ok part) when its not :p
;so simply find the cords for the white part of ok, and set them correctly
;if my script doesnt hit directly on first go in 1920x1080.
 
Color2 = 0xFFFFFF
Loop
{
;----------------------------------------------------------------------------------------------------
loop
{
PixelSearch, Px, Py, 965, 598, 965, 598, Color2, 0, fast
 
;this is where it searches for the white part.
 
sleep 20 ;Pause
 
if ErrorLevel = 0
break
}
;----------------------------------------------------------------------------------------------------
if endingness = 1
return
 
;this is where script stops if you press left, i figured it was the best place
;due you can see yourself the visual alloting points, regardless of reson
;for stopping.
 
click 960, 600, 5 ;OK Button for confirm bonus (COLOR2) location
 
;if cordinates misses here on the ok button, just set it to what you set the white
;part of " O K " button for color2 to
 
SetEnv, counting, 0 ;set counting as variable and value 0
 
;and this is my simple counter, as its not perfect is irrelevant :p
;and it has to be here to reset the counter when next loop too
 
;----------------------------------------------------------------------------------------------------
loop
{
if counting < 10
{
;sleep 7 ;Pause
click down 155, 345, 1 ;
sleep 7 ;Pause
click up 155, 345, 1 ;1 point
sleep 7 ;Pause
}
else
{
;sleep 7 ;Pause
click down 155, 365, 1 ;
sleep 7 ;Pause
click up 155, 365, 1 ;1 point
sleep 7 ;Pause
}
 
;the if counting < 10 means if counting is above 10
;this is important as it will tell script you cant add more points
;into strength.
;the cords 155, 345 is exacly where the strenght + button is, aka to add 1 to strength
;i use the click down and click up to delay the click itself, i found that just useing
;the click 155, 345 is inaccurate and if you use multiclick then its breaking the script
;so its best to simulate a click down and click up (noteably this script adds safety to you
;aswell as it will make "random"(sorta) delay for your rolls seeing its actualy adding all
;the stat points (as they vary everytime) before looping script :p makes you seem human ;)
 
;noteably 155, 365 cords are for the vitality stat, this will add 1 point into vit
;also very important, this makes my script accurate til 20.
;for added accurasy, just find the dex's add button ( on my screen thats 155, 380 )
 
;the above "click part of script" you can change around alot to how many
;stat points you wana set wich basicly means how far the script will be able to go
;i stop at 15+ in this script, but as the script is currently, you can set it up to 20
;where script will stop, to go byond, like i said, you need to add the dex button to the
;click loop to add points there, the counter will keep counting then.
 
 
PixelSearch, Px, Py, 155, 345, 155, 345, Color, 0, fast
 
;this pixel search is "behind" the add strength button.
;like i said before this is the important part, onec your out of bonus points
;the button will be gone, and you will be able to see the color behind it :p
;and then script breaks the loop.
 
sleep 25
 
if ErrorLevel = 0
break
else
counting = % counting + 1
}
 
;----------------------------------------------------------------------------------------------------
; This is what you can change from 15 to 20(max of my script unless you add dex
; to button loop and make an additional if counting > 20 then press dex button
;----------------------------------------------------------------------------------------------------
if counting > 15
{
msgbox more than 15
break
}
 
;----------------------------------------------------------------------------------------------------
;rest of the buttons, is just cancle cus script didnt count more than 15points
; reclick elf or gnome (you CAN find your own cords if you use other races)
;then basicly clicks ok, and roll starts again, and script loops.
;----------------------------------------------------------------------------------------------------
;sleep 60 ;P
click 1024, 1065, 5 ;Cancle Button
;sleep 60 ;P
;click 885,995, 5 ;elf
click 1050,995, 5 ;Gnome
;sleep 60 ;P
click 885, 1065, 5 ;OK Button
Sleep 2000 ;P - long
}
return


Laura M
  • Members
  • 2 posts
  • Last active: Apr 08 2013 08:20 PM
  • Joined: 06 Apr 2013

Could someone tell me how to do the script? I haven´t done any scripts before, do i need some program for it and where do i insert the script text? I´m clueless atm.

 

Edit: Got the script working and everything, thanks k007.



k007
  • Members
  • 2 posts
  • Last active: Apr 15 2013 04:42 AM
  • Joined: 07 Apr 2013

Laura check your PM.  



dabawssest
  • Members
  • 1 posts
  • Last active: Apr 09 2013 10:45 AM
  • Joined: 08 Apr 2013

Ok so after about 3 hours of messing with this AHK stuff, I can't seem to figure out how to get the clicks to work. I tried every mentioned fix on this thread,

even the ones that don't really apply to my problem, and still nothing.

 

Some other people have had the same problem, and either they figured it out and didn't post the fix, or gave up, or someone answered them privately who knows (go figure).

 

I tested scripts out and everything works except the clicking part. No idea why, but the clicks DO work anywhere outside of the game.

 

Please for the love of all that is holy, is there an answer to this problem or am I SoL? Don't feel like developing a case of carpal tunnel because I want a better than

average roll on a video game. Lol.

 

Thanks.

 

EDIT: Ok so I did a little more searching and figured it out finally. Hopefull this works for the rest of the guys who can't get it to click.

 

;Start

right::
BreakLoop = 0
White = 0xffffff
 
Loop
{
    ;This section selects Character race/gender.
    ;Remove semicolon for the section of whatever race/gender you are rolling for.

    ;click 720, 923, down ;Race Selection - Human (M)
    ;sleep 50
    ;click up

    ;click 732, 969, down ;Race Selection - Human (F)
    ;sleep 50
    ;click up

    ;click 877, 930, down ;Race Selection - Elf (M)
    ;sleep 50
    ;click up

    ;click 880, 970, down ;Race Selection - Elf (F)
    ;sleep 50
    ;click up

    ;click 1046, 939, down ;Race Selection - Dwarf (M)
    ;sleep 50
    ;click up

    click 1033, 978, down ;Race Selection - Gnome (F)
    sleep 50
    click up

    ;click 1186, 938, down ;Race Selection - Porkul (M)
    ;sleep 50
    ;click up

    ;click 1193, 980, down ;Race Selection - Porkul (F)
    ;sleep 50
    ;click up
 
    sleep 100 ;A slight pause

    ;Start the rolling

    click 890, 1040, down ;OK Button
    sleep 50
    click up

    Sleep 2400 ;Wait until the roll is done

    PixelSearch, Px, Py, 941, 536, 947, 547, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop at 20 or higher.
    if (ErrorLevel = 0)
        break
        ;Stop macro
    if (BreakLoop = 1)
        break
        ;Continue to next roll

    click 960, 570, down ;OK Button on bonus points dialog.
    sleep 50
    click up

    sleep 100 ;Pause

    click 1023, 1041, down ;Cancel character and reroll another.
    sleep 50
    click up

    sleep 100 ;Wait for Server
}
return
 
Esc::
BreakLoop = 1
return

;End

 

 

 

As you can see, I changed every click to where it holds down the click for a sleep delay of 50 milliseconds, and for some reason that worked.

 

Also I changed a few of the other sleep delays to be a lil bit longer on account of it would occasionally roll too fast (I think) and I'd get an error that

said something along the lines of "Failed to assign bonus points from lottery."

 

Well good luck, and thank you for the hard work and figuring out, this isn't my script by the way, just edited one I found off here :)


Edited by dabawssest, 08 April 2013 - 09:02 AM.


SwagamanJaro
  • Members
  • 1 posts
  • Last active: Apr 13 2013 04:30 AM
  • Joined: 09 Apr 2013

Could someone help me out? I've never used scripts before so I have no idea what to do with this XD

 

Edit: I figured out how to get this to work by reading the thread... but when I use it the mouse clicks it and then after the roll it moves but it doesn't go in the right places.  It doesn't work when I change the resolution

Best resolution on this laptop is 1366 x 768



zer0morph
  • Members
  • 1 posts
  • Last active: Apr 15 2013 01:03 AM
  • Joined: 14 Apr 2013

I used the script at the bottom of page 9 on my widescreen monitor at 1024x768. After 26 hours or straight rolling, this is what I got. grin.png

 

Darke_Melzer_created.jpg



Corwyn
  • Members
  • 1 posts
  • Last active: Apr 19 2013 10:45 PM
  • Joined: 17 Apr 2013

Hi,

   Something of a newbie here...  so I tried to fix the script so it would work with my dual monitor (at 1600x900).  I used the numbers I got from the Window Spy and replaced them in the script listed below.  Now, it works sometimes, it will run, once or twice, randomly (always at least once)... but then just sits there like a lump on a log.  Any help would be appreciated.

Thanks,

Corwyn

 

 

;AutoRoll Macro for Wizardry Online Bonus Points.
;All x,y coordinates are for 1600x900.
;Press the right key to start the macro.
;Press ESC to stop the macro.
;Macro *should automatically stop on 20 or higher.
;Longer delay added and back side detect Rolled a 32 40 and 60 with this program sofar
; range from 3 hours to 20 hours to 8 hours in order.
right::
BreakLoop = 0
White = 0xffffff
Loop
{
        sleep 200 ;A slight pause
 ;This section selects Character race/gender.
 ;Remove semicolon for whatever race/gender you are rolling for.
 ;click 568, 753, 5 ;Race Selection - Human (M)
 ;click 568, 787, 5 ;Race Selection - Human (F)
 ;click 710, 753, 5 ;Race Selection - Elf (M)
 ;click 710, 787, 5 ;Race Selection - Elf (F)
 click 865, 753, 5 ;Race Selection - Dwarf (M)
 ;click 865, 787, 5 ;Race Selection - Gnome (F)
 ;click 1013, 753, 5 ;Race Selection - Porkul (M)
 ;click 1013, 787, 5 ;Race Selection - Porkul (F)

 sleep 120 ;A slight pause
 ;Start the rolling
 click 736, 858, 5 ;OK Button
 sleep 30 ;A slight pause
        click 736, 858, 5 ;OK Button - extra click for system stalled
 Sleep 2500 ;Wait until the roll is done
;#######################################################################################
;###########################################Detects under 1 for 10s#####################
;#######################################################################################
 PixelSearch, Px, Py, 783, 444, 798, 446, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop
at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should
stop at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should
stop at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop
at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll

;#######################################################################################
;########################################Detects end of 0 for 10s#######################
;#######################################################################################
 PixelSearch, Px, Py, 783, 444, 798, 446, White, 0, Fast RGB ;Search this area of pixels for white text. Should stop
at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #c1beb7, 0, Fast RGB ;Search this area of pixels for white text. Should
stop at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #7b7970, 0, Fast RGB ;Search this area of pixels for white text. Should
stop at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
 PixelSearch, Px, Py, 783, 444, 798, 446, #ffffff, 0, Fast RGB ;Search this area of pixels for white text. Should stop
at 20 or higher.
 if (ErrorLevel = 0)
  break
  ;Stop macro
 if (BreakLoop = 1)
  break
  ;Continue to next roll
;#######################################################################################
;#######################################################################################
        sleep 600 ;Pause
 click 802, 484, 5 ;OK Button on bonus points dialog.
        sleep 60 ;Pause
 click 802, 484, 5 ;OK Button on bonus points dialog. - extra click for system stalled
 sleep 600 ;Pause
 click 866, 857, 5 ;Cancel character and reroll another.
 sleep 600 ;Wait for Server
        click 866, 857, 5 ;Cancel character and reroll another. - extra click for system stalled
 sleep 60 ;Wait for Server
}
return
Esc::
BreakLoop = 1
return


thedragon
  • Members
  • 1 posts
  • Last active: Jun 12 2013 01:55 AM
  • Joined: 21 Apr 2013

Hi guys, you might have Change Class Script for 1024 x 768 resolution. PLease post it up thanks  xD.



dragongod23
  • Members
  • 1 posts
  • Last active: May 08 2013 09:07 PM
  • Joined: 29 Apr 2013

Would anyone be able to help me out with this for a script on a 1440 x 900 resolution and also a quick explination on what to save the file as if you could please and thank you very much. :D



Pawel
  • Members
  • 1 posts
  • Last active: May 18 2013 11:53 AM
  • Joined: 01 May 2013

Class changing version for 1280x1024 and 1024x768 resolutions. Rolled 24 and 43 for me. If it breaks due to lag spikes, increase sleep times.

 

1024x768

 

 

 

f1::
Loop {
Sleep, 3000
PixelSearch, colorX, colorY, 490, 378, 502, 391, 0xFFFFFF
if !ErrorLevel
  break
MouseClick, left,  512, 415, 30
Sleep, 50
MouseClick, left,  683, 521, 30
Sleep, 250
MouseClick, left,  512, 315, 30
Sleep, 50
}
return
 
esc::
Pause
return
 
 
 

1280x1024

 

 

f1::
Loop {
Sleep, 3000
PixelSearch, colorX, colorY, 618, 504, 630, 519, 0xFFFFFF
if !ErrorLevel
  break
MouseClick, left,  640, 545, 30
Sleep, 50
MouseClick, left,  765, 650, 30
Sleep, 250
MouseClick, left,  640, 445, 30
Sleep, 50
}
return
 
esc::
Pause
return