SQL 20101111update

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Starter
Posts: 484
Joined: Sat Jan 23, 2010 4:42 pm

SQL 20101111update

Post by Starter »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4430
L2JDP Revision Number: 7672

May I ask for what this sql update is for:

Code: Select all

UPDATE `characters` SET `base_class`='126' WHERE `base_class` IN (135,136);
I have promises to keep and miles to go before I sleep.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: SQL 20101111update

Post by _DS_ »

Remove base class inspectors.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Starter
Posts: 484
Joined: Sat Jan 23, 2010 4:42 pm

Re: SQL 20101111update

Post by Starter »

_DS_ wrote:Remove base class inspectors.
But if I rember right it can be still chosen via the class master as base-class or am I wrong?
I have promises to keep and miles to go before I sleep.
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: SQL 20101111update

Post by lion »

it's fixed in classmaster
Starter
Posts: 484
Joined: Sat Jan 23, 2010 4:42 pm

Re: SQL 20101111update

Post by Starter »

lion wrote:it's fixed in classmaster
A player showed me a screenshot lateley where he could still choose inspector as a base-class but I will check it myself soon.

Thanks all replys and hopefully I didnt waste your time.^^

Update: Tested it myself and it seems to be really fixed. Wierd..

Update²: Now I know why the player could show me that he could still take the inspector class as base-class. He has the 2 needed subclasses in order to go for the inspector class so its possible to take the class again as base-class. oO
I have promises to keep and miles to go before I sleep.
hanwik
Posts: 11
Joined: Thu Nov 08, 2007 2:10 am
Location: The Netherlands
Contact:

Re: SQL 20101111update

Post by hanwik »

you are right, it isn't fixed properly, should only be available as 3rd subclass, nothing more
--no server advertising on signatures--
Image
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: SQL 20101111update

Post by _DS_ »

You can address questions to Gnacik :) My point of view is not changed: classmasters are custom feature and can work in any way we want. If you dont like it - feel free to change.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
hanwik
Posts: 11
Joined: Thu Nov 08, 2007 2:10 am
Location: The Netherlands
Contact:

Re: SQL 20101111update

Post by hanwik »

test server helpers are retail feature...
--no server advertising on signatures--
Image
User avatar
Gnacik
L2j Veteran
L2j Veteran
Posts: 925
Joined: Tue Dec 16, 2008 3:49 pm
Location: Wąchock ٩(̾●̮̮̃̾•̃̾)۶ Polska
Contact:

Re: SQL 20101111update

Post by Gnacik »

try

Code: Select all

Index: java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java===================================================================--- java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java   (wersja 6332)+++ java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java   (kopia robocza)@@ -234,7 +234,7 @@                    final StringBuilder menu = new StringBuilder(100);                    for (ClassId cid : ClassId.values())                    {-                       if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)+                       if (cid == ClassId.inspector && (!player.isSubClassActive() || player.getTotalSubClasses() < 2))                            continue;                        if (validateClassId(currentClassId, cid) && cid.level() == level)                        {@@ -292,8 +292,8 @@        final StringBuilder menu = new StringBuilder(100);        for (ClassId cid : ClassId.values())        {-           if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)-               continue;           +           if (cid == ClassId.inspector && (!player.isSubClassActive() || player.getTotalSubClasses() < 2))+               continue;            if (validateClassId(currentClassId, cid))            {                StringUtil.append(menu, 
Post Reply