Skip to content

Double weave on high latency add-on for Final Fantasy XIV for Windows PC.

License

Notifications You must be signed in to change notification settings

ClarenceShalave/XivAlexander

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XivAlexander

Connection Image
Korea to NA DC
VPN only
Before GIF
Korea to NA DC
XivAlexander enabled
After GIF
Korea to Korean DC
Direct connection
After GIF

Use XivMitmLatencyMitigator instead if you're playing on non-Windows system(Linux using WINE, Mac, or PlayStation(PS4)), or want to apply this solution to a custom VPN server running on Linux operating system. You can use both solutions at the same time, in which case, this(XivAlexander) will take precedence.

English

This add-on will make double weaving always possible. No more low DPS output just because you are on high latency network. (Actions with long delay to begin with - like High Jump - don't count.)

Usage

Run the game if it isn't already running, run XivAlexanderLoader.exe, and follow the instructions. Try running as Administrator if it fails to load.

As it uses DLL injection, your anti-virus software might flag this add-on. You might have to add both XivAlexander.dll and XivAlexanderLoader.exe to exclusion list. Refer to your anti-virus software manual for instructions.

First time setup

  1. Open XivAlexander.dll.json with a text editor which should have been created after a successful load for the first time.
  2. Modify opcode values. As of Patch 5.45 Hotfix for the international release, opcodes are as following:
    {
        "ActorCast": "0x034c",
        "ActorControl": "0x00c2",
        "ActorControlSelf": "0x03d5",
        "RequestUseAction": "0x0388",
        "RequestUseAction2": "0x03a0",
        "SkillResultResponse01": "0x027f",
        "SkillResultResponse08": "0x009b",
        "SkillResultResponse16": "0x028c",
        "SkillResultResponse24": "0x02ad",
        "SkillResultResponse32": "0x00a7"
    }
  3. Find the XivAlexander icon on your shell notification area (tray area), and click on Reload Configuration.

How to find Opcodes

  1. Turn on Use IPC Type Finder menu from notification area icon, and open Log window.
  2. Cast Cure-like casted actions to self, and figure out RequestUseAction, SkillResultResponse01, ActorCast, and ActorControlSelf(this includes cooldown information.)
  3. Use ground targeted action (Asylum, Shukuchi, Sacred Soil, Soten, Earthly Star) to figure out RequestUseAction2.
  4. Cancel cast by moving around, and figure out ActorControl.
  5. Use AoE action without any target around, and figure out SkillResultResponse08.
  6. Enter Sastasha without level synchronization, pull more than 9 adds, and use an AoE action to figure out SkillResultResponse16.
  7. Do the same but pull more than 17 adds to figure out SkillResultResponse24.
  8. Leave and re-enter Sastasha, and do the same but pull more than 25 adds to figure out SkillResultResponse32.

How it works

After you use an action, the game will apply 500ms animation lock. When server responds to action use request, it will contain animation lock duration information, and the game client will re-apply the animation lock with the duration given from the server. The game does not take latency into account, so higher your latency is, longer the net effect of animation lock will be. (up to 500ms + <action animation lock duration>). This add-on will subtract the time taken for a response from the server for the particular request from animation lock duration.

In case when it takes more than 500ms to receive a response, the client will let you use two actions consecutively, which will occasionally trigger server-side sanity check to reject the third action, or even delay the usage of the third action. This add-on will prevent that from happening by forcing animation lock times for both actions combined.

Example:

  1. [0.0s] Action A Request
  2. [0.5s] Action B Request
  3. [0.6s] Action A Response (1.0s lock)
  4. [1.1s] Action B Response (1.0s lock)
  • By default, the client will let you input at 2.1s.
  • This addon will force the next input to be accepted at 2.0s.

Because of how it works, this addon is only a step away from flat out cheating. Changing parameters below the limit means you're effectively claiming that your latency is below zero, which is just impossible. Do NOT modify numeric parameters outside of opcodes, or you ARE cheating. You have been warned.

Third-party Libraries

License

Apache License 2.0

한국어

높은 핑에서 글쿨 밀리지 않고 오프글쿨을 두개 쓰세요. 핑이 높다고 딜이 떨어지는 일이 있어서야 되겠습니까? (하이점프 같은 애초에 긴 스킬은 해당사항 없습니다)

사용 방법

게임이 이미 켜져 있지 않다면 게임을 켜고, XivAlexanderLoader.exe를 관리자 권한으로 실행하세요.

DLL 인젝션을 이용하므로 안티바이러스 프로그램에서 악성코드로 잡을 수 있습니다. 예외로 추가해 주세요.

처음 사용할 때 세팅

  1. XivAlexanderLoader.exe가 있는 폴더에 생긴 XivAlexander.dll.json를 텍스트 편집기 (메모장 등)으로 열어 주세요.
  2. 옵코드를 적당히 수정해 주세요. 현재 한썹 5.31에서는 다음과 같습니다.
    {
        "ActorCast": "0x0303",
        "ActorControl": "0x0347",
        "ActorControlSelf": "0x02fc",
        "RequestUseAction": "0x01de",
        "RequestUseAction2": "0x0383",
        "SkillResultResponse01": "0x024b",
        "SkillResultResponse08": "0x03da",
        "SkillResultResponse16": "0x03e6",
        "SkillResultResponse24": "0x01c0",
        "SkillResultResponse32": "0x03b3"
    }
  3. 시스템 알림 영역(트레이)에 있는 아이콘을 오른쪽 클릭한 후 Reload Configuration을 누르세요.

옵코드 찾는 방법

  1. 메뉴에서 Use IPC Type Finder를 켜고, 로그 창을 엽니다.
  2. 자기 자신에게 케알을 시전해 RequestUseAction, SkillResultResponse01, ActorCast, ActorControlSelf(재사용 대기시간 정보 포함)를 알아냅니다.
  3. 케알 시전 중 움직여서 취소해서 ActorControl을 알아냅니다.
  4. 위치 지정 스킬을 이용해서 (축지법 등) RequestUseAction2을 알아냅니다.
  5. 대상이 안 닿는 광역기를 시전해서 SkillResultResponse08을 알아냅니다.
  6. 사스타샤를 조율 해제하고 들어가서 9쫄까지 몰아서 광역기를 쓴 후 SkillResultResponse16을 알아냅니다.
  7. 17쫄까지 몰아서 광역기를 쓴 후 SkillResultResponse24을 알아냅니다.
  8. 사스타샤를 다시 들어가서 25쫄까지 몰아서 광역기를 쓴 후 SkillResultResponse32을 알아냅니다.

작동 원리

스킬 사용 후 기본으로 0.5초동안 다른 스킬을 사용할 수 없습니다. 서버에서 스킬 다시 사용할 수 있을 때까지의 시간을 응답하면 그 때부터 다시 지정된 시간 동안 스킬을 사용할 수 없게 됩니다. 응답받은 대기시간을 핑과 상관없이 이용하기 때문에, 그 대기시간에서 서버에서 응답하기까지 걸린 시간을 빼서 이용합니다.

작동 원리 때문에 부정행위 직전까지 가는 애드온입니다. 핑이 아무리 낮아도 0초 이상이지, 핑이 음수일 수는 없는 것처럼, 여러 수치를 지정한 값보다 낮게 바꾸면 확실한 부정행위입니다. 분명히 경고하였으니, 지정된 값 이하로 쓰지 마십시오.

About

Double weave on high latency add-on for Final Fantasy XIV for Windows PC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.8%
  • C 1.2%