Source Tales of Pirate 2026 x64 DX9 by alexxst.st

well i managed to move most important part to gpu , and that confirm what i said above tbh, if you pay for subscribe it passed the 1k already
 
How do I reconcile this? Note that all files are correctly updated!
 

Attachments

  • bug 7.mp4
    bug 7.mp4
    5.8 MB
  • bug branco.webp
    bug branco.webp
    19.3 KB · Views: 17
  • bug.webp
    bug.webp
    113.3 KB · Views: 18
I managed to sort it out; now I'm migrating everything from the old, modified server I had to the new one. It's running stably at 30, 60, 75, and 120 fps.
I'm doing this locally on my PC—I haven't uploaded anything yet since I'm still testing; I'm handling it all on my own.
 
Well, over the course of 3 to 4 days, I’ve made some important fixes to this version.

The game is quite stable; I still need to iron out a few minor bugs. I’m also transitioning to Vulkan/DX12 to achieve a consistent 120 FPS.

1792540784130.webp

🗄️ Database / Assets
Repair of corrupted gamedata.sqlite
SQLite data migration (pre_migration)
SQLite skill migration (pre_skills)
SQLite repair (2 backups: pre_repair)
.par stubs for effects missing original files
Restoration of textures from reference clients
Restoration of corrupted textures
Correction of data names (dataname) in SQLite
Correction of water data in SQLite
Addition of 5 characters to SQLite
Migration of player_map_masks
Correction of spawn rectangles (ChaSpn) — mjing1/mjing2/heilong
Correction of .lgo model assets (invisible NPCs)
GameDB backup prior to "look" fix
Manifests for par_stub / tex_restore / tex_corrupt_restore

⚙️ C++ Server — deployed
NPC.cpp — NPC scripting
Expand.cpp — quest expansion
Character.h/.cpp/CharacterCmd.cpp — character handlers
Mission.h/.cpp — rewrite of the mission module
EntityScript/NpcScript/CharScript — entity/NPC/character scripts
⚙️ C++ Server — implemented in sources_backup (NOT deployed) (Oct 20)
Mentor/Disciple system — database persistence
Friends system (new, complete)
Block/Ignore system (new, complete)
Private Chat / Whisper — handler
Offline Stall Mode — true offline mode
Message routing in the Gate Server (.NET)
blocked_list table

📜 Lua Server — GameServer
Map hooks (MapRes/SubMap) — 16 + 12 maps
Merging of systems for Extensions (_index.lua, pcall per addon)
AddMap() for auto-discovered maps (previously caused a crash in MapRes.cpp)
Function-based integration — ItemEffect.lua (571)
Function-based integration — forge.lua (29)
Function-based integration — skilleffect.lua (13)
Function-based integration — functions.lua (31)
Function-based integration — NpcScript01/02/05/07 + ai.lua
Shim for math.mod (Lua 5.1/LuaJIT)
CTF guard logic moved to timer → HP/SP + fairy + mount
Fairy cycle (tick = 1/second)
Proportional stamina drain for the fairy
Fairy re-enablement (stamina ≥ 50)
Independent HP/SP regeneration
Addons/timer.lua 🆕
Addons/timerfunc.lua 🆕 (ResumeFuel / ResumeHook)
Addons/extNpc.lua 🆕 (NPC framework)
Addons/fairy.lua 🆕 (fairy system)
NpcState rewritten
Dynamic quest initialization per NPC
Idempotent ObligeAcceptMission
Initial quest trigger for all characters
Quest list always visible
Removal of non-existent Module:Init()
SetNpcHasMission
In-Game Mall / AddMallPack
Crystals tab (gold currency)
Heilong map spawns
AuthorizedGM['party']
🔐 .NET Account Server
PA_REGISTER — account registration via the client
Registration with email
🖥️ Lua Client (Oct 18–20)
CameraConf.lua — v7 framing
help.lua — dk_help
Equip.lua — dk_*
select.lua — dk_*
login.lua — dk_*
player.lua — frmMonsterInfo rewritten
player.lua — frmPlayertrade
player.lua — booth (cropped from dk_baitan2)
system.lua — dk_* / resolution combo
minimap.lua — Radar dk_search
main.lua — dk_City

🎮 C++ Client
Camera — vertical drag = zoom + v7 reframing
GameAppMsg / GameAppRender / SceneRender — camera
PacketCmd_CS / LoginScene — login
DSoundManager — audio
UIChat — chat
UIStartForm — Mob Info
SteadyFrameSync — frame synchronization
GameAppInterface
UIHeadSay
Main.cpp
UISystemForm / Scene.cpp

💾 SQL / Accounts
Party account — AccountServer.account_login (id=4)
Party account — GameDB.account (ato_id=2)


Issues I’m still dealing with:
Minor bugs.
All maps have NPC-related glitches; they’re a bit tedious to fix, but it’s doable. Maps have been migrated and loaded; the server itself is stable.

There are issues with the "disciple and mentor" system—the client freezes when trying to add a disciple/mentor to a user account. I’m currently working on a fix.

Most textures haven’t been added yet; that’s something else that needs to be addressed.

Trading, adding friends, and similar features are also buggy; I’m in the process of fixing them.

Once I manage to get the client working properly, the second account (account 2) tends to run a bit slowly—I need to adjust a setting (changing it from 1 to 4) to resolve that.
 
  • PixelEmojiSweat
Reactions: ximboliex