figueiredox1234 2 Posted March 11, 2023 Share Posted March 11, 2023 Hello guys can same one help-me whit one question ? i want to put the item ; 71085 "Enchant item" permantly On my server i have for a example ; 200 add i just want to have 1 and keep whit him Thanks Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 11, 2023 Share Posted March 11, 2023 8 minutes ago, figueiredox1234 said: Hello guys can same one help-me whit one question ? i want to put the item ; 71085 "Enchant item" permantly On my server i have for a example ; 200 add i just want to have 1 and keep whit him Thanks You want infinity this item? Link to comment Share on other sites More sharing options...
figueiredox1234 2 Posted March 11, 2023 Author Share Posted March 11, 2023 57 minutes ago, GoldCash said: You want infinity this item? yeah i want infinity item Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 11, 2023 Share Posted March 11, 2023 (edited) 15 minutes ago, figueiredox1234 said: yeah i want infinity item game/src/char_item.cpp In files find case USE_CHANGE_ATTRIBUTE : somewhere bellow this is item->SetCount(item->GetCount() - 1); So you must edit this line like this https://metin2.download/picture/RwXjs0iEaTvG4e8IiCpI86HZyEYAEas7/.png Edited March 11, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
figueiredox1234 2 Posted March 11, 2023 Author Share Posted March 11, 2023 (edited) 36 minutes ago, GoldCash said: game/src/char_item.cpp In files find case USE_CHANGE_ATTRIBUTE : somewhere bellow this is item->SetCount(item->GetCount() - 1); So you must edit this line like this https://metin2.download/picture/RwXjs0iEaTvG4e8IiCpI86HZyEYAEas7/.png i try it and dont work o.O Edited March 11, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 12, 2023 Share Posted March 12, 2023 58 minutes ago, figueiredox1234 said: i try it and dont work o.O Do you recompile game and db? Link to comment Share on other sites More sharing options...
figueiredox1234 2 Posted March 12, 2023 Author Share Posted March 12, 2023 yeah but i need to put 0 not -1 but thank you Link to comment Share on other sites More sharing options...
GoldCash 7 Posted March 12, 2023 Share Posted March 12, 2023 1 minute ago, figueiredox1234 said: yeah but i need to put 0 not -1 but thank you No, you must write // before 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now