Jump to content
  • 0

[Resolved] Can't Get Sprites To Work!


Nightmare_Eng

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/29/12
  • Last Seen:  

Just a simple question now as I have all the files correctly set up for the sprites though it isn't working.....

thanks for the help.

or yes and this is the report i get O_o

Time Stamp: 0x4d7f06a5 - Tue Mar 15 06:26:45 2011

Exception Type: 0xc0000005

0x734a1bb0 MSVCR90.dll

0x73482ecd MSVCR90.dll

0x006f510c BabyDevilRO.exe

eax: 0xc90301f0 ebx: 0x007a7800

ecx: 0x7ffffffe edx: 0x0018f773

esi: 0x00000000 edi: 0xc90301f0

ebp: 0x0018f570 esp: 0x0018f2ec

stack 0018f2ec - 0018f6ec

0018F2EC : 4C F7 18 00 58 DC 89 00 00 00 00 00 14 16 4A 73

0018F2FC : DC 89 E6 04 00 00 00 00 07 00 00 00 96 1D 4A 73

0018F30C : 00 00 00 00 00 00 00 00 48 17 82 02 E8 18 82 02

0018F31C : D0 07 82 02 01 00 00 00 90 F5 18 00 00 00 00 00

0018F32C : 00 00 00 00 00 00 00 00 00 78 7A 00 00 00 00 00

0018F33C : 00 00 00 00 00 00 00 00 99 77 7A 00 0E 00 00 00

0018F34C : CC F5 18 00 02 00 00 00 F0 01 03 C9 FF FF FF FF

0018F35C : DC F5 18 73 00 00 00 00 AC 7A 7A 00 FF FF FF FF

0018F36C : FF FF FF 00 00 00 00 00 00 00 00 00 08 79 5A 0A

0018F37C : 00 00 00 00 80 01 96 76 98 F3 18 00 55 81 91 76

0018F38C : 80 01 96 76 08 14 01 4E E0 04 F1 05 C0 F3 18 00

0018F39C : 93 80 91 76 01 00 00 00 A8 F3 18 00 10 00 00 00

0018F3AC : 03 01 00 00 E0 04 F1 05 08 14 01 4E E0 04 F1 05

0018F3BC : 00 00 00 00 01 00 00 00 8C E3 27 77 65 E6 8E 75

0018F3CC : 1C C0 62 04 A4 01 82 02 00 00 82 02 E0 04 F1 05

0018F3DC : 08 79 5A 0A 1B 00 92 03 20 00 00 00 00 00 00 00

Launch Info

0000 0000 0000 0000 0000 0000 0000 0000

0000 0000 0000 0000 0000 0000 0000 0000

0000 0000 0000 0000 0000 0000 0000 0000

0000 0000 0000 0000 0000 0000 0000 0000

Job : Novice

Edited by Gaypuff
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

When do you get the error? After equiping it? When clicking the icon? Does it even have the correct icon?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/29/12
  • Last Seen:  

Yes I get it when I put the item on.

i can use @item to get it

I can see the image in my inventory (It shows the item and you can view more details on it)

When I put the item on I don't see the item on my head.

If I press ALT + Q I get errors and then the game closers down

And I did everything the link says to do. http://rathena.org/wiki/Custom_Items

Anything you need to know just ask please, this is very annoying :/

:)

81808322.jpg

as soon as i double click to put on the item, boom! error message that i pasted above

Note: Had them all working on my old eathena set up but isant working now :/

I am useing Lua files from http://supportmii.co...1/compiles.html Date: 2011-07-16 with Lua projext 198 and 2011-02-23 lua files.

My client is well, I havent a clue I just know it runs my game in english with evreything els working in game lol, but I think its 2011-03-15aRagexeRE but I could be wrong, cant seem to get any other client I download to work right lol

;)

Edited by Nightmare_Eng
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  03/03/12
  • Last Seen:  

ahm i guess you have to put the .spr and .act on

data/sprite/¾Ç¼¼»Ç¸®/¿© and

data/sprite/¾Ç¼¼»Ç¸®/³²

and make sure in your idnum2displaytable/num2displaytable and also the resnametable you don't have any duplicate id numbers.

hope that helps

Edited by omimo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/29/12
  • Last Seen:  

Yer the files have that on the end of it and they are not over lappy any other ID numbers.

thanks for the help though /no1

Item_db.txt

9215,sapling_hat,sapling_hat,5,,0,10,,5,,1,0xFFFFFFFF,7,2,256,,0,1,9215,{ bonus bAllStats,10; },{},{}

idnum2itemdesctable.txt

9215#

Sapling_Hat

a green hat

All stats + 5

Class :^777777 Headgear^000000

Defense :^777777 3^000000

Equipped on :^777777 Upper^000000

Weight :^777777 10^000000

Applicable Job :^777777 Every Job^000000

#

idnum2itemdisplaynametable.txt

9215#sapling_hat#

idnum2itemresnametable.txt

9215#sapling_hat#

itemslotcounttable.txt

9215#1#

num2itemdesctable.txt

9215#

Unknown Item. Can be identified by using a Magnifier.

Weight :^777777 30^000000

#

num2itemdisplaynametable.txt

9215#sapling_hat#

num2itemresnametable.txt

// sapling_hat

9215#sapling_hat#

lua filesdatainfoaccessoryid.lua

ACCESSORY_Sapling_Hat = 9215

lua filesdatainfoaccname.lua

[ACCESSORY_IDs.ACCESSORY_Sapling_Hat] = "_Sapling_Hat"

is this right?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   2
  • Joined:  02/07/12
  • Last Seen:  

lua filesdatainfoaccessoryid.lua
-ACCESSORY_Sapling_Hat = 9215
+ACCESSORY_SAPLING_HAT = 9215,

lua filesdatainfoaccname.lua
-[ACCESSORY_IDs.ACCESSORY_Sapling_Hat] = "_Sapling_Hat"
+[ACCESSORY_IDs.ACCESSORY_SAPLING_HAT] = "_Sapling_Hat"

idnum2itemresnametable.txt
-9215#sapling_hat#
+9215#Sapling_Hat#

Basically, the ACCESSORY_ID stuff in the LUA's needs to be capitalized. (At least, I'm pretty sure. I think I had issues in the past cause of that.) The end part doesn't, it just needs to match exact case of the sprite files.

If not, and more importantly, are the sprites named _sapling_hat.spr or _Sapling_Hat.spr? Because you have the sprite set to Sapling_Hat in the LUA, but in the resname table you have it sapling_hat. Assuming it is _Sapling_Hat, the above corrections I made are right. Otherwise, resname table is correct and you need to change accname.lua to lower-case.

Also, to make sure you at least have the LUA side working, you can always test @changelook VIEWID (in this case, 9215), if sprite shows up LUA is fine and you know the data is wrong. If it doesn't show up, LUA is wrong, data MIGHT be fine, or data is broken too.

Unrelated to problem, since you mentioned client, without editing anything with packets and such, just a regular checkout of rAthena, you can use up to client 20110810 btw. With that client, I've had the least ammount of errors and such, new mounts work, Archangeling Wings/Traveler's backpack work, etc. Just in case you wanna try it.

Edited by Lige
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/29/12
  • Last Seen:  

Thank you for all the info Lige :) this is very usefull and i hope to get it working and thanks for the client tip. allways nice to get a helping hand.

Well it was the Client that I was useing that didant work >.< but you fixed my problem Lige

and thanks to Flaid for the help as well.

/no1 Case Closed

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