Muta fisierul common_drop_item.txt pe json.
Nota: Aveti nevoie de asta ca sa mearga json: https://github.com/nlohmann/json
*Link download / Code:
Deschide item_manager_read_tables.cpp si adauga:
Cauta:
Code:
bool ITEM_MANAGER::ReadCommonDropItemFile(const char* c_pszFileName)Exemplu common_drop_item.json:
Code:
[
{
"rank": 0,
"min_level": 1,
"max_level": 15,
"item_vnum": 11,
"percent": 1.08
},
{
"rank": 1,
"min_level": 1,
"max_level": 15,
"item_vnum": 11,
"percent": 1.104
},
{
"rank": 2,
"min_level": 1,
"max_level": 15,
"item_vnum": 11,
"percent": 1.12
},
{
"rank": 3,
"min_level": 50,
"max_level": 99,
"item_vnum": 50056,
"percent": 0.6
},
]- item_proto pe json: tutorial-item-proto-json-client-t5526.html
- fish loading pe json: fish-loading-renewal-json-t1199.html
- blend item pe json: blend-item-renewal-json-t5775.html
- special_item_group pe json: special-item-group-json-t5146.html


la acest mesaj și conținutul se va afișa automat.

