Jump to content
  • 0

Question

19 answers to this question

Recommended Posts

Posted (edited)

21115,New_White_Fairy_Wings,white fairy wings,5,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,,{ bonus bAllStats,20; }{},{}

here is the script in my item_db2.txt

and in my data folder. after i diff. heres 1 in my acceossryid.lua

ACCESSORY_New_White_Fairy_Wings = 889,

Edited by mykel09
Posted

post your error, so it can be solved ASAP.

just incase (some people forget this)

check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite.

  • Upvote 1
Posted

What kind of errors?

Sprite errors?

Did you also change accname.lua?

here's in my accname.lua what's the problem here?

[ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings"

post your error, so it can be solved ASAP.

just incase (some people forget this)

check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite.

downloading SPR CONVIEW.

Posted (edited)

What kind of errors?

Sprite errors?

Did you also change accname.lua?

here's in my accname.lua what's the problem here?

[ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings"
[ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings"

post your error, so it can be solved ASAP.

just incase (some people forget this)

check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite.

downloading SPR CONVIEW.

there's your problem.. you forgot to place coma's...

here you go, copy this and replace what you have, then tell me if its still not working..

[ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings",

[ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings",

Also check your item_db2.. your server monitor shows it..

you have wrong format for OnEquip column.. its usually left blank..

here is the format, count the columns then edit.

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

this is the part where you put your scriipts (i.e. bonus atkRate,10)

{ Script }

Edited by stydianx
  • Upvote 1
Posted (edited)

Thanks. ok i will tell you if there's a prob again . have to build again.

@stydianx

Heres another error. i can use it but when im novice it cannot be equipped by all. and no pic when equipped.

123-90048.jpg

Edited by mykel09
Posted (edited)

Has your client been diffed up to 2000 max headgear view ID's?

Also, make sure you have the correct view ID on the item.

Example using from above:

21115,New_White_Fairy_Wings,white fairy wings,5,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,889,{ bonus bAllStats,20; },{},{}

Where "889" is the ID associated to it from your accessoryid lua.

Edited by UltraSlayer
Posted (edited)

i diff it up to 4000 is that ok ??

and i change my view i.d but still i got this my wings goes to etc not in equip.

here is an example.

21115,New_White_Fairy_Wings,white fairy wings,10,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,888,{ bonus bAllStats,100; },{},{}

mu view i.d in accessoryid lua its id is 888 like youve said change it according to my accessory.lua

BUMP!. help my custom wing goes to etc. in my inventory how to fix it?? need it badly

Edited by mykel09
Posted

go to this link: http://rathena.org/wiki/Custom_Items

then look for these lines:

Type: Purpose of the item.

- iin this case, use 5

Job: Which jobs this item is available for. Values below can be combined to achieve availability for multiple job classes, i. e. 0x2|0x4 -> 0x6 (Swordman+Mage)

- use this: 0xFFFFFFFE

Upper: Specifies whether the item can be used by normal, baby or reborn classes. Values below can be combined, i. e. 1|4 -> 5 (Normal+Baby Classes)

- use 2

Loc: Equipment location of armor and arrow-type items. Values below can be combined, i. e. 136 would indicate both accessory slots (typical value for accessories).

- for wings, its usually used as a mantle, so use 4.. if you want it as a head gear, use 256..

you can also add numbers:

i.e lower headgear(1) + upper headgear(256) + mid headgear(512) = 769, this will use all equip sockets in equip menu.

View IDs, Having A Custom Item Without Xray

this part is up to you. read carefully and double check..follow the tutorial..

  • Upvote 1
Posted

If you know your client version, then you can match it to the lubs found here:

https://www.assembla...ct/lubs?rev=228

my client version is 2011-03-15 . is it ok with

2011-03-16 Lub Files [Translated].rar ?

try looking again, but this time, follow this:

go to

Data

then

lua files

then

data info

there you will see what you are looking for /ok

I've search it many times but it doesnt have lub files.

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.

  • Recently Browsing   0 members

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