Jump to content
  • 0

custom equip not appear on the player when equip


domez86

Question


  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

hi, I followed all the steps to insert a custom equip, I can do everything correctly, I can display sprites in the inventory, sprite drop, but when the crew does not appear on the char.

the bitmap collection and icon, ok.

in data\sprite\¾ÆÀÌÅÛ i put CHESHIREEARS.act & CHESHIREEARS.spr

in data\sprite\¾Ç¼¼»ç¸®\¿© i put ¿©_CHESHIREEARS.act & ¿©_CHESHIREEARS.spr

in data\sprite\¾Ç¼¼»ç¸®\³² i put ³²_CHESHIREEARS.act & ³²_CHESHIREEARS.spr

the strange thing is that it does not give me missing sprite error, even if I delete file in ¿© & ³².

the string in item_db.txt is:
40500, CHESHIREEARS, CHESHIREEARS, 4.20,, 300,, 0,, 0.0xFFFFFFFE, 63.2.512,, 50.0.1893, {bonus bStr, 1; bonus bInt, 1; bonus bMdef, 3; bonus2 bAddEle, Ele_Fire, 3; bonus2 bSkillAtk, "SM_BASH", 4; bonus2 bSkillAtk, "SM_MAGNUM", 4; }, {}, {}

in itemInfo.lua:

