Jump to content

Question

Posted

Hey,
Would it be viable to create a code that changes a weapon's grade from lets say D grade to C grade after enchanting it to +12? If yes would anyone mind sharing some ideas how to implement such thing? I know it sounds weird but it definitely adds a twist to what I am trying to achieve behind this idea :)
Thanks in advance.

4 answers to this question

Recommended Posts

  • 0
Posted

1) Create a copy of your item with different ID and Grade

2) ItemInfo.java (and all those packets that send item ID) if (ench > 12) send the new ID

  • 0
Posted

Thanks for the quick reply!

Decent idea there !

Correct me if I am wrong but wouldn't this return a new item id enchanted to +0?

 

 

You don't have to re-create the item server side, just send fake data to the client via ItemInfo and InventoryUpdate packets

  • 0
Posted

Oh sry I misunderstood then :P
Makes sense then but I've got little to no knowledge at all on how client and server packets work. Could you give me a specific example on what to write and where? Thanks again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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