Jump to content
  • 0

custom item


omimo

Question


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

http://supportmii.co.../JudasBible.pdf

i was following this guide about custom item,

and whenver i type the item number it always lands on this thing

NXncR.jpg

how can i fix this?

Edited by omimo
Display Image using [IMG] Tag
Link to comment
Share on other sites

11 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:  

So you're saying that when you use the command @item, all items you spawn seem to appear on the ground instead of your inventory forcing you to pick the item up to obtain it?

If this is so, please copy-paste your source code in a codebox here in this thread. You can find the source code for @item under src/atcommand.c.

Edited by Syouji
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 mean the custom i'm following on judas guide is Black_Fairy_Wings and i set it whatever the guide says, the problem is whenever i try to type @item 18526(the id that i set) it appears always like in the picture even thou i followed everything on the guide, i don't know why that happens.

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:  

Oh, well that changes everything xD. Ignore what I wrote in my previous post as I was unsure what you were trying to say. So the image for your item pops up incorrectly. Take a look into your data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/item/Black_Fairy_Wings.bmp. That image is responsible for how the item will present itself in your inventory. Make sure it's image is correct to the sprite.

If your collection image is incorrect as well, check data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/collection/Black_Fairy_Wings.bmp

When you drop the item on the ground check your data/sprite/¾ÆÀÌÅÛ/Black_Fairy_Wings.spr. This sprite will display the image of the item on the ground. So make sure you have the proper sprite.

Edited by Syouji
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:  

sir would you like me to upload my data folder and check if i done it correctly?

sir for this folder i'm practicing on dark spirit, i hope you can follow my step.

File: http://www.mediafire.com/?86wwp65a36z9358

thank you

regarding to your post, yes i've done that but still i'm encountering the same problem. i hope you can help me with my problem there's the data folder i have in my server.. thank you

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:  

Ill take a look into that. In the meantime can you tell me what your item_db entry is for this item? I want the full line of code for just this custom item.

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:  

in my item_db2:

18526,_Dark_Spirit,Dark Spirit,5,,0,10,,10,,0,0xFFFFFFFFF,7,2,512,,1,1,3000,{ bonus bAllStats,100;bonus bIntravision,0; },{},{}

Ok sir thank you for the help.

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:  

So I noticed a few things.

1. idnum2itemresnametable & num2itemresnametable: You have 2 instances of the same item ID:

- 18526#phoenixflame# -> Why is this phoenixflame? It should be Dark_Spirit.

- 18526#ÀÔ¿¡¹«´Â¸·´ë»çÅÁ# -> Why is there another instance of the same item ID?

2. idnum2itemdisplaynametable & num2itemdisplaytable: You have 2 instances of the same item ID:

- 18526#...# -> Why is this empty?

- 18526#phoenixflame# -> Why do you have pheonixflame? It should be Dark Spirit.

3. idnum2itemdesctable & num2itemdesctable: Looks fine

4. accessoryid.lua: Here are the entrances of two customs (Both look fine)

ACCESSORY_Dark_Spirit = 3000,

ACCESSORY_phoenixflame= 2000,

5. accname.lua: Here are the entrances of two customs (Both look fine)

[ACCESSORY_IDs.ACCESSORY_Dark_Spirit] = "_Dark_Spirit",

[ACCESSORY_IDs.ACCESSORY_phoenixflame] = "_phoenixflame",

6. Collection BMP

- Labelled correctly as Dark_Spirit.bmp (Matches your accessory & accname entrances)

7. Item BMP

- Labelled correctly as Dark_Spirit.bmp (Matches your accessory & accname entrances)

8. Sprites

- Drop sprites are fine

- Equip sprites for both sexes are fine

Conclusion

- You have a conflict occuring in your idnum2itemresnametable & num2itemresnametable. What you wrote in those files are incorrect with accordance to what that item ID is really connected to. Therefore put 18526#Dark_Spirit# in your idnum2itemresnametable & num2itemresnametable and make sure NO other entrance is using the same ID. You have the same case occuring in your idnum2itemdisplaynametable & num2itemdisplaynametable. Only put 18526#Dark Spirit# as the item entrance for item ID 18526.

As for your view ID of 3000 for Dark_Spirit, that will ONLY work if you hexed your client using weediff patcher to enable you to exceed the default limit of 2000. So keep that in mind. Other than that, what I noted should be the solution to your problem.

