Is there anyway to make Donors chat in yellow text with [Donor] in front of their name?
[Donor]HorrorChix <message>
Printable View
Is there anyway to make Donors chat in yellow text with [Donor] in front of their name?
[Donor]HorrorChix <message>
Chat like in public, map only type thing
Anywho, I need a few things:
How can I make donors talk in yellow text with [Donor] before the player name? (like public text)
Also, there is no FoJ right? If not can it be added? Or can someone kindly tell me HOW to add it and make it work?
Use this thing I found in some repack. You can change it to your likes.
Code:} else if (splitted[0].equals("gmtext")) {
int text;
if (splitted[1].equalsIgnoreCase("normal")) {
text = 0;
} else if (splitted[1].equalsIgnoreCase("orange")) {
text = 1;
} else if (splitted[1].equalsIgnoreCase("pink")) {
text = 2;
} else if (splitted[1].equalsIgnoreCase("purple")) {
text = 3;
} else if (splitted[1].equalsIgnoreCase("green")) {
text = 4;
} else if (splitted[1].equalsIgnoreCase("red")) {
text = 5;
} else if (splitted[1].equalsIgnoreCase("blue")) {
text = 6;
} else if (splitted[1].equalsIgnoreCase("whitebg")) {
text = 7;
} else if (splitted[1].equalsIgnoreCase("lightinggreen")) {
text = 8;
} else if (splitted[1].equalsIgnoreCase("yellow")){
text = 9;
} else {
player.dropMessage("Wrong syntax: use !gmtext normal/orange/pink/purple/green/blue/red/whitebg/lightinggreen/yellow");
return true;
}
Connection con = DatabaseConnection.getConnection();
PreparedStatement ps = con.prepareStatement("UPDATE characters SET gmtext = ? WHERE name = ?");
ps.setString(2, player.getName());
ps.setInt(1, text);
ps.executeUpdate();
ps.close();
player.setGMText(text);
}
return true;
}
o.o
I found this
You're suppose to replace it in the GeneralChatHandler.java but it gave me about 19 errors when I compiled itPHP Code:if (isDonator) {
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
} else {
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), text, c.getPlayer().getGMChat(), slea.readByte()));
}
PHP Code:Compiling 15 source files to C:\Users\Elizabeth\Documents\NetBeansProjects\SilentSource\build\classes
C:\Users\Elizabeth\Downloads\SilentSource\src\client\messages\commands\Player.java:328: illegal start of expression
public CommandDefinition[] getDefinition() {
C:\Users\Elizabeth\Downloads\SilentSource\src\client\messages\commands\Player.java:328: ';' expected
public CommandDefinition[] getDefinition() {
C:\Users\Elizabeth\Downloads\SilentSource\src\client\messages\commands\Player.java:365: reached end of file while parsing
}
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ')' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: illegal start of expression
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: not a statement
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ')' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: illegal start of expression
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: not a statement
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:34: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.sendYellowTip("[Donor]" + c.getPlayer().getName() + ": " + text));c.getPlayer().getMap().broadcastMessage(Map lePacketCreator.getChatText(c.getPlayer().getId(), text, false, 1));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ')' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: illegal start of expression
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: not a statement
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
C:\Users\Elizabeth\Downloads\SilentSource\src\net\channel\handler\GeneralchatHandler.java:36: ';' expected
c.getPlayer().getMap().broadcastMessage(MaplePacke tCreator.getChatText(c.getPlayer().getId(), line, c.getPlayer().getGMChat(), slea.readByte()));
^
22 errors
C:\Users\Elizabeth\Documents\NetBeansProjects\SilentSource\nbproject\build-impl.xml:406: The following error occurred while executing this line:
C:\Users\Elizabeth\Documents\NetBeansProjects\SilentSource\nbproject\build-impl.xml:196: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 19 seconds)
Did you just called Deagan a noob? o.o
@jbird4242: it's a command...so put it in the command java. For me, I stuck it in DonorCommands
This repack rocks!
How come KoC skills DC?
I'm unaware if this is silentsource related or just my computer/files in general, so I'm asking this here. Does anyone else have extremely short buff times when using items? For example, gelt chocolates only work for about 5 seconds before going away again. If anyone knows a fix, it would be much appreciated. I've tried google/search but couldn't find anything useful. Thanks ahead of time.
It;s because of the unlimited buffs, it messed up the other items buffs
Lol, kinda pisses me off though. I loved the Onxy Apple and I keep getting ppl asking me why it doesn't work even when I tell them over and over the reason why
No offence but i am not using this source again. Worked on it for 3-5 days and it stills has bugs and glitches *lots*
I just want the things I asked for to work. And I keep getting ignored so eh...
Guys RaGEZONE is still down for me. I am accessing it though a proxy (ctunnel)
Well guys for all who love silentsource this is our final update on it rev 3.4 but we are closing our v.75 dev and we will be posting a dev thread in Development section of our new suorce LightSource v.83 thanks for all who used silentsource =P your thanks and kind comments mean much even u flamers
~Thanks
Thomas, Steven(NyCPirate)
i hope your v83 repack will be the best out there good luck thomas hope you make the best v83 repack support you :thumbup1:
Awwww :(
Help, when i use !pmob it does not work!!
Since this is going to be your last update could someone PLEASE help me out. I swear I've been asking the same questions for the last 15 pages on this thread and only a few (if any) have been answered.
@goafk doesn't open the Chalkboard
!shutdown doesn't shut down ANYTHING
there is no FoJ - so how to I add it?
HornTail DCs when he's summoned in his cave.
The Unlimited buffs you guys added kills the time for item buffs like Onxy Apples.
I mean, is there anyone who is willing to help? Hello....
help me please!
SilentSource has started:
World Launched
Login Launched
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.login.LoginServer.run(LoginServer.java:104)
at net.login.LoginServer.main(LoginServer.java:139)
Caused by: java.lang.NullPointerException
at constants.ServerConstants.<clinit>(ServerConstants.java:53)
... 2 more
Channel Launched
SilentSource Active
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.channel.ChannelServer.run(ChannelServer.java:169)
at net.channel.ChannelServer.main(ChannelServer.java:375)
Caused by: java.lang.NullPointerException
at constants.ServerConstants.<clinit>(ServerConstants.java:53)
... 2 more
I'll take the time now to say that my leeching skills are almsot as bad as my coding skills. I leeched a bunch of stuff fomr so many repacks (my hard drive is nearly full now) yet I get errors out the ass that I can't fix. So yeah it answered my question but it didn't solve the problem.
Which creates even bigger problems.
*Sigh* guess we have to switch source...again
No my .bat files work fine, I get errors when I compile. Cause I'm trying to add stuff that should already be added and fixed but it's not. Leaving a noob like me to try to figure stuff out and then completly fucking everything up. Then I ask for help and ppl tell me to do it myself which is stupid cause i've been doing most of it my damn self this whole time and I'm sick of it.
For chalkboard, add this in MapleCharacter.
Ir eleased !shutdown in somepage,l ook for my comment.Code:
public void setChalkboard(String text) {
if (this.getMiniGame() != null) {
return;
}
this.chalktext = text;
}
Why do you need foj? Just google for it. lolcastle.js
idc this source is shit so horntail wouldnt summon
the buff issue is this source nubz k
---------- Post added at 01:32 PM ---------- Previous post was at 01:31 PM ----------
Then don't open a server?
Oh ok. yea replace that.
If it's not working, then replace this source.
It's a bunch of shit.
---------- Post added at 01:58 PM ---------- Previous post was at 01:56 PM ----------
Replace that with your old pmob.Code:} else if (splitted[0].equalsIgnoreCase("!pmob")) {
int npcId = Integer.parseInt(splitted[1]);
int mobTime = Integer.parseInt(splitted[2]);
int xpos = player.getPosition().x;
int ypos = player.getPosition().y;
int fh = player.getMap().getFootholds().findBelow(player.getPosition()).getId();
if (splitted[2] == null) {
mobTime = 0;
}
MapleMonster mob = MapleLifeFactory.getMonster(npcId);
if (mob != null && !mob.getName().equals("MISSINGNO")) {
mob.setPosition(player.getPosition());
mob.setCy(ypos);
mob.setRx0(xpos + 50);
mob.setRx1(xpos - 50);
mob.setFh(fh);
try {
Connection con = DatabaseConnection.getConnection();
PreparedStatement ps = con.prepareStatement("INSERT INTO spawns ( idd, f, fh, cy, rx0, rx1, type, x, y, mid, mobtime ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )");
ps.setInt(1, npcId);
ps.setInt(2, 0);
ps.setInt(3, fh);
ps.setInt(4, ypos);
ps.setInt(5, xpos + 50);
ps.setInt(6, xpos - 50);
ps.setString(7, "m");
ps.setInt(8, xpos);
ps.setInt(9, ypos);
ps.setInt(10, player.getMapId());
ps.setInt(11, mobTime);
ps.executeUpdate();
} catch (SQLException e) {
mc.dropMessage("Failed to save MOB to the database");
}
player.getMap().addMonsterSpawn(mob, mobTime);
} else {
mc.dropMessage("You have entered an invalid Npc-Id");
}
Have funz.
is there a way to change the rebirth system to just the normal rebrth system? Cause "@rebirth c" turns players into nobelese but they can't use the Job Advancer I have
Just delete this source and download
a better v75 source, This source's a fail.
---------- Post added at 02:57 PM ---------- Previous post was at 02:56 PM ----------
Just delete this source and download
a better v75 source, This source's a fail.
You do know if I delete this source my friend would 1. be pissed at me. 2. not have a source and 3. we would have to spend a week looking for somehing almost as good as this one.
This isn't a bad source compared to some. People just gave up on it. It's sad really
They gave up on it because it's A FAIL.
The 'coders', or what they call coders
of it can't code.
This source is actually very good. It's only been around for a week or so, so of course its going to have bugs in it. Try finding a repack without bugs, it's impossible.
I didn't read the entire thread, so don't go flaming me saying things were already answered. I have a few problems with this source. 1st thing; MSI items created through the MSI guy give out items that do not have stats to them at all and then reset the player stats to 4. Was there a fix it that? 2nd, new characters get spawned in the monster carnival room which I do believe is the jail room. I edited the MapleCharacter.java file to change it to Henesys but it didn't take effect and I don't understand why. Is there something else I have to change besides the one default map?
Also, this has nothing to do with the source; but could someone tell me how to save changes done in the server? Like being in the fm and using !npc placing one there; how can I save that so it won't disappear after shutting the server down?
ok well im gonna continue SilentSource because honestly v.83 confused the bleep out of me so i will be making a new thread be cause i gotta create a new svn because this one was rescrited
I'm still getting this error in the .bat
I just keeps repeating.PHP Code:Channel 4: Listening on port 7578
Channel 4 is online.
Jun 28, 2010 3:55:41 PM scripting.event.EventScriptManager init
SEVERE: null
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: Ref
erenceError: "MaplePacketCreator" is not defined. (<Unknown source>#36) in <Unkn
own source> at line number 36
at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.
java:184)
at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScrip
tEngine.java:142)
at scripting.event.EventScriptManager.init(EventScriptManager.java:71)
at net.channel.ChannelServer.run(ChannelServer.java:254)
at net.channel.ChannelServer.main(ChannelServer.java:432)
Ohh I didn't know I had to edit the settings for the msi. I was under the impresssion it was already done. 2nd I did compile it and even when I reopen the file in netbeans it shows the change is done but characters still land in the same map. Third thank you for that code lol.
Posted via Mobile Device
For Full support to be given please refer to new thread
http://forum.ragezone.com/f427/silen...pdates-672353/
thats funny because why would i leech from Local when i hated there server no offense to localms but i disliked it verymuch and you flame like you know it all please show how your a 1337 coder Xoslize because i wanna learn from the PROA coder Xoslize
~ sincerest gratitude
Thomas
really I have no idea how to update it but NyC has n does "NoizsySource"
the @silent command is not working for me. Any help?
Hi, whenever people use the auto assign AP button, it gives them -AP. I would just tell them not to press it, but you know they are still going to. Anyone have a fix for this, either stopping it from going negative, or just making it say use @stat? I tried but couldn't find where it was in the files.
A lot of commands don't seem to work on my server. And i can't use !gmshop
The commands where working before, I am having a problem with the GM lvl 3 commands now. I'll see if there is any bat errors in a sec
---------- Post added at 09:49 PM ---------- Previous post was at 09:37 PM ----------
Yea, there are NO batch errors when I use commands such as !job #, the command just doesn't go through. And there is nothing wrong with the GM command file either.
Hello!
Awsome source! May you guys add !map command to teleport to map ids? I beleive it is necessary.
thanks
use !warp <mapID>... same thing
why CCing isn't working?
Really, since when is a 7 hour bump bad?
i can't use Gm command help me
account gm : 2
charcter gm : 2
help
Stop bumping the fken thread and check the new one oh and i dont think either silentsource will success v83 like not even a bit close to localms
Posted via Mobile Device
Thread closed.
New thread was made: http://forum.ragezone.com/f427/silen...es-rev-672353/