You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (10) Thread Tools
Old 09-06-2008   10 links from elsewhere to this Post. Click to view. #1 (permalink)
my milkshake.
 
Frozurad's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: booties
Posts: 825
Thanked 9 Times in 4 Posts

[Release] Real Wedding Pack *UPDATED v.1*

Your Ad Here
The pack includes:
Mom and Dad give Blessing for 5mil ( :P )
High Priest John Checks if you are blessed or not and proceeds with the wedding.

Ok First we must define what Blessed/Married is right?

MapleCharacter.java

Under


Code:
Private Boolean GM;
Add


Code:
Private Boolean Blessed;
Under:


Code:
 public boolean isGM() {
  return gm;
 }
Add:


Code:
public boolean isBlessed() {
  return Blessed;
 }
Under:


Code:
  ret.gm = rs.getInt("gm") == 0 ? false : true;
Add:

Code:
ret.Blessed = rs.getInt("Blessed") == 0 ? false : true;

Under:


Code:
ret.gm = false;
Add:


Code:
ret.Blessed = false;

In MapleClient.java:

Under:


Code:
private boolean gm;
Add:

Code:
private boolean Blessed;
Under:


Code:
public boolean isGm() {
  return gm;
 }
Add:



Code:
public boolean isBlessed() {
  return Blessed;
 }
Now for Defining what Married is:
MapleCharacter.java

Under


Code:
Private Boolean GM;
Add


Code:
Private Boolean Married;
Under:


Code:
 public boolean isGM() {
  return gm;
 }
Add:


Code:
public boolean isMarried() {
  return Married;
 }
Under:


Code:
  ret.gm = rs.getInt("gm") == 0 ? false : true;
Add:

Code:
ret.Married = rs.getInt("Married") == 0 ? false : true;

Under:


Code:
ret.gm = false;
Add:


Code:
ret.Married = false;

In MapleClient.java:

Under:


Code:
private boolean gm;
Add:

Code:
private boolean Married;
Under:


Code:
public boolean isGm() {
  return gm;
 }
Add:



Code:
public boolean isMarried() {
  return Married;
 }













