mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +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
|
Real chat - Disabled for now, can't get it to function correctly
|
||||||
|
|
||||||
|
// Add some color and effects
|
||||||
botClient.setChatTextColor(9);
|
botClient.setChatTextColor(9);
|
||||||
botClient.setChatTextEffects(2);
|
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);
|
botClient.setChatTextSize((byte) 29);
|
||||||
|
// This is wrong too
|
||||||
botClient.setChatText(message.getBytes(StandardCharsets.UTF_8));
|
botClient.setChatText(message.getBytes(StandardCharsets.UTF_8));
|
||||||
|
// Not a clue what this does
|
||||||
botClient.inStream.readBytes_reverseA(botClient.getChatText(), botClient.getChatTextSize(), 0);
|
botClient.inStream.readBytes_reverseA(botClient.getChatText(), botClient.getChatTextSize(), 0);
|
||||||
botClient.setChatTextUpdateRequired(true);
|
botClient.setChatTextUpdateRequired(true);
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user