MillhioreBT / forgottenserver-downgrade

TFS Downgrade 1.5+ is an engine based on nekiro downgrade but highly updated with current tfs code, it also has the lua modules divided and uses lua5.4
GNU General Public License v2.0
19 stars 18 forks source link

[BUG] WARNING: Serialize error in IOLoginData::loadItems #33

Open kojimhojo opened 1 week ago

kojimhojo commented 1 week ago

Before creating an issue, please ensure:

Steps to reproduce (include any configuration/script required to reproduce)

  1. additem
  2. item:setCustomAttribute("rarity", "epic")
  3. logout, / login
  4. [BUG] WARNING: Serialize error in IOLoginData::loadItems

item:setCustomAttribute(KEY, VALUES<string>)

This happens only with string values, it does not happen with numeric values. I suspect it is a String_view problem. serialize

https://github.com/MillhioreBT/forgottenserver-downgrade/blob/main/src/iologindata.cpp#L988