Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Help Arad ( Smelting )

Newbie Spellweaver
Joined
Jul 26, 2019
Messages
9
Reaction score
0
Good morning, I would like your help, because I want to reduce the amount of stones that Arad accepts, the slot is for 4 stones, with 3 he accepts to finish the smelting of the items, I found some references of the Ores and Crystals, but nothing I can make it accept only 2 stones for smelting

Alguns codigos encontrados:

if(!S_smeltingItem.SmeltingItem[4].Flag)
{ memcpy(&S_smeltingItem.SmeltingItem[4], pItem, sizeof(sITEM));
S_smeltingItem.SmeltingItem[4].x = pItem->SetX;
S_smeltingItem.SmeltingItem[4].y = pItem->SetY;
pItem->Flag = 0; sinPlaySound(S_smeltingItem.SmeltingItem[4].SoundIndex);
ReFormSmeltingItem(); return TRUE;
}
}

else { int k = 3;




rsRecord_SmeltingItemLOG(lpPlayInfo, pSmeltingItem_Server->SmeltingCode, pSmeltingItem_Server->Head, pSmeltingItem_Server->CheckSum, ITEMLOG_SMELTING_LOST);

for(cnt = 0; cnt < 3; cnt++)

{ if(pSmeltingItem_Server->SmeltingCode[cnt])
{ if((pSmeltingItem_Server->SmeltingCode[cnt] & sinITEM_MASK2) == sinOF1)

{ if(ore_num < 3)

{ ItemSmeltingType = sinOF1; ore_num++; } }




These are some codes found, can anyone help me?
 
Back
Top