Overview
Thesdev-db library is the database agent service component for Shaiya Episode 6. It adds support for the character list packet (equipment) and the name availability packet.
Environment
- Platform: Windows 10
- IDE: Visual Studio 2019
- Language: C++ 20
- Prerequisites: Microsoft Visual C++ Redistributable
Features
Character List Packet Support
The library enhances the character list functionality by including equipment data in the character selection screen packets. This allows the client to display character equipment during character selection.Name Availability Packet
Implements name availability checking to validate character names before creation, preventing duplicate names and ensuring compliance with naming rules.Stored Procedures
Database stored procedures are available at: sdev-db/bin/sql These procedures include:- Character list data retrieval with equipment
- Name availability checking
- Item Mall integration procedures
These stored procedures are original code. If you receive an error during installation, change
ALTER to CREATE and try again.Binary
The binary has been patched to fix a critical bug that causes item mall purchase duplicates.Bug Fix: Item Mall Purchase Duplicates
The original code contained an error that would set a value to1 instead of 0, causing duplicate purchases:
Integration
Thesdev-db library works in conjunction with the sdev game service library. Ensure that:
- The patched binary is deployed to your dbAgent service directory
- All stored procedures are installed in the appropriate databases
- The dbAgent service has proper database connectivity configured
Related Components
sdev
Game service library with Item Mall, Battlefield Move, and more
sdev-login
Login service library with vulnerability patches