• Announcements

    • Emistry

      Rules and Regulations - General/Script/Database/Source Support   11/17/16

      In all sub-forums of this section , you are still bound to follow the rAthena Board Rules. Topic Author: Do not release scripts that are not of your own creation unless you can provide evidence of explicit permission from the original author to do so. Attempt to post your script in the proper section. If you're not certain as to where to post it, feel free to ask one of the Moderators. Do provide an informative title.  Do provide at the very least a 3-4 sentences description or summary that clearly states what your script does.  Attempt to have multiple hosts for your scripts as to prevent dead links. 3 or more links are ideal. Links to your issue should directly provide the relevant items without the need for registration.  Make use of BBCode for respective contents.  Mark the reply as "Best Answer" in case it solved your issue. You may as well consider give them a reputation for the help. Vote Up relevant replies, and Vote Down for irrelevant replies. You're not allowed to bump your topics if you're not providing any new updates prior to your previous post.   Member: You're not allowed to bump your topics if you're not providing any new updates prior to your previous post. Do not post anything irrelevant contents in the topic. Vote Up relevant replies, and Vote Down for irrelevant replies. You may only post into this area if you are willing to either write new or make changes to scripting code yourself.  Do not criticize others reply being too general or without concrete scripting code.    Everyone: Violate these rules may result in immediate deletion of the topic/post, warning increase, and restriction of posting abilities for a certain period of time. On future offenses, member is to receive an increase in the warn level and have their posting abilities restricted for a certain period of time to be determined by the Moderators handling the case.
      * rAthena Staff reserves the right to add to and change the rules at any time. It is your duty to keep up with any changes and follow them to the best of your ability.   Your cooperation in this regard will be highly appreciated. Thank you.
  • 0
eJay

[Adding] Custom Items (Renewal)

Question

Video Coming Soon

 

Edit: January 2, 2014

Please pm me for more updated/recently changed about custom item, any update for this guide would be appreciated. Thank you   /ok 

 

 

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

Blood_Helm.act and Blood_Helm.spr

 

4th Step:
goto

 

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

This sign is for female account, "¿©" put the file here

¿©_Blood_Helm.act and ¿©_Blood_Helm.spr

 

5th Step:
goto

 

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

This sign is for male account "³²"  put the file here

³²_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 now you are done to client side

 

now go to SVN

go to svn/db/item_db2.txt

Find this line and the 2nd Quote is for example

you can add this part to the end of line.

 

ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }

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

The last part of script you will see 1001 this is View ID, that you do earlier in accessoryid.lua


Hope this will help you, don't forget to hit green button, Have a good day :D

Edited by eJay
11

Share this post


Link to post
Share on other sites

18 answers to this question

  • 0

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

Blood_Helm.act and Blood_Helm.spr

 

4th Step:

goto

 

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

This sign is for female account, "¿©" put the file here

¿©_Blood_Helm.act and ¿©_Blood_Helm.spr

 

5th Step:

goto

 

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

This sign is for male account "³²"  put the file here

³²_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 now you are done to client side

 

now go to SVN

go to svn/db/item_db2.txt

Find this line and the 2nd Quote is the example

ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }

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

The last part of script you will see 1001 this is View ID, that you do earlier in accessoryid.lua

Hope this will help you, don't forget to hit green button, Have a good day :D

 

 

how about the iteminfo ? 

0

Share this post


Link to post
Share on other sites
  • 0

 

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

Blood_Helm.act and Blood_Helm.spr

 

4th Step:

goto

 

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

This sign is for female account, "¿©" put the file here

¿©_Blood_Helm.act and ¿©_Blood_Helm.spr

 

5th Step:

goto

 

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

This sign is for male account "³²"  put the file here

³²_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 now you are done to client side

 

now go to SVN

go to svn/db/item_db2.txt

Find this line and the 2nd Quote is the example

ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }

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

The last part of script you will see 1001 this is View ID, that you do earlier in accessoryid.lua

Hope this will help you, don't forget to hit green button, Have a good day :D

 

 

how about the iteminfo ? 

 

 

 

 

What do you mean about the iteminfo? The description? o.o

Edited by Amaranth
0

Share this post


Link to post
Share on other sites
  • 0

yeah. all the process is still same right? only the item desc is different...

is it because of the ">" before the item ID?

0

Share this post


Link to post
Share on other sites
  • 0

If you want the custom items to drop from a monster or woe treasure, add them to the resnametables too. (unidentified item tables)

0

Share this post


Link to post
Share on other sites
  • 0

it work for me this guide but the problem is i cant see my charcter wearing my costumize item.. and when i do alt+q an error occured... pls help me with this customize equipments.. this is the error

 

