Jump to content
  • 0

custom item help


Question

Posted

i am making a custom wing equip.. i do all the steps said here in rathena all of it works except of one.

when i equip my customize wing it is okay the effect is working but the problem is I didnt see the wing on my character and when i do alt+q to see my char equips an error occur.. and i didnt log in to that account..

 

this is the error

 

Module Name: C:\Users\PCHAN1\Desktop\Ragnarok Files\SharpienoRO.exe
Time Stamp: 0x4d7f06a5 - Mon Mar 14 23:26:45 2011
 
 
Exception Type: 0xc0000005
 
0x0042e3d0    SharpienoRO.exe
 
eax: 0x0012f670    ebx: 0x00000070
ecx: 0x00000000    edx: 0x00000000
esi: 0x0f541bd8    edi: 0x00000190
ebp: 0x00000010    esp: 0x0012f66c
 
stack 0012f66c - 0012fa6c
0012F66C : 1A C3 63 CD 38 FC 12 00 1E 0D 74 00 FF FF FF FF 
0012F67C : 6F E4 42 00 00 00 00 00 00 00 00 00 39 8A 47 00 
0012F68C : 00 00 00 00 00 00 00 00 F2 C3 63 CD 40 D5 7E 00 
0012F69C : D8 1B 54 0F 68 89 1D 21 A8 68 83 00 04 00 00 00 
0012F6AC : 48 59 3C 21 00 00 00 00 00 00 00 00 00 00 00 00 
0012F6BC : 01 00 00 00 00 00 00 00 ED E0 C5 77 1C E3 28 21 
0012F6CC : 00 00 00 00 90 01 00 00 01 00 00 00 00 00 00 00 
0012F6DC : 00 00 00 00 00 00 00 00 00 00 40 3F 00 00 00 00 
0012F6EC : 00 00 5B 3F 00 00 F8 3D 00 00 00 00 00 00 00 00 
0012F6FC : 00 00 00 00 0F 00 00 00 00 32 9F 1E 00 5B A1 1E 
0012F70C : F1 04 2B 01 A5 62 6D 70 40 04 47 02 00 00 00 00 
0012F71C : 0F 00 00 00 9C D8 77 00 98 D8 77 00 20 2F 20 33 
0012F72C : 00 00 77 00 8C D8 77 00 02 00 00 00 00 00 00 00 
0012F73C : 20 00 00 00 7C D8 77 00 64 F7 12 00 B8 3D 96 73 
0012F74C : 00 00 5E 02 00 00 00 00 18 00 00 00 AC 68 83 00 
0012F75C : 00 70 5E 02 80 12 37 0F 7C F7 12 00 B8 3E 96 73 
 
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
 

15 answers to this question

Recommended Posts

  • 0
Posted

Could you help me how did you fixed this? I'm having the same problem, error whenever i pressed alt+q but only when I wear my custom item on a novice\high novice\1st job\trans 1st job.

Spoiler

 

 

Posted

how can i able to fix this? what do i need to do with it?



amf ... i dont know what to do with this. i created 4 new customize items and it still the same. everytime i equip it and open my character view or alt+q an error always occur......

Posted

how can i able to fix this? what do i need to do with it?

amf ... i dont know what to do with this. i created 4 new customize items and it still the same. everytime i equip it and open my character view or alt+q an error always occur......

 

Follow these steps thoroughly and you'll not get any errors. /no1

 

http://rathena.org/wiki/Custom_Items

Posted

that was the guide i followed.. i already follow the step on it, but everytime i make a customize item that error always occur...

this is the sprite i made step by step on that guide.

 

1. THE STRUCTURE:

(heres my structure on my item)

 

25009,Large_Red_Wing,Large Red Wing,5,0,,0,,0,,1,0xFFFFFFFF,7,2,4096,,1,0,873,{bonus bCriticalRate,40; bonus bCritAtkRate,25; bonus bLuk,20; },{},{}

 

2. ITEM PLACEMENT ON DATA FOLDER

idnum2itemdisplaynametable.txt

25009#Large_Red_Wing#

 

idnum2itemdesctable.txt

 25009#

