Jump to content
  • 0

Enchant Message


Question

Posted

Any1 know how to make a message like this?

 

Mnfbr.png

 

it shows the rate for enchant and penality if item fail when u put the item for enchant...

 

for l2jserver gracia final

 

thanks

Recommended Posts

  • 0
Posted

search on RequestEnchantItem.java , i think is here "activeChar.sendPacket(new EnchantResult(item.getEnchantLevel()));" but this is from interlude ;)

  • 0
Posted

Any1 know how to make a message like this?

 

Mnfbr.png

 

it shows the rate for enchant and penality if item fail when u put the item for enchant...

 

for l2jserver gracia final

 

thanks

Who knows  ::)

  • 0
Posted

i dont get what u mean ;s

 

If you don't know what he means you shouldn't be attempting this stuff then.

Open the file 'RequestEnchantItem.java' and see if theres anything sending a packet of information, if not you can make it do so.

  • 0
Posted

Where i can find this RequestEnchantItem.java ?

 

I don't know off the top of my head but I assume somewhere in or around the client packets package. If you still can't find it, CTRL + F.

  • 0
Posted

If you don't know what he means you shouldn't be attempting this stuff then.

Open the file 'RequestEnchantItem.java' and see if theres anything sending a packet of information, if not you can make it do so.

there are many send packets but what should i do for add a message like this?...

  • 0
Posted

there are many send packets but what should i do for add a message like this?...

 

mx3w4.jpg

Start tracin'. Or this:

 

		if (id < 370 || id > 391 || level < 1 || level > 3)
	{
		activeChar.sendMessage("Usage: //add_clan_skill <skill_id> <level>");
		showMainPage(activeChar);
		return;
	}

  • 0
Posted

mx3w4.jpg

Start tracin'. Or this:

 

		if (id < 370 || id > 391 || level < 1 || level > 3)
	{
		activeChar.sendMessage("Usage: //add_clan_skill <skill_id> <level>");
		showMainPage(activeChar);
		return;
	}

dude i know i can make a message but i need it to check the rate and show the penality depending of the scroll/enchant number cuz atm i have any enchant rate for any enchant value/scroll

  • 0
Posted

dude i know i can make a message but i need it to check the rate and show the penality depending of the scroll/enchant number cuz atm i have any enchant rate for any enchant value/scroll

 

So concatenate that information into a string and send it to the player as a message.

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock