• 0
Mootie

Adding Custom Guide w/screen shots

Question

First of all download Alexandria's Renewal Data Folder

EXAMPLE:

[ACCESSORY_IDs.ACCESSORY_BUNNYBAND] = "_�䳢�Ӹ���",

HOW TO ADD:

[ACCESSORY_IDs.ACCESSORY_HEADGEARNAME] = "_SPRITENAME", <<<<---- UNDERSCORE+SPRITENAME +COMMA don't forget it!

We're now done on how to add the "SPRITE"... next step....

goto:

luafiles514/lua files/data info/accessoryid.lua

EXAMPLE:

ACCESSORY_BUNNYBAND = 15,

HOW TO ADD:

ACCESSORY_HEADGEARNAME = ViewID, <<--- + comma.. ----///// we need to use the ViewID later! and also the HEADERGEARNAME

We're now done on how to add the "ViewID"

:::NEXT STEP:::

File to edits:

idnum2itemdesctable.txt

idnum2itemdisplaynametable.txt

idnum2itemresnametable.txt

ABOUT THE:

idnum2itemdesctable.txt

num2itemdesctable.txt

I KNOW! YOU ALREADY KNOW HOW TO ADD/EDIT THAT ONE!

1st STEP:

idnum2itemdisplaynametable.txt

2214#Bunny_Band#

how to add:

ITEMNUMBER#CLIENTITEMNAME#

2nd STEP:

idnum2itemresnametable.txt

2214#�䳢�Ӹ���#

how to add:

ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it...

3rd STEP:

num2itemdisplaynametable.txt

ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it...

how to add:

ITEMNUMBER#HAT#

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

4th STEP:

num2itemresnametable.txt

2214#�䳢�Ӹ���#

how to add:

ITEMNUMBER#SPRITENAME#

Server Side:

go to your db/item_db.txt or item_db2.txt

2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,15,{ bonus bLuk,2; },{},{}

how to add:

2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,ViewID,{ bonus bLuk,2; },{},{}

---- remember about the ViewID above? specied your own id!lol

And for the finale steps

Download luac5.1.4

then download notepad++ open it

post-9398-0-56728700-1352697742_thumb.png

click file>save as>batch>file type as .bat

after save it this will look alike

post-9398-0-54398300-1352697862_thumb.png

as you notice there is already accessoryid.lua and accname.lua meaning withtin that folder those .lua will convert in .lub even how many .lua's you got in that folder.

so open the batch this will pop up after opening it

post-9398-0-80110500-1352697992_thumb.png

after that press any key as what cmd said

then poop the two lua file it become lub

post-9398-0-83710500-1352698077_thumb.png

then you are done put the .lub in your luafiles514 > lua file > datainfo and you are done

NOTE:

You have to make sure that you have latest data folder!!!! to avoid other errors

  • Upvote 6

Share this post


Link to post
Share on other sites

25 answers to this question

Recommended Posts

for those people who are not really familiar with batch command / stuff...

you can just simple use the notepadd++ click on "Save As" and save the file as LUB ...

Share this post


Link to post
Share on other sites

yes thats fine

is alexandria datafolder v2 is ok ??

yes

  • Upvote 2

Share this post


Link to post
Share on other sites

there is a screenshot on it just wrote it down and you are done

Share this post


Link to post
Share on other sites

@echo off
for /f "usebackq tokens=*" %%a in (`dir /b/s/a:d`) do (
for %%l in (%%~nxa\*.lua) do (
luac5.1.4 -o %%~nxa\%%~nl.lub %%l
)
)
for %%l in (*.lua) do (
luac5.1.4 -o %%~nl.lub %%l
)
pause

there ya go

  • Upvote 2

Share this post


Link to post
Share on other sites

Umm... Why did i get an error?

luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

Press any key to continue . . .

eventhough I already put it correctly...

EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items... /wah

Edited by Milky Holmes

Share this post


Link to post
Share on other sites

can i edit lub instead of editing lua before lub?

Share this post


Link to post
Share on other sites

no you cant edit lub files cause their already in compiled...to impossible to read or to edit them....unless you do what emistry says... on post #2

Share this post


Link to post
Share on other sites

i dont have a lua files. i just have a lub files.

then i open the accname.lub by notepad +++ then i add below the new custom item..

can or cannot sir ?

and one more thing, why this happen bro ?

i can wear and drop the item, but the item wont show ?

help?

post-12126-0-27869400-1356568486_thumb.jpg

now this happen ? hahahahhaa

what should i do ?

no name ?

no item description ?

no no no. hehehehe. help me :)

post-12126-0-16220900-1356570038_thumb.jpg

the problem is solve.

it because the priority of the data.ini

-__-

now this happen

i can wear, the description just show.

but nothing appear when i wear it. so weird ???

post-12126-0-91296100-1356571984_thumb.jpg

Edited by mrlongshen

Share this post


Link to post
Share on other sites

i dont have a lua files. i just have a lub files.

then i open the accname.lub by notepad +++ then i add below the new custom item..

can or cannot sir ?

and one more thing, why this happen bro ?

i can wear and drop the item, but the item wont show ?

help?

post-12126-0-27869400-1356568486_thumb.jpg

now this happen ? hahahahhaa

what should i do ?

no name ?

no item description ?