[40500] = {
        unidentifiedDisplayName = "Unidentified Glasses",
        unidentifiedResourceName = "_cap",
        unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." },
        identifiedDisplayName = "CHESHIREEARS",
        identifiedResourceName = "CHESHIREEARS",
        identifiedDescriptionName = {
            "________________________",
            "Reduces damage taken from ^FF0000Fire^000000 elemental attack by 3%.",
            "________________________",
            "Increases damage taken from ^0000BBWater^000000 elemental attack by 3%.",
            "________________________",
            "^0000CCType:^000000 Headgear",
            "^0000CCDefense:^000000 0",
            "^0000CCPosition:^000000 Middle",
            "^0000CCWeight:^000000 30",
            "^0000CCRefinable:^000000 No",
            "________________________",
            "^0000CCRequirement:^000000",
            "Base level 50",
            "All classes except Novice"
        },
        slotCount = 0,
        ClassNum = 1893

in System\luafiles514\lua files\datainfo\accessoryid.lua   --->    ACCESSORY_CHESHIREEARS    = 1893,

in System\luafiles514\lua files\datainfo\accname.lua   --->   [ACCESSORY_IDs.ACCESSORY_CHESHIREEARS] = "_CHESHIREEARS",

can you help me pls?

TNX!

 

 

screen.jpg

Edited by domez86
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  248
  • Reputation:   34
  • Joined:  11/19/11
  • Last Seen:  

it's not System\luafiles514\lua files\datainfo\accessoryid.lua

put it under the data\luafiles514\lua files\datainfo\

Edited by shatowolf
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

10 minutes ago, shatowolf said:

it's not System\luafiles514\lua files\datainfo\accessoryid.lua

put it under the data\luafiles514\lua files\datainfo\

I have already tried, it doesn't work...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

data\luafiles514\lua files\datainfo\accname.lub

            [ACCESSORY_IDs.ACCESSORY_CHESHIREEARS] = "_CHESHIREEARS"

data\luafiles514\lua files\datainfo\accessoryid.lub

             ACCESSORY_CHESHIREEARS = 2589

system\itemInfo.lua

    [40621] = {
        unidentifiedDisplayName = "Unidentified Hat",
        unidentifiedResourceName = "캡",
        unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." },
        identifiedDisplayName = "_
Che Shire Ears",
        identifiedResourceName = "
CHESHIREEARS",
        identifiedDescriptionName = {
            "A jaunty red hat. Given by way of a thank you from Gravity to creative community members",
            "________________________",
            "^0000CCType:^000000 Headgear",
            "^0000CCDefense:^000000 10",
            "^0000CCPosition:^000000 Upper",
            "^0000CCWeight:^000000 70",
            "^0000CCRefinable:^000000 Yes",
            "________________________",
            "^0000CCRequirement:^000000",
            "Base level 50",
            "All Jobs Except Novice."
        },
        slotCount = 1,
        ClassNum = 0
    },

 

data\sprite\¾ÆÀÌÅÛ\

         CHESHIREEARS.act

        CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\¿©

         ¿©_CHESHIREEARS.act

        ¿©_CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\³²

        ³²_CHESHIREEARS.act

        ³²_CHESHIREEARS.spr

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection

         CHESHIREEARS.bmp

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

         CHESHIREEARS.bmp

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   107
  • Joined:  10/05/12
  • Last Seen:  

Please note that id 1893 is aready taken by official item: Costume Miracle Plant

https://www.divine-pride.net/database/item/31729/kRO

	[31729] = {
		unidentifiedDisplayName = "Mask",
		unidentifiedResourceName = "마스크",
		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
		identifiedDisplayName = "Costume Miracle Plant",
		identifiedResourceName = "c_miracle_plant",
		identifiedDescriptionName = {
		"Every time you take a step, the fragrant flower scent resonates.",
			"Class:^6666CC Costume^000000",
			"Location:^6666CC Lower^000000",
			"Weight:^009900 0^000000",
			"Level Requirement:^009900 1^000000",
			"Jobs:^6666CC All^000000"	
		},
		slotCount = 0,
		ClassNum = 1893
	},

ACCESSORY_C_miracle_plant = 1893,

Diff yor exe again, and increase max headgear id view to 5000, and start adding your custom item ids from 2500 and foward.

BTW # 1...

Why are some double commas separing structure of your item?
Why Ageis name and name are the same?
Why is a dot also separing structures?
Why is a blank space between structures?

The script is a clone of the ears of ifrit, you copy pasted the item (wrong) I guess to find out the middle headgear location, if you were wondering, location for middle gear items is 512.

your script:

40500, CHESHIREEARS, CHESHIREEARS, 4.20,, 300,, 0,, 0.0xFFFFFFFE, 63.2.512,, 50.0.1893, {bonus bStr, 1; bonus bInt, 1; bonus bMdef, 3; bonus2 bAddEle, Ele_Fire, 3; bonus2 bSkillAtk, "SM_BASH", 4; bonus2 bSkillAtk, "SM_MAGNUM", 4; }, {}, {}

Script should be this one, according to your item screenshot description:

40500,Chesire_Ears,Ears_of_Chesire,4,20,,100,,0,,0,0xFFFFFFFE,7,2,512,,50,0,1893,{ bonus2 bAddEle,Ele_Fire,3; bonus2 bSubEle,Ele_Water,-3; },{},{}

 

BTW #2

Your Custom item Chesire Ears, Already Exist, item id is 31151,

Official id view is: ACCESSORY_Chasher_Ear (1565)

 

don't really know the reason of adding an item twice but w/e.

this is the official chesire ears script and description

31151,C_Chasher_Ear,Costume Cheshire's Cat Ears,4,0,,0,,0,,0,0xFFFFFFFF,63,2,1024,,1,0,1565,{},{},{}
	[31151] = {
		unidentifiedDisplayName = "Hat",
		unidentifiedResourceName = "캡",
		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
		identifiedDisplayName = "Costume Cheshire's Cat Ears",
		identifiedResourceName = "체샤의고양이귀",
		identifiedDescriptionName = {
			"A replica of Cheshire's Cat Ears.",
			"Class:^6666CC Costume^000000",
			"Location:^6666CC Upper^000000",
			"Weight:^006600 0^000000",
			"Level Requirement:^006600 1^000000",
			"Jobs:^6666CC All^000000"
		},
		slotCount = 0,
		ClassNum = 1565
	},

 

Is an animated gear, the ears flap a little.

chesears.png.3e56c76940a6587cb7b28bfcc3d308a7.png

Edited by iraciz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

15 hours ago, chatterboy said:

data\luafiles514\lua files\datainfo\accname.lub

            [ACCESSORY_IDs.ACCESSORY_CHESHIREEARS] = "_CHESHIREEARS"

data\luafiles514\lua files\datainfo\accessoryid.lub

             ACCESSORY_CHESHIREEARS = 2589

system\itemInfo.lua

    [40621] = {
        unidentifiedDisplayName = "Unidentified Hat",
        unidentifiedResourceName = "캡",
        unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." },
        identifiedDisplayName = "_
Che Shire Ears",
        identifiedResourceName = "
CHESHIREEARS",
        identifiedDescriptionName = {
            "A jaunty red hat. Given by way of a thank you from Gravity to creative community members",
            "________________________",
            "^0000CCType:^000000 Headgear",
            "^0000CCDefense:^000000 10",
            "^0000CCPosition:^000000 Upper",
            "^0000CCWeight:^000000 70",
            "^0000CCRefinable:^000000 Yes",
            "________________________",
            "^0000CCRequirement:^000000",
            "Base level 50",
            "All Jobs Except Novice."
        },
        slotCount = 1,
        ClassNum = 0
    },

 

data\sprite\¾ÆÀÌÅÛ\

         CHESHIREEARS.act

        CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\¿©

         ¿©_CHESHIREEARS.act

        ¿©_CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\³²

        ³²_CHESHIREEARS.act

        ³²_CHESHIREEARS.spr

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection

         CHESHIREEARS.bmp

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

         CHESHIREEARS.bmp

 

I did as you said but it doesn't work, then I renamed accname.lua & accessoryid.lua to .lub
now the sprite can be seen but I get this error over and over and I'm stuck, is there a way not to convert lua to lub?

error.jpg

Edited by domez86
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

14 hours ago, iraciz said:

Please note that id 1893 is aready taken by official item: Costume Miracle Plant

https://www.divine-pride.net/database/item/31729/kRO


	[31729] = {
		unidentifiedDisplayName = "Mask",
		unidentifiedResourceName = "마스크",
		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
		identifiedDisplayName = "Costume Miracle Plant",
		identifiedResourceName = "c_miracle_plant",
		identifiedDescriptionName = {
		"Every time you take a step, the fragrant flower scent resonates.",
			"Class:^6666CC Costume^000000",
			"Location:^6666CC Lower^000000",
			"Weight:^009900 0^000000",
			"Level Requirement:^009900 1^000000",
			"Jobs:^6666CC All^000000"	
		},
		slotCount = 0,
		ClassNum = 1893
	},

ACCESSORY_C_miracle_plant = 1893,

Diff yor exe again, and increase max headgear id view to 5000, and start adding your custom item ids from 2500 and foward.

BTW # 1...

Why are some double commas separing structure of your item?
Why Ageis name and name are the same?
Why is a dot also separing structures?
Why is a blank space between structures?

The script is a clone of the ears of ifrit, you copy pasted the item (wrong) I guess to find out the middle headgear location, if you were wondering, location for middle gear items is 512.

your script:


40500, CHESHIREEARS, CHESHIREEARS, 4.20,, 300,, 0,, 0.0xFFFFFFFE, 63.2.512,, 50.0.1893, {bonus bStr, 1; bonus bInt, 1; bonus bMdef, 3; bonus2 bAddEle, Ele_Fire, 3; bonus2 bSkillAtk, "SM_BASH", 4; bonus2 bSkillAtk, "SM_MAGNUM", 4; }, {}, {}

Script should be this one, according to your item screenshot description:


40500,Chesire_Ears,Ears_of_Chesire,4,20,,100,,0,,0,0xFFFFFFFE,7,2,512,,50,0,1893,{ bonus2 bAddEle,Ele_Fire,3; bonus2 bSubEle,Ele_Water,-3; },{},{}

 

BTW #2

Your Custom item Chesire Ears, Already Exist, item id is 31151,

Official id view is: ACCESSORY_Chasher_Ear (1565)

 

don't really know the reason of adding an item twice but w/e.

this is the official chesire ears script and description


31151,C_Chasher_Ear,Costume Cheshire's Cat Ears,4,0,,0,,0,,0,0xFFFFFFFF,63,2,1024,,1,0,1565,{},{},{}

	[31151] = {
		unidentifiedDisplayName = "Hat",
		unidentifiedResourceName = "캡",
		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
		identifiedDisplayName = "Costume Cheshire's Cat Ears",
		identifiedResourceName = "체샤의고양이귀",
		identifiedDescriptionName = {
			"A replica of Cheshire's Cat Ears.",
			"Class:^6666CC Costume^000000",
			"Location:^6666CC Upper^000000",
			"Weight:^006600 0^000000",
			"Level Requirement:^006600 1^000000",
			"Jobs:^6666CC All^000000"
		},
		slotCount = 0,
		ClassNum = 1565
	},

 

Is an animated gear, the ears flap a little.

chesears.png.3e56c76940a6587cb7b28bfcc3d308a7.png

hi, do not pay attention to the descriptions etc. etc. I copied to give an example, I changed the view id and modified the exe with nemo for 3000 view id, but it doesn't work. and in any case my custom item is different from what you showed.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

18 hours ago, chatterboy said:

data\luafiles514\lua files\datainfo\accname.lub

            [ACCESSORY_IDs.ACCESSORY_CHESHIREEARS] = "_CHESHIREEARS"

data\luafiles514\lua files\datainfo\accessoryid.lub

             ACCESSORY_CHESHIREEARS = 2589

system\itemInfo.lua

    [40621] = {
        unidentifiedDisplayName = "Unidentified Hat",
        unidentifiedResourceName = "캡",
        unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." },
        identifiedDisplayName = "_
Che Shire Ears",
        identifiedResourceName = "
CHESHIREEARS",
        identifiedDescriptionName = {
            "A jaunty red hat. Given by way of a thank you from Gravity to creative community members",
            "________________________",
            "^0000CCType:^000000 Headgear",
            "^0000CCDefense:^000000 10",
            "^0000CCPosition:^000000 Upper",
            "^0000CCWeight:^000000 70",
            "^0000CCRefinable:^000000 Yes",
            "________________________",
            "^0000CCRequirement:^000000",
            "Base level 50",
            "All Jobs Except Novice."
        },
        slotCount = 1,
        ClassNum = 0
    },

 

data\sprite\¾ÆÀÌÅÛ\

         CHESHIREEARS.act

        CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\¿©

         ¿©_CHESHIREEARS.act

        ¿©_CHESHIREEARS.spr

data\sprite\¾Ç¼¼»ç¸®\³²

        ³²_CHESHIREEARS.act

        ³²_CHESHIREEARS.spr

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection

         CHESHIREEARS.bmp

data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

         CHESHIREEARS.bmp

 

what program do you use to edit .lub?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

2 hours ago, domez86 said:

what program do you use to edit .lub?

I use Note Pad++ .. Try to check your lua or lub file maybe there is a missing comma or any ^_^

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...