ahhhh so b@ssms requested me implanting
gmintern into pcmaple repack
so i did!
this is based on pcmaple repack.....
*Copies from nesmy repack thread*
-GM INTERN
-Yup its here :] gm interns
-Whats a gm intern you ask?Its a gm helper or a GMs Tool haha
-Hey what commands do these interns get?
-They get:#warp,#ban,#intern(its like a !say), and #meso
-Remember the add a column to your characters place in your database....same values as the column GM(can someone please make me a mysql script for this?Im a bit lazy thanks)
some people didnt want #ban so i didn't add it...ill give you the script if you guys want to :]
Code:
} else if (splitted[0].equals("#ban")) {
if (splitted.length < 3) {
new ServernoticeMapleClientMessageCallback(2, c).dropMessage("Syntaxhelper : Syntax: #ban charname reason");
return true;
}
String originalReason = StringUtil.joinStringFrom(splitted, 2);
String reason = c.getPlayer().getName() + " banned " + splitted[1] + ": " +
originalReason;
MapleCharacter target = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
if (target != null) {
String readableTargetName = MapleCharacterUtil.makeMapleReadable(target.getName());
String ip = target.getClient().getSession().getRemoteAddress().toString().split(":")[0];
reason += " (IP: " + ip + ")";
String gmsname = player.getName();
target.ban(reason);
c.getPlayer().getMap().broadcastMessage(MaplePacketCreator.serverNotice(6, "" + splitted[1] + " got pwned REAL bad by " + gmsname + " for " + originalReason));
} else {
if (MapleCharacter.ban(splitted[1], reason, false)) {
mc.dropMessage("Offline Banned " + splitted[1]);
} else {
mc.dropMessage("Failed to ban " + splitted[1]);
}
}
uhhhh LONG LIVE MSREMIX :];];];]
*Includes wz files*
Oh and i didnt really prepare these files for a repack soooo there will be alot of junk with msremix in there ;]
dont mind those errors i have in there.....you can still compile FINE.
Download:
RapidShare:
You must be registered to see links
MediaFire:Uploading
Megaupload:Uploading
SORRY ITS SO SLOW MY SPEEDS ARE HORRIBLE
JUST CHECK THIS OUT
Random Crap:
Q:Why did the dog cross the road?
A:Because he can and its free
oh yeah and execute these in query
Code:
ALTER TABLE `characters` ADD COLUMN `reborns` int(11) NOT NULL DEFAULT '0' AFTER `messengerposition`;
Code:
/* DIZ WAS CREATED BAI BASS OF RAGEZONE!
*/
ALTER TABLE `characters` ADD COLUMN `Intern` tinyint(1) NOT NULL default '0'