[Question] - ServerListType

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
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

[Question] - ServerListType

Post 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
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: [Question] - ServerListType

Post by Cresceus »

Noone is using ServerListTypes?
snacks
Posts: 26
Joined: Tue Jan 29, 2008 3:51 pm

Re: [Question] - ServerListType

Post 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.
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: [Question] - ServerListType

Post by Cresceus »

Mhm mhm mhmm... Ok, thanks! (;
decarvk
Posts: 15
Joined: Sat May 11, 2013 10:14 pm

Re: [Question] - ServerListType

Post by decarvk »

with restricted player can't create new character too.

other never tested.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: [Question] - ServerListType

Post 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.
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: [Question] - ServerListType

Post 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
Image
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: [Question] - ServerListType

Post 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?
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
Post Reply