44bc09631e7a6b8474f1c3c8350595791ab1dc7c
Improved DB engines, fixed SQL queries, added & fixed Python scripts, changed max level
Server Repository
This repository contains the core server files and configurations. It includes fixes for database performance, quest logic, and crucial setup scripts.
✨ Key Updates and Fixes
The following changes have been implemented to improve stability, performance, and development workflow:
⚙️ Initial Setup & Build Process
- NEW Script:
clear.py: Added an up-to-date script for comprehensive cleanup of log, PID, and temporary files across channels and the database. - NEW Script:
perms.py: Added a script to automatically assign necessary permissions to all compiled binaries (game,dbandqc).- ⚠️ Action Required: The
perms.pyscript usesos.getcwd()to determine the root path. You must run this script from your game's root directory (e.g.,/usr/home/game) for it to function correctly.
- ⚠️ Action Required: The
- Fix:
install.py: Corrected the script to properly create thedata/packagefolder and ensure it is symbolically linked across all channels. - Configuration:
conf/game.txt: Changed the maximum character level supported in the server configuration to 120.
🐍 Core Logic & Quest Engine
- Fix:
make.py(Quest Compilation): Fixed a critical logic bug (missingelseassignment) inshare/locale/[xxx]/quest/make.pythat was causing compiled quests and dialogs to be unresponsive in-game. - Fix:
pre_qc.py(Quest Pre-processing): Resolved a syntax error inshare/locale/[xxx]/quest/pre_qc.pyby specifying the correct encoding option when reading files.
💾 Database Performance & Integrity
- Performance: Replaced the default database engine on most tables with either Aria (for high-read tables like
item_proto,mob_proto) or InnoDB (for high-write tables likeitem,affect).- Note: Most
logtables retain the default MyISAM engine due to compatibility requirements.
- Note: Most
- Integrity Fix: Corrected a syntax error in the
item_protosection ofsql/player.sqlwhere a single quote (') was missing from the "Bambi Seal" item insert query. - Bug fix: A fix was applied to the
MOV_SPEEDvalue for skill 19 in theskill_prototable to prevent characters from becoming immobile during the effect. - Updates: All
.sqlfiles (account.sql,common.sql,log.sql,player.sql) are updated with the new engine and functioning query settings.
Description
Languages
Lua
99%
Python
0.6%
Roff
0.4%