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!

MapleStory in a Web Browser

Newbie Spellweaver
Joined
Dec 28, 2016
Messages
10
Reaction score
19
Hello RZ,

I'm working on an implementation of v62 MapleStory for the web. It's a lot more portable than having an old localhost client that doesn't natively work with *nix operating systems and that you need to hexedit to get anything useful done -- also not having to deal with setting up a Java server


This implementation is running on Websockets, Node.js, and Phaser.io.

Would anyone be interested in contributing to this?

Here's some screenshots

1.PNG - MapleStory in a Web Browser - RaGEZONE Forums 2.PNG - MapleStory in a Web Browser - RaGEZONE Forums 3.PNG - MapleStory in a Web Browser - RaGEZONE Forums 4.PNG - MapleStory in a Web Browser - RaGEZONE Forums 5.PNG - MapleStory in a Web Browser - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Dec 28, 2016
Messages
10
Reaction score
19
Just a quick update: figured out a way to render sprites and animations. It's a pain in the butt with z-indexes. This is the JS client code for sorting z-indexes, for the curious.

Code:
this.redrawCharacter = function() {
    this.character.customSort(function(a, b) {
        return sortCharacter(a.z, b.z, self.stance);
    });
};

function sortCharacter(z1, z2, stance) {
    var back = {

    };
    var front = {
        hairBelowBody: 0,
        capeBelowBody: 1,
        shieldBelowBody: 2,
        weaponBelowBody: 3,
        capBelowBody: 4,
        body: 5,
        handOverBody: 6,
        gloveOverBody: 7,
        shoes: 8,
        armBelowHead: 9,
        mail: 10,
        pants: 11,
        top: 12,
        armBelowHeadOverMail: 13,
        hair: 14,
        shieldOverHair: 15,
        earrings: 16,
        head: 17,
        hairShade: 18,
        expression: 19,
        faceAcc: 20,
        eyeAcc: 21,
        shield: 22,
        weaponBelowArm: 23,
        weapon: 24,
        arm: 25,
        mailArm: 26,
        hand: 27,
        glove: 28,
        weaponOverGlove: 29,
        handBelowWeapon: 30,
        armOverHair: 31,
        armOverHairBelowWeapon: 32,
        weaponOverHand: 33,
        weaponOverBody: 34,
        handOverHair: 35,
        handOverWeapon: 36,
        wristOverHair: 37,
        gloveOverHair: 38
    };
    var zDictionary = stance === "back" ? back : front;
    z1 = zDictionary[z1];
    z2 = zDictionary[z2];
    return z1 == z2 ? 0 : (z1 > z2 ? 1 : -1);
}

Progress pic:
rz.PNG - MapleStory in a Web Browser - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Can't kilean the zilean
Loyal Member
Joined
Oct 20, 2010
Messages
1,182
Reaction score
515
Wish i could help, looks interesting. Good luck man
 
Newbie Spellweaver
Joined
Dec 28, 2016
Messages
10
Reaction score
19
I am worry about the efficiency of render

"Premature optimization is the root of all evil." The rendering works smoothly on my horrible 2007 computer with 2 GB RAM and a dual-core 2.0 GHz processor. Phaser.io uses as its rendering engine.
 
Newbie Spellweaver
Joined
Dec 28, 2016
Messages
10
Reaction score
19
Hi all. Just wanted to give a quick update. I'm no longer using Phaser because it's very difficult to implement footholds in Phaser. I've been rewriting the game engine + rendering from scratch... JavaScript ES7!

Teaser pics:

Ludibrium
ypN6MLd - MapleStory in a Web Browser - RaGEZONE Forums


Henesys
GRm5s2N - MapleStory in a Web Browser - RaGEZONE Forums


Leafre
1R00aBV - MapleStory in a Web Browser - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Dec 28, 2016
Messages
10
Reaction score
19
Hey everyone. I haven't given an update in a while, but I want to reassure the community that this project is still actively being worked on.

Changes since last update:
Handled `moveR` property for Obj.
Portal rendering.
NPC rendering.
MapleTV rendering.

Pics (and a sneak peek of how I do QA, using a Windows 7 virtual machine running ThePack 82 on localhost):


ByOzscY - MapleStory in a Web Browser - RaGEZONE Forums



eQuGKri - MapleStory in a Web Browser - RaGEZONE Forums



VZ3hNjR - MapleStory in a Web Browser - RaGEZONE Forums



QcRSIBk - MapleStory in a Web Browser - RaGEZONE Forums



1ljDrwK - MapleStory in a Web Browser - RaGEZONE Forums



C9vyl8y - MapleStory in a Web Browser - RaGEZONE Forums



IZli0Uk - MapleStory in a Web Browser - RaGEZONE Forums



4SyYrSJ - MapleStory in a Web Browser - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Jul 1, 2008
Messages
178
Reaction score
83
If it helps you with rendering, there's a lot of APIs that provide that help with rendering, like character rendering:
johncintron - MapleStory in a Web Browser - RaGEZONE Forums
johncintron - MapleStory in a Web Browser - RaGEZONE Forums
johncintron - MapleStory in a Web Browser - RaGEZONE Forums
 
Back
Top