Guys some bad news. The development of SilentSource will be slowed down a bit since I am working for a server and Thomas will be away for a week or so. Please do not repost this source on any other forum. Thx.
Printable View
Guys some bad news. The development of SilentSource will be slowed down a bit since I am working for a server and Thomas will be away for a week or so. Please do not repost this source on any other forum. Thx.
Hey...
When I did NetBeans I see a whole lost of errors in the src.
I can't really compile when I get done getting my stuff done,
Do you think you could fix it?
I've been doing netbeans for a while now. So, yea im pretty sure i did it.
Its just that i get a lot of compile errors and i can't fix some of them. Most of them has to do with the IoSession.
NYC just so you dont have to dig through to save you some time when you do work on this heres all the requests so far:
Fix:
@goafk
!shutdown
!shutdownnow
Spawn of ht
@president's exp rate
Add:
!mute map/player
!curse (horntails thing where they players all start walking and jumping left)
!charinfo [player]
!spy [player]
!setrebirths [player] [amount]
!givepoints [player] [amount]
Ill post a dl for a more upadted aio when i get home guys its sitting on my desktop and its got stuff through 75 I believe.
Keep up the good work and best of luck on your server :D
Since people are asking for stuff and I don't
see NYCPirate is on, I'll make that for ya.
@goafk:
Add in PlayerCommands:
!shutdown, !shutdownnow.Code:} else if (splitted[0].equals("@goafk")) {
player.setChalkboard("Hello, I'm AFK. Please leave a message.");
Add in AdminCommands:
More to come.Code:} else if (splitted[0].equals("!shutdown") || splitted[0].equals("!shutdownnow")) {
for (MapleCharacter everyone : cserv.getPlayerStorage().getAllCharacters()) {
everyone.saveToDB(true);
}
int time = 60000;
if (splitted.length > 1) {
time *= Integer.parseInt(splitted[1]);
TimerManager.getInstance().register(new ShutdownAnnouncer(cserv, (long) time), 300000, 300000);
}
if (splitted[0].equals("!shutdownnow")) {
time = 1;
}
persister.run(); getPlayer().getClient().getChannelServer().getWorldInterface().broadcastMessage(null, MaplePacketCreator.serverNotice(6, "The server will shutdown in a minute. Please log out.");
cserv.shutdown(time);
Add Honorable Rock
9040004.js
Code:/*
This file was written by "StellarAshes" <stellar_dust@hotmail.com>
as a part of the Guild package for
the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
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/>.
*/
/* Honorable Rock */
function start()
{
cm.displayGuildRanks();
cm.dispose();
}
Looks like we're doing the work here xD.
I noticed that Joel the ticket worker doesnt work correct
here is the correct version :D
Joel
1032007.js
Code:/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
var status = 0;
var cost = 5000;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (status >= 0 && mode == 0) {
cm.sendNext("You must have some business to take care of here, right?");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendYesNo("Hello, I'm in charge of selling tickets for the ship ride to Orbis Station of Ossyria. The ride to Orbis takes off every 15 minutes, beginning on the hour, and it'll cost you #b"+cost+" mesos#k. Are you sure you want to purchase a #bTicket to Orbis (Regular)#k?");
} else if (status == 1) {
if (cm.getMeso() < cost) {
cm.sendNext("Are you sure you have #b"+cost+" mesos#k? If so, then I urge you to check your etc. inventory, and see if it's full or not.");
cm.dispose();
} else {
cm.gainMeso(-cost);
cm.gainItem(4031045, 1);
cm.dispose();
}
}
}
}
No now you can buy a ticket to orbis
Here is cherry for now it wil only warp you to orbis (no boat)
1032008.js
WITH BOAT AND WORKING :DCode:/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (status >= 0 && mode == 0) {
cm.sendNext("You must have some business to take care of here, right?");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendYesNo("It looks like there's plenty of room for this ride. Please have your ticket ready so I can let you in. The ride will be long but you'll get to your destination just fine. What do you think? Do you want to get on this ride?");
} else if (status == 1) {
if (cm.haveItem(4031045)) {
cm.gainItem(4031045, -1);
cm.warp(200000100, 0);
cm.dispose();
} else {
cm.sendNext("Oh no... I don't think you have the ticket with you. I can't let you in without it. Please buy the ticket at the ticketing booth.");
cm.dispose();
}
}
}
}
1032008.js
Proof ship is working :DCode:/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function start() {
if(cm.haveItem(4031045)){
var em = cm.getEventManager("Boats");
if (em.getProperty("entry") == "true")
cm.sendYesNo("Do you wants to go to Orbis?");
else{
cm.sendOk("The boat to Orbis is ready to take off, please be patience for next one.");
cm.dispose();
}
}else{
cm.sendOk("Make sure you got a Orbis ticket to travel in this boat. Check your inventory.");
cm.dispose();
}
}
function action(mode, type, selection) {
cm.gainItem(4031045, -1);
cm.warp(101000301);
cm.dispose();
}
http://img188.imageshack.us/i/maple0001xa.jpg/
http://img256.imageshack.us/img256/4501/maple0002q.jpg
http://img163.imageshack.us/img163/9324/maple0003ts.jpg