Skip to content

can anyone help me ??

Featured Replies

hey dudes how i can write a new stat in that CharInfo ?

 

http://imageshack.us/photo/my-images/685/error1f.jpg/

 

what java files i need for that info ? thanks

What do you mean? To change starting stats?

package net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

 

However, what kind of stat do you want to include? You can add whatever you want but I don't think you're going to be able to show it in that window.

  • Author

ye i wanna add a little stat like legend :P

 

i will that the player can see there as example, how long he will be legend .

 

that must be shown there please help thanks :D

What you want to do is possible on the server-side but showing it to the user is a completely different story.

 

I'm not sure if it's possible to modify the actual content in the Lineage 2 GUI windows. You can change the textures but I don't know if you can for example add another element on here to represent your extra value. You need to head over to the client section and ask those guys.

What you want to do is possible on the server-side but showing it to the user is a completely different story.

 

I'm not sure if it's possible to modify the actual content in the Lineage 2 GUI windows. You can change the textures but I don't know if you can for example add another element on here to represent your extra value. You need to head over to the client section and ask those guys.

And dont forget that you will need to modify the packets that you send to the client with the new info.

But you can allways do an extra htm window that can me opened with custom command (.getLegendTime)

Honestly another option is adding something like this in your L2PcInstance

 

private int legendarywhatevervalue;
public int getlegendarywhatevervalue() { return this.legendarywhatevervalue; }

Then just write a jython quest or something that'll simply call the players get function to display the value. Or you can simply just use a value that's already there.

  • Author

without client what need to do in client and server what files i need to edit?

 

thanks

I think you should take a step back. I don't think you understand the difference between the client and server. You should learn that first.

If you want to show a new variable in char window, I repeat, you need client edit. Another mean is to use one of the existing value and replace it, but you can change only values, not categories titles.

 

About client edit, I strictly got no clue what you need, and that's not the good section to ask for it. Go on client section.

 

About values themselves, you have to edit CharInfo packet.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.