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!

Easy Sex Change

Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
ever wanted to wear the other gender's armor, but couldn't cause of sex restriction? not anymore =D

this is my first release, so it's kinda of buggy sometimes. But it works Perfectly.

You just talk to High Priest John (or whoever Npc you set the script for)
select "yes", pay 10,000,000 Mesos (can change that value too, (duh-.-))

And there you are!

this is the script :

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 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/>.*/


function start() {
	cm.sendSimple ("Hello, I'm The High Priest John. I have been through many years training to become a Priest. Today, I have enough experience to change your #bGender#k in the name of God. Do you want to have your gender changed for #r10,000,000 Mesos#k?\r\n#L0##e#b Yes, Please!#k\r\n#L1##e#b No, Thanks!#k")
	}

function action(mode, type, selection) {
		cm.dispose();

	switch(selection){
		case 0: 
			if(cm.getMeso() >= 10000000){
         if (cm.getC().getPlayer().getGender() == 0) {
                cm.sendOk("Ha! There you are, You have had your sex changed to a    #bFemale#k. Go and enjoy your new life, young Lady!");
                cm.getC().getPlayer().setGender(1);
	        cm.gainMeso(-10000000);
                cm.dispose();
           } else {
                cm.getC().getPlayer().setGender(0);
	        cm.gainMeso(-10000000);
                cm.sendOk("Ha! There you are, You have had your sex changed to a    #bMale#k. Go and enjoy your new life, young Boy!");
                cm.dispose();
}
			}else{
			cm.sendOk("You don't have enough Mesos. Come back when you have the money.");
			cm.dispose();
			}
		break
		case 1:
			cm.sendOk("Oh, no deal? No problem, come back when you want.");
			cm.dispose();
		}
	}

credits to all scripters out there, if it wasn't for you, i could never learn some java copy/pasting :p

i didnt see any exact same script out there, so i released this.

--------------------------------------------------------------
If anyone wants it, here's the hermaphrodite Add-on:
Thanks to Spyker710 for the idea:
Just a suggestion, maybe make an option to be gender 2 (lets you wear both male and female clothes) for like 500 mil or 1 bil or w/e

It costs 1,000,000,000 Mesos to become =P

Code:
function start() {
	cm.sendSimple ("Hello, I'm The High Priest John. I have been through many years training to become a Priest. Today, I have enough experience to change your #bGender#k in the name of God. Do you want to have your gender changed for #r10,000,000 Mesos#k?\r\n#L0##e#b Yes, Please!#k\r\n#L1##e#b No, Thanks!#k\r\n#L2##e#b I want to become #bhermaphrodite#k for #r1,000,000,000 Mesos#k")
	}

function action(mode, type, selection) {
		cm.dispose();

	switch(selection){
		case 0: 
			if(cm.getMeso() >= 10000000){
         if (cm.getC().getPlayer().getGender() == 0) {
                cm.sendOk("Ha! There you are, You have had your sex changed to a    #bFemale#k. Go and enjoy your new life, young Lady!");
                cm.getC().getPlayer().setGender(1);
	        cm.gainMeso(-10000000);
                cm.dispose();
           } else {
                cm.getC().getPlayer().setGender(0);
	        cm.gainMeso(-10000000);
                cm.sendOk("Ha! There you are, You have had your sex changed to a    #bMale#k. Go and enjoy your new life, young Boy!");
                cm.dispose();}
			}else{
			cm.sendOk("You don't have enough Mesos. Come back when you have the money.");
			cm.dispose();
			}
		break
		case 1:
			cm.sendOk("Oh, no deal? No problem, come back when you want.");
			cm.dispose();
		break
		case 2:
			if(cm.getMeso() >= 1000000000){
                cm.sendOk("Ha! There you are, You have had your sex changed to a    #bHermaphrodite#k. If you come to change gender again, you will return to a #bMale#k.Now go and enjoy your new life, Kid!");
                cm.getC().getPlayer().setGender(2);
	        cm.gainMeso(-1000000000);
                cm.dispose();
		break
			}else{
			cm.sendOk("You don't have enough Mesos. Come back when you have the money.");
			cm.dispose();
			}
		break
		}
	}
 
Last edited:
Experienced Elementalist
Joined
Apr 13, 2008
Messages
298
Reaction score
1
Re: [Release] Easy Sex Change

Just a suggestion, maybe make an option to be gender 2 (lets you wear both male and female clothes) for like 500 mil or 1 bil or w/e

Good job on it though
 
Banned
Banned
Joined
May 30, 2008
Messages
726
Reaction score
1
Re: [Release] Easy Sex Change

Hmm Good Job youve finnaly released it, i saw it earlier
 
Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
Re: [Release] Easy Sex Change

thanks ^o^ i could do it, and i still dunno how.


Just a suggestion, maybe make an option to be gender 2 (lets you wear both male and female clothes) for like 500 mil or 1 bil or w/e

Good job on it though

Lol, i'll try adding the hermaphrodite later xD, but cool idea. thanks
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
118
Reaction score
0
Re: [Release] Easy Sex Change

this was released by iGoofy. -_-

Copy and paste?

(didnt check)
 
Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
Re: [Release] Easy Sex Change

it's not the same release, iGoofy's sex change has a hair/eye change in it, this one just changes your gender. So you keep your hair and eyes ^^

EDIT: oh btw. i didn't do copy/paste to make my script, i Learned how to script by copy/pasting (shy)
---

Added upgrade for script
 
Experienced Elementalist
Joined
Jul 1, 2008
Messages
270
Reaction score
0
Re: [Release] Easy Sex Change

Does the hermaphrodite thing work? Without glitches?
 
Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
Re: [Release] Easy Sex Change

yup, at least it worked for me, the only glitch i found, is that if you change gender a lot of times sequently, maybe you won't be able to put any clothes, but you CC, relog, or go to cash shop, and you're able to put clothes again.

but yes, the hermaphrodite works , exactly like normal gender change, it's same process, just change to a different gender :)
 
Experienced Elementalist
Joined
Jul 1, 2008
Messages
270
Reaction score
0
Re: [Release] Easy Sex Change

Oh ty, I'm going to use it on my server probably. Nice release :D
 
Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
Re: [Release] Easy Sex Change

thanks :D

good luck with your server :D, if there's something wrong, ask me, maybe i can help you.
 
Master Summoner
Member
Joined
Jul 22, 2008
Messages
573
Reaction score
0
Re: [Release] Easy Sex Change

great release, but i can't change any hair at GM map with hermaphrodite status ;X
 
Initiate Mage
Joined
Oct 21, 2007
Messages
13
Reaction score
0
Re: [Release] Easy Sex Change

oh crap, i thought that would happen x(

maybe you could change the getGender() in the NimaKIN/KIN script, so you can change hairs and eyes ;-)
 
Master Summoner
Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Re: [Release] Easy Sex Change

EDIT:lalalal

Can't delete ^^
 
Back
Top