# Server Item Tracker

<figure><img src="/files/BPUS6MwuJSVf5T0sLw1f" alt=""><figcaption></figcaption></figure>

### Overview

The **Server Tracker** is a comprehensive NPC system that allows players to track and monitor specific items, currency, and equipment across the entire server. This powerful tool provides server-wide statistics by scanning all player inventories, carts, storages, and guild storages to give administrators and players valuable insights into item distribution.

#### Key Features

* **Multi-Source Tracking**: Searches across all inventories, carts, personal storages, and guild storages simultaneously
* **Four Tracking Modes**:
  * **Zeny Tracking**: Total server-wide Zeny count
  * **Card Tracking**: Search and count specific cards by name
  * **Poring Coin Tracking**: Automatic detection and counting of Poring/Porin Coins
  * **Equipment Tracking**: Search and count weapons, armor, ammo, pet armor, and shadow gear
* **Guild Breakdown**: For items, shows detailed breakdown by guild name (top 10 guilds displayed)
* **Daily Limits**: Prevents abuse with a daily tracking limit of 5 tracks per account
* **Cost System**: Different fees for different tracking types to balance economy
* **Smart Search**: Flexible name matching for cards and equipment (handles variations like "Poring" vs "Poring Card")
* **Renewal/Pre-Renewal Compatible**: Automatically detects server mode and uses appropriate item database

#### Location

* **Map**: Prontera
* **Coordinates**: 156, 195
* **Sprite**: 407

#### Cost Structure

| Tracking Type        | Cost       |
| -------------------- | ---------- |
| Zeny Tracking        | 5,000 Zeny |
| Card Tracking        | 5,000 Zeny |
| Poring Coin Tracking | 5,000 Zeny |
| Equipment Tracking   | 5,000 Zeny |

#### Daily Limits

* **Maximum Tracks**: 5 per account per day (shared across all tracking types)
* **Reset**: Daily limit resets at midnight (server time)
* **Tracking Counter**: Uses account variables `#TRACKED_DATE` and `#TRACKED_COUNT` to track usage

#### Search Capabilities

The NPC uses intelligent search algorithms:

* **Card Search**:
  * Accepts both "Poring" and "Poring Card" formats
  * Automatically strips "Card" suffix if provided
  * Searches both `name_english` and `name_aegis` fields
  * Case-insensitive matching
* **Equipment Search**:
  * Searches for Weapons, Armor, Ammo, Pet Armor, and Shadow Gear
  * Case-insensitive matching
  * Shows item ID and slot information
  * Displays confirmation before tracking

#### Data Sources

The tracker queries the following database tables:

1. **Character Zeny**: `char.zeny` column
2. **Inventories**: `inventory` table
3. **Carts**: `cart_inventory` table
4. **Storages**: `storage` table
5. **Guild Storages**: `guild_storage` table (joined with `guild` for names)

#### Output Format

All tracking results display:

* Breakdown by location (Inventories, Carts, Storages, Guild Storages)
* Total server-wide count
* For items: Top 10 guilds with item counts (if applicable)
* Formatted numbers with comma separators for readability


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://the-ragnarok-classic-1.gitbook.io/wiki/server-features/server-item-tracker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
