if(isIronMan) {
getAppearence().setTitle(133337);
}
refreshAllowChatEffects();
refreshMouseButtons();
//ControlPanel.LIST_MODEL.addElement(username);
refreshPrivateChatSetup();
refreshOtherChatsSetup();
sendRunButtonConfig();
geManager.init();
getFarmings().updateAllPatches(this);
donatorTill = 0;
extremeDonatorTill = 0;
EliteDonatorTill = 0;
supremeDonatorTill = 0;
divineDonatorTill = 0;
angelicDonatorTill = 0;
if (ecoReset1 != 1) {
ecoReset1 = 1;
inventory.reset();
moneyPouch = new MoneyPouch();
moneyPouch.setPlayer(this);
equipment.reset();
toolbelt = new Toolbelt();
toolbelt.setPlayer(this);
familiar = null;
bank = new Bank();
bank.setPlayer(this);
controlerManager.removeControlerWithoutCheck();
choseGameMode = true;
Starter.appendStarter(this);
setNextWorldTile(Settings.START_PLAYER_LOCATION);
setPestPoints(0);
setDungTokens(0);
getPlayerData().setInvasionPoints(0);
hasHouse = false;
getSquealOfFortune().resetSpins();
customisedShop = new CustomisedShop(this);
geManager = new GrandExchangeManager();
setTriviaPoints(0);
penguinpoints = 0;
DwarfCannon = new DwarfCannon(this);
applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
//getPackets().sendGameMessage("You have been healed by the gods for logging in.");
refreshHitPoints();
}
getDwarfCannon().lostCannon();
getDwarfCannon().lostGoldCannon();
getDwarfCannon().lostRoyalCannon();
sendDefaultPlayersOptions();
checkMultiArea();
checkSmokeyArea();
checkDesertArea();
checkMorytaniaArea();
checkSinkArea();
inventory.init();
equipment.init();
skills.init();
combatDefinitions.init();
prayer.init();
friendsIgnores.init();
refreshHitPoints();
prayer.refreshPrayerPoints();
getPoison().refresh();
getPackets().sendConfig(281, 1000);
getPackets().sendConfig(1160, -1);
getPackets().sendConfig(1159, 1);
getPackets().sendGameBarStages();
musicsManager.init();
emotesManager.refreshListConfigs();
questManager.init();
sendUnlockedObjectConfigs();
if (familiar != null) {
familiar.respawnFamiliar(this);
} else {
petManager.init();
}
running = true;
updateMovementType = true;
appearence.generateAppearenceData();
teleports = 1;
controlerManager.login();
handleLoginTime();
getLodeStones().checkActivation();
getLoyaltyManager().startTimer();
OwnedObjectManager.linkKeys(this);
house.init();
treeDamage = 0;
isLighting = false;
isChopping = false;
isRooting = false;
used1 = false;
finalblow = false;
used2 = false;
swiftness = false;
used3 = false;
stealth = false;
used4 = false;
startpin = false;
openPin = false;
squealOfFortune.giveDailySpins();
World.addTime(this);
toolbelt.init();
getDailyChallenge();
warriorCheck();
moneyPouch.init();
hasStaffPin = false;
if (starter == 0) {
// sendMessage("<col=ffffff>Hello player, if you are experiencing a black screen, have no fear!</col>");
// sendMessage("<col=ffffff>This is because the cache has not finished loading, so the models aren't showing up yet.</col>");
// sendMessage("<col=ffffff>Please be patient and wait a few minutes for everything to load before you play</col>");
// sendMessage("<col=ffffff>To check your progress, simply press the '`/~' key on your keyboard and type 'displayfps'.</col>");
// sendMessage("<col=ffffff>Some yellow text should show up on the screen, and when the Cache reaches 100%, reload your client.</col>");
// sendMessage("<col=ffffff>Your screen should no longer be black after the restart and you can now enjoy AsgardRS!</col>");
PlayerLook.openCharacterCustomizing(this);
Starter.appendStarter(this);
starter = 1;
getReferral();
}
if (isDead()) {
controlerManager.startControler("DeathEvent");
}
if (starter == 1) {
applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
getPackets().sendGameMessage("You have been healed by the gods for logging in.");
refreshHitPoints();
}