Jump to content

[Guide] Adding Custom Item [Renewal]


eJay

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  01/07/13
  • Last Seen:  

Whats the problem here? i can see the description , but when i wear it , theres no sprite.

post-13734-0-45274800-1382227324_thumb.jpg

Edited by heidernskk01
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

maby because maximum ID of item is 30000?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

maby because maximum ID of item is 30000?

that's not its ID.

 

check comma's?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Whats the problem here? i can see the description , but when i wear it , theres no sprite.

 

Oh i see you forgot the comma on both ,  <----

 

Copy and paste this men don't forget to use lua files before lub because some of client "read lua files before lub" that already diff or default

NOTE: Don't forget to use [Tab]

accessoryid

<TAB>ACCESSORY_ARCH_GOLD = 1082,

 

accname

<TAB>[ACCESSORY_IDs.ACCESSORY_ARCH_GOLD] = "_ARCH_GOLD",

 

 

 

 

maby because maximum ID of item is 30000?

that's not its ID.

 

check comma's?

 

Yes, you should check the comma first or double check all the stuff.

Edited by eJay
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  01/07/13
  • Last Seen:  

problem solve. i cant see the sprite because its a garment type. i search about garment types and i solve it. and its perfectly working on headgear type.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

Video Coming Soon

 

 

 

1st Step:

go to:

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

add your sprite for Example:

Blood_Helm.jpg Blood_Helm

 

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

Blood_Helm-1.jpgBlood_Helm

2nd Step:

go to data

Open

idnum2itemdesctable

17000#

Str + 10

Class :^777777 Headgear^000000

Defense :^777777 0^000000

Equipped on :^777777 Lower^000000

Required Level :^777777 ??^000000

Weight :^777777 10^000000

Applicable Job :^777777 Every Job^000000

#

idnum2itemdisplaynametable

17000#Blood Helm# //<---------------- In game name

idnum2itemresnametable

17000#Blood_Helm#

3rd Step:

Go to

data/sprite/¾ÆÀÌÅÛ

This file (¾ÆÀÌÅÛ) is for Drop item which is act. and spr.

Blood_Helm.act and Blood_Helm.spr

4th Step:

Go to

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

Put the following files, This sign "¿©" is for Female Character.

¿©_Blood_Helm.act and ¿©_Blood_Helm.spr

5th Step:

Go to

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

Put the following files, This sign "¿©" is for Male Character.

³²_Blood_Helm.act and ³²_Blood_Helm.spr

6th Step:

go to data\lua files\datainfo

Open accessoryid.lua as Notepad

<TAB>ACCESSORY_BLOOD_HELM = 1001,

Open accname.lua as notepad

<TAB>[ACCESSORY_IDs.ACCESSORY_BLOOD_HELM] = "_BLOOD_HELM",

and also config it to server, go to db/item_db2.txt at the last line in notepad

for example

17000,Blood_Helm,Blood Helm,5,20,,100,,1,,1,0xFFFFFFFF,7,2,256,,10,1,1001,{},{},{}

<----You'll see 1001 at the last part that is View ID that you put on accessoryid.lua

 http://rathena.org/board/public/style_emoticons/#EMO_DIR#/smile.png

 

 

 

@eJay

 

i have a question regarding accname.lua

 

ex. of my accname.lua is like this

 

[ACCESSORY_IDs.ACCESSORY_EVIL_MARCHER_HAT_J] = "_»ç¾ÇÇѸ¶ÄªÇÞ_J",

 

and

 

my accname_eng.lua is like this

 

[ACCESSORY_IDs.ACCESSORY_TONGUE_CHARM] = "_TONGUE_CHARM"

 

 

now where to put this?

 

[ACCESSORY_IDs.ACCESSORY_BLOOD_HELM] = "_BLOOD_HELM",

 

 

at accname.lua? or accname_eng.lua?  /wah

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

 

Video Coming Soon

 

 

 

1st Step:
go to:

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

add your sprite for Example:
Blood_Helm.jpg Blood_Helm
 

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

lockquote>

Blood_Helm-1.jpgBlood_Helm

2nd Step:
go to data
Open

idnum2itemdesctable

