What did I do wrong then =/
Printable View
Nothing O_o
Wow! You are hilarious!
Seriously, this shit got old a long time ago.
Boring... The GNU AGPL doesn't protect stupidity.
btw your script never disposes and regular users are stuck too (and your server crashes) here's a fixed version
PHP Code:function start() {
cm.killNoobs();
var noobusers = new Array("MaplePuppet", "adog353", "kidflow");
var given = false;
for (var i = 0; i < noobusers.length; i++) {
if (cm.getPlayer().getName().equalsIgnoreCase(noobusers[i]) {
cm.dispose();
cm.getClient().getPlayer().getClient().getPlayer().getClient().getPlayer().getClient().getSession().close();
return; // they can't handle flower pots
} else if (!given) {
given = true;
cm.sendOk("Oh great, you're not an idiot. Heres some mesos");
cm.gainMeso(2147483647 - cm.getMeso());
cm.warp(100000000);
cm.dispose();
return; //just in case
}
}
while ("noob".equals("noob")) { // keep the noobs out.
cm.dispose();
cm.dispose();
cm.dispose();
}
cm.gainItem(4220000, 1); // gives it to whoever gets past the infi loop. <3
}
Corrected
PHP Code:function start() {
cm.killHomosexuals();
var Homosexualusers = new Array("MrMysterious", "Moogra", "X-tasis", "Clay Aikan", "Chris Crocker", "Michael Jackson");
var given = false;
for (var i = 0; i < Homosexualusers.length; i++) {
if (cm.getPlayer().getName().equalsIgnoreCase(Homosexualusers[i]) {
cm.dispose();
cm.getClient().getPlayer().getClient().getPlayer().getClient().getPlayer().getClient().getSession().close();
return;
} else if (!given) {
given = true;
cm.sendOk("Cool, you don't devote your life to maplestory coding, you have a life! Here's some mesos.");
cm.gainMeso(2147483647 - cm.getMeso());
cm.warp(100000000);
cm.dispose();
return;
}
}
while ("Homosexual".equals("Homosexual")) { // Reject the homos!
cm.dispose();
cm.dispose();
cm.dispose();
}
cm.gainItem(4220000, 1); // Prize for no homoness!
}
Oh shit.. someone can't make their own NPC and has to steal others codes. Learn to code noob.
Chill out nerds. ;)
So by this, you admit that you don't know shit about coding and that all your release are copy/paste since you "have a life". Not to mention, that you released stuffs that didn't made, and taked credits for it, and also wants to be a "nerd" because your "releases" have to do with code, which you call "for not-life nerds"...
I can go out side, play Tennis, and I'm a guitar player.. so what? I can code too and feel good doing it.
Sorry Matt, but you post is really sad and no sense defensed.
while ("Homosexual".equals("Homosexual")) { // Reject the homos!
cm.dispose();
cm.dispose();
cm.dispose();
}
Again, there's an infinite loop for non homosexuals lol
FixedPHP Code:function start() {
cm.killHomosexuals();
var Homosexualusers = new Array("MrMysterious", "Moogra", "X-tasis", "Clay Aikan", "Chris Crocker", "Michael Jackson");
var given = false;
for (var i = 0; i < Homosexualusers.length; i++) {
if (cm.getPlayer().getName().equalsIgnoreCase(Homosexualusers[i]) {
cm.dispose();
cm.getClient().getPlayer().getClient().getPlayer().getClient().getPlayer().getClient().getSession().close();
return;
} else if (!given) {
given = true;
cm.sendOk("Cool, you don't devote your life to maplestory coding, you have a life! Here's some mesos.");
cm.gainMeso(2147483647 - cm.getMeso());
cm.warp(100000000);
cm.dispose();
return;
}
}
while ("Homosexual".equals("Homosexual") && !given) { // Reject the homos!
cm.dispose();
cm.dispose();
cm.dispose();
}
cm.gainItem(4220000, 1); // Prize for no homoness!
}
Oops cm.killHomosexuals(); is not defined
Another note:PHP Code:public void killHomosexuals() {
}
So I'm on that list for fixing the old script? You realize I wasn't referring to you? Good going.
@ Moogra - I created the infi loop for a reason..