Jump to content
  • 0
exchisu

Custom Items dont see.

Question

Hi anybody, i dont have more remedy to post, i read all tthe guides and nothing.. and come here to see more advice

I add Colors feather berets, and the problem is when im going to use it, dont show the hat, are 12 Fb in total, no one show the hat.

ZUNTGRh.png

Well, after so many trys of Id View cuz another are busy, i decided to use a new Id View the 2000+ 

I edit the Lua and lub files, for more security

I diff another client with Diff Id View increase to 5000, With the id view 5000 and With out. the two ways.

n0DdLMY.png

I diff with: Load Lua before lub, for test, i diff the to ways, with out and with

I read some problems solve puting a Coma ( ,) in the last one, I try with the Coma and with out Coma ! i put it, drop out, everything! 

accessoryid.lua

Código: [seleccionar]

ACCESSORY_WHITE_FEATHER_BERET = 2000,
ACCESSORY_SILVER_FEATHER_BERET = 2001,
ACCESSORY_RED_FEATHER_BERET = 2002,
ACCESSORY_PURPLE_FEATHER_BERET = 2003,
ACCESSORY_PINK_FEATHER_BERET = 2004,
ACCESSORY_ORANGE_FEATHER_BERET = 2005,
ACCESSORY_GREEN_FEATHER_BERET = 2006,
ACCESSORY_GOLD_FEATHER_BERET = 2007,
ACCESSORY_CYAN_FEATHER_BERET = 2008,
ACCESSORY_BROWN_FEATHER_BERET = 2009,
ACCESSORY_BLUE_FEATHER_BERET = 2010,
ACCESSORY_BLACK_FEATHER_BERET = 2011
accname.lua
 

Código: [seleccionar]

[ACCESSORY_IDs.ACCESSORY_Black_Feather_Beret] = "_Black_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Brown_Feather_Beret] = "_Brown_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Gold_Feather_Beret] = "_Gold_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Green_Feather_Beret] = "_Green_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Cyan_Feather_Beret] = "_Cyan_Feather_Beret",
[ACCESSORY_IDs.ACCESSORY_Blue_Feather_Beret] = "_Blue_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Orange_Feather_Beret] = "_Orange_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Pink_Feather_Beret] = "_Pink_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Purple_Feather_Beret] = "_Purple_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Red_Feather_Beret] = "_Red_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_Silver_Feather_Beret] = "_Silver_Feather_Beret",
        [ACCESSORY_IDs.ACCESSORY_White_Feather_Beret] = "_White_Feather_Beret"
and meanwhile i edit the lub directly too, for more security

accesoryid.lub
 

Código: [seleccionar]

ACCESSORY_WHITE_FEATHER_BERET = 2000,
ACCESSORY_SILVER_FEATHER_BERET = 2001,
ACCESSORY_RED_FEATHER_BERET = 2002,
ACCESSORY_PURPLE_FEATHER_BERET = 2003,
ACCESSORY_PINK_FEATHER_BERET = 2004,
ACCESSORY_ORANGE_FEATHER_BERET = 2005,
ACCESSORY_GREEN_FEATHER_BERET = 2006,
ACCESSORY_GOLD_FEATHER_BERET = 2007,
ACCESSORY_CYAN_FEATHER_BERET = 2008,
ACCESSORY_BROWN_FEATHER_BERET = 2009,
ACCESSORY_BLUE_FEATHER_BERET = 2010,
ACCESSORY_BLACK_FEATHER_BERET = 2011
accname.lub
 

Código: [seleccionar]

