Page 1 of 1

[Question] - ServerListType

Posted: Fri Jan 17, 2014 11:24 am
by Cresceus
L2J Revision Number: 6345
L2JDP Revision Number: 10122

Hi,

may someone tell me how to set the Server-Type in the General.properties?


This is my current setting in General.properties:

Code: Select all

 # Setting for serverList# Displays [] in front of server name on character selection# Default: FalseServerListBrackets = True # Displays server type next to the server name on character selection.# Notes:#   Accepted Values: Normal, Relax, Test, NoLabel, Restricted, Event, Free# Default: NormalServerListType = Test # Displays server minimum age to the server name on character selection.# Notes:#   Accepted values: 0, 15, 18# Default: 0ServerListAge = 15 
And this is how it looks like:
Image


Regards

Re: [Question] - ServerListType

Posted: Mon Jan 20, 2014 3:21 pm
by Cresceus
Noone is using ServerListTypes?

Re: [Question] - ServerListType

Posted: Mon Jan 20, 2014 8:25 pm
by snacks
i think on interlude time if you put test server only clients with l2.ini from test server could see the serve, or something like that. Never used this option but could be problem with packet from server and wrong client version.

Re: [Question] - ServerListType

Posted: Tue Jan 21, 2014 9:08 am
by Cresceus
Mhm mhm mhmm... Ok, thanks! (;

Re: [Question] - ServerListType

Posted: Mon Feb 10, 2014 1:43 am
by decarvk
with restricted player can't create new character too.

other never tested.

Re: [Question] - ServerListType

Posted: Mon Feb 10, 2014 9:57 am
by BiggBoss
The server type is not setted by a bug in Config.java:

[java] switch (cType.trim().toLowerCase())            {                case "Normal":                    tType |= 0x01;                    break;                case "Relax":                    tType |= 0x02;                    break;                case "Test":                    tType |= 0x04;                    break;                case "NoLabel":                    tType |= 0x08;                    break;                case "Restricted":                    tType |= 0x10;                    break;                case "Event":                    tType |= 0x20;                    break;                case "Free":                    tType |= 0x40;                    break;                default:                    break;            } [/java]

As you see, it makes the current type to check as lowerCase, but case tags contains upper case letters.

Re: [Question] - ServerListType

Posted: Tue Feb 11, 2014 12:20 pm
by UnAfraid
BiggBoss wrote:The server type is not setted by a bug in Config.java:

[java] switch (cType.trim().toLowerCase())            {                case "Normal":                    tType |= 0x01;                    break;                case "Relax":                    tType |= 0x02;                    break;                case "Test":                    tType |= 0x04;                    break;                case "NoLabel":                    tType |= 0x08;                    break;                case "Restricted":                    tType |= 0x10;                    break;                case "Event":                    tType |= 0x20;                    break;                case "Free":                    tType |= 0x40;                    break;                default:                    break;            } [/java]

As you see, it makes the current type to check as lowerCase, but case tags contains upper case letters.
I notice that there is a flag to hide server retail is using it atm.
0x00 0x01 0x00 0x00
Image

Re: [Question] - ServerListType

Posted: Sat Aug 02, 2014 2:45 am
by Hyrelius
Wouldn't it be enough to just check ignoring the case? If it is, I'll check it and uhm.. I'd offer a diff file thereafter, but I am still on an old(er) revision so it probably won't help much?