Welcome to RaGEZONE - MMORPG Development Forums (sponsored by: www.SCFMT.com.ar) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by: www.SCFMT.com.ar)


MapleStory Releases Discuss, [Release] Legend System at MapleStory forum; Hi! I am Memory! Nice to meet you ^-^ And I Release Legend System! I can write english a little... ...




Reply
LinkBack Thread Tools
[Release] [Release] Legend System
 
 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Nov 2008
Location: 東京
Posts: 17
04-09-2009, 03:07 PM
 


Hi!
I am Memory! Nice to meet you ^-^
And I Release Legend System!

I can write english a little... sorry^^;

SQL :
PHP Code:
ALTER TABLE `charactersADD COLUMN `legendint(11NOT NULL DEFAULT '0';
ALTER TABLE `charactersADD COLUMN `monstercountint(11NOT NULL DEFAULT '0';
ALTER TABLE `charactersADD COLUMN `horntail_slyedint(11NOT NULL DEFAULT '0';
ALTER TABLE `charactersADD COLUMN `pinkbeen_slyedint(11NOT NULL DEFAULT '0'
MapleCharacter.java

ADD private :
PHP Code:
private int legend;
private 
int monstercounthorntail_slyedpinkbeen_slyed
Search :
PHP Code:
ret.guildrank rs.getInt("guildrank"); 
Add to under
PHP Code:
ret.legend rs.getInt("legend");
ret.monstercount rs.getInt("monstercount");
ret.horntail_slyed rs.getInt("horntail_slyed");
ret.pinkbeen_slyed rs.getInt("pinkbeen_slyed"); 
Search :
PHP Code:
public void saveToDB(boolean update) { 
Add sqls (UPDATE) :
PHP Code:
legend = ?, monstercount = ?, horntail_slyed = ?, pinkbeen_slyed = ? 
Add sqls (INSERT) :
PHP Code:
legendmonstercounthorntail_slyedpinkbeen_slyed 
AND
PHP Code:
, ?, ?, ?, ? 
Add to SaveToDB :
PHP Code:
ps.setInt(numberlegend);
ps.setInt(numbermonstercount);
ps.setInt(numberhorntail_slyed);
ps.setInt(numberpinkbeen_slyed); 
Add Function (English version)

PHP Code:

    
public int getMonsterCount() {
        return 
monstercount;
    }

    public 
int getHorntailSlyed() {
        return 
horntail_slyed;
    }

    public 
int getPinkBeenSlyed() {
        return 
pinkbeen_slyed;
    }

    public 
void setMonsterCount(int set) {
        
this.monstercount set;
    }

    public 
void setHorntailSlyed(int set) {
        
this.horntail_slyed set;
    }

    public 
void setPinkBeenSlyed(int set) {
        
this.pinkbeen_slyed set;
    }

    public 
void gainMonsterCount(int gain) {
        
setMonsterCount(getMonsterCount() + gain);
    }

    public 
void gainHorntailSlyed(int gain) {
        
setHorntailSlyed(getHorntailSlyed() + gain);
    }

    public 
void gainPinkBeenSlyed(int gain) {
        
setPinkBeenSlyed(getPinkBeenSlyed() + gain);
    }

    public 
int getLegendById() {
        return 
legend;
    }
    public 
String Legend() {
        if (
legend == 1) {
            return 
"GameMaster";
        } else if (
legend == 2) {
            return 
"BEGINNER";
        } else if (
legend == 3) {
            return 
"PartyQuestsMania";
        } else if (
legend == 4) {
            return 
"QuestSpecialists";
        } else if (
legend == 5) {
            return 
"SuperHunter";
        } else if (
legend == 6) {
            return 
"King";
        } else if (
legend == 7) {
            return 
"Devil";
        } else if (
legend == 8) {
            return 
"Genius";
        } else if (
legend == 9) {
            return 
"Ninja";
        } else if (
legend == 10) {
            return 
"Sea King";
        } else if (
legend == 11) {
            return 
"Fame Star";
        } else if (
legend == 12) {
            return 
"Maple Idle Star";
        } else if (
legend == 13) {
            return 
"Horntail Slyer";
        } else if (
legend == 14) {
            return 
"Pinkbeen Slyer";
        } else if (
legend == 15) {
            return 
"Rebirth Power man";
        } else if (
legend == 16) {
            return 
"Loss King";
        } else if (
legend == 17) {
            return 
"Win King";
        } else if (
legend == 18) {
            return 
"Romeo";
        } else if (
legend == 19) {
            return 
"Juliet";
        } else if (
legend == 20) {
            return 
"VIPPER";
        } else if (
legend == 21) {
            return 
"Rebirth King";
        } else {
            return 
null;
        }
    }

    public 
String getLegend() {
        if (
legend != 0) {
            return 
"<" Legend() + "> ";
        } else {
            return 
"";
        }
    }

    public 
void setlegend(int legendid) {
        
this.legend legendid;
    } 
Open MapleMap.java

Search :
PHP Code:
if (monster.getId() == 8810018) { 
add with
PHP Code:
if (monster.getId() == 8810018) { ~ player.gainHorntailSlyed(1); } 
and add with
PHP Code:
[b]public void killMonster(final MapleMonster monster, final MapleCharacter chr, final boolean withDrops, final boolean secondTimeint animation) { ~ chr.gainMonsterCount(1);}[/b

Open MaplePacketCreator.java

Search :
PHP Code:
public static MaplePacket getAvatarMega(MapleCharacter chrint channelint itemId, List<Stringmessageboolean ear) { 
Replace
PHP Code:
mplew.writeMapleAsciiString(chr.getName()); 
with

PHP Code:
mplew.writeMapleAsciiString(chr.getLegend() + chr.getName()); 
BugFIxed New Scripts file (Get Legend NPC)

PHP Code:
/* Only The Memorial Package */
var status 0;
var 
legends ""

function start() {
    
status = -1;
    
action(100);
}

function 
action(modetypeselection) {

    if (
mode == -1) {
        
cm.dispose();
    } else {
        if (
mode == 0) {
            
cm.dispose();
            return;
        }
        if (
mode == 1)
            
status++;
        else
            
status--;
        if (
status == 0) {
                
legends += "#L0#Get The <BEGINNER> #l\r\n";
                
legends += "#L1#Get The <PartyQuestsManis> #l\r\n";
                  
legends += "#L2#Get The <QuestsSpecialists>#l\r\n";
                if (
cm.getChar().getMonsterCount() >= 100000) {
                   
legends += "#L3#Get The <SuperHunter>#l#\r\n";
                }
                if (
cm.getChar().getHorntailSlyed() >= 1) {
                   
legends += "#L4#Get The <Horntail Slyer>#l#\r\n";
                }
                if (
cm.getChar().getPinkBeenSlyed() >= 1) {
                   
legends += "#L5#Get The <Pinkbeen Slyer>#l#\r\n";
                }
                if (
cm.getLevel() >= 200 && (cm.getJob().HERO || cm.getJob().DARKKNIGHT || cm.getJob().PALADIN)) {
                   
legends += "#L6#Get The <King> #l\r\n";
                }
                if (
cm.getLevel() >= 200 && (cm.getJob().BISHOP || cm.getJob().FP_ARCHMAGE || cm.getJob().IL_ARCHMAGE)) {
                   
legends += "#L7#Get The <Devil> #l\r\n";
                }
                if (
cm.getLevel() >= 200 && (cm.getJob().BOWMASTER || cm.getJob().MARKSMAN)) {
                   
legends += "#L8#Get The <Genius> #l\r\n";
                }
                if (
cm.getLevel() >= 200 && (cm.getJob().SHADOWER || cm.getJob().NIGHTLORD)) {
                   
legends += "#L9#Get The <Ninja> #l\r\n";
                }
                if (
cm.getLevel() >= 200 && (cm.getJob().BUCCANEER || cm.getJob().CORSAIR)) {
                   
legends += "#L10#Get The <Sea King> #l\r\n";
                }
                if (
cm.getFame() >= 100) {
                   
legends += "#L11#Get The <Fame Star> #l\r\n";
                }
                if (
cm.getFame() >= 500) {
                   
legends += "#L12#Get The <Maple Idle Star> #l\r\n";
                }
                if (
cm.getPvpKills() >= 200) {
                   
legends += "#L13#Get The <Win King> #l\r\n";
                }
                if (
cm.getPvpDeaths() >= 200) {
                   
legends += "#L14#Get The <Loss King> #l\r\n";
                }
                if (
cm.getGender() == 0) {
                   
legends += "#L15#Get The <Romeo> #l\r\n";
                }
                if (
cm.getGender() == 1) {
                   
legends += "#L16#Get The <Juliet> #l\r\n";
                }
                if (
cm.getLevel() >= 200 && cm.getReborns() >= 100) {
                   
legends += "#L18#Get The <Rebirth King>#l\r\n";
                }
                if (
cm.getChar().gmLevel() >= 1) {
                   
legends += "#L19#Get The <GameMaster> #l\r\n";
                }
                if (
cm.getLegend() != 0) {
                   
legends += "#L20#Delete Legend#l\r\n";
                }
            
cm.sendSimple ("Hi, I am Legend Master. I can give Legend for you! and... need #b#e1,500,000Mesos#n#k\r\n#b#L99#Whats is Legend System?#l\r\n" legends);
        } else if (
status == 1) {
            switch(
selection) {
              case 
99:
                
cm.sendOk("Legend is Memorial Project Original System? Whats is Memorial Projects? Oh... Memorial Project is JMS Emulator Server Project Team.");
                
cm.dispose();
              break;
              case 
0:
                   
legendid 2;
                   
legendname "BEGINNER";
                 
cm.sendYesNo("Do you want Legend <BEGINNER> ?");
              break;
              case 
1:
                   
legendid 3;
                   
legendname "PartyQuestsMania";
                 
cm.sendYesNo("Do you want Legend <PartyQuestsMania> ?");
              break;
              case 
2:
                   
legendid 4;
                   
legendname "QuestsSpecialists";
                 
cm.sendYesNo("Do you want Legend <QuestsSpecialists> ?");
              break;
              case 
3:
                   
legendid 5;
                   
legendname "Super Hunter";
                 
cm.sendYesNo("Do you want Legend <Super Hunter> ?");
              break;
              case 
4:
                   
legendid 13;
                   
legendname "Horntail Slyer";
                 
cm.sendYesNo("Do you want Legend <Horntail Slyer> ?");
              break;
              case 
5:
                   
legendid 14;
                   
legendname "Pinkbeen Slyer";
                 
cm.sendYesNo("Do you want Legend <Pinkbeen Slyer> ?");
              break;
              case 
6:
                   
legendid 6;
                   
legendname "King";
                 
cm.sendYesNo("Do you want Legend <King> ?");
              break;
              case 
7:
                   
legendid 7;
                   
legendname "Devil";
                 
cm.sendYesNo("Do you want Legend <Devil> ?");
              break;
              case 
8:
                   
legendid 8;
                   
legendname "Genius";
                 
cm.sendYesNo("Do you want Legend <Genius> ?");
              break;
              case 
9:
                   
legendid 9;
                   
legendname "Ninja";
                 
cm.sendYesNo("Do you want Legend <Ninja>?");
              break;
              case 
10:
                   
legendid 10;
                   
legendname "Sea King";
                 
cm.sendYesNo("Do you want Legend <Sea King>?");
              break;
              case 
11:
                   
legendid 11;
                   
legendname "Fame Star";
                 
cm.sendYesNo("Do you want Legend <Fame Star> ?");
              break;
              case 
12:
                   
legendid 12;
                   
legendname "Maple Idle Star";
                 
cm.sendYesNo("Do you want Legend <Maple Idle Star> ?");
              break;
              case 
13:
                   
legendid 17;
                   
legendname "Win King";
                 
cm.sendYesNo("Do you want Legend <Win King> ?");
              break;
              case 
14:
                   
legendid 16;
                   
legendname "Loss King";
                 
cm.sendYesNo("Do you want Legend <Loss King> ?");
              break;
              case 
15:
                   
legendid 18;
                   
legendname "Romeo";
                 
cm.sendYesNo("Do you want Legend  <Romeo> ?");
              break;
              case 
16:
                   
legendid 19;
                   
legendname "Juliet";
                 
cm.sendYesNo("Do you want Legend <Juliet> ?");
              break;
              case 
17:
                   
legendid 20;
                   
legendname "VIPPER";
                 
cm.sendYesNo("Do you want Legend <VIPPER> ?");
              break;
              case 
18:
                   
legendid 21;
                   
legendname "Rebirth King";
                 
cm.sendYesNo("Do you want Legend <Rebirth King> ?");
              break;
              case 
19:
                   
legendid 1;
                   
legendname "GameMaster";
                 
cm.sendYesNo("Do you want Legend <GameMaster> ?");
              break;
              case 
20:
                   
legendid 0;
                   
legendname "Delete";
                 
cm.sendYesNo("Delete Legend? You need#b#e1,500,000Mesos#n#k!");
              break;
            }
           } else if (
status == 2) {
               if (
cm.getMeso() >= 1500000) {
                   
cm.getChar().setLegend(legendid);
                   
cm.gainMeso(-1500000);
                 
cm.sendYesNo("You get <" legendname "> !");
                   
cm.dispose();
               } else {
                 
cm.sendOk("You are enoghs Mesos.");
                   
cm.dispose();
               }
           }
      }

Thank you^^
Attached Images
File Type: jpg 新規ビットマップ イメージ.JPG (143.5 KB, 1375 views)

Last edited by メモリーくん; 04-14-2009 at 07:48 AM..
 
 
permalink
 

RaGEZONE is proudly sponsored by
 
♥ MapleStory! ♥

Rank: Member


Reply With Quote
 
Join Date: Sep 2008
Location: This world?
Posts: 381
04-09-2009, 03:09 PM
 
oo nice release.. its like a group system..
 
 
permalink
 

Advertisement
 
.

Rank: Member


Reply With Quote
 
Join Date: Jun 2008
Location: My Own Personal Hell
Posts: 493
04-09-2009, 03:10 PM
 
Looks Nice...
 
 
permalink
 


 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Oct 2008
Posts: 23
04-09-2009, 03:41 PM
 
wats differences between this legend system and normal one? extra <>?
how can u make server able to type japanese?
 
 
permalink
 

 
Alpha

Rank: New Blood


Reply With Quote
 
Join Date: Jul 2008
Posts: 130
04-09-2009, 03:44 PM
 
yeah thats wat i wanna ask
how to u mape ur server japanese?
with ur mini map........
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Oct 2008
Posts: 23
04-09-2009, 03:46 PM
 
Quote: Originally Posted by Zero' View Post
yeah thats wat i wanna ask
how to u mape ur server japanese?
with ur mini map........
no i dont mean that, to make your server to show all the japanese you have to wz edit..
 
 
permalink
 

 
Ultimate Member

Rank: New Blood


Reply With Quote
 
Join Date: Jan 2007
Posts: 157
04-09-2009, 03:50 PM
 
I finally saw the red text and saw the legends.

Looks very nice. I am going to implement with pretty much everything else (chat, etc...)

Good idea, thanks for the release. ^^"
 
 
permalink
 

 
Account Upgraded | Title Enabled!

Rank: Member


Reply With Quote
 
Join Date: Dec 2008
Posts: 265
04-09-2009, 04:04 PM
 
Good release memori kun.
Must have taken forever to wz edit all that Japanese LOL
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Apr 2008
Posts: 62
04-09-2009, 04:15 PM
 
Actually he just dumped the string.wz from jms and imported it back into GMS. (xml dmping is fast)
 
 
permalink
 

 
Banned
Shoot's Avatar

Status: Banned


Reply With Quote
 
Join Date: Jan 2009
Posts: 365
04-09-2009, 04:49 PM
 
nice release, nice server also.
It's Japanese if i'm not mistaken :D.
Japanese letters are usually more spaced out than Korean.
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Apr 2008
Posts: 34
04-09-2009, 05:22 PM
 
Did it not occur to anybody that it could be a jMS private server? They do exist, you know.
 
 
permalink
 

 
Has A Life Now.

Rank: Alpha Member


Reply With Quote
 
Join Date: Apr 2008
Location: New York
Posts: 1,583
04-09-2009, 05:59 PM
 
Dont really understand this but ok.
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2009
Posts: 73
04-09-2009, 06:09 PM
 
Nice monsters man :d
 
 
permalink
 

 
Sixty8story owner!

Rank: Member


Reply With Quote
 
Join Date: Oct 2008
Location: www.sixty8story.com
Posts: 955
04-09-2009, 06:21 PM
 
Quote: Originally Posted by gmsinister View Post
Dont really understand this but ok.
same here
wwhat does this do?
 
 
permalink
 

 
Alpha

Rank: New Blood


Reply With Quote
 
Join Date: Mar 2009
Posts: 132
04-09-2009, 06:22 PM
 
isn't this v66 mob?
 
 
permalink
 

 
▪▫ 永久に

Rank: Member


Reply With Quote
Blog Entries: 2
 
Join Date: Apr 2008
Location: In your pants dear.
Posts: 753
04-09-2009, 06:24 PM
 
That's effing nice!
 
 
permalink
 

 
Sixty8story owner!

Rank: Member


Reply With Quote
 
Join Date: Oct 2008
Location: www.sixty8story.com
Posts: 955
04-09-2009, 06:24 PM
 
And
which server is this :P
jkjk
 
 
permalink
 

 
Rebels

Rank: Member


Reply With Quote
 
Join Date: Oct 2008
Location: Inside a never ending tunnel.
Posts: 391
04-09-2009, 07:16 PM
 
Nice release, i bet its useful but i don't get how it works =P
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Aug 2008
Location: corey's pants
Posts: 22
04-09-2009, 07:38 PM
 
Quote: Originally Posted by Spotsilver View Post
Did it not occur to anybody that it could be a jMS private server? They do exist, you know.
Actually, it's not a jMS private server. If you look closely at the user's key, you can see that it's ENGLISH and not Japanese.
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Oct 2008
Posts: 23
04-09-2009, 09:22 PM
 
Quote: Originally Posted by KoReANBoi View Post
Actually, it's not a jMS private server. If you look closely at the user's key, you can see that it's ENGLISH and not Japanese.
since he wz edited most things, theres not much left to make it everything in Japanese.. i think these buttons related to string.wz also, which he has already editted map names, etc in his server..
but i curious how could he make the Japanese type able in his server.. or is it just pasting?
 
 
permalink
 

 
Alpha

Rank: New Blood


Reply With Quote
 
Join Date: Mar 2009
Posts: 128
04-09-2009, 09:53 PM
 
Quote: Originally Posted by cihadpx68 View Post
still dunno what this is lol
People who say shit like this, are the people who can't understand code. Which makes you look like a dumbass.
 
 
permalink
 

 

Rank: Member


Reply With Quote
 
Join Date: Sep 2008
Location: California
Posts: 286
04-09-2009, 10:00 PM
 
Quote: Originally Posted by cihadpx68 View Post
I can understand it
but dunno why i cant get it?
Hahaha, I knew you were a dumb scrub.
If you don't understand/know this, then you shouldn't have a server period.
 
 
permalink
 

 
Alpha

Rank: New Blood


Reply With Quote
 
Join Date: Mar 2009
Posts: 128
04-09-2009, 10:05 PM
 
Quote: Originally Posted by LameJacob View Post
Hahaha, I knew you were a dumb scrub.
If you don't understand/know this, then you shouldn't have a server period.
Do you know what it does?
 
 
permalink
 

 

Rank: Member


Reply With Quote
 
Join Date: Sep 2008
Location: California
Posts: 286
04-09-2009, 10:16 PM
 
Quote: Originally Posted by candyman1212 View Post
Do you know what it does?
I don't care what it does, and I don't own a server.
 
 
permalink
 

 
Sixty8story owner!

Rank: Member


Reply With Quote
 
Join Date: Oct 2008
Location: www.sixty8story.com
Posts: 955
04-09-2009, 10:18 PM
 
Quote: Originally Posted by LameJacob View Post
I don't care what it does, and I don't own a server.
cuz u dont have a head to own one
all u do is flaming me...
 
 
permalink
 

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:09 PM.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 RaGEZONE © 2001 - 2008