Autor Tema: Some issues!  (Leído 116 veces)

hoangnhan

  • Newbie
  • *
  • Mensajes: 11
  • Karma: +0/-0
    • Ver Perfil
Some issues!
« en: Mayo 13, 2018, 11:51:05 pm »
Table Granboss_data.  at respawn_time col  may be use  bigint because Int too short. When boss died, cant update data.


Código
DROP TABLE IF EXISTS `grandboss_data`;
CREATE TABLE IF NOT EXISTS grandboss_data (
  `boss_id` int NOT NULL DEFAULT 0,
  `loc_x` int NOT NULL DEFAULT 0,
  `loc_y` int NOT NULL DEFAULT 0,
  `loc_z` int NOT NULL DEFAULT 0,
  `heading` int NOT NULL DEFAULT 0,
  `respawn_time` bigint NOT NULL DEFAULT 0,
  `currentHP` int(8) DEFAULT NULL,
  `currentMP` int(8) DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY(`boss_id`)
);


 Classmaster :
when use CharTemplateData  html will show example Dwaft_Fighter . Maybe use

Código
if (checkAndChangeClass(player, val))
{
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
html.setFile("data/html/classmaster/ok.htm");
html.replace("%name%", ClassId.getById(val).getName());
player.sendPacket(html);
}

For show class name so beautifull in html :  Dwarf Fighter. not have "_".

fissban

  • Administrador
  • Full Member
  • *
  • Mensajes: 152
  • Karma: +0/-0
    • Ver Perfil
Re:Some issues!
« Respuesta #1 en: Mayo 14, 2018, 04:17:45 am »