#Support MajerIV
1 messages · Page 1 of 1 (latest)
#SingleInstance, Force
; Define the list of coordinates set <799, 52, 682> <※>
coords := ["/sthw set <799, 52, 682> <{U+203B}>", "/sthw set <796, 47, 675> <{U+203B}>", "/sthw set <786, 48, 668> <{U+203B}>", "/sthw set <790, 56, 662> <{U+203B}>", "/sthw set <781, 54, 665> <{U+203B}>", "/sthw set <799, 61, 664> <{U+203B}>", "/sthw set <773, 62, 667> <{U+203B}>", "/sthw set <770, 62, 662> <{U+203B}>", "/sthw set <777, 61, 657> <{U+203B}>", "/sthw set <783, 56, 657> <{U+203B}>", "/sthw set <774, 59, 651> <{U+203B}>", "/sthw set <780, 54, 646> <{U+203B}>", "/sthw set <780, 37, 652> <{U+203B}>"]
; Create hotkey for the press of Numpad 7
Numpad7::
; Loop through each coordinate in the list and send it to the program
for index, coord in coords {
; Send the coordinate to the program
send {t down}
sleep 2
send {t up}
sleep 2
SendInput, %coord%
sleep 2
send {enter down}
sleep 2
send {enter up}
Sleep, 100
}
return
it types this:
t/sthw set <799, 52, 682> <※>
t/sthw set <796, 47, 675> <※>
t/sthw set <786, 48, 668> <※>
t/sthw set <790, 56, 662> <※>
t/sthw set <781, 54, 665> <※>
t/sthw set <799, 61, 664> <※>
t/sthw set <773, 62, 667> <※>
t/sthw set <770, 62, 662> <※>
t/sthw set <777, 61, 657> <※>
t/sthw set <783, 56, 657> <※>
t/sthw set <774, 59, 651> <※>
t/sthw set <780, 54, 646> <※>
t/sthw set <780, 37, 652> <※>
And it says the coordinates are created, however I can not find them on screen.
I don't see the way points?
Here are the files, Ruby_Coords is the executable that enables the project.
You go into a server or into notepad if you don't trust your account with new software, then you hit numpad 7
Just to be sure in /st config you have Crystal Hollows waypoints enabled?
Also don't quote me on this but those commands would all be placed on the place you're standing
As in it will all be taken as the name
@frigid herald
let's see.
I'm noting that I can't actually make the waypoint? what's the proper format?
sthw set name x y z
sthw set x y z name
Both work
Aight, I have it
Now let's see if it works.
alrighttt
let's seeee
alright, I redid the code.
#SingleInstance, Force
; Define the list of coordinates set <799, 52, 682> <※>
coords := ["/sthw set 799 52 682 {U+203B}1{U+203B}", "/sthw set 796 47 675 {U+203B}2{U+203B}", "/sthw set 786 48 668 {U+203B}3{U+203B}", "/sthw set 790 56 662 {U+203B}4{U+203B}", "/sthw set 781 54 665 {U+203B}5{U+203B}", "/sthw set 799 61 664 {U+203B}6{U+203B}", "/sthw set 773 62 667 {U+203B}7{U+203B}", "/sthw set 770 62 662 {U+203B}8{U+203B}", "/sthw set 777 61 657 {U+203B}9{U+203B}", "/sthw set 783 56 657 {U+203B}10{U+203B}", "/sthw set 774 59 651 {U+203B}11{U+203B}", "/sthw set 780 54 646 {U+203B}12{U+203B}", "/sthw set 780 37 652 {U+203B}13{U+203B}"]
; Create hotkey for the press of Numpad 7
Numpad7::
; Loop through each coordinate in the list and send it to the program
for index, coord in coords {
; Send the coordinate to the program
send {t down}
sleep 2
send {t up}
sleep 2
SendInput, %coord%
sleep 2
send {enter down}
sleep 2
send {enter up}
Sleep, 100
}
return
which returns this
t/sthw set 799 52 682 ※1※
t/sthw set 796 47 675 ※2※
t/sthw set 786 48 668 ※3※
t/sthw set 790 56 662 ※4※
t/sthw set 781 54 665 ※5※
t/sthw set 799 61 664 ※6※
t/sthw set 773 62 667 ※7※
t/sthw set 770 62 662 ※8※
t/sthw set 777 61 657 ※9※
t/sthw set 783 56 657 ※10※
t/sthw set 774 59 651 ※11※
t/sthw set 780 54 646 ※12※
t/sthw set 780 37 652 ※13※