>17000#
Str + 10
Class :^777777 Headgear^000000
Defense :^777777 0^000000
Equipped on :^777777 Lower^000000
Required Level :^777777 ??^000000
Weight :^777777 10^000000
Applicable Job :^777777 Every Job^000000
#

idnum2itemdisplaynametable

170

00#Blood Helm# //<---------------- In game name

idnum2itemresnametable

17000#Blood_Helm#

3rd Step:
Go to

data/sprite/¾ÆÀÌÅÛ

This file (¾ÆÀÌÅÛ) is for Drop item which is act. and spr.

Blood_Helm.act and Blood_Helm.spr

4th Step:
Go to

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

Put the following files, This sign "¿©" is for Female Character.

¿©_Blood_Helm.act and ¿©_Blood_Helm.spr

5th Step:
Go to

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

Put the following files, This sign "¿©" is for Male Character.

³²_Blood_Helm.act and ³²_Blood_Helm.spr

6th Step:
go to data\lua files\datainfo
Open accessoryid.lua as Notepad

<TAB>ACCESSORY_BLOOD_HELM = 1001,

Open accname.lua as notepad

<TAB>[ACCESSORY_IDs.ACCESSORY_BLOOD_HELM] = "_BLOOD_HELM",

and also config it to server, go to db/item_db2.txt at the last line in notepad
for example

17000,Blood_Helm,Blood Helm,5,20,,100,,1,,1,0xFFFFFFFF,7,2,256,,10,1,1001,{},{},{}

<----You'll see 1001 at the last part that is View ID that you put on accessoryid.lua


 http://rathena.org/board/public/style_emoticons/#EMO_DIR#/smile.png

 

 

 

@eJay

 

i have a question regarding accname.lua

 

ex. of my accname.lua is like this

 

[ACCESSORY_IDs.ACCESSORY_EVIL_MARCHER_HAT_J] = "_»ç¾ÇÇѸ¶ÄªÇÞ_J",

 

and

 

my accname_eng.lua is like this

 

[ACCESSORY_IDs.ACCESSORY_TONGUE_CHARM] = "_TONGUE_CHARM"

 

 

now where to put this?

 

[ACCESSORY_IDs.ACCESSORY_BLOOD_HELM] = "_BLOOD_HELM",

 

 

at accname.lua? or accname_eng.lua?   /wah

 

 

accname.lua is fine.

[ACCESSORY_IDs.ACCESSORY_EVIL_MARCHER_HAT_J] = "_»ç¾ÇÇѸ¶ÄªÇÞ_J", <--- This is default just ignore it's from kRO and it is just translated to korean but both accname.lua and accname_eng.lua seems the same i think, sorry about that because i was inactive about client side in rathena long time ago. and i've never heard about accname_eng.lua maybe a new update but it probably the same as accname.lua.

Edited by eJay
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

alright!, thanks for your answer eJay  /no1

 

anyway, i have another question

 

1.) is it ok to put this

 

     -> 17000,Blood_Helm,Blood Helm,5,20,,100,,1,,1,0xFFFFFFFF,7,2,256,,10,1,1001,{},{},{}

 

       in db/pre-re/item_db.txt? or only in item_db2.txt? 

 

     coz im using a renewal client, but i disable the renewal settings here src/config/renewal.h 

 

2.) about the ID range of my custom weapon, i dont know what ID im going to put in my four(4) custom weapons,

     coz, some says, if the weapon is out of range, you cant see the weapon when attacking,

Edited by caizercafe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

alright!, thanks for your answer eJay  /no1

 

anyway, i have another question

 

1.) is it ok to put this

 

     -> 17000,Blood_Helm,Blood Helm,5,20,,100,,1,,1,0xFFFFFFFF,7,2,256,,10,1,1001,{},{},{}

 

       in db/pre-re/item_db.txt? or only in item_db2.txt? 

 

     coz im using a renewal client, but i disable the renewal settings here src/config/renewal.h 

 

2.) about the ID range of my custom weapon, i dont know what ID im going to put in my four(4) custom weapons,

     coz, some says, if the weapon is out of range, you cant see the weapon when attacking,

 

Your question 1 seems fine

and your question about in db/pre-re/item_db.txt? or only in item_db2.txt? 

I already answered your question http://rathena.org/board/topic/88927-about-custom-items/?p=229012

 

2.) you can copy the sword script from item_db.txt

 

