Doddler / RagnarokRebuildTcp

Ragnarok-like server + client
142 stars 37 forks source link

Assets/Data/monsterclass.json missing #4

Closed bangbangpoof closed 2 months ago

bangbangpoof commented 7 months ago

Hi Doddler!

I am currently trying out your project and i have an error that requires the "Assets/Data/monsterclass.json" File when importing Data from the Client. Is it possible that it is missing?

bangbangpoof commented 7 months ago

Ok i made some progress: the file is missing because the DataToClientUtility does not work in Germany :-)

basically the CsvReader you use in the DataToClientUtility uses CultureInfo.CurrentCulture which works well in the US but does not work in Germany where the CSV files can not be read. I will now change this locally and see if it fixes the issue. Hope it helps.

bangbangpoof commented 7 months ago

Ok just checked. Hard setting the culture to "en-US" when creating the CsvReader fixes the issue.