ConfigClassMaster [RESOLVED]

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

ConfigClassMaster [RESOLVED]

Post by morfiuz »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision GameServer 2.1(branches):
L2JDP Revision DataPack 2.1(branches):

I am using version CT2.1(branches), I would add this function to my classmaster, someone has a patch or function?

ConfigClassMaster

Code: Select all

# ConfigClassMaster=1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)] # 1st occupation change for 100.000 Adena (item id 57) # 2nd occupation change for 1.000.0000 Adena (item id 57) # 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575) # on 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622) # ConfigClassMaster=1;[];[];2;[];[];3;[];[] # 1st, 2nd, 3rd occupation change for free, without rewards.# ConfigClassMaster=1;[];[];2;[];[]# Allow only first and second change.ConfigClassMaster = 1;[];[];2;[];[];3;[];[] 
Last edited by morfiuz on Sun Aug 14, 2011 9:41 pm, edited 1 time in total.
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: ConfigClassMaster

Post by morfiuz »

I may not explained well.
I use the version CT 1.5 that does not have this configuration, can put, someone has a patch?

ConfigClassMaster :arrow:
# ConfigClassMaster=1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)]
# 1st occupation change for 100.000 Adena (item id 57)
# 2nd occupation change for 1.000.0000 Adena (item id 57)
# 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575)
# on 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622)
# ConfigClassMaster=1;[];[];2;[];[];3;[];[]
# 1st, 2nd, 3rd occupation change for free, without rewards.
# ConfigClassMaster=1;[];[];2;[];[]
# Allow only first and second change.
ConfigClassMaster = 1;[];[];2;[];[];3;[];[]
horato
Posts: 90
Joined: Sun Aug 31, 2008 1:45 am

Re: ConfigClassMaster

Post by horato »

try this
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: ConfigClassMaster

Post by morfiuz »

thx....

I will test and adapt to hellbound ...

it's a light at the end of the tunnel ...


Thank Even
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: ConfigClassMaster

Post by morfiuz »

Thank you!

Working perfectly ...

I made a few changes, and it worked fine...
changed the imports, 3 lines and SQL!

CT1.5 Branches - alterations

Code: Select all

 -package com.l2jserver.gameserver.model.actor.instance;--import java.util.logging.Logger;--import javolution.text.TextBuilder;--import com.l2jserver.Config;-import com.l2jserver.gameserver.ai.CtrlIntention;-import com.l2jserver.gameserver.datatables.CharTemplateTable;-import com.l2jserver.gameserver.datatables.ItemTable;-import com.l2jserver.gameserver.model.base.ClassId;-import com.l2jserver.gameserver.model.quest.Quest;-import com.l2jserver.gameserver.network.SystemMessageId;-import com.l2jserver.gameserver.network.serverpackets.ActionFailed;-import com.l2jserver.gameserver.network.serverpackets.MyTargetSelected;-import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;-import com.l2jserver.gameserver.network.serverpackets.SystemMessage;-import com.l2jserver.gameserver.network.serverpackets.ValidateLocation;-import com.l2jserver.gameserver.templates.chars.L2NpcTemplate; +package net.sf.l2j.gameserver.model.actor.instance;++import java.util.logging.Logger;++import javolution.text.TextBuilder;++import net.sf.l2j.Config;+import net.sf.l2j.gameserver.ai.CtrlIntention;+import net.sf.l2j.gameserver.datatables.CharTemplateTable;+import net.sf.l2j.gameserver.datatables.ItemTable;+import net.sf.l2j.gameserver.model.base.ClassId;+import net.sf.l2j.gameserver.model.quest.Quest;+import net.sf.l2j.gameserver.network.SystemMessageId;+import net.sf.l2j.gameserver.serverpackets.ActionFailed;+import net.sf.l2j.gameserver.serverpackets.MyTargetSelected;+import net.sf.l2j.gameserver.serverpackets.NpcHtmlMessage;+import net.sf.l2j.gameserver.serverpackets.SystemMessage;+import net.sf.l2j.gameserver.serverpackets.ValidateLocation;+import net.sf.l2j.gameserver.templates.L2NpcTemplate;+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; -public final class L2ProfMasterInstance extends L2NpcInstance+public final class L2ProfMasterInstance extends L2FolkInstance -public void onAction(L2PcInstance player, boolean interact)+public void onAction(L2PcInstance player) -else if (interact)+else
SQL Code

Code: Select all

INSERT INTO custom_npc VALUES('90001', 31756, 'Mr. Cat', 0, 'Test Server Helper', 0, 'Monster.cat_the_cat', '9.00', '16.00', '70', 'male', 'L2ProfMaster', 40, '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '80', '120', 'NULL', '0', 0, '0', 'LAST_HIT', 0, 0, 0, 'fighter'),('90002', 31757, 'Miss Queen', 0, 'Test Server Helper', 0, 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'L2ProfMaster', 40, '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '26', '120', 'NULL', '0', 0, '0', 'LAST_HIT', 0, 0, 0, 'fighter'); 
Thank you very Much...
szmjaso
Posts: 16
Joined: Mon Nov 24, 2008 11:52 am

Re: ConfigClassMaster [RESOLVED]

Post by szmjaso »

Thanks.
Post Reply