updateSkillBar.setSkillBar(new long[8]);
updateSkillBar.setSkillBarPvpMask(new long[8]);
updateSkillBar.setUnknown4((byte) 1);
ctx.write(updateSkillBar);
P147_UpdateGenericValueInt updateEnergy = new P147_UpdateGenericValueInt();
updateEnergy.setAgentId(character.getAgentID());
updateEnergy.setValueId(GenericValues.Energy.getValue());
updateEnergy.setValue(character.getEnergy());
ctx.write(updateEnergy);
P150_UpdateGenericValueFloat updateEnergyRegen = new P150_UpdateGenericValueFloat();
updateEnergyRegen.setAgentId(character.getAgentID());
updateEnergyRegen.setValueId(GenericValues.EnergyRegen.getValue());
updateEnergyRegen.setValue(character.getEnergyRegen());
ctx.write(updateEnergyRegen);
P147_UpdateGenericValueInt updateHealth = new P147_UpdateGenericValueInt();
updateHealth.setAgentId(character.getAgentID());
updateHealth.setValueId(GenericValues.Health.getValue());
updateHealth.setValue(character.getHealth());
ctx.write(updateHealth);
P150_UpdateGenericValueFloat updateHealthRegen = new P150_UpdateGenericValueFloat();
updateHealthRegen.setAgentId(character.getAgentID());
updateHealthRegen.setValueId(GenericValues.HealthRegen.getValue());
updateHealthRegen.setValue(character.getHealthRegen());
ctx.write(updateHealthRegen);
P147_UpdateGenericValueInt updatelevel = new P147_UpdateGenericValueInt();
updatelevel.setAgentId(character.getAgentID());
updatelevel.setValueId(GenericValues.PublicLevel.getValue());
updatelevel.setValue(character.getLevel());
ctx.write(updatelevel);
P127_ZoneDataPrepMapData prepMap = new P127_ZoneDataPrepMapData();
prepMap.setUnknown1(64);
prepMap.setUnknown2(128);