The point is being able to have texts on it which are different then "I'm AFK now bla bla.."
Printable View
How can i change the Maple Tips ? (those yellow messeges)
Nice job so far.
Well it seems like u have more potential in solving this problem than me . Good luck to ya :)
And pm me if u found a solution
Hehe
Just lower your exp in silent.prop to 250 that would work as if you have 500x exp and there is !warp command, and @go
Go to netbeans right click the folder called libraries go to add jar then add all the jars except silent.jar and post your errors.
Ok I did that and I keep doing it probably done the same thing at least 20 times. This is the error I keep getting
Code:Created dir: C:\Documents and Settings\student\Desktop\LMM\bubbles\build
Updating property file: C:\Documents and Settings\student\Desktop\LMM\bubbles\build\built-jar.properties
Created dir: C:\Documents and Settings\student\Desktop\LMM\bubbles\build\classes
Created dir: C:\Documents and Settings\student\Desktop\LMM\bubbles\build\empty
Compiling 429 source files to C:\Documents and Settings\student\Desktop\LMM\bubbles\build\classes
C:\Documents and Settings\student\Desktop\LMM\Sources\Silent\src\net\mina\MaplePacketDecoder.java:31: net.mina.MaplePacketDecoder is not abstract and does not override abstract method doDecode(org.apache.mina.common.IoSession,org.apache.mina.common.ByteBuffer,org.apache.mina.filter.codec.ProtocolDecoderOutput) in org.apache.mina.filter.codec.CumulativeProtocolDecoder
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
C:\Documents and Settings\student\Desktop\LMM\Sources\Silent\src\net\mina\MaplePacketDecoder.java:38: method does not override or implement a method from a supertype
@Override
C:\Documents and Settings\student\Desktop\LMM\Sources\Silent\src\net\mina\MaplePacketEncoder.java:31: net.mina.MaplePacketEncoder is not abstract and does not override abstract method dispose(org.apache.mina.common.IoSession) in org.apache.mina.filter.codec.ProtocolEncoder
public class MaplePacketEncoder implements ProtocolEncoder {
C:\Documents and Settings\student\Desktop\LMM\Sources\Silent\src\net\mina\MaplePacketEncoder.java:46: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(out_buffer);
C:\Documents and Settings\student\Desktop\LMM\Sources\Silent\src\net\mina\MaplePacketEncoder.java:50: write(org.apache.mina.common.ByteBuffer) in org.apache.mina.filter.codec.ProtocolEncoderOutput cannot be applied to (org.apache.mina.core.buffer.IoBuffer)
out.write(IoBuffer.wrap(((MaplePacket) message).getBytes()));
5 errors
C:\Documents and Settings\student\Desktop\LMM\bubbles\nbproject\build-impl.xml:521: The following error occurred while executing this line:
C:\Documents and Settings\student\Desktop\LMM\bubbles\nbproject\build-impl.xml:258: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 31 seconds)
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
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;
}