- 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 :
credits to all scripters out there, if it wasn't for you, i could never learn some java copy/pasting
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:
It costs 1,000,000,000 Mesos to become =P
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 <[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/>.*/
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

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: