> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rokroyalty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture login credentials for Vanguard Hub with Wireshark

> Record your Rise of Kingdoms login by capturing network traffic with Wireshark and Npcap. Vanguard watches for 10 minutes and saves the session files safely.

Vanguard Hub can record your login session by watching network traffic while you sign in manually. This one-time capture creates the two login files the Hub needs to connect headlessly later.

> [!WARNING]
>
> Login files are as sensitive as your password. Store them only on your own PC and never share them.

## Capture from the account card

**1. Install Wireshark with Npcap**

Download and install **Wireshark** (free). Make sure you also install **Npcap** (free) when the installer offers it. Npcap is required for capturing traffic on Windows.

**2. Start Capture login**

In Vanguard Hub, select the account and press **Capture login**. The Hub begins watching all network adapters. A box appears on the card saying **Watching for your login** with a countdown timer.

**3. Close the game and log in again**

Fully close Rise of Kingdoms if it is already running. Then open the game and log in to the account you want to capture. Use either the PC client or an emulator.

**4. Wait for success**

The capture runs for up to 10 minutes while you log in. The Hub saves the login files the moment it sees them, then discards the raw capture automatically. When it succeeds, the box on the card updates with a success message showing the platform (PC or Android), server host, port, and file paths.

**5. Stop watching**

If you need to cancel before the capture succeeds or the time runs out, press **Stop watching** on the card. The Hub stops the network watcher and cleans up the raw capture files.

The capture box on the card shows exact instructions while watching:

> **Watching for your login** (N min left)
>
> 1. Close the game if it is open. 2. Open it and log in to **this** account. The login is saved the moment it is seen.

## Capture from the Edit dialog

You can also start a capture from inside the Edit dialog. Open the account's **Edit** dialog, then click the **capture them from your game** link next to the login file fields. The dialog closes and the capture starts on the card immediately.

## If capture fails

If the capture does not finish, you may see one of these messages:

| Message | What to do |
| - | - |
| No login seen in 10 minutes | Close the game fully, press **Capture login** again, then open it and log all the way in. |
| Wireshark is not installed (dumpcap.exe not found) | Install Wireshark from wireshark.org and make sure Npcap is included. Restart Vanguard Hub after installation. |
| Could not watch any network adapter | Npcap may need admin rights. Restart Vanguard Hub as administrator, or reinstall Npcap without the admin-only option. |
| The network watch stopped at once | Npcap may need admin rights. Run the hub as administrator, or reinstall Npcap without the admin-only option. |

## Alternative: browse for login files manually

If you already have login files from another source, you do not need to capture them again. Open the account's **Edit** dialog, click **Browse** next to **Login file 14** and **Login file 52**, and select the `.bin` files directly.

## What's next

* [Add the account to Vanguard Hub](/vanguard/hub/add-account)
* [Run your headless accounts](/vanguard/hub/run-accounts)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.