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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..