Ezzz-dev / Nostalrius

Nostalrius is a 7.7 Tibia Clone Project based on The Forgotten Server 1.2 and CipSoft files.
99 stars 70 forks source link

Problem with saving character #61

Closed K3firo closed 4 years ago

K3firo commented 4 years ago

67235119-d917fb80-f41c-11e9-9500-1cbacac2541f

Why doesn't it work for me? I did everything with tutorials

K3firo commented 4 years ago

FIX

in IOLoginData::savePlayer(), change: from: query << "sex = " << player->sex << ','; to: query << "sex = " << (int)(player->sex) << ',';