-
Shootsource full reborn system
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();
}
}
Quote:
thats all credit by me and some of the code release by x-tasis
Quote:
Tested And Working 100%
-
Re: Shootsource full reborn system
Use PHP tags.
This works most odin repacks>_>
-
Re: Shootsource full reborn system
lol can u put this in codes plz
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
MadaraUchiha
lol can u put this in codes plz
what u mean?
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
PandemicMS
what u mean?
He means [CODE] Yum [ /CODE]
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
ItzAmazing
He means [CODE] Yum [ /CODE]
Ouhhh like a php yeahh
-
Re: Shootsource full reborn system
So... it's the new cool thing to release things from sources that you didn't code/edit. Nice to know.
-
Re: Shootsource full reborn system
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();
}
}
-
Re: Shootsource full reborn system
wont work since there is NO MC
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
bboy242
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.[COLOR="Silver"]
-
Re: Shootsource full reborn system
with the tittle i actually thought you released shooot source lol nice release i wish i had shooot source
-
Re: Shootsource full reborn system
does this work in odin resources? o.o
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
DCDUDE
does this work in odin resources? o.o
Nope..
---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------
Quote:
Originally Posted by
iEviLx3
with the tittle i actually thought you released shooot source lol nice release i wish i had shooot source
are you a coder???
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
ImJours
wont work since there is NO MC
Its not hard to change mc.dropMessage to player.message
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
ItsKevin
Its not hard to change mc.dropMessage to player.message
Ouh i have added mc.dropMessage in my source
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
PandemicMS
shootsource don't have reborn system. i release this code for those who have shootsource.[COLOR="Silver"]
Shootsource also doesn't have player commands but mehh, what in the hell do I know.
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
ItzAmazing
He means [CODE] Yum [ /CODE]
is that ur name?
-
Re: Shootsource full reborn system
What the fuck?
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.
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
deagan
What the fuck?
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..
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
PandemicMS
you can add playerscommands, i have added it..
Hey, release custom xml boss next :O, for shootsource.
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
ImJours
wont work since there is NO MC
So don't use message callback.
-
Re: Shootsource full reborn system
shoot source is a waste of time and money, they dont even have the simple dc fix yet, still have 1:5 dc ratio lol. and its soo easy to patch.
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
resinate
shoot source is a waste of time and money, they dont even have the simple dc fix yet, still have 1:5 dc ratio lol. and its soo easy to patch.
Only you d/c.
As Generic said but didn't exposed, he messed up the regular with cygnus. I'll works, just not as expected.
-
Re: Shootsource full reborn system
Hmm, please use php tags, it strains my eyes to look at boring text.
-
Re: Shootsource full reborn system
Quote:
Originally Posted by
X-Tasis
Only you d/c.
As Generic said but didn't exposed, he messed up the regular with cygnus. I'll works, just not as expected.
Cygnus creation, skills and jobs works 100 % in shootsource, ahh i love shoot source babey, BTW X-tasis nice sig i love it lol