[ACCESSORY_IDs.ACCESSORY_BLACK_FEATHER_BERET] = "_Black_Feather_Beret",
[ACCESSORY_IDs.ACCESSORY_BLUE_FEATHER_BERET] = "_Blue_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_BROWN_FEATHER_BERET] = "_Brown_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_GOLD_FEATHER_BERET] = "_Gold_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_GREEN_FEATHER_BERET] = "_Green_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_CYAN_FEATHER_BERET] = "_Cyan_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_ORANGE_FEATHER_BERET] = "_Orange_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_PINK_FEATHER_BERET = "_Pink_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_PURPLE_FEATHER_BERET] = "_Purple_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_RED_FEATHER_BERET] = "_Red_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_SILVER_FEATHER_BERET] = "_Silver_Feather_Beret",
    [ACCESSORY_IDs.ACCESSORY_WHITE_FEATHER_BERET] = "_White_Feather_Beret"

 

For any dudes, i already have the act and spr, but i didnt have the Cyan and blue, then i add them to:

 



AF2Lwt9.png

S7KecOC.png

dM6Im8S.png

lhgdrjv.png

Edited by exchisu

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

FIXED ! for future problems

 

The problem was, how u guide me on luas, i was putting the luas on data/luafiles not in data/luafile514/luafiles

 

and i need to write in in Mayus, without mayus the exe drop a error with accanme nid a nil value.. or something.

 

thanks for all for response!

ZSaHsPt.png

Share this post


Link to post
Share on other sites
  • 0

Check View id inside your item_db

 

24230,White_Feather_Beret,White Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2000,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24231,Silver_Feather_Beret,Silver Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2001,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24232,Red_Feather_Beret,Red Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2002,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24233,Purple_Feather_Beret,Purple Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2003,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24234,Pink_Feather_Beret,Pink Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2004,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24235,Orange_Feather_Beret,Orange Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2005,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24236,Green_Feather_Beret,Green Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2006,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24237,Gold_Feather_Beret,Gold Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2007,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24238,Cyan_Feather_Beret,Cyan Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2008,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24239,Brown_Feather_Beret,Brown Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2009,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24240,Blue_Feather_Beret,Blue Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2010,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

24241,Black_Feather_Beret,Black Feather Beret,4,30000,,600,,1,,0,0xFFFFFFFE,63,2,256,,0,1,2011,{ bonus bMdef,1; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; },{},{}

Share this post


Link to post
Share on other sites
  • 0

Let's see...

 

First thing first, only GRFs allow Korean file names. If you want your client to read the files in your data folder, you must use Windows-1252/ANSI. So in your case, the path would look like the following : 

ROdatasprite¾Ç¼¼»ç¸®³²³²_Cyan_Feather_Beret.spr/act

 

Adding or removing the coma at the end of a lua list will not change anything. It's easier to leave it for simplicity.

 

What is your client version?

Are you editing the correct lua/lub files?

Renewal clients below 2012-04-10a and main clients below 2012-07-10 (which is your case I guess, since you're not using itemInfo.lua/lub) read the lua files from datalua filesdatainfo, otherwise they're being read from dataluafiles514lua filesdatainfo

 

It is a bit strange you're still using this db format for Hercules, wheter you're using a pre-re server or not doesn't change anything.

 

And for simplicity's sake, only accname.lua/lub needs to be edited, don't modify accessoryid. The file will look like the following : 

AccNameTable = {	[ACCESSORY_IDs.ACCESSORY_Goggle] = "_°í±Û",	[ACCESSORY_IDs.ACCESSORY_Cat_Hairband] = "_°í¾çÀ̸Ӹ®¶ì",	...	[2000] = "_Black_Feather_Beret",	[2001] = "_Blue_Feather_Beret",	[2002] = "_Brown_Feather_Beret",	[2003] = "_Gold_Feather_Beret",	[2004] = "_Green_Feather_Beret",	[2005] = "_Cyan_Feather_Beret",	[2006] = "_Orange_Feather_Beret",	[2007] = "_Pink_Feather_Beret",	[2008] = "_Purple_Feather_Beret",	[2009] = "_Red_Feather_Beret",	[2010] = "_Silver_Feather_Beret",	[2011] = "_White_Feather_Beret",}

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

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

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.