Jump to content
  • 0

[Resolved] Cannot wear custom item


Maxlam

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

Already done.

I did it some years ago and see it back into the tutorial. Don't working for now :s

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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

Edited by Syouji
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Your view ID is too high. Change it to like 1500

Edited by Skyrim
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

If you diff the client with a higher number of view ID's that won't be a problem. Have you tried @changelook 3000 to see if your client exits?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

With @changelook 3000, the Client is closing like when I'm equiping the Wing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Use the Shin Diff patcher and patch your client to support above 2000view ID. and max mob up to 4000

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

Well, I'm not sure that is the problem, because when I'm putting 4000 in my DataBase, in game I cannot @mobinfo 4000.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

i think 3500 as a starting place for custom mobs works fairly well for me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

Posted · Hidden by Maxlam, February 25, 2012 - Double-Post
Hidden by Maxlam, February 25, 2012 - Double-Post

-bump-

Link to comment

  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

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