- Joined
- Mar 30, 2013
- Messages
- 474
- Reaction score
- 56
Hey, I was wondering how you can remove the broadcast when someone hit's level one, and how you change the name of the broadcast. Like it says [TiredStory] : *Name* has hit level 200!
levelup method in MapleCharacter.Hey, I was wondering how you can remove the broadcast when someone hit's level one, and how you change the name of the broadcast. Like it says [TiredStory] : *Name* has hit level 200!
var setupTask;
function init() {
scheduleNew();
}
function scheduleNew() {
var cal = java.util.Calendar.getInstance();
cal.set(java.util.Calendar.HOUR, 0);
cal.set(java.util.Calendar.MINUTE, 0);
cal.set(java.util.Calendar.SECOND, 0);
var nextTime = cal.getTimeInMillis();
while (nextTime <= java.lang.System.currentTimeMillis())
nextTime += 600 * 1000;
setupTask = em.scheduleAtTimestamp("start", nextTime);
}
function cancelSchedule() {
setupTask.cancel(true);
}
function start() {
scheduleNew();
var Message = new Array("Remember to like our FaceBook page on our website.", "Vote for Us Every 6 Hours and Gain Vote Points for prizes!" , "Use @buy to recieve KisaStory Money.", "Players with 15 or lower rebirths get 2x exp when in a party!");
em.getChannelServer().yellowWorldMessage("[KisaTip] " + Message[Math.floor(Math.random() * Message.length)]);
}
What you said had nothing to do with the Congratulation for level 200's.Compiled ,Paste in to your dist... Still didn't work ?
Try Goto your My document/netbeanproject/tiredstory/dist (Maybe there)
Deleted the tiredstory.java and re-compilie
After deleted the old tiredstory.java on the source dist , paste it
Start your server...
Yeah I did that. Its not in there. The script above is my entire automsg. But I did fix the level200 broadcasting. Thanks for that. Still need to fix the broadcasting. I figured since it was a admin command it would be in AdminCommands.java, but wasnt.
Also, I have both [KisaTip], and then a [MapleTip]. Wat. Am I missing something?
public void dropMessage(String message) {
dropMessage(6, "[TiredStory]: " + message);
//remove [TiredStory] or replace it with [KisaMS] or whatever you like.
}
I had actually changed it in the JrGM and had compiled it, so I literally have no clue.
public void dropMessage(String message) {
dropMessage(6, "[TiredStory]: " + message);
}
Yeah, already did it. Changed to KisaStory. Still not changed c:. (Yes, I did change through netbeans, saved, compiled, turned server off, replaced the TiredStory.java in dist, then turned server back online.)
Mapletip is broadcasted by the client lol.No, that was changed. There is two tips that broadcast's. Theres a [KisaTip] and then a [Mapletip], both broadcasting different tips from automsg. But there is no such thing as Mapletip in automsg. Now I see why you posted what you did, thanks. This source is amazing, just hard to customize to an extreme point.
You have to reload the monster drops. Restarting the server also works if you don't have a command for that.*ALL issues above have been found, and fixed. Thanks to kevintjub93, Hecari, and Wingx.*
And thenn, where all do you have to edit for mobs to drop something? They dropped nothing before, so I added some items to the table monsterdrops in SQL, and then reloaded the map, and the mobs still do not drop anything. Im assuming theres another spot as to where you have to edit for them to drop the item. Also, in MySQL, what does chance do? I see numbers from 1-6000, like I saw normal snail shell (100100) at 6000, and then blue snail shell (100101), at 70, and they drop at the same rate.
Yeah, stil does not work a restart later. And No, its only the mobs I added in. Is a lower number a higher chance of drop? I just threw 1 in for all of them.
Also, how do you add an item to the source? I have the v130 items/equips/chairs for gms, but I have yet to even touch wizet editing. (Had used to be a developer for a v83 MS server, but had quit to go to ragnarok, just coming back, mixing the two made me forget alot.)