Old School Ops

WOKF-027 Picking Class/ Choosing Gender

Game server World of Kung Fu v0.2.1 normal · filed by Burrito4Me
New

•selecting Male on the character creation screen is ignored; wokf_role.female always saves as 0 (rendering the Female character model unless manually updated to 1 in SQLite). During character creation seems like choosing a Certain class Doesn't give you the desired class you want and doesn't give you right class skills(or have 0 skills) when loaded into the game. ( as if class selection is Shifted by +1 E.G selecting Spear Comes Out as Staff Class.)Using Client version 81 provided by RageZone forum. Environment:

  • Server Version: GoMMO v0.2.1 (gommo_wokf.exe + GoMMO_Manager.exe)
  • Client Version: Retail 2011 WoKF Client (v81 / 1.0.81 build)
  • Installer SHA-256: 5575B8CDE322AC45C6E29683CEB1C3246BC435A428BB807B0D434EC3E6F5B7A8
  • GongfuClient.exe SHA-256: 419B8BC70B688FE970471ED0E457D1BE15D2833FECFF2B541B97235ED1C82A7D

Update / Additional Findings (v0.2.1): • Class & Gender Packet Offset: Confirmed that wokf_role.weapon_school is saved shifted by +1 on character creation (which causes the wrong class to be assigned and prevents starting skills in wokf_role_kungfu from matching), and wokf_role.female always defaults to 0. • Duplicate Starter Gear & Unequip Slot Overwrite: On character creation, the 6 starter items are inserted into wokf_role_item at location = 1, slot = 1–6. Upon entering the world, the character spawns with the gear equipped and a duplicate copy remaining in backpack slots 1–6. Additionally, unequipping worn items places them directly into slots 1–6 without checking if those slots are occupied, overwriting whatever is currently there.

Reported on version 0.2.1

Replies 1

2h ago · edited

Update / Additional Clarification (v0.2.1): • Inconsistent Class ID Mapping: Further testing confirmed that the +1 class shift does not apply uniformly across all 9 weapon schools. While selecting Spear saves as 2 (Staff) instead of 1, selecting Fan already saves accurately as 7. • Impact on SQLite Workarounds: Because not all classes are shifted, a blanket - 1 SQLite trigger will fix shifted classes like Spear (allowing it to spawn with its full skill set intact) but will break classes that already map properly (like Fan) by forcing them into 6 (Broadsword) after creation—resulting in a mismatched skill list where only starter skills appear and higher-level class skills are missing. Complete 9-Class Mapping & Workaround (v0.2.1): Tested all 9 weapon schools on fresh characters without any database triggers active. The class-ID shift only affects the first 5 classes in a closed 5-class loop, while classes 6–9 map 1-to-1: • Spear (1) → saves as 2 (Staff) • Staff (2) → saves as 3 (Hammer & Axe) • Axe (3) → saves as 4 (Bow) • Bow (4) → saves as 5 (Fist) • Fist (5) → wraps around and saves as 1 (Spear) • Broadsword (6), Fan (7), Sword (8), Hook (9) → all save accurately with no shift. Working SQLite Trigger Workaround: sql CREATE TRIGGER fix_new_character AFTER INSERT ON wokf_role BEGIN UPDATE wokf_role SET weapon_school = CASE NEW.weapon_school WHEN 2 THEN 1 WHEN 3 THEN 2 WHEN 4 THEN 3 WHEN 5 THEN 4 WHEN 1 THEN 5 ELSE NEW.weapon_school END, female = 1 WHERE id = NEW.id; END; (Note: Because wokf_role.female always saves as 0, setting female = 1 fixes Male creation; any Female characters still need female manually flipped back to 0 in SQLite).

Update / Additional Inventory Bug Findings (v0.2.1): • Top Backpack Slots (1–6 / 1–7) Unusable Due to Persistent Login Mirroring: Every time a character logs in or relogs, the server visually mirrors equipped items (location = 1) onto the first row of the backpack (slots 1–6, and up to slot 7 if accessories are equipped). • Hidden Items & Equipment Overwrite Risk: • Any items bought or looted get visually covered up by the ghost equipment icons or vanish (still hidden) on the next login (though they remain in wokf_role_item and still block new drops from landing on those slot IDs). • Attempting to equip or interact with the mirrored ghost icons in slots can overwrite the underlying database row

Sign in to comment.

Top xp sources

How xp works
Loading…

Open the full search page