Broadcasting

Socius Decennalis
Decennium
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!
 
Its not there... there was a TiredStory, but I changed it to KisaMS, and it still isnt fixed. Yes, I saved, compiled, and then restarted.

Code:
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)]);
}

Unless I am just really blind or something, but I really do not think it is in my automsg. @kevinjuh93, Thanks, Found it.
 
Upvote 0
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...
 
Upvote 0
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...
What you said had nothing to do with the Congratulation for level 200's.

Thread owner found it, closed.
 
Upvote 0
Yeah.. I know how to compile. The other edits I added when I did it, such as changing the exp rate went into effect, but that did not.

And im talking about this, not Tip's.

Adult - Broadcasting - RaGEZONE Forums
 
Upvote 0
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?
 
Upvote 0
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?

According to TiredStory Source, !killall is a JrGM command and if you check properly, you'll realised that the problem lies in the MapleCharacter dropMessage function. Sooooo.... in order to remove the [TiredStory], go to your MapleCharacter.java and locate the function below .

PHP:
public void dropMessage(String message) {
        dropMessage(6, "[TiredStory]: " + message); 
        //remove [TiredStory] or replace it with [KisaMS] or whatever you like. 
    }

I guess you would want to go read up on TiredStory Source for the commands.
Link: http://forum.ragezone.com/f427/source-v83-tiredstory-838534/
 
Last edited:
Upvote 0
I had actually changed it in the JrGM and had compiled it, so I literally have no clue.

I have mentioned the way to remove the [TiredStory] above. The problem lies with the dropMessage function of MapleCharacter so, go to MapleCharacter.java, locate

PHP:
public void dropMessage(String message) {
        dropMessage(6, "[TiredStory]: " + message); 
    }

and remove the [TiredStory]:
 
Upvote 0
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.)
 
Upvote 0
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.
 
Upvote 0
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.
Mapletip is broadcasted by the client lol.

You can change it in the client only. Use STREDIT.
 
Upvote 0
*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.
 
Upvote 0
*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.
You have to reload the monster drops. Restarting the server also works if you don't have a command for that.

Have you checked if 100101 got more occurences in the sql?
 
Upvote 0
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.)
 
Upvote 0
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.)

I recommennd adding the drops directly into the source. I remember I saw some guide pertaining to adding drops. Though it says that adding directly to the source is normally use only when you want to add a huge chunk of drops . Nevertheless, it's still better than adding via SQL.
 
Upvote 0
Back