no no no. hehehehe. help me :)

post-12126-0-16220900-1356570038_thumb.jpg

the problem is solve.

it because the priority of the data.ini

-__-

now this happen

i can wear, the description just show.

but nothing appear when i wear it. so weird ???

post-12126-0-91296100-1356571984_thumb.jpg

mrlongshen how did u fix your sprite tingy? on your 2nd picture coz mine iz unknown apple but when i equip it it show the real sprite can you please tell me how did you fix it?

Share this post


Link to post
Share on other sites

problem fix. hahahahaha

ermm.. i just repack my grf and all look fine :)

glad to know that....but even its not grf your custom can still works using a diffed read data first.

have fun on your customs

Share this post


Link to post
Share on other sites

problem fix. hahahahaha

ermm.. i just repack my grf and all look fine :)

glad to know that....but even its not grf your custom can still works using a diffed read data first.

have fun on your customs

cannot sir, i have tick for read data 1st, then when i open client, there will be the prompt for the custom font.

why? then when i put the custom font in system/font/...

all the language will be an korean an i cannot connect to my server. :(

Share this post


Link to post
Share on other sites

i dont have a lua files. i just have a lub files.

then i open the accname.lub by notepad +++ then i add below the new custom item..

can or cannot sir ?

and one more thing, why this happen bro ?

i can wear and drop the item, but the item wont show ?

help?

post-12126-0-27869400-1356568486_thumb.jpg

now this happen ? hahahahhaa

what should i do ?

no name ?

no item description ?

no no no. hehehehe. help me :)

post-12126-0-16220900-1356570038_thumb.jpg

the problem is solve.

it because the priority of the data.ini

-__-

now this happen

i can wear, the description just show.

but nothing appear when i wear it. so weird ???

post-12126-0-91296100-1356571984_thumb.jpg

i like your LD set. . can i have your LD Set sprite?

thank you. .

Share this post


Link to post
Share on other sites

i dont have a lua files. i just have a lub files.

then i open the accname.lub by notepad +++ then i add below the new custom item..

can or cannot sir ?

and one more thing, why this happen bro ?

i can wear and drop the item, but the item wont show ?

help?

post-12126-0-27869400-1356568486_thumb.jpg

now this happen ? hahahahhaa

what should i do ?

no name ?

no item description ?

no no no. hehehehe. help me :)

post-12126-0-16220900-1356570038_thumb.jpg

the problem is solve.

it because the priority of the data.ini

-__-

now this happen

i can wear, the description just show.

but nothing appear when i wear it. so weird ???

post-12126-0-91296100-1356571984_thumb.jpg

i like your LD set. . can i have your LD Set sprite?

thank you. .

its free bro. go find at eathena.

Share this post


Link to post
Share on other sites

Umm... Why did i get an error?

luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

Press any key to continue . . .

eventhough I already put it correctly...

EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items... /wah

how did you fix it?

great guide. helped me a lot. thankyou!

Share this post


Link to post
Share on other sites

Umm... Why did i get an error?

luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

Press any key to continue . . .

eventhough I already put it correctly...

EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items... /wah

Umm... Why did i get an error?

luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

Press any key to continue . . .

eventhough I already put it correctly...

EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items... /wah

how did you fix it?

great guide. helped me a lot. thankyou!

Please tell us how you fixed the above issue ?

problem fix. hahahahaha

ermm.. i just repack my grf and all look fine :)

Can you tell us how did you repack your grf ?

And also i am getting "could not find the sprite:*********(some sprite name)" error dialog and my game is closed completely.

The funny part is iam getting 6 dialog like that. Please help me on this one as iam working so hard from the beginning on this one.

Share this post


Link to post
Share on other sites

how does it work for custom weapon sprite? I tried to add view ID in the lub files but i think weapon sprites won't work??...

P.S. Sorry for bad english..

Share this post


Link to post
Share on other sites

luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

Press any key to continue . . .

 

 

If anyone is having the above issues, the first one is because you are missing a comma at the end of the previous line (1007 in this case), and the second is because your accname is missing [ ].

Edited by Boogiepop
  • Upvote 1

Share this post


Link to post
Share on other sites

hi... i had another issue by which i can see the display item on inventory and drop but when i wore it it kicks me out of the client with Gibberish sprite error.. i followed the guide.. but i fail in which side... that i dont know /oops/whisp/sob

heres what ive done to mine... please kindly check on which i fail /panic/sob

post-14976-0-16640000-1360985810_thumb.jpg

post-14976-0-67565700-1360985828_thumb.jpg

post-14976-0-85418100-1360985843_thumb.jpg

post-14976-0-74336100-1360985870_thumb.jpg

post-14976-0-44965100-1360985891_thumb.jpg

post-14976-0-36800000-1360987358_thumb.jpg

Edited by lkoichirol

Share this post


Link to post
Share on other sites

i saw notice' something on accname.lub    ="_Legendary_Ear" <-------- it has no comma (,)

Share this post


Link to post
Share on other sites

hi... i had another issue by which i can see the display item on inventory and drop but when i wore it it kicks me out of the client with Gibberish sprite error.. i followed the guide.. but i fail in which side... that i dont know /oops/whisp/sob

 

heres what ive done to mine... please kindly check on which i fail /panic/sob

What client did you use?

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

Loading...