mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Add comments
This commit is contained in:
@@ -72,11 +72,16 @@ public class Bot {
|
||||
/*
|
||||
Real chat - Disabled for now, can't get it to function correctly
|
||||
|
||||
// Add some color and effects
|
||||
botClient.setChatTextColor(9);
|
||||
botClient.setChatTextEffects(2);
|
||||
String message = "Selling Rune Platebody 210k ea - " + botClient.playerName;
|
||||
|
||||
String message = "Selling " + item_name + " " + formatSellPrice(value) + " ea - " + botClient.playerName;
|
||||
// Need to figure out how to calculate this
|
||||
botClient.setChatTextSize((byte) 29);
|
||||
// This is wrong too
|
||||
botClient.setChatText(message.getBytes(StandardCharsets.UTF_8));
|
||||
// Not a clue what this does
|
||||
botClient.inStream.readBytes_reverseA(botClient.getChatText(), botClient.getChatTextSize(), 0);
|
||||
botClient.setChatTextUpdateRequired(true);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user