Page 1 of 1

[HELP] "You use production - clan / transfer" removal

Posted: Fri Feb 19, 2010 12:09 am
by m4kk1
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 1434
L2JDP Revision Number: version=${l2jdp.revision} :$

I know it's epilogue support section and this is interlude, but i've been seeking it there as well to find it & remake /copy, but no success. I think question is quite simple, don't know about the answer, tho.

When a player reaches an occupation change (and makes it) he gets some reward or whatever you set and there's also this animation which shows upon him. I've noticed it's made as a buff (5103) which is being casted whenever it's class changes. Since it's still not fully supported as i've read, i'm asking where can I remove this animation from happening ? I've been checking all .java files to find any trace leading to it, but I simply can't get it. What I like is to avoid this message, mainly :

You use production - clan / transfer

So if this includes removing animation with it, fine.

Thanks for your answers

Re: [HELP] "You use production - clan / transfer" removal

Posted: Fri Feb 19, 2010 7:37 am
by janiii
what about just search for "5103" in the gameserver sources? ;)

L2VillageMasterInstance - increase clan level
L2PcInstance - set class id

Re: [HELP] "You use production - clan / transfer" removal

Posted: Fri Feb 19, 2010 10:12 am
by m4kk1
Thanks janiii !

I did that , but I explained myself wrong. I actually did look at both sources, no clue how I didn't see it.. Anyway, I've managed to remove for class ID, but I don't get part at :

else if (actualCommand.equalsIgnoreCase("increase_clan_level"))
{
if (!player.isClanLeader())
{
player.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT));
return;
}
player.getClan().levelUpClan(player);

If I simply comment last line, clan won't get lvl, therefore levelUpClan function is somewhere else where doCast / 5103 is ran , which I of course can't find -.-

Re: [HELP] "You use production - clan / transfer" removal

Posted: Fri Feb 19, 2010 10:15 am
by janiii
ah, sorry, i did not notice that this post is in legacy server support. but just searching for the skill id in the gameserver sources should find all occurences. or try to search also in datapack scripts folder.

Re: [HELP] "You use production - clan / transfer" removal

Posted: Fri Feb 19, 2010 10:26 am
by m4kk1
Alright, no biggie, thanks for your support ^^


p.s.: located levelUpClan in l2Clan.java, still searching for skill, ha ha.
p.s.s : clan increase doesn't even show the animation, that's why i couldn't locate it -.-

- closed -