---------------------
There is Wedding check as in if you want a special pq for only married couples then you add
Code:
{
			if(cm.getChar().getMarried() == 0) {
				cm.sendOk("Your Text Here ");
				cm.dispose();
			} else {
				if(cm.getChar().getMarried() == 1) }
{ 
   
   cm.sendNext("Your text Here");  

      }
Since i am not the OMG professional coder there might be something wrong but thats a basic thing for it cause im not so good at putting checks :?
----------------------------------
Blessed Check, This is what the Pope Npc is with Blessed check so if you are blessed from your parents you can go to the wedding.
Code:
/* 
 This file is part of the OdinMS Maple Story Server 
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>  
        Matthias Butz <matze@odinms.de> 
        Jan Christian Meyer <vimes@odinms.de> 
    This program is free software: you can redistribute it and/or modify 
    it under the terms of the GNU Affero General Public License as 
    published by the Free Software Foundation version 3 as published by 
    the Free Software Foundation. You may not use, modify or distribute 
    this program under any other version of the GNU Affero General Public 
    License. 
    This program is distributed in the hope that it will be useful, 
    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    GNU Affero General Public License for more details. 
    You should have received a copy of the GNU Affero General Public License 
    along with this program.  If not, see <http://www.gnu.org/licenses/>. 
*/ 
/* High Priest John
by Angel (get31720 ragezone)
Redesigned by Frozurad from ragezone
*/ 
var status = 0; 
function start() { 
 status = -1; 
 action(1, 0, 0); 
} 
function action(mode, type, selection) { 
 if (mode == -1) { 
  cm.dispose(); 
 } else { 
  if (status >= 2 && mode == 0) { 
   cm.sendOk("Tell me when you're ready"); 
   cm.dispose(); 
   return; 
  } 
  if (mode == 1) 
   status++; 
  else 
   status--; 
  if (status == 0)

{
			if(cm.getChar().getBlessed() == 0) {
				cm.sendOk("Sorry without your parents blessing i cannot join your beloved hands. ");
				cm.dispose();
			} else {
				if(cm.getChar().getBlessed() == 1) }
{ 
   
   cm.sendNext("Hello I am here to join the hands of many maplers");  

      }  else if (status == 1) { 
   cm.sendNextPrev("You'll need to give me your premium wedding receipt that Victoria my assistant gave you."); 
  } else if (status == 2) { 
   if (cm.haveItem(4214002)) { 
    cm.sendNext("Beautiful you have the ticket!"); 
    cm.gainItem(4214002,-1); 
     
   } else { 
    cm.sendOk("You must not be the couple or you have lost your reciept."); 
    status = 9; 
   } 
  } else if (status == 3) { 
   cm.warp(680000210, 2); 
   cm.sendOk("Together you will rise and together you will fall. Never shall you part. I proclaim you husband and wife by the powers vested in all the GMs.")
   cm.gainItem(1112803,1); 
   cm.gainItem(1050113,1); 
   cm.gainItem(1050****1); 
   cm.gainItem(1000029,1); 
   cm.gainItem(1081002,1); 
   cm.dispose(); 
  } 
 } 
}
Mom and dad npc is right here:
Code:
 /**************************************************
    Credits to  bendanx3 for his
    Gender changer used as base . 
    2/9/2008 .
             Updated: 3/9/2008 .
Upgraded to Mom and dad bless give npc. 
Credits to Frozurad ( me ) for making it a bless giver
***************************************************/

var status = 0;


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

function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (mode == 0 && status == 0) {
            cm.dispose();
            return;
        }
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 0) {
            cm.sendYesNo(" WELCOME HOME HONEY! Kisses <3!!! XOXO i will give you bless now since you dont have it but we are low on income so ima take yur mes0z rawr. So Do you wan't it? CLick yes please your daddy plays MS too much I NEED MONEY! ");
        } else if (status == 1) {
                if (cm.getChar().getBlessed() == 0) {
                    if (cm.getMeso() > 5000000) {
                        cm.getChar().setBlessed(1);
                        cm.gainMeso(-5000000);
                        cm.sendOk(" You are blessed now SO GO GET MARRIED.. hehe ima go get raped by 16 year old teenage boys. Like your daddy even cares.");
                        cm.dispose();
                        cm.reloadChar();
                    } else {
                        cm.sendOk("You spoiled brat i gave you everything you wanted and you dont give it back? Bitch...");
                        cm.dipose();
                    }

                } else if (cm.getChar().getBlessed() == 1) {
                    if (cm.getMeso() > 5000000) {
                        cm.getChar().setBlessed(0);
                        cm.gainMeso(-5000000);
                        cm.sendOk(" I geuss you don't want to be blessed honey well good bye! ");
                        cm.dispose();
                        cm.reloadChar();
                    } else {
                        cm.sendOk("HAHA bitch leave NOW!");
                        cm.dispose();
                        }
                    }
                    
                }
            }
        }
I was too tired to make it only bless giving so if you use it again it resets your bless to 1 :/ also you lose 5mil HAHA.


Add these into your database ( ignore the premium and normal i will finish later. )

Code:
ALTER TABLE `characters` ADD COLUMN `Blessed` tinyint(1) NOT NULL default '0',
  ALTER TABLE `characters` ADD COLUMN `Married` tinyint(1) NOT NULL default '0',
  ALTER TABLE `characters` ADD COLUMN `premium` tinyint(1) NOT NULL default '0',
  ALTER TABLE `characters` ADD COLUMN `normal` tinyint(1) NOT NULL default '0',
-------------------------------------------------------------------------------------------------------------
v.2 ( next version ) will include:
  • Bonus cake fighting stage with correct drops.
  • Bonux stage npc take the keys and takes you to boxes which drop: sushi, gelts, and amorian cookie :D.
  • Coded Reactors for boxes *taking drops requests*
  • Possible WeddingPQ to be inside of the pq * hint: amos' keys will be needed :D*
  • Mom and Dad npc updated
  • You will need to give victoria your ticket in order to be able to do the wedding, this will make the premium/normal column 1 in your database, after you have gotten that you go get blessed from mom and dad then you go to pope and you select premium/normal from the selections and it checks which one you got so after that it will change it to 2 so you cannot re-do the wedding but the pq will be accessible again.
  • Pope will be updated.

