Jump to content

ATAG

Active Member
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by ATAG

  1. 1.

     

    local limit = tonumber(get_mob_level[npc.get_race()])

    Have you this function (get_mob_level) in questlib.lua?

     

    2. Default player_level (in log.quest_reward_log) is tinyint(4), it supports only 127 of max level. Change the column type to smallint(4).

     

    3. You have some missing line in locale_string. I don't know what, because the character encoding is wrong. Try to attach the syslog.

     

    4. Maybe your mob_proto table is crashed. Try to re-create it.

    DROP TABLE `mob_proto`;
    CREATE TABLE IF NOT EXISTS `mob_proto` (
      `vnum` int(11) NOT NULL DEFAULT '0',
      `name` varbinary(24) NOT NULL DEFAULT 'Noname',
      `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname',
      `rank` tinyint(2) NOT NULL DEFAULT '0',
      `type` tinyint(2) NOT NULL DEFAULT '0',
      `battle_type` tinyint(1) NOT NULL DEFAULT '0',
      `level` smallint(3) NOT NULL DEFAULT '1',
      `size` enum('SMALL','MEDIUM','BIG') NOT NULL DEFAULT 'SMALL',
      `ai_flag` set('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT NULL,
      `mount_capacity` tinyint(2) NOT NULL DEFAULT '0',
      `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT') NOT NULL DEFAULT '',
      `setImmuneFlag` set('STUN','SLOW','FALL','CURSE','POISON','TERROR') NOT NULL DEFAULT '',
      `empire` tinyint(4) NOT NULL DEFAULT '0',
      `folder` varchar(100) NOT NULL DEFAULT '',
      `on_click` tinyint(4) NOT NULL DEFAULT '0',
      `st` smallint(5) unsigned NOT NULL DEFAULT '0',
      `dx` smallint(5) unsigned NOT NULL DEFAULT '0',
      `ht` smallint(5) unsigned NOT NULL DEFAULT '0',
      `iq` smallint(5) unsigned NOT NULL DEFAULT '0',
      `damage_min` smallint(5) unsigned NOT NULL DEFAULT '0',
      `damage_max` smallint(5) unsigned NOT NULL DEFAULT '0',
      `max_hp` int(10) unsigned NOT NULL DEFAULT '0',
      `regen_cycle` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `regen_percent` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `gold_min` int(11) NOT NULL DEFAULT '0',
      `gold_max` int(11) NOT NULL DEFAULT '0',
      `exp` int(10) unsigned NOT NULL DEFAULT '0',
      `def` smallint(5) unsigned NOT NULL DEFAULT '0',
      `attack_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
      `move_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
      `aggressive_hp_pct` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `aggressive_sight` smallint(10) unsigned NOT NULL DEFAULT '0',
      `attack_range` smallint(5) unsigned NOT NULL DEFAULT '0',
      `drop_item` int(10) unsigned NOT NULL DEFAULT '0',
      `resurrection_vnum` int(10) unsigned NOT NULL DEFAULT '0',
      `enchant_curse` tinyint(4) unsigned NOT NULL DEFAULT '0',
      `enchant_slow` tinyint(4) unsigned NOT NULL DEFAULT '0',
      `enchant_poison` tinyint(4) unsigned NOT NULL DEFAULT '0',
      `enchant_stun` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `enchant_critical` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `enchant_penetrate` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `resist_sword` tinyint(4) NOT NULL DEFAULT '0',
      `resist_twohand` tinyint(4) NOT NULL DEFAULT '0',
      `resist_dagger` tinyint(4) NOT NULL DEFAULT '0',
      `resist_bell` tinyint(4) NOT NULL DEFAULT '0',
      `resist_fan` tinyint(4) NOT NULL DEFAULT '0',
      `resist_bow` tinyint(4) NOT NULL DEFAULT '0',
      `resist_fire` tinyint(4) NOT NULL DEFAULT '0',
      `resist_elect` tinyint(4) NOT NULL DEFAULT '0',
      `resist_magic` tinyint(4) NOT NULL DEFAULT '0',
      `resist_wind` tinyint(4) NOT NULL DEFAULT '0',
      `resist_poison` tinyint(4) NOT NULL DEFAULT '0',
      `dam_multiply` float DEFAULT NULL,
      `summon` int(11) DEFAULT NULL,
      `drain_sp` int(11) DEFAULT NULL,
      `mob_color` int(10) unsigned DEFAULT NULL,
      `polymorph_item` int(10) unsigned NOT NULL DEFAULT '0',
      `skill_level0` tinyint(3) unsigned DEFAULT NULL,
      `skill_vnum0` int(10) unsigned DEFAULT NULL,
      `skill_level1` tinyint(3) unsigned DEFAULT NULL,
      `skill_vnum1` int(10) unsigned DEFAULT NULL,
      `skill_level2` tinyint(3) unsigned DEFAULT NULL,
      `skill_vnum2` int(10) unsigned DEFAULT NULL,
      `skill_level3` tinyint(3) unsigned DEFAULT NULL,
      `skill_vnum3` int(10) unsigned DEFAULT NULL,
      `skill_level4` tinyint(3) unsigned DEFAULT NULL,
      `skill_vnum4` int(10) unsigned DEFAULT NULL,
      `sp_berserk` tinyint(4) NOT NULL DEFAULT '0',
      `sp_stoneskin` tinyint(4) NOT NULL DEFAULT '0',
      `sp_godspeed` tinyint(4) NOT NULL DEFAULT '0',
      `sp_deathblow` tinyint(4) NOT NULL DEFAULT '0',
      `sp_revive` tinyint(4) NOT NULL DEFAULT '0',
      PRIMARY KEY (`vnum`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.