Jump to content
  • 0

Gravity Error in my Custom Item


keanxvi

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  04/06/12
  • Last Seen:  

hi sir/mam. im trying to make a custom headgear in my test server i follow the guide here: http://rathena.org/wiki/Custom_Items but still got an error a gravity error did i missed something or what. hope you can help me guys. D=

Here's my screenshots.

post-3702-0-53747700-1338819144_thumb.jpg

when im trying to put the 3D glasses in my character i got this error

post-3702-0-97776700-1338820062_thumb.jpg

Here's my itemdb.txt

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,,{},{},{}

idnum2itemdesctable.txt

20000#
...
Class :^777777 Headgear^000000
Defense :^777777 5^000000
Equipped on :^777777 Middle^000000
Weight :^777777 10^000000
Applicable Job :^777777 Every Job^000000

idnum2itemdisplaynametable.txt

20000#3D_Glasses#

idnum2itemresnametable.txt

20000#20000#

i hope someone will help me out here thanks in advance!

Edited by keanxvi
Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

I just noticed you didn't define the view id for your headgear.

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,<Item view item from accessoryid.lua in your ragnarok data folder>,{},{},{}

Edited by JoWei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  04/06/12
  • Last Seen:  

I just noticed you didn't define the view id for your headgear.

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,<Item view item from accessoryid.lua in your ragnarok data folder>,{},{},{}

thank you for the quick reply. hmmm im really confused about that one and i dont know what im going to put there. i dont how to open that accessoryid.lua (noob) T_T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

use notepad

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

That file can be opened with notepad.

It can be found under,

-RO directory

-data

-lua files

-datainfo

You'll be able to get the view id number in it. If you want to add new view ID, refer to > http://rathena.org/wiki/Custom_Items#View_IDs.2C_Having_A_Custom_Item_Without_Xray

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,,{},{},{}

this should be look like these one below

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,7,2,512,,1,1,<Item view item from accessoryid.lua in your ragnarok data folder>,{},{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

I have the same problem this is my item_db2

1993,_bloodwings,Blood Wings,5,,0,10,,10,,0,2147483647,7,2,1,,1,1,1044,{ bonus bAllStats,5; },{},{}

Am i missing the view ID also? i added it on the accname and accessoryid.

accessory id=

ACCESSORY_bloodwings = 1993,

Accname=

[ACCESSORY_IDs.ACCESSORY_bloodwings] = "_bloodwings", }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@elcontrol00: View ID is the last number, 1044. The LUA files use View ID, not item ID.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

Changed the Accessoryid=

ACCESSORY_bloodwings = 1044, 

But i get this error

Module Name: C:\Program Files\Gravity\Miruku\RAthena.exe Time Stamp: 0x4d7f06a5 - Tue Mar 15 02:26:45 2011 Exception Type: 0xc0000005 0x71f01bb0 MSVCR90.dll 0x71ee2ecd MSVCR90.dll 0x006f510c RAthena.exe eax: 0x00000004 ebx: 0x007a7800 ecx: 0x7ffffffe edx: 0x0012fa73 esi: 0x00000000 edi: 0x00000004 ebp: 0x0012fa20 esp: 0x0012f79c stack 0012f79c - 0012fb9c 0012F79C : B4 FA 12 00 58 DC 89 00 00 00 00 00 04 00 00 00 0012F7AC : 04 00 00 00 00 00 00 00 07 00 00 00 ED 69 EE 71 0012F7BC : 08 F9 12 00 A8 16 E4 0C F8 2B 05 02 08 18 05 02 0012F7CC : D0 07 05 02 01 F7 12 00 40 FA 12 00 00 00 00 00 0012F7DC : 00 00 00 00 00 00 00 00 00 78 7A 00 00 00 00 00 0012F7EC : 00 00 00 00 00 00 00 00 0F 00 00 00 0E 00 00 00 0012F7FC : 7C FA 12 00 02 00 00 00 04 00 00 00 FF FF FF FF 0012F80C : 0F 00 00 73 00 00 00 00 28 F8 12 00 49 61 A8 71 0012F81C : 00 00 00 00 C0 16 E4 0C 00 00 00 00 44 F8 12 00 0012F82C : 7A 63 A8 71 00 00 00 00 00 00 00 00 78 16 E4 0C 0012F83C : 20 F9 12 00 00 00 00 00 5C F8 12 00 AA 72 A8 71 0012F84C : C0 16 E4 0C 00 00 00 00 FF FF FF FF D8 F8 12 00 0012F85C : F4 B6 A8 07 8F 89 48 00 C0 16 E4 0C 09 06 21 B7 0012F86C : 39 00 00 00 D8 F8 12 00 84 F8 12 00 43 5E A8 71 0012F87C : 00 00 00 00 D8 F8 12 00 F4 B6 A8 07 24 8A 45 00 0012F88C : 60 B6 A8 07 64 DB 4F 00 01 00 00 00 9A DB 4F 00 Launch Info 018E 018D 016A 016A 00A4 00A4 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 : Biochemist

Edited by elcontrol00
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

This is an example only okay..

accessoryid.lua

ACCESSORY_3D_Glasses = 1500,

item_db2.txt

Change

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,,{},{},{}

to

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,1500,{},{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

How about for my problem? :o hehe even though i should probly make another post sorry about this keanxvi

My item_db2

1993,_bloodwings,Blood Wings,5,,0,10,,10,,0,2147483647,7,2,1,,1,1,1044,{ bonus bAllStats,5; },{},{}

My accessoryid

ACCESSORY_bloodwings = 1044,

New problem i can see them on my Equips but cannot see them on character.

post-4165-0-05758200-1338848131_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  04/06/12
  • Last Seen:  

This is an example only okay..

accessoryid.lua

ACCESSORY_3D_Glasses = 1500,

item_db2.txt

Change

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,,{},{},{}

to

20000,3D_Glasses,3D Glasses,5,,0,10,,5,,1,0xFFFFFFFF,2,2,512,,1,1,1500,{},{},{}

hmmmm i already did this sir but i still got an error i edit my accesoryid.lua with notepad and then i edit my accname.lua. but still got an error. still confused about this -_-

edit: PROBLEM SOLVED!

Guys! thanks for helping me out here. finally! im done with this lua files! thankkk youuu so mucch! =)

elcontrol follow this guide:http://rathena.org/b...elease-lua2lub/

Edited by keanxvi
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

will do thanks :D

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