Last edited by Frozurad; 09-07-2008 at 02:14 AM.
Frozurad is offline  

RaGEZONE sponsored advertisment:
Old 09-06-2008   #2 (permalink)
Enjoy the Process
 
iPlayHard's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Singapore
Posts: 611
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Thanks for the release ! Will try it.
__________________
iPlayHard is offline  

Endorsement
Old 09-06-2008   #3 (permalink)
Extreme Member
 
Rank: Member +
Join Date: Aug 2008
Location: West Coast
Posts: 236
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Wow good work.
Intensetay is offline  

Endorsement

Old 09-06-2008   #4 (permalink)
Monster Member
 
Rank: Member
Join Date: Aug 2008
Posts: 175
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Awesome!
Madelinesz is offline  
Old 09-06-2008   #5 (permalink)
Coder/GFX Artist
 
GMLooney's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: New York
Posts: 319
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

Smart one...Next time Include the MapleCharacter and NPCConversationManager Parts, also give Credits? It won't work unless you add getmarried, setmarried and so on, you also need a setcouplemarried, and checkcouplegender. you should also include get/set marriagestatus so that 5 million weddings are not on at the same time. GL.
__________________
GMLooney is offline  
Old 09-06-2008   #6 (permalink)
my milkshake.
 
Frozurad's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: booties
Posts: 825
Thanked 9 Times in 4 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

its not GMS like but its the best it can get. ok the pressure is off now i can get started on school and going to go apply for a job on monday or so :)
edit: the credits are actually inside the npc un-touched except i added my name in there so um idk :P drfusion im waiting for your pathetic fail response to my fail thread that fails so dearly, fails.
Frozurad is offline  
Old 09-06-2008   #7 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Wow great release, mind posting some SS ? I wanna see how it works XD
__________________
ClericKn1ght is offline  
Old 09-06-2008   #8 (permalink)
my milkshake.
 
Frozurad's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: booties
Posts: 825
Thanked 9 Times in 4 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Originally Posted by ClericKn1ght View Post
Wow great release, mind posting some SS ? I wanna see how it works XD
um.. ok cuz i tried this on someone elses server but il just do it on mine o-o i havnt ran a server in such a long time omigosh
Frozurad is offline  
Old 09-06-2008   #9 (permalink)
Will code for food
 
DaichiKokujo's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: I live nowhere
Posts: 514
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Nice but, does the Spouse chat work with this.
If only rings worked =/
__________________

Helping people portforward for $0.88 PM Me.
Setting up MapleStory servers for $2 PM Me.
DaichiKokujo is offline  
Old 09-06-2008   #10 (permalink)
Coder/GFX Artist
 
GMLooney's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: New York
Posts: 319
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

Originally Posted by DaichiKokujo View Post
Nice but, does the Spouse chat work with this.
If only rings worked =/
No it just checks a SQL Table.
__________________
GMLooney is offline  
Old 09-06-2008   #11 (permalink)
I'm Back.
 
Vi3tb0i2ty's Avatar
 
Rank: Alpha Member
Join Date: May 2008
Posts: 1,839
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

lol we needs rings
__________________

I'm Back

100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500
1600 1700 1800

Post
Vi3tb0i2ty is offline  
Old 09-06-2008   #12 (permalink)
LaTale
 
xelkin's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: New York
Posts: 1,619
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

Hmm does any1 know if this actually works?
xelkin is offline  
Old 09-06-2008   #13 (permalink)
Coder/GFX Artist
 
GMLooney's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: New York
Posts: 319
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

It doesn't...He didn't include the statements.
__________________
GMLooney is offline  
Old 09-06-2008   #14 (permalink)
my milkshake.
 
Frozurad's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: booties
Posts: 825
Thanked 9 Times in 4 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Originally Posted by GMLooney View Post
It doesn't...He didn't include the statements.
it doesnt really need to have statements.. does it? o-O
Frozurad is offline  
Old 09-06-2008   #15 (permalink)
Ultimate Member
 
Rank: Member
Join Date: Jul 2008
Posts: 150
Thanked 2 Times in 2 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

