Jump to content
Sign in to follow this  
SD13

How to forge +27 item fast

Recommended Posts

54 minutes ago, x3wor said:

Simple Archive (Foxseiz)

can u help me how to use the script..what should i change..where should i put it...im new to the server making..need more help..

Share this post


Link to post
Share on other sites

Hello @SD13 First of all to create a chest contains +27 item you need the chest script.

 

Go to your serverfiles/resource/script/calculate/ItemEffect.lua

 

-After you will open it go in the middle of the itemeffect or everywhere and put this:

----------------------------------------------------------------------------------------------

function ItemUse_Example27( role, Item )
    local GemSlotAID3 = 15        -- Gem Stone ID A ( Can be founded in stoneinfo.txt )
    local GemSlotBID3 = 29         -- Gem Stone ID B ( Can be founded in stoneinfo.txt )    
    local GemSlotCID3 = 22        -- Gem Stone ID C ( Can be founded in stoneinfo.txt )
    local GemSlotALevel3 = 9        -- Gem Level - 1 ~ 9
    local GemSlotBLevel3 = 9        -- Gem Level - 1 ~ 9
    local GemSlotCLevel3 = 9        -- Gem Level - 1 ~ 9
    r13,r23 = MakeItem(role,equipmentid,1,18)-- Your Equip
    local Equipp3 = GetChaItem(role,2,r23)
    local param3 = GetItemForgeParam(Equipp3,1)
    local Item_Stone3 = {}
    local Item_StoneLv3 = {}

    param3 = TansferNum(param3)
    Item_Stone3[0] = GetNum_Part2(param3)
    Item_StoneLv3[0] = GetNum_Part3(param3)
    Item_Stone3[0] = GemSlotAID3                
    Item_StoneLv3[0] = GemSlotALevel3                    
    param3 = SetNum_Part2(param3, Item_Stone3[0])             
    param3 = SetNum_Part3(param3, Item_StoneLv3[0])         
    SetItemForgeParam(Equipp3, 1, param3)
    
    param3= TansferNum(param3)
    Item_Stone3[1] = GetNum_Part2(param3)
    Item_StoneLv3[1] = GetNum_Part3(param3)
    Item_Stone3[1] =  GemSlotBID3                        
    Item_StoneLv3[1] = GemSlotBLevel3                    
    param3 = SetNum_Part4(param3, Item_Stone3[1])             
    param3 = SetNum_Part5(param3, Item_StoneLv3[1])     
    SetItemForgeParam(Equipp3, 1, param3)

    param3 = TansferNum(param3)
    Item_Stone3[2] = GetNum_Part2(param3)
    Item_StoneLv3[2] = GetNum_Part3(param3)
    Item_Stone3[2] = GemSlotCID3                
    Item_StoneLv3[2] = GemSlotCLevel3        
    param3 = SetNum_Part6(param3, Item_Stone3[2])             
    param3 = SetNum_Part7(param3, Item_StoneLv3[2])         
    SetItemForgeParam(Equipp3, 1, param3)

    local Socket3 = GetItemForgeParam(Equipp3, 1)
    Socket3 = TansferNum(Socket3)
    Socket3 = SetNum_Part1(Socket3, 3)
    SetItemForgeParam(Equipp3, 1, Socket3)
    RefreshCha(role)
    
end

---------------------------------------------------------------------------------------------------

 

After you do this you need create your own chest iteminfo line:

 

Go in your serverfiles/resource/iteminfo.txt

 

And Put this in your iteminfo:

 

XXXX +27 Item Chest    n1257    10130023    0    0    0    0    0    00    41    0    0    0    0    0    1    1    1    1    99    0    180    -1    0    -1    0    0    -1    -1    0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0,0    0    0,0    0,0    0    0    0    0    0    0    0    0    0    ItemUse_Example27    0    0    0    0    0    0    Contain +27 Item  

 

-After Compile your iteminfo.txt     ( you can find compiler in mega archive to "Tools" Section : https://mega.nz/#F!OUMUgTYb!jtCsqh7halK_O9uzWyaG0g!DAFTSaQQ  ,  ignore the errors when u compile it)                                                                                                                                                                                                                 

-After you compiled it put ur iteminfo.bin to clientfolder/scripts/table

 

And it will work.

 

Hope you will understand.

 

 

Thanks.                                                                                          

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...