Module Name: C:\Users\PCHAN1\Desktop\New folder (2)\SharpienoRO.exe
Time Stamp: 0x4d7f06a5 - Mon Mar 14 23:26:45 2011
 
 
Exception Type: 0xc0000005
 
0x0042e3d0    SharpienoRO.exe
 
eax: 0x0012f670    ebx: 0x00000070
ecx: 0x00000000    edx: 0x00000000
esi: 0x0f7d6968    edi: 0x00000190
ebp: 0x00000010    esp: 0x0012f66c
 
stack 0012f66c - 0012fa6c
0012F66C : 03 50 A9 A8 38 FC 12 00 1E 0D 74 00 FF FF FF FF 
0012F67C : 6F E4 42 00 00 00 00 00 00 00 00 00 39 8A 47 00 
0012F68C : 00 00 00 00 00 00 00 00 EB 50 A9 A8 40 D5 7E 00 
0012F69C : 68 69 7D 0F C0 80 E8 18 A8 68 83 00 04 00 00 00 
0012F6AC : 20 F2 F9 18 00 00 00 00 00 00 00 00 00 00 00 00 
0012F6BC : 01 00 00 00 00 00 00 00 ED E0 C5 77 E4 80 E2 18 
0012F6CC : 00 00 00 00 90 01 00 00 01 00 00 00 00 00 00 00 
0012F6DC : 00 00 00 00 00 00 00 00 00 00 40 3F 00 00 00 00 
0012F6EC : 00 00 5D 3F 00 00 D8 3D 00 00 00 00 00 00 00 00 
0012F6FC : 00 00 00 00 0F 00 00 00 0F 05 D1 00 00 D9 D2 15 
0012F70C : 60 01 43 02 F0 80 E8 18 40 04 43 02 00 00 00 00 
0012F71C : 0F 00 00 00 9C D8 77 00 98 D8 77 00 20 2F 20 33 
0012F72C : 00 00 77 00 8C D8 77 00 02 00 00 00 00 00 00 00 
0012F73C : 20 00 00 00 7C D8 77 00 64 F7 12 00 B8 3D 96 73 
0012F74C : 00 00 3E 00 00 00 00 00 18 00 00 00 AC 68 83 00 
0012F75C : 00 70 3E 00 08 10 64 0F 7C F7 12 00 B8 3E 96 73 
 
Launch Info 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
 
Job : Novice
0

Share this post


Link to post
Share on other sites
  • 0

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 :( 

0

Share this post


Link to post
Share on other sites
  • 0

I haven't started getting my hands on 2013 clients. But I know that the item description is in your iteminfo.lua, edit that and add your custom item.

0

Share this post


Link to post
Share on other sites
  • 0

i cant make it work..im using a 2012-04-18 client ..what should i do ?? help me ...

0

Share this post


Link to post
Share on other sites
  • 0

Quick question before I attempt to add something: Would I need to have the PNG file for the item as well? I've downloaded some example, as well as some interesting items, to test, and they only come in spr and act files.

0

Share this post


Link to post
Share on other sites
  • 0

someone plase help me what wrong with my custom item..i already read post 1 but i have some problem

 

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

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

 

data\sprite\¾ÆÀÌÅÛ : Black_Gray_Lighthalzen_Aura.act & Black_Gray_Lighthalzen_Aura.spr

 

data\sprite\¾Ç¼¼»ç¸®\¿© : ¿©_Black_Gray_Lighthalzen_Aura.act & ¿©_Black_Gray_Lighthalzen_Aura.spr

 

data\sprite\¾Ç¼¼»ç¸®\³² : ³²_Black_Gray_Lighthalzen_Aura.act & ³²_Black_Gray_Lighthalzen_Aura.spr

 

data\luafiles514\lua files\datainfo : accessoryid.lua ACCESSORY_Black_Gray_Lighthalzen_Aura = 1026,

 

data\luafiles514\lua files\datainfo : accname.lua [ACCESSORY_IDs.ACCESSORY_Black_Gray_Lighthalzen_Aura] = "_Black_Gray_Lighthalzen_Aura",

 

 

2rqktc9.jpg

0

Share this post


Link to post
Share on other sites
  • 0

Hi

For this part svn/db/item_db2.txt

I can't find this part on the rathena git.

Is there a new way implementing custom item?

0

Share this post


Link to post
Share on other sites
  • 0

Replace itemdb2 with

/Db/Import/itemdb.txt

0

Share this post


Link to post
Share on other sites
  • 0

My custom item is working great how ever, when i right click on it it's blank picture and an error says "Resource File Loading Fail. this is the screen shot. as you can see i can see the custom item I made but that is the error.

post-42883-0-69621400-1478439135_thumb.jpg

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now