l2redkiller Posted May 9, 2012 Share Posted May 9, 2012 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 Quote Link to comment Share on other sites More sharing options...
0 Dulens. Posted May 9, 2012 Share Posted May 9, 2012 What do you mean? To change starting stats? Quote Link to comment Share on other sites More sharing options...
0 dpbBryan Posted May 9, 2012 Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
0 l2redkiller Posted May 9, 2012 Author Share Posted May 9, 2012 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 Quote Link to comment Share on other sites More sharing options...
0 dpbBryan Posted May 9, 2012 Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
0 adenaman Posted May 9, 2012 Share Posted May 9, 2012 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) Quote Link to comment Share on other sites More sharing options...
0 Tryskell Posted May 9, 2012 Share Posted May 9, 2012 You simply can't without editing client. Quote Link to comment Share on other sites More sharing options...
0 dpbBryan Posted May 9, 2012 Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
0 l2redkiller Posted May 9, 2012 Author Share Posted May 9, 2012 without client what need to do in client and server what files i need to edit? thanks Quote Link to comment Share on other sites More sharing options...
0 dpbBryan Posted May 9, 2012 Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
0 Tryskell Posted May 9, 2012 Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
Question
l2redkiller
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
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
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.