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!

Shootsource full reborn system

Newbie Spellweaver
Joined
Dec 21, 2009
Messages
43
Reaction score
9
open up MapleCharacter.java

find
private int fame

under it
private int reborns;

find
ret.maxmp = rs.getInt("maxmp");

under it
ret.reborns = rs.getInt("reborns");

find
messengerposition = ?,

and beside it write reborns = ?,

find messengerposition, beside it write reborns,

and scroll right no the end and add , ?

find
ps.setInt(37, cygnusLinkId);

and below it put
ps.setInt(38, reborns);

and the number must be continue example

ps.setInt(37, cygnusLinkId);
ps.setInt(38, reborns);
ps.setInt(39, watchedCygnusIntro ? 1 : 0);

and more

next thing you need to do is find

public int getFame() {
return fame;
}

below it
public int getReborns() {
return reborns;
}

public void doReborn() {
setReborns(getReborns() + 1);
List<Pair<MapleStat, Integer>> reborn = new ArrayList<Pair<MapleStat, Integer>>(4);
setLevel(1);
setExp(0);
setJob(MapleJob.BEGINNER);
updateSingleStat(MapleStat.LEVEL, 1);
updateSingleStat(MapleStat.JOB, 0);
updateSingleStat(MapleStat.EXP, 0);
}

public void doCygnusRebirth() {
setReborns(getReborns() + 1);
List<Pair<MapleStat, Integer>> reborn = new ArrayList<Pair<MapleStat, Integer>>(4);
setLevel(1);
setExp(0);
setJob(MapleJob.NOBLESSE);
updateSingleStat(MapleStat.LEVEL, 1);
updateSingleStat(MapleStat.JOB, 1000);
updateSingleStat(MapleStat.EXP, 0);
}

public void doReborn(boolean cygnus) {
setReborns(getReborns() + 1);
//List<Pair<MapleStat, Integer>> reborn = new ArrayList<Pair<MapleStat, Integer>>(4); I guess this is just here because it's kewl.
setLevel(1);
setExp(0);
setJob(cygnus ? MapleJob.NOBLESSE : MapleJob.BEGINNER);
updateSingleStat(MapleStat.LEVEL, 1);
updateSingleStat(MapleStat.JOB, cygnus ? 1000 : 0);
updateSingleStat(MapleStat.EXP, 0);
}

open up playercommands.java

} else if (splitted[0].equalsIgnoreCase("@rebirth")) {
if (player.getJob().isA(MapleJob.NOBLESSE)) {
mc.dropMessage("Cygnus Knights must use @cygnusrb to rebirth.");
} if (player.getLevel() < 200) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doReborn();
}
}

} else if (splitted[0].equalsIgnoreCase("@cygnusrb")) {
if (player.getJob().isA(MapleJob.BEGINNER)) {
mc.dropMessage("Regular Players must use @rebirth to rebirth.");
} if (player.getLevel() < 120) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doCygnusRebirth();
}
}


thats all credit by me and some of the code release by x-tasis
Tested And Working 100%
 
Last edited:
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
Use PHP tags.
This works most odin repacks>_>
 
Skilled Illusionist
Joined
Jul 28, 2009
Messages
339
Reaction score
200
Code:
} else if (splitted[0].equalsIgnoreCase("@rebirth")) {
if (player.getJob().isA(MapleJob.NOBLESSE)) {
mc.dropMessage("Cygnus Knights must use @cygnusrb to rebirth.");
} if (player.getLevel() < 200) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doReborn();
}
}

} else if (splitted[0].equalsIgnoreCase("@cygnusrb")) {
if (player.getJob().isA(MapleJob.BEGINNER)) {
mc.dropMessage("Regular Players must use @rebirth to rebirth.");
} if (player.getLevel() < 200) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doCygnusRebirth();
}
}
should be
Code:
} else if (splitted[0].equalsIgnoreCase("@rebirth")) {
if (player.getJob().isA(MapleJob.NOBLESSE)) {
mc.dropMessage("Cygnus Knights must use @cygnusrb to rebirth.");
} if (player.getLevel() < 200) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doReborn();
}
}

} else if (splitted[0].equalsIgnoreCase("@cygnusrb")) {
if (player.getJob().isA(MapleJob.BEGINNER)) {
mc.dropMessage("Regular Players must use @rebirth to rebirth.");
} else if (player.getLevel() < 200) {
mc.dropMessage("You have to be at least level 200 to rebirth.");
}
else {
c.getPlayer().doCygnusRebirth();
}
}
 
Newbie Spellweaver
Joined
Dec 21, 2009
Messages
43
Reaction score
9
So... it's the new cool thing to release things from sources that you didn't code/edit. Nice to know.

shootsource don't have reborn system. i release this code for those who have shootsource.
 
Last edited:
Newbie Spellweaver
Joined
Dec 18, 2009
Messages
14
Reaction score
0
with the tittle i actually thought you released shooot source lol nice release i wish i had shooot source
 
Newbie Spellweaver
Joined
Dec 21, 2009
Messages
43
Reaction score
9
What the duck?

How can you release a playercommand for a source which doesn't even have playercommands nor mc.dropMessage, you are an up on top leecher.

you can add playerscommands, i have added it..
 
Back
Top