- Joined
- Jul 10, 2011
- Messages
- 58
- Reaction score
- 29
hi, 
i just want to share how to block cheat enchant by server side.
this code work for luna classic and luna plus,
- first open the source code Map Server
- open ItemManager.cpp
- find "CItemManager::Enchant"
- scroll down and find
- change it to
i just decide for share the code, if you have a good skill in c++ you can use it for block cheat duplicate and cheat reinforce luna classic.

i just want to share how to block cheat enchant by server side.
this code work for luna classic and luna plus,
- first open the source code Map Server
- open ItemManager.cpp
- find "CItemManager::Enchant"
- scroll down and find
Code:
if( !item || item->dwDBIdx != message->mProtectionItem.dwDBIdx )
Code:
if( !item || item->dwDBIdx != message->mProtectionItem.dwDBIdx || item->wIconIdx != message->mProtectionItem.wIconIdx )
i just decide for share the code, if you have a good skill in c++ you can use it for block cheat duplicate and cheat reinforce luna classic.