Перейти к содержимому
La2Base
Главная
ЗагрузкиВикиФорумFAQ
Поиск
ruen
Регистрация Войти
ГлавнаяФайлыВикиВойти
  • Главная
  • Загрузки
  • Вики
  • FAQ
  • Обратная связь
  • О проекте
  • Правила
  • Конфиденциальность
  • Условия использования

© 2026 la2base.com · Все права защищены

ruen
Форум/Форум для новичков[JAVA]/[error]npc
Поиск

[error]npc

2 ответов33 просмотровСейчас просматривают: 1
K
KEIRK

Автор

Новичок

Постов: 6

На форуме с: 05.03.2009

Рейтинг: 0

· 23.06.2009, 09:41

Сборка: Interlude, La2Base by iHate
Краткое изложение СУТИ проблемы: у мя не работал db installer и по етому я заливал sqlы все вручную! Воть когда заливал npc.sql ошыбка
[Err] 1050 - Table 'npc' already exists
[Err] -- ----------------------------
-- Table structure for npc
-- ----------------------------
CREATE TABLE `npc` (
`id` decimal(11,0) NOT NULL DEFAULT '0',
`idTemplate` int(11) NOT NULL DEFAULT '0',
`name` varchar(200) DEFAULT NULL,
`serverSideName` int(1) DEFAULT '0',
`title` varchar(45) DEFAULT '',
`serverSideTitle` int(1) DEFAULT '0',
`class` varchar(200) DEFAULT NULL,
`collision_radius` decimal(5,2) DEFAULT NULL,
`collision_height` decimal(5,2) DEFAULT NULL,
`level` decimal(2,0) DEFAULT NULL,
`sex` varchar(6) DEFAULT NULL,
`type` varchar(20) DEFAULT NULL,
`attackrange` int(11) DEFAULT NULL,
`hp` decimal(8,0) DEFAULT NULL,
`mp` decimal(8,0) DEFAULT NULL,
`hpreg` decimal(8,2) DEFAULT NULL,
`mpreg` decimal(5,2) DEFAULT NULL,
`str` decimal(7,0) DEFAULT NULL,
`con` decimal(7,0) DEFAULT NULL,
`dex` decimal(7,0) DEFAULT NULL,
`int` decimal(7,0) DEFAULT NULL,
`wit` decimal(7,0) DEFAULT NULL,
`men` decimal(7,0) DEFAULT NULL,
`exp` decimal(9,0) DEFAULT NULL,
`sp` decimal(8,0) DEFAULT NULL,
`patk` decimal(5,0) DEFAULT NULL,
`pdef` decimal(5,0) DEFAULT NULL,
`matk` decimal(5,0) DEFAULT NULL,
`mdef` decimal(5,0) DEFAULT NULL,
`atkspd` decimal(3,0) DEFAULT NULL,
`aggro` decimal(6,0) DEFAULT NULL,
`matkspd` decimal(4,0) DEFAULT NULL,
`rhand` decimal(4,0) DEFAULT NULL,
`lhand` decimal(4,0) DEFAULT NULL,
`armor` decimal(1,0) DEFAULT NULL,
`walkspd` decimal(3,0) DEFAULT NULL,
`runspd` decimal(3,0) DEFAULT NULL,
`faction_id` varchar(40) DEFAULT NULL,
`faction_range` decimal(4,0) DEFAULT NULL,
`isUndead` int(11) DEFAULT '0',
`absorb_level` decimal(2,0) DEFAULT '0',
`absorb_type` enum('FULL_PARTY','LAST_HIT','PARTY_ONE_RANDOM') NOT NULL DEFAULT 'LAST_HIT',
`ss` int(4) DEFAULT '0',
`bss` int(4) DEFAULT '0',
`ss_rate` int(3) DEFAULT '0',
`AI` varchar(8) DEFAULT 'fighter',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[Msg] Finished - Unsuccessfully
-------------------------------------------------
Вопрос: в чем причина и как исправить?
Мои соображения по этому поводу: 0_0 хз

0
K
kostya333

Пользователь

Новичок

Постов: 7

На форуме с: 23.06.2008

Рейтинг: 0

· 30.06.2009, 22:06

Таблица npc уже создана,посмотри в навикете

0
Войдите или зарегистрируйтесь чтобы ответить