[Release] Sex Change Npcs

Newbie Spellweaver
Joined
Jun 23, 2008
Messages
9
Reaction score
0
Hi, i made myself some Sex Changer Npcs... Yeah they work in game =)...
am currently working on they even tho that they work, i still have an NPC for making you a male, and one for making you a female... I want to make one NPC cuz 2 is just annoying. THEY work 100%...

HERE is the code for the Female To MALE NPC

/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[email protected]>
Matthias Butz <[email protected]>
Jan Christian Meyer <[email protected]>

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

/* Sex Changer o.o
*/

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("I can make you a Male... LOL. Are you ready?(Remember THAT you need to Change Channel, That Way the Sex Transfer Will Be Succesfull)");
} else if (status == 1) {
cm.getChar().setGender(0);
cm.sendOk("Alright, we're done.");
cm.dispose();
}
}
}

Here is The Code for the Male To Female

/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[email protected]>
Matthias Butz <[email protected]>
Jan Christian Meyer <[email protected]>

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

/* Sex Change Npc To Female
*/

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("I can make you a Female... LOL. Are you ready? (Remember THAT you need to Change Channel, That Way the Sex Transfer Will Be Succesfull)");
} else if (status == 1) {
cm.getChar().setGender(1);
cm.sendOk("Alright, we're done.");
cm.dispose();
}
}
}

Feel Free to comment LOL
i know its kinda gay, but ppl in my server requested it xD
Enjoy Your Sex Transfer

---EDIT---
Here are they links in you just wanna copy and paste file into the npc script folder...
Male to Female (The Document Scroll)

Female to Male (the amorian Ambassador At Henesys)
 
ty, They work xD LOL
its kinda funny, i got more npcs like this lol
btw if u want guys i can upload them and post link
 
it can bug your character
you can make 1 npc first check the gender
if its 0, set it to 1 and add 1000 to the current hair and eyes!
else set it to 0 and decrease 1000 of the current hair and eyes

you know what i'm saying?
else you're female with male hair and eyes, that way your char can get bugged
 
Well, i have question what the hair i get when i change my sex?
and you can upload image
EDIT: i saw in the script the hair but this script very bugy you need gender checker because its can change my gander even if i already in the select gader its very buggy
 
so its super buggy because some times if i get male hair and i am female its make DC and i cant get in the cher
 
-Cough- Check your Server Files cuz PPL in my server are almost all Transgender LOL and Trasvestis xD they got female hair and male eyes, etc...
 
it dun works for me..i talk to the npc. it says i have changed and ask me to change channel for it to work.but still nothing happen. sex change operation failed.
 
ty, They work xD LOL
its kinda funny, i got more npcs like this lol
btw if u want guys i can upload them and post link

yesh we want :D

and awesome release >_<

i was trying hard, coding gender option to KIN and NimaKIN : /
but i failed badly, since im a novice NPC coder D:

~dXm
 
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy
Matthias Butz <[email protected]>
Jan Christian Meyer

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

/* Sex Changer o.o
*/

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("I can change you sex.... Are you ready?(Remember THAT you need to Change Channel, That Way the Sex Transfer Will Be Succesfull)");
} else if (status == 1) {
if cm.getChar().getGender(1); {
cm.getChar().setGender(0);
cm.gainMeso(-100000000);
}else {
cm.getChar().setGender(1);
cm.gainMeso(-100000000);
cm.sendOk("Alright, we're done.");
cm.dispose();
}
}


try this for auto chek..
if its dont work dont flame..
im still learning java
 
ur really mean...

nice release! i actually heard ppl ask for a sex change before xD
I'm mean? I think people that say "OMG NICE!111" without actually stating why they think it's nice or even offering help to fix flaws they see in a person's release are the mean ones. People don't learn if you baby them all the way through.
 
Back