Overview
The Reward Item system:- Tracks playtime across the entire account
- Grants items at specified time intervals
- Displays progress through a client-side progress bar
- Resets index after all rewards are received
- Resets current progress when leaving the game world
Configuration
File Location
The library expects OnlineTimePrize.ini to be in the PSM_Client/Bin/Data directory.Configuration File Path
Configuration Requirements
The client expects to receive exactly 20 item units. Configure your
OnlineTimePrize.ini file with 20 reward entries.System Messages
The following system messages are used by the Reward Item feature:| Message ID | Text |
|---|---|
| 2044 | ”The keep-alive event has ended.” |
| 7188 | ”Could not receive your reward because you do not have space in your inventory.” |
| 7189 | ”Bronze medal received” |
| 7190 | ”Silver medal received” |
| 7191 | ”Gold medal received” |
| 7192 | ”Recurring player item received” |
Ensure these system messages are present in your client’s message file for proper feedback to players.
Timeout Calculation
The timeout system adds an additional 15 seconds to each reward interval to match client behavior.Timeout Calculation
Timeout Breakdown
The configured time in minutes from
OnlineTimePrize.iniConverts minutes to milliseconds (1 minute = 60,000 ms)
Adds 15,000 milliseconds (15 seconds) to match client behavior
Example Timeout Calculation
Example: 30-minute Reward
Progress Behavior
Account-Wide Progress
Progress is tracked at the account level, not per character:- All characters on the account contribute to the same progress
- Switching characters does not reset the timer
- Total online time accumulates across all characters
Progress Reset Conditions
- Character leaves game world: Progress for the current reward tier resets
- All rewards received: The reward index resets to the first item
- Server restart: Progress may reset depending on implementation
Progress Bar Synchronization
Do not expect the progress bar to synchronize perfectly. There may be slight delays or desynchronization between the server and client progress indicators.
Client Compatibility
| Locale | Patch | Supported |
|---|---|---|
| ES | 171 | ❌ |
| PT | 182 | ✅ |
| PT | 189 | ✅ |
Configuration Example
OnlineTimePrize.ini - Example Configuration
Implementation Notes
Inventory Space
Before granting a reward, the server checks for available inventory space:- If inventory is full, system message 7188 is displayed
- The reward is not lost - it will be granted when space becomes available
- Players should ensure they have free inventory slots
Index Reset
When a player receives the final reward (item 20), the index automatically resets:- Progress starts again from reward 1
- Previous progress is cleared
- Players can continue earning rewards in a cycle
Troubleshooting
Progress bar not updating
Progress bar not updating
This is expected behavior. The progress bar may not synchronize perfectly with the server. Progress is still being tracked server-side.
Progress reset unexpectedly
Progress reset unexpectedly
Check if the character left the game world:
- Disconnected
- Changed characters
- Entered certain zones
Cannot receive reward
Cannot receive reward
Ensure you have available inventory space. System message 7188 indicates a full inventory. Free up space and the reward will be granted.
Configuration file not loading
Configuration file not loading
Verify the file is in the correct location:Ensure the file has exactly 20 reward entries.
Related Features
- Item Mall: Point-based item purchasing system
- System Messages: Message configuration for user feedback