Page 1 of 1

Server Level Cap?

PostPosted: Thu Apr 17, 2014 4:08 am
by Rfraley21
Is it possible, rather i'm sure it is, to add a server level cap? Meaning if I wanted the cap to be level 25 instead of level 50 is this possible to do within a script somewhere I have been wrecking my brain over this for several days any help in the right direction would be appreciated.

Re: Server Level Cap?

PostPosted: Thu Apr 17, 2014 5:04 am
by Leodagan
I think this would need a custom "GamePlayer" Class

something like
Code: Select all
public class GamePlayerMaxLevel25 : GamePlayer { public override MaxLevel { get { return 25; } } [...]Override constructors[...] }
Then there is a ServerProperty for default GamePlayer Class
Code: Select all
/// <summary> /// What class should the server use for players /// </summary> [ServerProperty("system", "player_class", "What class should the server use for players", "DOL.GS.GamePlayer")] public static string PLAYER_CLASS;
You can edit this from database...

Re: Server Level Cap?

PostPosted: Thu Apr 17, 2014 6:54 am
by Rfraley21
Thank you for the help I appreciate it I will give this a shot :)