Re: SilentSource | v.75 | Updates Daily | Occupations
o.o
I found this
PHP 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()));
}
You're suppose to replace it in the GeneralChatHandler.java but it gave me about 19 errors when I compiled it
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)
Re: SilentSource | v.75 | Updates Daily | Occupations
Quote:
Originally Posted by
LuckySage
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;
}
Could you tell me where to put this? I kinda suck when it comes to java stuff...:blushing:
Re: SilentSource | v.75 | Updates Daily | Occupations
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
Re: SilentSource | v.75 | Updates Daily | Occupations
Re: SilentSource | v.75 | Updates Daily | Occupations
Quote:
Originally Posted by
KingT
Some problems I notice so far
-Random DC issue with players sometimes
-When you report a user the person you reports Freezes
-A GM or Admin cannot trade or chat anybody although they can for him
-@goafk Doesn't fully work
-Also after a character is created they spawn in the carnival pq jail
u need to excute rev 3.4 in SQL folder then they talk to playernpc Admin n choose occupation then they get warped to henesys
Re: SilentSource | v.75 | Updates Daily | Occupations
Re: SilentSource | v.75 | Updates Daily | Occupations
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.
Re: SilentSource | v.75 | Updates Daily | Occupations
It;s because of the unlimited buffs, it messed up the other items buffs
Re: SilentSource | v.75 | Updates Daily | Occupations
Quote:
Originally Posted by
HorrorChix89
It;s because of the unlimited buffs, it messed up the other items buffs
well said :)
Re: SilentSource | v.75 | Updates Daily | Occupations
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
Re: SilentSource | v.75 | Updates Daily | Occupations
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*
Re: SilentSource | v.75 | Updates Daily | Occupations
I just want the things I asked for to work. And I keep getting ignored so eh...
Re: SilentSource | v.75 | Updates Daily | Occupations
Guys RaGEZONE is still down for me. I am accessing it though a proxy (ctunnel)
Re: SilentSource | v.75 | Updates Daily | Occupations
Quote:
Originally Posted by
NyCPirate
Guys RaGEZONE is still down for me. I am accessing it though a proxy (ctunnel)
its up for me. it was down and then i reset my router and it was back on again o.o
Re: SilentSource | v.75 | Updates Daily | Occupations
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)