Jump to content
  • 0

Client crash with custom item


Onnyx

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

Hello,
I've question :

I want to make a consumable item with a "callfunc". I can see the icon on my inventory, but when I click on it, my client crashed.
I've followed no tutorial and I used the
2012-03-07 client.

Here is the files :

[- item_db2.txt -]

30000,Pk_card,PK Card,11,0,0,1,,,,,0xFFFFFFFF,15,2,,,,,,{},{},{}

 

[- idnum2itemresnametable.txt -]

30000#pkcard#

 

I think the problem is the sprites, because, when i change the sprite name in idnum2itemresnametable.txt with a another sprite name, my item don't make a client crash.

The drop sprites are in : data/sprite/아이템/pkcard.spr & .act

 

What's the problem doctor ?

 

Thank you for your help,

Onnyx

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

doesnt look like the sprite is corrupted. and yes that is the path for the sprite files.

hmm then it is like i said the client is not picking it up. ok where are you storing these files => data folder or grf.

If its in a grf make sure Read Multiple GRF Patch is applied in the client and your grf is the first in data.ini . Also the path is in korean inside the grf and not the ascii equivalent

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

1) spr or act file is corrupt - how to check? open it in actor or actor2 tool. if its corrupted it wont open. in case its corrupted redownload or if u don't have the source you could just make spr file from your item bmp using sprconview and copy act file from any other sprite.

 

or

 

2) client is not picking up the sprite & act file from the proper folders - check your grf/data folder if the files are in proper locations.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

First, thank you for your answer.

 

1) I can open my act with Actor2 (I've remade my spr file, and I've the same problem), but I can't open the act files of data.grf

2) the spr & act files must be in the folder data/sprite/아이템, no ? Because, when I use an other RO sprite (apple), my client crash (I've renamed the files before)

 

Thank for your help.
Here, the bmp and spr files

(pkcard.bmp is the normal bmp file, and pkcard_spr.bmp is the 256 colors bmp file)

pkcard.bmp

pkcard_spr.bmp

spr&act.zip

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

data forlder and, after, in grf folder. But, I think the problem is the name folder.

Thank's for your answer.

 

EDIT : Yes, the problem is the name path =). When I use ASCII caracters, I don't have the problem.

Thank for your help /no1

Edited by Onnyx
Link to comment
Share on other sites

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