Jump to content
  • 0
Maxlam

[Resolved] Cannot wear custom item

Question

Hello everyone,

First, I can tell you that I searched for some hours on many forums too solve my problem.

There it is : I added a new custom item on my server (needed tutorial or not).

I can see the icon, I can drop the item, I can watch description and move it...but I CAN'T equip it, because I'm getting out (Not any error, just closing game alone lol). I added sprites in the 2 folders needed...

Thanks for help,

Have a great night,

Maxlam

[EDIT : SOLVE = Just using a different "DIFF" and not an "Hexed" client]

Edited by Aerie
Link to comment
Share on other sites

20 answers to this question

Recommended Posts

You need to add the equip sprite (spr & act file) to 2 separate locations:

1.) datasprite¾Ç¼¼»Ç¸®¿©¿©_spritename.spr & ¿©_spritename.act

2.) datasprite¾Ç¼¼»Ç¸®¿©³²_spritename.spr & ³²_spritename.act

Just rename it so you have the same sprite under 2 different file names with the prefix of ³²_ and ¿©_

Edited by Syouji
Link to comment
Share on other sites

Whats your item database entry for the item? Paste the entire entry.

Edited by Syouji
Link to comment
Share on other sites

s_fulltext.png id name_english name_japanese type price_buy price_sell weight attack defence range slots equip_jobs equip_upper equip_genders equip_locations weapon_level equip_level refineable view script equip_script unequip_script b_edit.png b_drop.png 19000 Angels_Wing Angels Wing 5 100000 25000 5 0 1 NULL 0 4294967295 7 2 512 NULL 40 0 3000 bonus bAgi,3; bonus bInt,3; bonus bMdef,3; NULL NULL

So well, the ID in the files are 19000, thats why the item is working in game.

accname.lua : [ACCESSORY_IDs.ACCESSORY_Angels_Wing] = "_Angels_Wing",

accessoryid.lua : ACCESSORY_Angels_Wing = 3000,

I put 3000 for the sprite, I don't think the problem is coming from there, because it is running...

Every text, icons, etc. are working fine. Files are in the good folders. Maybe my AccessoryID with 3000 that I put in "view" ?

Link to comment
Share on other sites

I'm not sure...there already some item working with "View 2000" in my files. How to change the max "View ID" (I know its possible).

I'm getting the same problem with a custom monster right now, with VIEW" 3000 I'm getting a "Hollow Poring" but with 4000, he still don't exist. So WHERE can I tell it to choose 3000/4000 for "that/it/this".

Edited by Maxlam
Link to comment
Share on other sites

Just dont use VIEW IDs that high. Stay b/w 2000 and 3000. There should already be plenty of room to define your items there.

Link to comment
Share on other sites

Well, first there is already some View in the range of 2000-3000 so this is bad for me lol

Between, can we just add more possible View somewhere ?

Link to comment
Share on other sites

I tried to put the Wing "View" down, got dome LUA error at starting D: There isn't any solution to get more avaible ID somewhere ?

(I searched into the client with Shin Diff without this possibility)

Link to comment
Share on other sites

You need to add the equip sprite (spr & act file) to 2 separate locations:

1.) datasprite¾Ç¼¼»Ç¸®¿©¿©_spritename.spr & ¿©_spritename.act <------datasprite¾Ç¼¼»Ç¸®¿©

2.) datasprite¾Ç¼¼»Ç¸®¿©³²_spritename.spr & ³²_spritename.act<-------datasprite¾Ç¼¼»Ç¸®³²

Just rename it so you have the same sprite under 2 different file names with the prefix of ³²_ and ¿©_

Wrong

Link to comment
Share on other sites

What ? This is the first part to do for the 4 sprites... What else, Simplexjay2 ?

[Problem isn't solve if changing the View]

Link to comment
Share on other sites

datasprite¾Ç¼¼»Ç¸®¿©

datasprite¾Ç¼¼»Ç¸®³²

Item Desc Image BMP: datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcollection

Inventory BMP: datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºitem

Drop: datasprite¾ÆÀÌÅÛ

Source: http://eathena.ws/wiki/index.php?title=Custom_Items&oldid=2491

Also is your client reading lua or lub first?

Link to comment
Share on other sites

Like I said, in game everything is working except equip, so "Item Desc" and "Drop" and "Inventory" are fine :)

I watched many time the Wiki without solving the problem D:

For the data/sprite/ I did it without result T___T

I don't have .lub from datainfo and I did the "-o etc." part.

For the Client, I cannot really open it with the new method...

Edited by Maxlam
Link to comment
Share on other sites

Posted · Hidden by Maxlam, March 1, 2012 - Just -bumping- :p
Hidden by Maxlam, March 1, 2012 - Just -bumping- :p

-bump-

Link to comment

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.