// 1-Handed Swords 1101,Sword,Sword,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{}

and just edit itemID and name for easiest way.

Edited by eJay
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

 

// 1-Handed Swords 1101,Sword,Sword,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{}

and just edit itemID and name for easiest way.

I think that's not what he mean. specific weapons sprite only shows up on certain item number not itemID. If you make a sword on item number of 30000 in the item_db2.txt. the sword won't show but it will be a weapon.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

alright thank you eJay and Lulu for your answers  /no1

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   1
  • Joined:  10/31/13
  • Last Seen:  

hey am i the only one using LUB files here ? :( can you pls help me am i going to change these lub files into lua before i edit them ? pls help any reply would be appreciated :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Just put lua files into the same directory of lub files then the client will read lua before lub.

Edited by eJay
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   1
  • Joined:  10/31/13
  • Last Seen:  

hey guys BIG problems here :( i added a custom item in my server but unfortunately it has no picture/description and in short It is UNKNOWN item :( i have been looking for a guide to solve my problem but there seems to be no guide that can solve my problem ?? i already did what i could do i looked everywhere and not a single guide helped me :( pls ? im using a 2013-07-03 client and a updated lua files PLS ? help me ? :( i've been working on this custom item shit for like 5 days and 4 nights :( 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

hey guys BIG problems here :( i added a custom item in my server but unfortunately it has no picture/description and in short It is UNKNOWN item :( i have been looking for a guide to solve my problem but there seems to be no guide that can solve my problem ?? i already did what i could do i looked everywhere and not a single guide helped me :( pls ? im using a 2013-07-03 client and a updated lua files PLS ? help me ? :( i've been working on this custom item shit for like 5 days and 4 nights :(

 

I understand your feeling dude, when I was a newbie back then I also tried a custom item for 1 and half weeks hahaha. lots of shit hey :)

 

well first of all i need to check your client side to see whats going on :)

idnum2itemdesctable, idnum2itemdisplaynametable, idnum2itemresname and your lua files accname.lua and accessoryid.lua

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   1
  • Joined:  09/17/13
  • Last Seen:  

Bakit ganun po bat sakin ayaw lumabas pag suot ko? na double check ko po lahat pero wala po nalabas pag suot ko na.


May kulang pala ako, pero ngayo kumpleto problem naman ngayon nag crcrash yung RO ko. tas pag tinanggal ko yung mga add ko sa accename, accesorryid wala na error

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Pwede ko po ba ma check yung accname at accessoryid ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/01/13
  • Last Seen:  

di ko po maintindaihan ung 3rd step at 4th step. ano po ba un? ggawa pa ako ng files na spr at act ? pano po di ko gets. newbie lng po ty sa help

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

una, mag download ka muna ng custom headgear madami dyn sa download section.

 

pag nka DL ka na, meron na yang .spr at .act,

 

ilagay mo lang sa tamang paglagyan dun sa client mo ex. data/sprite at sa data/texture/collection

 

tapos sundan mo tong tutorial na to http://rathena.org/board/topic/83136-adding-custom-items-renewal/

Edited by caizercafe
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/15/13
  • Last Seen:  

Di ko po makita eto sa data folder ..

 

idnum2itemdisplaynametable

idnum2itemresnametable

 

https://rathena.svn.sourceforge.net/svnroot/rathena/      eto po gamit kong SVN ng rathena

 

/help

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Di ko po makita eto sa data folder ..

 

idnum2itemdisplaynametable

idnum2itemresnametable

 

https://rathena.svn.sourceforge.net/svnroot/rathena/      eto po gamit kong SVN ng rathena

 

/help

Try this link

http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/11/13
  • Last Seen:  

please help me :(

unknown item nalabas ginawa ko na lahat :( ndi ko alam kung saan error neto T_T

post-16481-0-80131100-1388719741_thumb.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

please help me :(

unknown item nalabas ginawa ko na lahat :( ndi ko alam kung saan error neto T_T

Patingin ako nung item_db for this item.

Try all capital letter in accname and accessoryid

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/11/13
  • Last Seen:  

View ID nya po is 2000 kung ano ung nakalagay sa acceid.lua :( please help...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

item_id must be the same as your itemidnum2

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
Reply to this topic...

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