mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +00:00
New stuff again (#190)
* Fixes some agreesive monsters that should be unaggressive Fixes some agreesive monsters that should be unaggressive * more items more items * Update Item.java * Fixed some items visual bugs - Helmet Fixed some items visual bugs - Helmet * Fixed trading issues. Fuck up players couldnt trade because they were considered busy. Also fixed the trade screen that stays opened even when other player is out of it. * removed shit that occured while fixing the conflict. removed shit that occured while fixing the conflict.
This commit is contained in:
@@ -144,7 +144,7 @@ public class Item {
|
|||||||
"Warrior helm", "Void" };
|
"Warrior helm", "Void" };
|
||||||
/* Fullmask covers your entire head. */
|
/* Fullmask covers your entire head. */
|
||||||
private static String[] fullmask = { "full helm(t)", "full helm(g)", "full helm", "mask", "Verac's helm",
|
private static String[] fullmask = { "full helm(t)", "full helm(g)", "full helm", "mask", "Verac's helm",
|
||||||
"Guthan's helm", "Karil's coif", "mask", "Torag's helm", "Void",
|
"Guthan's helm", "Karil's coif", "mask", "Torag's helm", "Void", "helmet",
|
||||||
"sallet", "Facemask" };
|
"sallet", "Facemask" };
|
||||||
|
|
||||||
public static boolean isFullBody(int itemId) {
|
public static boolean isFullBody(int itemId) {
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public class Trading {
|
|||||||
player.getActionSender().sendMessage("Sending trade request...");
|
player.getActionSender().sendMessage("Sending trade request...");
|
||||||
o.getActionSender()
|
o.getActionSender()
|
||||||
.sendMessage(player.playerName + ":tradereq:");
|
.sendMessage(player.playerName + ":tradereq:");
|
||||||
} else if (player.playerIsBusy() == false && o.playerIsBusy() == true) {
|
} else if (player.playerIsBusy() == true || o.playerIsBusy() == true) {
|
||||||
player.getActionSender().sendMessage("Other player is busy at the moment.");
|
player.getActionSender().sendMessage("Other player is busy at the moment.");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ public class Walking implements PacketType {
|
|||||||
}
|
}
|
||||||
if (player.inTrade) {
|
if (player.inTrade) {
|
||||||
player.inTrade = false;
|
player.inTrade = false;
|
||||||
|
player.getTrading().declineTrade(true);
|
||||||
}
|
}
|
||||||
if (player.tutorialProgress > 35 && !player.isSmithing) {
|
if (player.tutorialProgress > 35 && !player.isSmithing) {
|
||||||
player.getPlayerAssistant().closeAllWindows();
|
player.getPlayerAssistant().closeAllWindows();
|
||||||
|
|||||||
Reference in New Issue
Block a user