Page 3 of 3
Re: Title for new chars
Posted: Fri Jan 09, 2015 6:36 pm
by Attila
no help here anymore on forum

(
Re: Title for new chars
Posted: Fri Jan 09, 2015 7:33 pm
by UnAfraid
Attila wrote:HappyLDE wrote:Find the line setTitle that already exists in that function and replace it.

I have done what you say here
and it work but if i now changed my tittile en i relog and come back online
i got the tittle back for new chart .
how can i make it if you change the title by your self and keep it after relog
can somewone help me please
FallenAngel's patch does exactly that.
Re: Title for new chars
Posted: Fri Jan 09, 2015 9:21 pm
by Attila
If i put only this 2 lines to
java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
// Set custom title
player.setTitle("Test");
and save and make new builld.
and login to server new charts dond get the title Test
if i remove the 2 line i put to L2PcInstance.java
and go to the line setTitle that already exists at L2PcInstance.java and replace it
with:
// Set custom title
player.setTitle("Test");
and make new build
en login to server and make a new chart he get the title with Test (nice)
but if change the title Test in game with a different title
and make a relog to server i got the title Test back ?
Instead he keeps his new title.
can it be made so that you only get the title Test till lvl 40 and then no longer
Sorry for my bad English
hope you understands what I mean
Re: Title for new chars
Posted: Fri Jan 09, 2015 9:34 pm
by UnAfraid
That method is called only when character is created.
So any changes will be used instead of this title because this method won't be used for any other actions but char creation.
Re: Title for new chars
Posted: Sat Jan 10, 2015 9:23 am
by Attila
UnAfraid wrote:That method is called only when character is created.
So any changes will be used instead of this title because this method won't be used for any other actions but char creation.
And how do i make it That method for only when character is created to giff title
can you help me.
Re: Title for new chars
Posted: Sat Jan 10, 2015 7:20 pm
by UnAfraid
The patch above is doing exactly that
Topic locked i won't repeat myself 100 times because u don't read what i say.