This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Description
In this 'if':
https://github.com/opentibia/server/blob/master/src/database_driver.cpp#L144
You must add:
or it will remove item/house items on save [there is a little change to remove 1 item - last 'row' of 'insert' query], because:
2 lines above resets 'm_rows' and used everywhere is sources (ioplayer, iomapserialize):
does nothing, because 'm_rows' is 0.. but there is INSERT QUERY waiting to be send in 'm_buf'!