Jump to content
  • 0

Custom item weird error


Fahhad

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Hi i just tried to add this custom item in client 2016 ,  but it gives me error whenever i click it in-game :

Spoiler

cTeiCeZ.png

 

GRF :

Spoiler

3stWbXA.png

 

Iteminfo.lua :

Spoiler

dQNALip.png

 

item_db :

Spoiler

FELd9hI.png

 

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

2 hours ago, a85771416 said:

1. get a official headdress and check it's work(show)

2. change the pointed file in accname

3. restart game and check the headdress is change or not

you are da man!

thanks for the hint it  ,  helped me a lot to solve it ????

how i solved it : it wasn't reading my lua files , in fact , it was reading the main data.grf files , so i deleted every accname.lub and accessoryid.lub in all of the grfs and used only one in my grf ;D

ggwp

and thanks for the rest who replied here ❤️

RsHp2Sj.png

Edited by Cylord
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

If you do not have any other sprite besides the ones present in the image, then in fact they are missing, because the items have 6 sprites each item.

  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

you are missing the drop act/spr

get that and you will get another problem in your iteminfo but that issue can be fixed after you get the drop act/spr

  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

2 hours ago, Cylord said:

oh thats why it crash whenever i drag it! thank you guys , got it.

 

 

EDIT : Fixed the drag problem , i was missing resources as what you stated , now  new problem appears @sader1992  

the spirit not showing when i equip it O: 

euf5MJn.png

show me the item info lines for this item

 

and did you add the item in the accessoryid,accname ?

Edited by sader1992
Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

2 minutes ago, Cylord said:

 

accessoryid,accname :

  Hide contents

    [ACCESSORY_IDs.ACCESSORY_rainbow_wing] = "_rainbow_wing"
}

___________________________________________________________________

    ACCESSORY_rainbow_wing = 2000

}

iteminfo.lua :

  Hide contents

    [31479] = {
        unidentifiedDisplayName = "[AR] rainbow_wing",
        unidentifiedResourceName = "rainbow_wing",
        unidentifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Costume^000000",
            "Location :^777777 Lower^000000",
            "Weight :^777777 1^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        identifiedDisplayName = "[AR] rainbow_wing",
        identifiedResourceName = "rainbow_wing",
        identifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Costume^000000",
            "Location :^777777 Lower^000000",
            "Weight :^777777 1^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        slotCount = 0,
        ClassNum = 2000
    },

 

there you go @sader1992

make sure you did add the view id in the item db and also make sure that the files is in your client

(if you put a drop act/spr in the male folder you wont get any error and you wont see the headgear ingame , maybe if it's big you may see it under the char foot)

Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

2 minutes ago, Cylord said:

i am starting to get a feeling its the client

i don't think so

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   7
  • Joined:  08/19/16
  • Last Seen:  

2 hours ago, Cylord said:

31479,[AR] rainbow_wing,[AR] rainbow_wing,4,0,0,10,,0,,0,0xFFFFFFFF,63,2,4096,,,0,2000,{},{},{}

 

i dont think its something related to the files , becuase i tried like 10 custom items , none of them worked.

i am starting to get a feeling its the client

its 20170607 btw

check your accessoryid,accname  is working

 

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   7
  • Joined:  08/19/16
  • Last Seen:  

5 minutes ago, Cylord said:

how can i know if its working or not?

1. get a official headdress and check it's work(show)

2. change the pointed file in accname

3. restart game and check the headdress is change or not

  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

oh thats why it crash whenever i drag it! thank you guys , got it.

 

10 hours ago, sader1992 said:

you are missing the drop act/spr

get that and you will get another problem in your iteminfo but that issue can be fixed after you get the drop act/spr

11 hours ago, Kakaroto said:

If you do not have any other sprite besides the ones present in the image, then in fact they are missing, because the items have 6 sprites each item.

 

EDIT : Fixed the drag problem , i was missing resources as what you stated , now  new problem appears @sader1992  

the spirit not showing when i equip it O: 

euf5MJn.png

Edited by Cylord
new problem.
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

21 minutes ago, sader1992 said:

show me the item info lines for this item

  

and did you add the item in the accessoryid,accname ?

 

accessoryid,accname

luafiles514/luafiles/datainfo

Spoiler

    [ACCESSORY_IDs.ACCESSORY_rainbow_wing] = "_rainbow_wing"
}

___________________________________________________________________

    ACCESSORY_rainbow_wing = 2000

}

iteminfo.lua :

Spoiler

    [31479] = {
        unidentifiedDisplayName = "[AR] rainbow_wing",
        unidentifiedResourceName = "rainbow_wing",
        unidentifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Costume^000000",
            "Location :^777777 Lower^000000",
            "Weight :^777777 1^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        identifiedDisplayName = "[AR] rainbow_wing",
        identifiedResourceName = "rainbow_wing",
        identifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Costume^000000",
            "Location :^777777 Lower^000000",
            "Weight :^777777 1^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        slotCount = 0,
        ClassNum = 2000
    },

 

there you go @sader1992

Edited by Cylord
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

2 minutes ago, sader1992 said:

make sure you did add the view id in the item db and also make sure that the files is in your client

(if you put a drop act/spr in the male folder you wont get any error and you wont see the headgear ingame , maybe if it's big you may see it under the char foot)

31479,[AR] rainbow_wing,[AR] rainbow_wing,4,0,0,10,,0,,0,0xFFFFFFFF,63,2,4096,,,0,2000,{},{},{}

 

i dont think its something related to the files , becuase i tried like 10 custom items , none of them worked.

i am starting to get a feeling its the client

its 20170607 btw

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

6 minutes ago, a85771416 said:

check your accessoryid,accname  is working

 

how can i know if its working or not?

Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...