- Joined
- Jul 28, 2007
- Messages
- 246
- Reaction score
- 35
well basically replace nima kin/ kins scripts with these, professionals can tell how easily i did this but meh i felt like releasing something, and i dont plan on releasing how to custom quest cause it's way to easy blah blah blah //greed blah etc
anyways enjoy.
(i normally just release things that have next to no value to me or i barely worked on it, things that do on the other hand i don't release cause i like to hear noob server owners beg, Lol. i still got that dagonms guy in my hamachi its kinda fun to hear him beg for releases)
ok so heres what it basically does, every player can use both npcs meaning guy gms can wear girl stuff( talk about the best halloween costume Lol)
If you want to disable it for players just do this
change
if(cm.getChar().isGM()
== false) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
the cm.sendSimple to cm.sendOk and that will auto disable it but show the lists...so if you want you can go ahead and get cocky and put something like
("your not a gm leave me the fuck alone -gets excessively paranoid and summons monsters- ");
and if you ever did do that you can just change the music and make him spawn a monster?
i dunno i don't plan on making a full out guide on how to do that i just want to get this over with Lol.
EDIT:
kk oh one more thing for even more fun in the database change your gender to 2 so you can equip ALL clothes
enjoy
why 2? well thats off bounds 0 is male and 1 is female i believe but 2 is alienated meaning it's neither
anyways enjoy.
(i normally just release things that have next to no value to me or i barely worked on it, things that do on the other hand i don't release cause i like to hear noob server owners beg, Lol. i still got that dagonms guy in my hamachi its kinda fun to hear him beg for releases)
Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[EMAIL="[email protected]"][email protected][/EMAIL]>
Matthias Butz <[EMAIL="[email protected]"][email protected][/EMAIL]>
Jan Christian Meyer <[EMAIL="[email protected]"][email protected][/EMAIL]>
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 <[URL]http://www.gnu.org/licenses/[/URL]>.
*/
/* NimaKIN
Female Hair for GM.
*/
var status = 0;
var beauty = 0;
var haircolor = Array();
var skin = Array(0, 1, 2, 3, 4);
var hair = Array(31000, 31010, 31020, 31030, 31040, 31050, 31060, 31070, 31080, 31090, 31100, 31110, 31120, 31130, 31140, 31150, 31160, 31170, 31180, 31190, 31200, 31210, 31220, 31230, 31240, 31250, 31260, 31270, 31280, 31290, 31300, 31310, 31320, 31330, 31340, 31350, 31410, 31420, 31430, 31440, 31450, 31460, 31470, 31480, 31490, 31510, 31520, 31530, 31540, 31550, 31560, 31570, 31580, 31590, 31600, 31610, 31620, 31630, 31640, 31650, 31670, 31680, 31690, 31700, 31710, 31720, 31730, 31740);
var hairnew = Array();
var face = Array(21000, 21001, 21002, 21003, 21004, 21005, 21006, 21007, 21008, 21009, 21010, 21011, 21012, 21013, 21014, 21016, 21017, 21018, 21019, 21020, 21022);
var facenew = Array();
var colors = Array();
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) {
if(cm.getChar().isGM()
== false) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
} else {
if(cm.getChar().getGender() == 1) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
}else {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
}
}
} else if (status == 1) {
if (selection == 0) {
beauty = 1;
cm.sendStyle("Pick one?", skin);
} else if (selection == 1) {
beauty = 2;
hairnew = Array();
for(var i = 0; i < hair.length; i++) {
hairnew.push(hair[i] + parseInt(cm.getChar().getHair()
% 10));
}
cm.sendStyle("Pick one?", hairnew);
} else if (selection == 2) {
beauty = 3;
haircolor = Array();
var current = parseInt(cm.getChar().getHair()
/10)*10;
for(var i = 0; i < 8; i++) {
haircolor.push(current + i);
}
cm.sendStyle("Pick one?", haircolor);
} else if (selection == 3) {
beauty = 4;
facenew = Array();
for(var i = 0; i < face.length; i++) {
facenew.push(face[i] + cm.getChar().getFace()
% 1000 - (cm.getChar().getFace()
% 100));
}
cm.sendStyle("Pick one?", facenew);
} else if (selection == 4) {
beauty = 5;
var current = cm.getChar().getFace()
% 100 + 21000;
colors = Array();
colors = Array(current , current + 100, current + 200, current + 300, current +400, current + 500, current + 600, current + 700);
cm.sendStyle("Pick one?", colors);
}
}
else if (status == 2){
cm.dispose();
if (beauty == 1){
cm.setSkin(skin[selection]);
}
if (beauty == 2){
cm.setHair(hairnew[selection]);
}
if (beauty == 3){
cm.setHair(haircolor[selection]);
}
if (beauty == 4){
cm.setFace(facenew[selection]);
}
if (beauty == 5){
cm.setFace(colors[selection]);
}
}
}
}
Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[EMAIL="[email protected]"][email protected][/EMAIL]>
Matthias Butz <[EMAIL="[email protected]"][email protected][/EMAIL]>
Jan Christian Meyer <[EMAIL="[email protected]"][email protected][/EMAIL]>
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 <[URL]http://www.gnu.org/licenses/[/URL]>.
*/
/* KIN
Male Hair for GM.
*/
var status = 0;
var beauty = 0;
var haircolor = Array();
var skin = Array(0, 1, 2, 3, 4);
var hair = Array(30000, 30020, 30030, 30040, 30050, 30060, 30110, 30120, 30130, 30140, 30150, 30160, 30170, 30180, 30190, 30200, 30210, 30220, 30230, 30240, 30250, 30260, 30270, 30280, 30290, 30300, 30310, 30320, 30330, 30340, 30350, 30360, 30370, 30400, 30410, 30420, 30430, 30440, 30450, 30460, 30470, 30480, 30490, 30510, 30520, 30530, 30540, 30550, 30560, 30570, 30580, 30590, 30600, 30610, 30620, 30630, 30640, 30650, 30660, 30700, 30710, 30720, 30780, 307090, 30800, 30810, 30730, 30760);
var hairnew = Array();
var face = Array(20000, 20001, 20002, 20003, 20004, 20005, 20006, 20007, 20008, 20009, 20010, 20011, 20012, 20013, 20014, 20016, 20017, 20018, 20019, 20020, 20021, 20022, 20023, 20024);
var facenew = Array();
var colors = Array();
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) {
if(cm.getChar().isGM()
== false) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
} else {
if(cm.getChar().getGender() == 0) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
}else {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
}
}
} else if (status == 1) {
if (selection == 0) {
beauty = 1;
cm.sendStyle("Pick one?", skin);
} else if (selection == 1) {
beauty = 2;
hairnew = Array();
for(var i = 0; i < hair.length; i++) {
hairnew.push(hair[i] + parseInt(cm.getChar().getHair()
% 10));
}
cm.sendStyle("Pick one?", hairnew);
} else if (selection == 2) {
beauty = 3;
haircolor = Array();
var current = parseInt(cm.getChar().getHair()
/10)*10;
for(var i = 0; i < 8; i++) {
haircolor.push(current + i);
}
cm.sendStyle("Pick one?", haircolor);
} else if (selection == 3) {
beauty = 4;
facenew = Array();
for(var i = 0; i < face.length; i++) {
facenew.push(face[i] + cm.getChar().getFace()
% 1000 - (cm.getChar().getFace()
% 100));
}
cm.sendStyle("Pick one?", facenew);
} else if (selection == 4) {
beauty = 5;
var current = cm.getChar().getFace()
% 100 + 20000;
colors = Array();
colors = Array(current , current + 100, current + 200, current + 300, current +400, current + 500, current + 600, current + 700);
cm.sendStyle("Pick one?", colors);
}
}
else if (status == 2){
cm.dispose();
if (beauty == 1){
cm.setSkin(skin[selection]);
}
if (beauty == 2){
cm.setHair(hairnew[selection]);
}
if (beauty == 3){
cm.setHair(haircolor[selection]);
}
if (beauty == 4){
cm.setFace(facenew[selection]);
}
if (beauty == 5){
cm.setFace(colors[selection]);
}
}
}
}
If you want to disable it for players just do this
change
if(cm.getChar().isGM()
== false) {
cm.sendSimple("Hey there! I could change the way you look! What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
the cm.sendSimple to cm.sendOk and that will auto disable it but show the lists...so if you want you can go ahead and get cocky and put something like
("your not a gm leave me the fuck alone -gets excessively paranoid and summons monsters- ");
and if you ever did do that you can just change the music and make him spawn a monster?

EDIT:
kk oh one more thing for even more fun in the database change your gender to 2 so you can equip ALL clothes

why 2? well thats off bounds 0 is male and 1 is female i believe but 2 is alienated meaning it's neither