유휴 마법사 – 오토핫키 다양한 스크립트

Tired of constantly having to mouseclick to get those achievements? Tired of having to change sets of spells and equipment all the time? Tried of having to hit space, 그런 다음 4 dust places, then hit space again? Tired of a billion other things?

Well look no further. I made some scripts to facilitate just any stuff that you can come across, that would also tire me personally.

For this guide you will need to have autohotkey installed (제 생각에는? It’s free anyway) 그리고… 그게 다야! I will cover the rest below, but it’s gonna simplify your runs 100%

소개

This guide will guide you to automate parts of the game that perhaps you find pesky. We will be using scripts, but not executable files. You can edit the scripts yourselves, so that there is no code hidden from you.

If you’re unsure about what a thingie is doing, you can see the documentation.

The program we will be using is AutoHotkey. It’s free, and though it’s not that simple to learn, we now have chatGPT don’t we. What a time to live in lmao.

The program basically allows to create macros for hotkeys. but it contains many structures of coding languages like loops, if-else, 등.

그래도, I’ll go forwards cause I don’t read introductions either.

What to do for ALL scripts

I’m writing this once, so that I don’t have to write it again and again. Do this anytime you want to create a new script. Do this AFTER you install AutoHotkey.

1. Create a new notepad file.
2. Open it up and write these inside:

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

F6::ExitApp
F5::새로고침

The first three lines just are some default stuff. I’ve no idea what the first 2 하다, something about stability and compatibility or something. The third one can be omitted really, it just makes sure that the working directory is the directory that the current script is located.

Then we set our first two hotkeys. F6 exits the script, F5 reloads it. Change those hotkeys to whatever you want.

3. Rename the .txt file extension to .ahk

This just turned it into a script now. You can double click it to run it, then hit F6 to stop it, or F5 to run it again (if you make changes to it). To edit it, you have to right-click and open it with notepad. Btw, any IDE is also fine.

AutoClicker

This will lock your mouse cursor on the place where it was when you hit the hotkey, and will start clicking every 5 milliseconds.

씨::StartClicks()

StartClicks(){
CoordMode, 생쥐, Screen  
MouseGetPos, xpos, ypos  
Loop
  {
    딸깍 하는 소리, %xpos%, %ypos%  
    Sleep, 5
    만약에(GetKeyState("u", "피"))
    부서지다
  }
}

So with this, by pressing the “씨” 열쇠, 그럴 것이다

ㅏ) The first line sets the coordinates relative to the screen or something. I just copied and pasted it. Do the same.

비) Get the x,y coordinates of the mouse cursor

씨) Start a loop that clicks on those coordinates and then waits for 5ms.

d) Stop doing it if the user presses theu” 열쇠.

Change these as you see fit. Always remember you can press F6 to stop the script immediately (with what we included in step 1).

AutoCollect Dust

So I simulated here what I always do when I go to collect dust. Hit space, click the bowls, then hit space again. Here’s the code for it

ㅏ::autoCollect()

autoCollect(){
  MouseGetPos, xpos, ypos 
    Send, {공간}
    잠, 100
    딸깍 하는 소리, 1330, 630  
    잠, 50
    딸깍 하는 소리, 1389, 849  
    잠, 50
    딸깍 하는 소리, 516, 624
    잠, 50
    딸깍 하는 소리, 447, 845
    잠, 50
    보내다, {공간}
    MouseMove, xpos, ypos
  Return
}

Note that these coordinates are for my screen. So for example, the first click, clicks the bowl at the top right.

What it does is pretty straight-forward it simply does what you would do manually. Then it returns the cursor where it was originally.

To make your day easier, here’s a script that logs your mouse coordinates and simply shows them in a message box.

F1::logmouse()

logmouse(){
    MouseGetPos, MouseX, MouseY
    MsgBox, %MouseX% %MouseY%
Return
}

You can use this to find the exact coordinates of the bowls, so that you don’t have to guess.

Alternate between spell sets

I found myself many times hitting Z1 and Z2 fast to collect voids and stuff to get chara XP fast after realming. 이것으로, this is automated.

Note that this only alternates between 2 spellsets of your choice.

에스::startZeds()

startZeds() {
  Send P2
  Send {Z Down}

  loop{
  보내다 {2 아래에}
  잠 50
  보내다 {2 위로}
  잠 50
  보내다 {3 아래에}
  잠 50
  보내다 {3 위로}
  잠 50
  만약에(GetKeyState("u", "피")){
        보내다 {Z Up}
        부서지다
        }
  }
}

Ok so let’s explain what this does. I have my void equipment in set 2. So that’s why it sends P2 in the beginning, to equip the set.

Then I have my two spellsets on 2 그리고 3. So that’s why you see 2 그리고 3 거기.

So first it hits Z and keeps it pressed.

Then it loops between pressing 2, then unpressing 2, then pressing 3, then unpressing 3.

This is a bit weird that I had to do it this way, but there were problems with the game if I did it in other ways. So yeah, this works at least.

Adjust the numbers or whatever to your liking.

AutoBuy & 업그레이드

So I use this when I exile, to buy fast sources and upgrades. I also use it during burst, so that I don’t have to stand there and keep on pressing shift+up and B all the time.

F12::prep()

prep() {
    보내다, {LShift Down}
    잠, 100
    loop{
    보내다, {위로}
    잠, 50
    보내다, B
    Sleep, 50
    만약에(GetKeyState("u", "피")){
        보내다, {LShift Up}
        부서지다
        }
    }
}

As is obvious, it keeps the left shift down, then keeps on pressing the up arrow and B all the time. If you pressuit stops pressing the left shift and stops the loop. I use F12 for it, because I rarely use it and I wanna remember where it is.

Always stop this script when using other scripts, because it keeps the shift button down, so you will most definitely rewrite spell sets if you use it with something like that.

Change sets and equipments fast

Just somethings to quickly change sets and equipment. Most of us keep spell set and equipment on the same number. So this simplifies this process, and selects the same number of spellset and equipment.

F1::setAny(1)
F2::setAny(2)
F3::setAny(3)

setAny(number) {
    보내다 {P Down}
    잠 50
    보내다 {%number% Down}
    잠 50
    보내다 {P Up}
    잠 50
    보내다 {%number% Up}
    잠 50

    보내다 {Z Down}
    잠 50
    보내다 {%number% Down}
    잠 50
    보내다 {Z Up}
    잠 50
    보내다 {%number% Up}
    잠 50
}

간단히, press F1, it selects spellset 1 and equipment set 1. Press F2 it selects 2, 등.

It would be simpler, but for some reason Idle Wizard messes up when you don’t do this stuff withpress key down, release keyand for some reason stores sets in different numbers, despiteshiftnever being pressed, I don’t know why it does it, but this is a workaround.

이 가이드는 유휴 마법사 에 의해 작성되었습니다 MAKAIROSI. 여기에서 원본 간행물을 방문할 수 있습니다. 링크. 이 가이드에 대해 우려 사항이 있는 경우, 주저하지 마시고 연락주세요 여기.

저자 소개