kramar1337 / genshinimpact-ahk-flex Goto Github PK
View Code? Open in Web Editor NEWAHK script for Genshin Impact
AHK script for Genshin Impact
Hello!
Sorry to bother you again.
I have muscle pains on my hand/arm, especially when I click the same button multiple times, which makes playing the game a bit hard sometimes. Unfortunately, holding the F button for a long time also causes the same issue, although a bit better. I want to reduce the amount of clicks by setting F (and maybe Z) to a toggle. This way if there are like 30 items on the floor I can just click the button twice, instead of holding it for 30s while running around to pick them up.
You mentioned before it is a lot of work or you are not willing to do it, I have a bit of AHK programming knowledge, but not enough to find the lines related to these effects, especially since most of it is in Russian.
Could you point me to the lines related to the hotkey F and Z? The place where I could probably change it to a toggle. Line number would be enough.
Thank you very much.
Awesome stuff!
Is it possible to make the Z a toggle that stops when the dialogue is over? Holding Z over a long dialogue can be annoying.
Also is it possible to use the "chest finder" when it is off cooldown, automatically or when holding F?
Thank you very much! :)
хз как это реализовать но единственное что знаю это вот этот параметр запуска для карты от михойо для гугла
--app=https://webstatic-sea.mihoyo.com/app/ys-map-sea/?lang=ru-ru#/map/2?shown_types=71,70,64
и еще рамочка оч бесит противная такая у окна хз как убрать
Hey!
Not sure if you saw my comment on the other topic, since it was closed.
But I've sent you some money to that PayPal account, enjoy a nice drink! :)
Also, you don't need to fix it just because I sent money or anything, but if it's something easy to fix...
Thank you ~~
The timings provided by the previous suggestion don't work at all. Only works if done manually, not using AHK.
Below is my suggestion:
Loop
{
GetKeyState, SSpaceStateAA, %key_animcancel%, P
If SSpaceStateAA = U
break
SendInput {vk1}
Sleep 180
GetKeyState, SSpaceStateAA, %key_animcancel%, P
If SSpaceStateAA = U
break
SendInput {vk1}
Sleep 125
GetKeyState, SSpaceStateAA, %key_animcancel%, P
If SSpaceStateAA = U
break
SendInput {vk1 Down}
Sleep 300
SendInput {vk1 up}
GetKeyState, SSpaceStateAA, %key_animcancel%, P
If SSpaceStateAA = U
break
Sleep 50
SendInput {vkA0 Down}
Sleep 50
SendInput {vkA0 up}
SendInput {vk41}
Sleep 100
SendInput {vk44}
Sleep 100
GetKeyState, SSpaceStateAA, %key_animcancel%, P
If SSpaceStateAA = U
break
SendInput {vk41}
Sleep 100
SendInput {vk44}
Sleep 100
}
Tested in the abyss against ruin grader (Руинный молотильщик). 9N2CD inconsistently, usually 7N2CD + 2N1CD. Can provide showcase if needed.
Would like to request a function to auto spam click materials when upgrading.
Everything else seems work just fine but Page Up won't pause the script. Did I do anything wrong?
` Loop
{
GetKeyState, 8SpaceState, %key_animcancel%, P
If 8SpaceState = U
break
SendInput {vk1}
if ScRandomT
Random, SuperGlobalVarRan,1,15
Sleep 200 + SuperGlobalVarRan
SendInput {vk1}
GetKeyState, 8SpaceState, %key_animcancel%, P
If 8SpaceState = U
break
if ScRandomT
Random, SuperGlobalVarRan,1,15
Sleep 150 + SuperGlobalVarRan
SendInput {vk1 down}
if ScRandomT
Random, SuperGlobalVarRan,1,15
Sleep 315 + SuperGlobalVarRan
GetKeyState, 8SpaceState, %key_animcancel%, P
If 8SpaceState = U
break
SendInput {vk1 up}
SendInput {vk20}
if ScRandomT
Random, SuperGlobalVarRan,1,15
Sleep 555 + SuperGlobalVarRan
}`
Hu Tao N2CJ fast, jopa10
Line 23 of this snippet. 315ms is not enough for the charged attack to be carried out consistently. This is observed at low ping, constant 60fps. I suggest 325ms.
Line 19. 150ms is a bit too slow. I've tested in domains, the outer world, and the abyss. 125ms is enough to do N2CJ consistently.
$~lbutton:: ; hotkey
start := a_tickcount + 1775 ; set variable to be tickcount + delay
while(GetKeyState("lbutton","P")) ; hotkey
{
if (a_tickcount > start && jopa17)
{
SendInput {vk1 up}
sleep 225
SendInput {vk1 down}
start := a_tickcount + 1775 ;reset the delay
}
}
A more efficient way to use Ganyu charged shots. However, this method does not enter aim mode (press R).
Demo. The first method is ~20% faster but requires more skill to aim.
Note that lbutton should be replaced with the hotkey.
Уже куча всяких механик добавилось\поменялось. Пора бы уже дать людям обнову)
Скрипт запустился, но никакие скрипты не работают. В частности интересует пропуск диалогов и bhop, и тот не захотел работать. В чём может быть проблема?
Чардж не кастуется поскольку присутствует только два инстанса урона, идут две нормальные и прыжок.
Стоит SendInput.
Source: https://www.hoyolab.com/article/828686
Here's a draft fishing guide update I made, you can use this or make a new one.
Возможно ли вообще? Во всяких ММО биндил автоходьбу на "4-ю клавишу" (та что обычно сбоку). Тут же, даже если напрямую прописать в конфиг код кнопки, работать не хочет
Можно добавить автоматизацию сбора наград с экспедиций и установку персонажей. А конкретную настройку автоматизации можно добавить не через гуи, а через конфиг.
Итак, у меня за несколько месяцев использования вашего скрипта(около 4) накопилось несколько просьб к исправлению проблем в вашем скрипте.
Хотелось бы увидеть функцию смены бинда клавиш макросов, так как переделываю сейчас полностью ваш скрипт под себя, с удалением некоторых не используемых функций, добавлением старых. И невозможность настройки некоторых клавиш приводит меня в очень большое недовольство, так как я перешел со 100% на 65% клавиатуру. Думаю данная настройка поможет многим людям, так как у всех разные клавиатуры, ну и конечно же вам, так как в жизни разные ситуации бывают
Предлагаю небольшую приятную функцию. Кнопку включения и выключения Bhop'a можно разделить на две функции, а именно: в одном состоянии это будет Bhop, а в другом спам клавишей пробел, как тот же F для сбора предметов или Z для диалогов, чтобы можно было чуть быстрее взбираться на горы.
В файле pip instal ошибки.
Перепиши пожалуйста код, дописав py -m
Чтобы вот так получилось
py -m pip install asyncio
py -m pip install mido
py -m pip install keyboard
py -m pip install pynput
pause
Ибо не все шарят, а нужные файлы у них не скачиваются
This tool is great, and I am amazed at how good you are at ahk lol,
So we know the camera is fucking garbage and zooms itself in after using skills constantly, i have this script for zooming out on left mouse click, maybe it fits within the scope of this tool and you can add it in some way? Thanks!
#SingleInstance Force
DetectHiddenWindows, On
#IfWinActive, ahk_class UnityWndClass
~*RButton::
Toggle = 0
loop 200
{
If Toggle = 1
{
;ToolTip
break
}
SendInput {WheelDown}
}
Sleep 50
return
*~Escape::
Toggle = 1
*~LAlt::
Toggle = 1
*~LControl::
Toggle = 1
*~L::
Toggle = 1
*~LWin::
Toggle = 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.