콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

Idle Wizard – How to Automate Everything Using AutoHotkey Script

에 게시됨 06/09/2023 에 의해 MAKAIROSI 코멘트 없음 ~에 Idle Wizard – How to Automate Everything Using AutoHotkey Script
  • 제목: Idle Wizard
  • 출시일:
  • 개발자:
  • 발행자:
Information about Idle Wizard is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

Looking to avoid the constant need for mouse clicks to unlock achievements? Fed up with the hassle of changing spell sets and equipment repeatedly? Sick of the tedious process of hitting space, clicking four specific areas, and then hitting space again? Exhausted by numerous other time-consuming tasks?

잘, your search ends here. I have developed some scripts that can streamline various aspects of your gameplay, saving you from personally enduring these tiresome tasks.

To follow this guide, you will need to have AutoHotkey installed (it’s free, 그런데). 괜찮아요—I’ll explain everything else in the sections below, and it’s going to significantly simplify your gameplay experience.

소개

This guide aims to assist you in automating certain aspects of the game that you may find bothersome. We will be utilizing scripts, but they won’t be in the form of executable files. You have the freedom to edit the scripts yourself, ensuring that no code is concealed from you.

If you have any uncertainties about the function of a particular element, you can refer to the documentation for clarification.

Our tool of choice is AutoHotkey. Although it may not be the simplest program to learn, we’re fortunate to have chatGPT to help us out. What an incredible time we live in, 오른쪽?

본질적으로, AutoHotkey enables the creation of macros for hotkeys, while also incorporating various coding language structures such as loops, if-else statements, 그리고 더.

그래도, let’s move forward because, like you, I tend to skip introductions as well.

How to Handle Scripts in General

To avoid repetitive writing, I will provide the following steps for creating a new script. These instructions should be followed each time you wish to create a script, and it is assumed that you have already installed AutoHotkey.

  1. Begin by creating a new notepad file.
  2. Open the newly created file and input the following content
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

F6::ExitApp
F5::새로고침

The initial three lines consist of default configurations. Although their exact purpose might relate to stability and compatibility, their specific functionalities are not clear. The third line, which ensures that the working directory corresponds to the script’s location, can be excluded if desired.

다음, we establish the first two hotkeys. F6 is assigned to exit the script, while F5 is designated to reload it. You have the flexibility to modify these hotkeys according to your preference.

3. Alter the file extension from .txt to .ahk.

By modifying the file extension, the notepad file is transformed into a script. To execute the script, simply double-click on it. Pressing F6 will halt its execution, while pressing F5 will run it again (in case any changes have been made). To make edits to the script, right-click on it and choose to open it with notepad. 추가적으로, any Integrated Development Environment (IDE) can also be used for editing purposes.

AutoClicker

Upon triggering the designated hotkey, this script will immobilize your mouse cursor at its current position and initiate a clicking action at an interval of 5 milliseconds.

기음::StartClicks()

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

를 누르면 “기음” 열쇠, the following actions will take place:

  • The script will establish coordinates, which are relative to the screen or have a similar function. You can directly copy and paste this line of code.
  • It will retrieve the x and y coordinates of the mouse cursor.
  • A loop will commence, executing clicks on the aforementioned coordinates and then pausing for 5 milliseconds.
  • If the user presses the “유” 열쇠, the script will cease performing the clicking action.

Feel free to modify these instructions as needed. Remember that pressing F6 at any time will promptly terminate the script, utilizing the functionality we included in step 1.

AutoCollect Dust

This is my typical routine whenever I engage in dust collection. 첫 번째, I press the space key, then I click on the bowls, 그리고 마지막으로, I press the space key again. Here is the corresponding code for this process:

에이::autoCollect()

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

Please keep in mind that the provided coordinates are specific to my screen setup. 예를 들어, the initial click targets the bowl located at the top right.

The functionality of this script is quite simple; it emulates the actions you would perform manually. After executing the task, it restores the cursor to its original position.

To simplify your day, I have included a script below that records the coordinates of your mouse and displays them in a message box.

F1::logmouse()

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

Utilize this script to determine the precise coordinates of the bowls, eliminating the need for guesswork. It allows you to identify the exact positions with accuracy.

Alternate Between Spell Sets

There have been numerous instances where I’ve repetitively pressed Z1 and Z2 quickly to gather voids and other items in order to rapidly gain character experience after entering the realm. This process can now be automated with the following script.

It is important to note that this script only switches between two predefined spellsets of your choosing.

에스::startZeds()

startZeds() {
  Send P2
  Send {Z Down}

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

Let’s proceed with an explanation of the script’s functionality. In my setup, I have designated set 2 for my void equipment. 그러므로, the script begins by sending the command P2 to equip that specific set.

추가적으로, I have assigned my two desired spellsets to slots 2 그리고 3. Hence, you can observe the presence of the numbers 2 그리고 3 in the script.

The script initiates by pressing and holding the Z key continuously. It then enters a loop where it performs the following sequence: 누르는 것 2, 출시 2, 누르는 것 3, and finally releasing 3.

The approach may appear somewhat unconventional, but I had to adopt this method due to certain issues in the game. 그럼에도 불구하고, I can confirm that this approach functions reliably.

Feel free to customize the numbers or make any necessary adjustments according to your preferences and requirements.

AutoBuy and Upgrade

I employ this script when exiling to expedite the process of purchasing sources and upgrades. 추가적으로, it proves beneficial during burst activities, eliminating the need for continuous manual input such as pressing shift+up and B repeatedly while standing idle.

F12::prep()

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

As evident, the script maintains the left shift key in a pressed state while continually triggering the up arrow and B key inputs. To cease this loop, simply press the “유” 열쇠, which releases the left shift key and halts the script. For convenience, I have assigned the F12 key for this purpose, as it is infrequently used and serves as a memorable shortcut.

It is crucial to remember to stop this script when utilizing other scripts since it keeps the shift button pressed down. Failure to do so may result in unintentional modification of spell sets or conflicting actions if used in conjunction with similar scripts.

Change Sets and Equipments Fast

This script aims to streamline the process of swiftly switching between spell sets and equipment, particularly when they are assigned to the same number. By synchronizing the spell set and equipment numbers, this script simplifies the task and facilitates efficient changes to both simultaneously.

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

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

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

The usage of this script is straightforward. Pressing F1 will select spellset 1 and equipment set 1. 비슷하게, pressing F2 will select spellset 2 and equipment set 2, 등.

While it would be more straightforward under normal circumstances, Idle Wizard has a peculiar behavior where the game encounters issues unless the “press key down, release key” method is followed. 이상하게도, the game stores sets in different numbers even when the “옮기다” key is not pressed. Although the reason behind this behavior remains unknown, this script provides a workaround to ensure proper functionality.

이것이 오늘 우리가 공유하는 모든 것입니다. Idle Wizard 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. MAKAIROSI. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:Idle Wizard

탐색 후

이전 게시물: How to Fix Idle Wizard FPS Drop, 지연, 및 말더듬 문제
다음 게시물: How to Fix Rough Justice: ’84 Crashing, 실행 시 충돌, 및 동결 문제

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: Idle Wizard
  • 출시일:
  • 개발자:
  • 발행자:
Information about Idle Wizard is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마