• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Add-On] Auto Heal Hp Fix for MapleSEA-based source

Legendary Battlemage
Loyal Member
Joined
Sep 28, 2008
Messages
600
Reaction score
291

Auto Heal Hp Fix for MapleSEA-based source
Hmm, most of them keep asking on how to fix this bug, I might as well release this instead of giving to them one by one. =.=

PlayerHandler.java -> Heal Method
After first four bytes, add
PHP:
if (slea.available() >= 8) {
    slea.skip(4);
}

If this doesn't work, let me know again. As I'll have to double confirm. I've tested this and it works for me. And some of them also said its working. So I still need some reconfirmation from those who've added this.

- AuroX

 
Last edited:
Newbie Spellweaver
Joined
May 4, 2010
Messages
25
Reaction score
0
Please can you help me how to make MapleSEA Private Server? I only know how to make GMS 83 and lower but this one is different, how do i set up the localhost thingy and why i get so many error on the server though i change all the ip to my ip and compile using netbean. Please reply ASAP thx.
 
Elite Diviner
Joined
Apr 26, 2009
Messages
468
Reaction score
64
Please can you help me how to make MapleSEA Private Server? I only know how to make GMS 83 and lower but this one is different, how do i set up the localhost thingy and why i get so many error on the server though i change all the ip to my ip and compile using netbean. Please reply ASAP thx.
Out topic.....
there is a tutorial out there, find it :D
 
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
tell me if work so i put into odinsea
din really check on that
 
Initiate Mage
Joined
May 7, 2011
Messages
3
Reaction score
0
Hi,

I added but it seems like its not working. I tested and the HP will be updated to full once I change map or goes through a portal/door.

I compile the proj based on:

Filename: PlayerHandler.java

Code Included:

public static final void Heal(final SeekableLittleEndianAccessor slea, final MapleCharacter chr) {
if (slea.available() >= 8)
{
slea.skip(4);
}

Thanks.
 
Legendary Battlemage
Loyal Member
Joined
Sep 28, 2008
Messages
600
Reaction score
291
@above

Wrong. I've said add it after the first four bytes, so it will be like
PHP:
public static final void Heal(final SeekableLittleEndianAccessor slea, final MapleCharacter chr) {
        slea.skip(4);
        if (slea.available() >= 8) {
            slea.skip(4);
        }
 
Newbie Spellweaver
Joined
Apr 18, 2010
Messages
41
Reaction score
15
Works alright, i must have messed it cause now it not only doesn't add 100% hp when recovering it doesn't add any at all :O better than going stright to full hp but not quite enough will keep tweaking it. Thanks for this.

*fixed now* :)
 
Last edited:
Initiate Mage
Joined
Jul 6, 2010
Messages
3
Reaction score
0
Let me clarify that the AUTO HEAL is a 3-4 Sec AUTO HEAL.. instead of at 50%.. of HP..

// and the method of solution WORKS fine.. thanks !!
 
Back
Top