Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

/ Guide]Adding stuff when making char

Custom Title Activated
Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Hmmm.. Maybe this should be in the guide section..
If it is, tell me, I'll delete it and put it in the guide section.

Go to MapleCharacter.java
Its in net\sf\odinms\client

Find this line
Code:
	public static MapleCharacter getDefault(MapleClient client) {
		MapleCharacter ret = new MapleCharacter();
		ret.client = client;
		ret.hp = 50; //Current Hp
		ret.maxhp = 50; //Max Hp
		ret.mp = 50; //Current Mp
		ret.maxmp = 50; //Max Mp
		ret.map = null;
		// ret.map = ChannelServer.getInstance(client.getChannel()).getMapFactory().getMap(0);
		ret.exp.set(0);
		ret.gm = false; //Is Gm or not. True for everyone is a gm
		ret.job = MapleJob.BEGINNER; //Starting Jobs
		ret.meso.set(0); //Start mesos
		ret.level = 1; //Starting level
		ret.pvpdeaths = 0;
        	ret.pvpkills = 0;
		ret.accountid = client.getAccID();
		ret.buddylist = new BuddyList(25); //Buddy List Slot Max = 50
		ret.nxcash = 0; //Nx Cash
		ret.maplepoints = 0; //Maple Points
		ret.gifttokens = 0; //Gift Tokens
		ret.incs = false;

You can change it to anything you want
Not much of a release though.
But it may help noobs.
 
Master Summoner
Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: [Release? / Guide]Adding mesos / cash when making char

Yeah, that's a line alright.

And guides belong in guide section, whee.
 
Initiate Mage
Joined
Jun 1, 2008
Messages
85
Reaction score
0
Re: [Release? / Guide]Adding mesos / cash when making char

Very nice. Thanks ^^
 
Initiate Mage
Joined
May 12, 2008
Messages
87
Reaction score
0
Re: [Release? / Guide]Adding mesos / cash when making char

very usefull thanks alot
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
118
Reaction score
0
Re: [Release? / Guide]Adding stuff when making char

lol helpful :D But I dont know if i want to edit anything :p
 
Initiate Mage
Joined
May 23, 2008
Messages
15
Reaction score
0
Re: [Release? / Guide]Adding stuff when making char

It's for editing characters that are to be made. Like I edited so all characters you make from then on will begin the game with 500 hp, or something like that. I think...
 
ツ
Member
Joined
Apr 12, 2008
Messages
729
Reaction score
28
Re: [Release? / Guide]Adding stuff when making char

Uhh sry dont completely understand what this does?

Those are the values set for when you create a char.

So say you change:

ret.maxhp = 50; //max hp

to:

ret.maxhp = 1000; //max hp

When you create a char, your char would start with a max hp of 1000, instead of the regular 50. Just edit the values you want in there to customize char create.
 
Initiate Mage
Joined
Jun 24, 2008
Messages
63
Reaction score
7
Re: [Release? / Guide]Adding stuff when making char

Very nice, good for making players start with nx.
 
Back
Top