For starters you should check if renewal is disabled in src/config/core.h
//#define PRERE
to
#define PRERE //Pre-Renewal
so your server would read the pre-re database/npc folders.
as for SDE if you save it properly it should be updated properly since i personally use it just make sure you load your pre-re database :))
as for adding custom items there are few basic steps. (import folder is for custom database)
1. Add the item data on db/import/item_db.txt (make sure you @reload itemdb)
35000,Super_Potion,Super Potion,0,100,1,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(5000,9999),0; },{},{}
2. Add your item in iteminfo.lua/lub (so your item won't be displayed in apple)
[501] = {
unidentifiedDisplayName = "Super Potion",
unidentifiedResourceName = "빨간포션",
unidentifiedDescriptionName = { "" },
identifiedDisplayName = "Super Potion", //Item Display Name In Game
identifiedResourceName = "빨간포션", //Item sprite to read for display
identifiedDescriptionName = { //Description
"A potion made from Supermans sweat.",
"^FFFFFF_^000000",
"Class:^0000FF Restorative item^000000",
"Heal:^006600 5000 ~ 9999^000000 HP",
"Weight:^006600 7^000000"
},
slotCount = 0, // If equipments this is for client slot display
ClassNum = 0 // For headgears display id
},
as for the other stuffs custom headgears skills reviewing the wiki will help for that :))