Critical Rate + 40
Inflict 25% more damage with Critical attacks
Luk +20
Class : ^777777Headgear^000000
Defense : ^7777774^000000
Location : ^777777Upper^000000
Weight : ^77777750^000000
Applicable Job : ^777777All Jobs^000000
#

 

idnum2itemresnametable.txt

 25009#large_red_wing#

 

itemslotcounttable.txt

(i edit this and nothing happened this is just for slots)

 

4. Allocating Items on Client Side

 

Step 1:

i) Copy large_red_wing_drop.spr to [RO Folder]\data\sprite\¾ÆÀÌÅÛ\large_red_wing.spr

ii) Copy large_red_wing_drop.act to [RO Folder]\data\sprite\¾ÆÀÌÅÛ\large_red_wing.act
iii) Copy large_red_wing_item.bmp to [RO Folder]\data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\large_red_wing.bmp
iv) Copy large_red_wing_collection.bmp to [RO Folder]\data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\large_red_wing.bmp 

 

Step 2 (only for Headgears):

[ACCESSORY_IDs.LARGE_RED_WING] = "_large_red_wing",

 

i) Copy large_red_wing.spr to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_large_red_wing.spr (Female)
ii) Copy large_red_wing.act to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_large_red_wing.act
iii) Copy large_red_wingspr to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\³²\³²_large_red_wing.spr (Male)
iv) Copy large_red_wing.act to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\³²\³²_large_red_wing.act

 

5. View IDs, Having A Custom Headgear Without Xray

For accessoryid.lua

 

    ACCESSORY_LARGE_RED_WING = 873,

 

For accname.lua

    [ACCESSORY_IDs.ACCESSORY_LARGE_RED_WING] = "_large_red_wing",

 
 
so thats it.. nothing happened.. still error occured..
Posted

Are you using renewal or the old ones?

 

Are you sure using the correct path?

 

\data\sprite\¾ÆÀÌÅÛ\Helmet.spr
\data\sprite\¾ÆÀÌÅÛ\Helmet.act
\data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\Helmet.bmp
\data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\Helmet.bmp 

 

or maybe this

 

ACCESSORY_LARGE_RED_WING = 873,

You must compile to lub if you leave space between IDs, if you don't plan on compiling to lub, make sure you do not skip any numbers.

Posted (edited)

Consider this :

If the item can be equipped and the effect is there but you can't see it, that is a sprite problem, that means its either in the data folder or .grf problem and a wrong view ID on item_db and on the system folder/itemInfo

First make sure your client is diffed to read data folder if your using your data folder or else make your data folder a grf.

Second check if the client is diffed again to read lua before lub else compile your lua files to lub just by saving the .lua to .lub.

Google is your Friend

Edited by NexusXVI
Posted (edited)

Consider this :

If the item can be equipped and the effect is there but you can't see it, that is a sprite problem, that means its either in the data folder or .grf problem and a wrong view ID on item_db and on the system folder/itemInfo

First make sure your client is diffed to read data folder if your using your data folder or else make your data folder a grf.

Second check if the client is diffed again to read lua before lub else compile your lua files to lub just by saving the .lua to .lub.

Google is your Friend

I think he's right.

Or try this:

1. diff your client with read data folder checked, and read lua before lub checked.

if that fail, try to compile your lua into lub

2. open this folder

path\to\RO\Data\lua files\datainfo

then copy luac5.1.4.exe from Data Folder Translation\Tools\ to path\to\RO\Data\lua files\datainfo

open notepad/create new txt file name it into compile.txt, then write this

"path\to\RO\Data\lua files\datainfo\luac5.1.4" -o "accessoryid.lub" "accessoryid.lua"

"path\to\RO\Data\lua files\datainfo\luac5.1.4" -o "accname.lub" "accname.lua"

save the txt file into path\to\RO\Data\lua files\datainfo

change the compile.txt into compile.bat

run the compile.bat

Edited by jigsam
Posted (edited)

BUMP

 

i followed the wiki guide for the custom items and also the guides of a people here but this God**** error always occured

 

Module Name: C:\Users\PCHAN1\Desktop\New folder (2)\SharpienoRO.exe
Time Stamp: 0x4d7f06a5 - Mon Mar 14 23:26:45 2011
 
 
Exception Type: 0xc0000005
 
