Jump to content

Recommended Posts

Posted (edited)

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
Posted

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

Posted (edited)

 

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
Posted (edited)

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
Posted (edited)

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
Posted

 

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

  • 2 weeks later...
Posted

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

Posted (edited)

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

Edited by eJay
Posted

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

Posted

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

  • 2 weeks later...
Posted

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

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...