this could start up the spouse chats xD
SydneyMs105 is offline  
Old 09-06-2008   #16 (permalink)
Coder/GFX Artist
 
GMLooney's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: New York
Posts: 319
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

Originally Posted by Frozurad View Post
it doesnt really need to have statements.. does it? o-O
Uhm Can everyone else look in their MapleCharacter and NPCConversationManager for "getMarried"
Thanks! Anyways They're release in my "Dev" Thread Which i sadly stopped. I'll find it in a sec.
__________________
GMLooney is offline  
Old 09-06-2008   #17 (permalink)
Account Upgraded | Title Enabled!
 
gtxx911's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: Stalker
Posts: 1,158
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Nice Realease :pain:
_________________

Feed my pet and make it level PLEASE
gtxx911 is offline  
Old 09-06-2008   #18 (permalink)
*Owner of TriForceMS*
 
Shadow26's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: Crimsonhood
Posts: 433
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Nice job on getting this done.
__________________

Want to join? Yahoo/google TriForceMS!
Shadow26 is offline  
Old 09-06-2008   #19 (permalink)
LaTale
 
xelkin's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: New York
Posts: 1,619
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

Ok ima going to try it out now ima reply you about this when done
xelkin is offline  
Old 09-06-2008   #20 (permalink)
Owner of HitsuMs <3
 
Gmanpopinjay's Avatar
 
Rank: Alpha Member
Join Date: Dec 2007
Location: Downtown ^.^
Posts: 1,693
Thanked 10 Times in 5 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Nice Release thx alot
__________________
Gmanpopinjay is online now  
Old 09-06-2008   #21 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

lol, elkin is gonna be the 1st person to try ? O.O
__________________
ClericKn1ght is offline  
Old 09-06-2008   #22 (permalink)
LaTale
 
xelkin's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: New York
Posts: 1,619
Thanked 1 Time in 1 Post

Re: [Beta Release] Real Wedding Pack *BETA*

I guess i am 0.o

The prob there is no 1 in my server, coz of isp F3 so i gotta w8 for the hoster :(
xelkin is offline  
Old 09-06-2008   #23 (permalink)
my milkshake.
 
Frozurad's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: booties
Posts: 825
Thanked 9 Times in 4 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

blahh np. for those flamers i have 2 things: 1. talk talk and no action 2. Beta !! BETA!! BETTATTATATATATTATTAATTAATTA!!!!!!!
Frozurad is offline  
Old 09-06-2008   #24 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

Originally Posted by xelkin View Post
I guess i am 0.o

The prob there is no 1 in my server, coz of isp F3 so i gotta w8 for the hoster :(
Yea hope looney would start to host for u soon XD
__________________
ClericKn1ght is offline  
Old 09-06-2008   #25 (permalink)
Ultimate Member
 
lols1996's Avatar
 
Rank: Member
Join Date: Jun 2008
Posts: 155
Thanked 0 Times in 0 Posts

Re: [Beta Release] Real Wedding Pack *BETA*

nice job =]
__________________
lols1996 is offline  
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f427/release-real-wedding-pack-updated-v-1-a-463577/
Posted By For Type Date
Npcs - Downloads/Scripts This thread Refback 07-16-2009 02:36 AM
maplestory libary This thread Refback 07-14-2009 11:39 PM
OdinMS Weddings - GameCheetah This thread Refback 05-09-2009 09:28 PM
Coder/Gm App Matt This thread Refback 05-03-2009 07:34 AM
MapleStory Development Team: OdinMS Based: NPCs This thread Refback 04-23-2009 03:20 AM
MapleStory Development Team This thread Refback 04-07-2009 11:53 PM
[Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] - GameCheetah This thread Refback 03-31-2009 03:45 AM
[Request] Wedding For OdinMS Source. - GameCheetah This thread Refback 03-27-2009 10:59 AM
[OdinMS]Releases,Guides,Repacks,Revs,orials,HTML-PHP,Tools,Handbook - Maplestory Releases - ServerFiles.org This thread Refback 03-27-2009 03:24 AM
MapleStory Private Server Libary :Npcs: - GameCheetah This thread Refback 03-26-2009 01:23 PM



Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274