0x0042e3d0    SharpienoRO.exe
 
eax: 0x0012f344    ebx: 0x00000000
ecx: 0x00000000    edx: 0x00000000
esi: 0x1eaf75a8    edi: 0x1e993558
ebp: 0x00000000    esp: 0x0012f340
 
stack 0012f340 - 0012f740
0012F340 : 6A DD 89 21 70 FB 12 00 1E 0D 74 00 FF FF FF FF 
0012F350 : 6F E4 42 00 00 00 00 00 00 00 00 00 A7 DA 49 00 
0012F360 : 00 00 00 00 00 00 00 00 42 DD 89 21 D0 48 AC 21 
0012F370 : A8 75 AF 1E 00 00 00 00 18 76 AF 1E 02 00 00 00 
0012F380 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0012F390 : 4C F4 12 00 00 F4 12 00 00 00 00 00 00 00 00 00 
0012F3A0 : 00 00 00 00 00 00 00 00 00 00 00 3E 00 00 00 3E 
0012F3B0 : 00 00 74 3E 00 00 6C 3E 00 00 00 00 00 00 00 00 
0012F3C0 : D0 AA AC 00 00 00 00 00 20 00 00 00 38 F4 12 00 
0012F3D0 : 00 00 00 00 00 00 00 00 0F 00 00 00 AC 57 EF 76 
0012F3E0 : C3 CA BA B8 C0 DA 5F B3 B2 2E 69 6D 66 00 12 00 
0012F3F0 : 0D 00 00 00 0F 00 00 00 90 02 54 21 00 00 00 00 
0012F400 : A0 02 54 21 1C F4 12 00 E8 2C EF 76 00 00 00 00 
0012F410 : 0F 00 00 00 00 00 00 00 60 37 99 1E 30 F4 12 00 
0012F420 : EC 56 EF 76 00 00 A9 00 1C 00 00 00 1F 00 00 00 
0012F430 : 40 F4 12 00 D0 21 99 1E A8 02 54 21 E0 F6 12 00 
 
Launch Info 
00A4 00A4 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 0000 0000 
 
Job : Novice
 
 
what do i need to do?
can somebody there help me out for this?? my head is aching thinking of this... i want to make a custom items for my server. i hope someone can get me out in this error..
 
all is done.. the only problem is when i wear the custom item i didnt see my character wearing it and when i do alt+q this error starting to pop up. and i cant login anymore to that acccount...
Edited by dfabsgwapings
Posted (edited)

I tried all your guides to me but nothing work with this sprites.... i cant add my custom items here....i followed all the guides... it is working it appears on my inventory, i see what it contains, the images is fine, the ONLYYY PROBLEM is when i am going to equip this custom item "I CANT SEE MY CHARACTER WEARING IT" and when i am going to use alt+q, an "​ERROR ALWAYS OCCURRED"......... then i cant log in to that account............. that error above is the one always popping out...

 

i tried the eathena, rathena, peoples suggestions (but it seems the all the sames).........

 

everything is fine to my server now this is the only problem that i am facing now with this......

 

i hope anyone of you here know the answer to this problem......

Edited by dfabsgwapings
Posted (edited)

check your item_db.txt

25009,Large_Red_Wing,Large Red Wing,5,0,,0,,0,,1,0xFFFFFFFF,7,2,4096,,1,0,873,{bonus bCriticalRate,40; bonus bCritAtkRate,25; bonus bLuk,20; },{},{}

make sure it's same as accessoryid.lua

ACCESSORY_LARGE_RED_WING = 873,

if you're using new renewal

check your iteminfo.lua

make sure your item is

ClassNum = 873

if you're alt Q and you got error, I think you put wrong picture at

texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

make sure there's LARGE_RED_WING.bmp not _LARGE_RED_WING.bmp (no _ mark)

Edited by jigsam
Posted

ok guys thanks to all of people that helped me. i finally solved my problems.. all is correct except of one thing... i was just put a wrong number for its location... now i have known how to put custom equips.. thanks for all the help people

 

PROBLEM SOLVED.......................

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...