- Invalid Item, Item: 702.
- Unknown use item type: 12037
- Invalid Item, Item: 702. - Type: 10
-> world server crashes at startup loading the csv,
-> impossible to learn a skill anymore, with a WARNING message in worldserver window (example for book 702):
Here is a code change that should solve all those problems:
Worldserver/datatypes.h:
REPLACE:
- struct CProductList
- {
- CProductData* Index[2000];
- vector<CProductData*> Data;
- CProductData* nullproduct;
- };
BY:
- struct CProductList
- {
- CProductData* Index[6000];
- vector<CProductData*> Data;
- CProductData* nullproduct;
- };
This is due to the fact the prouct_data index isn't enough in osRose anymore to handle the objects.
Because the index is using the product ID and the ID stops at (in product_data.csv):
5550,12398|12092|12365|12390,1|2|1|1
5551,12398|12092|12363|12382,1|2|1|1
5552,12398|12092|12365|12382,1|2|1|1
So there was a memory overwrite that cause weird crashes.