This might have been released already, im not really sure. If it has, please dont flame, just tryin to help .
In MapleCharacter.java
Find:
Those are the values imput into the DB when you create your character. You can edit them as you like.
For example:
Changing:
To:
Would make everyone on your server start as a GM.
Just in case you didnt know any of them:
Again, this might have already been released, i was just lookin around in the files and saw this, just thought id post it incase someone didnt already know about it.
If you got any questions, ask here and ill try to help as best as i can .
In MapleCharacter.java
Find:
Code:
public static MapleCharacter getDefault(MapleClient client) {
MapleCharacter ret = new MapleCharacter();
ret.client = client;
ret.hp = 50;
ret.maxhp = 50;
ret.mp = 50;
ret.maxmp = 50;
ret.map = null;
// ret.map = ChannelServer.getInstance(client.getChannel()).getMapFactory().getMap(0);
ret.exp.set(0);
ret.gm = false;
ret.job = MapleJob.BEGINNER;
ret.meso.set(0);
ret.level = 1;
ret.pvpdeaths = 0;
ret.pvpkills = 0;
ret.accountid = client.getAccID();
ret.buddylist = new BuddyList(25);
ret.nxcash = 0;
ret.maplepoints = 0;
ret.gifttokens = 0;
ret.incs = false;
Those are the values imput into the DB when you create your character. You can edit them as you like.
For example:
Changing:
Code:
ret.gm = false;
Code:
ret.gm = true;
Just in case you didnt know any of them:
ret.client = client; // Registers your client (ip, macs, ect)
ret.hp = 50; // Starting CURRENT hp
ret.maxhp = 50; // Starting MAX hp
ret.mp = 50; // Starting CURRENT mp
ret.maxmp = 50; // Starting MAX mp
ret.map = null; // Change null to (?? Sum1 help me out?) To allow changing the begining map (below)
// ret.map = ChannelServer.getInstance(client.getChannel()).getMapFactory().getMap(0); // Starting map
ret.exp.set(0); // Starting exp
ret.gm = false; // Is GM on start. (true = yes, false = no)
ret.job = MapleJob.BEGINNER; // Starting job
ret.meso.set(0); // Starting mesos
ret.level = 1; // Starting level
ret.pvpdeaths = 0; // Starting pvp deaths
ret.pvpkills = 0; // Starting pvp kills
ret.accountid = client.getAccID(); // Gives the account an id (ignore this)
ret.buddylist = new BuddyList(25); // Starting buddy capacity
ret.nxcash = 0; // Starting nx cash
ret.maplepoints = 0; // Starting maple points
ret.gifttokens = 0; // Starting gift tokens
ret.incs = false; // I dunno
Again, this might have already been released, i was just lookin around in the files and saw this, just thought id post it incase someone didnt already know about it.
If you got any questions, ask here and ill try to help as best as i can .
Last edited: