[Help] SXMaple animation , skills and stats
1) When bosses seal/poison/curse you , you won't know because there are no animation , you will only know it when you can't attack or etc . So how to fix the animation effect ? O.O
2) I can't up my SP and AP ? I read those post , they say that I have to copy from TetraSEA source and paste it in SXMaple , but everything look the same ? I don see anything different for SP and AP between TetraSEA and SXMaple , so anybody can help me out ?
Re: [Help] SXMaple animation , skills and stats
Ok I know how to fix AP and SP up now.
I figure out that.
-first up AP and AutoAssignAP,you must fix that.
in static void DistributeAP in StatsHandling.java ,at last before end method.
Quote:
chr.setRemainingAp((chr.getRemainingAp() - 1));
c.getSession().write(MaplePacketCreator.updatePlayerStats(statupdate, true, chr.getJob()));
change it to
Quote:
chr.setRemainingAp((chr.getRemainingAp() - 1));
c.getPlayer().updateSingleStat(MapleStat.AVAILABLEAP, c.getPlayer().getRemainingAp());
c.getSession().write(MaplePacketCreator.updatePlayerStats(statupdate, true, chr.getJob()));
and method AutoAssignAP in this file too
you find and resolve about PrimaryStat,SecondaryStat,amount,amount2
Quote:
final int PrimaryStat = (int)slea.readLong();
final int amount = slea.readInt();
final int SecondaryStat = (int)slea.readLong();
final int amount2 = slea.readInt();
At Last SP up
you go to MapleServerHandler.java
and find this
Quote:
case DISTRIBUTE_SP:
If it in comment (//) remove that
:w00t: If doesn't work. I don't know other solution.
Re: [Help] SXMaple animation , skills and stats
Siaoboy u fixed the hp can't heal full problem?
Re: [Help] SXMaple animation , skills and stats
Quote:
Originally Posted by
MrBin
Siaoboy u fixed the hp can't heal full problem?
Try changing job to 900(GM) then change back again, works for me
Re: [Help] SXMaple animation , skills and stats
Hmm , I didn't realised that HP can't heal full . LOL .
Btw ty gutonza (: Will try that tmr (:
Re: [Help] SXMaple animation , skills and stats
Now i cant go in to my server after the legend patch is out. When i click the gateway, it auto dc me. Anyone same prob as me?
Re: [Help] SXMaple animation , skills and stats
How to fix boss can't skill to player prob.
Re: [Help] SXMaple animation , skills and stats
Quote:
Originally Posted by
sia0b0yz
1) When bosses seal/poison/curse you , you won't know because there are no animation , you will only know it when you can't attack or etc . So how to fix the animation effect ? O.O
Hello.
Today, I review about this file MapleCharacter.java
and I know when Character was cursed,poisoned,Silented, or Disease Debuff.
this method will active
Quote:
public void giveDebuff(final MapleDisease disease, MobSkill skill) {
giveDebuff(disease, skill.getX(), skill.getDuration(), skill.getSkillId(), skill.getSkillLevel());
}
public void giveDebuff(final MapleDisease disease, int x, long duration, int skillid, int level) {
if (map != null && !hasDisease(disease)) {
if (!(disease == MapleDisease.SEDUCE || disease == MapleDisease.STUN || disease == MapleDisease.FLAG)) {
if (getBuffedValue(MapleBuffStat.HOLY_SHIELD) != null) {
return;
}
}
final int mC = getBuffSource(MapleBuffStat.MECH_CHANGE);
if (mC > 0 && mC != 35121005) { //missile tank can have debuffs
return; //flamethrower and siege can't
}
if (stats.ASR > 0 && Randomizer.nextInt(100) < stats.ASR) {
return;
}
diseases.put(disease, new MapleDiseaseValueHolder(disease, System.currentTimeMillis(), duration - stats.decreaseDebuff));
client.getSession().write(MaplePacketCreator.giveDebuff(disease, x, skillid, level, (int) duration));
map.broadcastMessage(this, MaplePacketCreator.giveForeignDebuff(id, disease, skillid, level, x), false);
if (x > 0 && disease == MapleDisease.POISON) { //poison, subtract all HP
addHP((int) -(x * ((duration - stats.decreaseDebuff) / 1000)));
}
}
}
public final void giveSilentDebuff(final List<MapleDiseaseValueHolder> ld) {
if (ld != null) {
for (final MapleDiseaseValueHolder disease : ld) {
diseases.put(disease.disease, disease);
}
}
}
But I don't know what happen in that funtion.
Sometime,maybe (i think) It 's bug (maybe bug packet)
this
Quote:
client.getSession().write(MaplePacketCreator.giveDebuff(disease, x, skillid, level, (int) duration));
map.broadcastMessage(this, MaplePacketCreator.giveForeignDebuff(id, disease, skillid, level, x), false);
Can anyone help us ?,please ? T_T
Re: [Help] SXMaple animation , skills and stats
Quote:
Originally Posted by
gutonza
Ok I know how to fix AP and SP up now.
I figure out that.
-first up AP and AutoAssignAP,you must fix that.
in static void DistributeAP in StatsHandling.java ,at last before end method.
change it to
and method AutoAssignAP in this file too
you find and resolve about PrimaryStat,SecondaryStat,amount,amount2
At Last SP up
you go to MapleServerHandler.java
and find this
If it in comment (//) remove that
:w00t: If doesn't work. I don't know other solution.
The rest working , only autoassignap not working correctly . It will auto assign , but the remaining AP won't decrease .
Re: [Help] SXMaple animation , skills and stats
Help with magic attack from monster please ? O.O
Re: [Help] SXMaple animation , skills and stats
Um, Can any tell me Why in v.1.14.1 monster can use magic attack ?.
What change ?,And Why v.1.15.1 source that funtion doesn't work ?
:*: sorry about this bump!
Re: [Help] SXMaple animation , skills and stats
Because it is not fixed . I think just gonna leech it from there ..