2006rebotted rename + latest compile

This commit is contained in:
dginovker
2019-11-09 15:35:57 -05:00
parent 87440ecd2a
commit f13f0af171
13 changed files with 2 additions and 23 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ public class ClientSettings {
/** /**
* The Servers Name * The Servers Name
*/ */
public final static String SERVER_NAME = "2006Redone"; public final static String SERVER_NAME = "2006rebotted";
/** /**
* The Servers Website * The Servers Website
*/ */
public final static String SERVER_WEBSITE = "www.2006redone.org"; public final static String SERVER_WEBSITE = "www.2006rebotted.tk";
/** /**
* The Servers Ip * The Servers Ip
* *
@@ -930,9 +930,6 @@ public class CombatAssistant {
resetPlayerAttack(); resetPlayerAttack();
return; return;
} }
// c.getPacketDispatcher().sendMessage("Made it here0.");
c.followId = i;
c.followId2 = 0;
if (c.attackTimer <= 0) { if (c.attackTimer <= 0) {
c.usingBow = false; c.usingBow = false;
c.specEffect = 0; c.specEffect = 0;
@@ -953,8 +950,6 @@ public class CombatAssistant {
c.attackTimer = 0; c.attackTimer = 0;
return; return;
} }
// c.getPacketDispatcher().sendMessage("Made it here1.");
if (!c.usingMagic) { if (!c.usingMagic) {
for (int bowId : RangeData.BOWS) { for (int bowId : RangeData.BOWS) {
if (c.playerEquipment[c.playerWeapon] == bowId) { if (c.playerEquipment[c.playerWeapon] == bowId) {
@@ -977,7 +972,6 @@ public class CombatAssistant {
c.spellId = c.autocastId; c.spellId = c.autocastId;
c.usingMagic = true; c.usingMagic = true;
} }
// c.getPacketDispatcher().sendMessage("Made it here2.");
if (c.spellId > 0) { if (c.spellId > 0) {
c.usingMagic = true; c.usingMagic = true;
} }
@@ -997,7 +991,6 @@ public class CombatAssistant {
return; return;
} }
} }
// c.getPacketDispatcher().sendMessage("Made it here3.");
if (c.duelRule[2] && (usingBow || usingOtherRangeWeapons)) { if (c.duelRule[2] && (usingBow || usingOtherRangeWeapons)) {
c.getActionSender().sendMessage( c.getActionSender().sendMessage(
"Range has been disabled in this duel!"); "Range has been disabled in this duel!");
@@ -1189,8 +1182,6 @@ public class CombatAssistant {
CombatSounds.getMagicSound(c, c.spellId), 100, CombatSounds.getMagicSound(c, c.spellId), 100,
0); 0);
} }
c.mageFollow = true;
c.followId = c.playerIndex;
} }
PlayerHandler.players[i].underAttackBy = c.playerId; PlayerHandler.players[i].underAttackBy = c.playerId;
PlayerHandler.players[i].logoutDelay = System.currentTimeMillis(); PlayerHandler.players[i].logoutDelay = System.currentTimeMillis();
@@ -181,7 +181,6 @@ public class AttackPlayer implements PacketType {
* Attack player with magic * Attack player with magic
**/ **/
case MAGE_PLAYER: case MAGE_PLAYER:
c.getActionSender().sendMessage("maging");
if (!c.mageAllowed) { if (!c.mageAllowed) {
c.mageAllowed = true; c.mageAllowed = true;
break; break;
@@ -305,17 +304,6 @@ public class AttackPlayer implements PacketType {
c.stopMovement(); c.stopMovement();
c.getCombatAssistant().resetPlayerAttack(); c.getCombatAssistant().resetPlayerAttack();
} }
if (c.usingMagic) {
if (c.goodDistance(c.getX(), c.getY(), PlayerHandler.players[c.playerIndex].getX(), PlayerHandler.players[c.playerIndex].getY(), 7))
{
c.stopMovement();
}
if (c.getCombatAssistant().checkReqs()) {
c.followId = c.playerIndex;
c.mageFollow = true;
}
}
} }
break; break;
} }
Binary file not shown.
Binary file not shown.