Edited by Syouji
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:  

yep syougi is correct. follow his instructions and you should be fine

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:  

[

1. idnum2itemresnametable & num2itemresnametable: You have 2 instances of the same item ID:

- 18526#phoenixflame# -> Why is this phoenixflame? It should be Dark_Spirit.

- 18526#ÀÔ¿¡¹«´Â¸·´ë»çÅÁ# -> Why is there another instance of the same item ID?

2. idnum2itemdisplaynametable & num2itemdisplaytable: You have 2 instances of the same item ID:

- 18526#...# -> Why is this empty?

- 18526#phoenixflame# -> Why do you have pheonixflame? It should be Dark Spirit.

] --regarding to your post, i guess i changes Dark_Spirit to phoenixflame, thats why.

i see i never knew that in my idnum2itemresnametable & num2itemresnametable has a duplicate copy of the ID of the item, that's why i have occurring problems.

and yes, sir it finally works. sir last thing, ahm i try to equip it on and but whenever i try to view my equips (alt q) the client crashes down and gives me this error:

Module Name: D:ro2010-07-21aRagexeRE Patched.exe

Time Stamp: 0x4c46520f - Wed Jul 21 09:49:03 2010

Exception Type: 0xc0000005

0x0041d8a3 D:ro2010-07-21aRagexeRE Patched.exe

0x004710e9 D:ro2010-07-21aRagexeRE Patched.exe

0x0047182f D:ro2010-07-21aRagexeRE Patched.exe

0x004fbb64 D:ro2010-07-21aRagexeRE Patched.exe

0x00505175 D:ro2010-07-21aRagexeRE Patched.exe

0x005a1bb9 D:ro2010-07-21aRagexeRE Patched.exe

0x005a18d6 D:ro2010-07-21aRagexeRE Patched.exe

0x007008d3 D:ro2010-07-21aRagexeRE Patched.exe

0x00714e0d D:ro2010-07-21aRagexeRE Patched.exe

0x00010000

eax: 0x00000000 ebx: 0x0994e0e0

ecx: 0x00000000 edx: 0x0396a8e0

esi: 0x0012f95c edi: 0x00000000

ebp: 0x00010000 esp: 0x0012ff12

stack 0012ff12 - 00130312

0012FF12 : 00 00 00 00 00 00 00 00 00 00 00 A0 FD 7F 05 00

0012FF22 : 00 C0 68 22 2A 00 00 00 00 00 44 00 00 00 28 CD

0012FF32 : 2C 00 C0 BD 2C 00 38 12 2A 00 00 00 00 00 00 00

0012FF42 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012FF52 : 00 00 00 00 00 00 01 08 00 00 01 00 00 00 00 00

0012FF62 : 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 14 FF

0012FF72 : 12 00 B8 EE 12 00 C4 FF 12 00 50 04 71 00 B8 AF

0012FF82 : 74 00 00 00 00 00 94 FF 12 00 74 11 D9 75 00 A0

0012FF92 : FD 7F D4 FF 12 00 F5 B3 8A 77 00 A0 FD 7F CB D3

0012FFA2 : 97 77 00 00 00 00 00 00 00 00 00 A0 FD 7F 00 00

0012FFB2 : 00 00 00 00 00 00 00 00 00 00 A0 FF 12 00 00 00

0012FFC2 : 00 00 FF FF FF FF 4D D7 86 77 87 29 0F 00 00 00

0012FFD2 : 00 00 EC FF 12 00 C8 B3 8A 77 2D 4D 71 00 00 A0

0012FFE2 : FD 7F 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012FFF2 : 00 00 2D 4D 71 00 00 A0 FD 7F 00 00 00 00 41 63

00130002 : 74 78 20 00 00 00 01 00 00 00 20 30 00 00 DC 00

Launch Info

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

Job : Novice

sir thank you for the big help..

and sir judas for the guide you made.

THANK YOU

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:  

hmm make a new account with gm privledges, always test with @changelook "custeomitem#" no quotes.

and alt q and see if it errors. Make a diff client again and don't tick the ignore "file errors", now we should see what's erroring us.

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:  

sir judas, i think i manage how to fix it.

thank you sir

Edited by omimo
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...