Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Главный форум (https://postpacific.mmorpg-game.online/forumdisplay.php?f=60)
-   -   Проблемы с L2z и SQL (https://postpacific.mmorpg-game.online/showthread.php?t=6210)

kin 10.11.2006 19:42

Проблемы с L2z и SQL
 
Хочу установить L2z. У меня установлен SQL 2000
Когда я пытаюсь добавить таблицы в базу, то у меня вылазят следующие ошибки:
Допустим добавляем кусок:
Code:

CREATE TABLE `Armor` (
  `id` int(11) NOT NULL default '0',
  `body_part` varchar(32) default NULL,
  `crystallizable` int(11) default NULL,
  `crystal_type` varchar(16) default NULL,
  `crystal_count` int(11) default NULL,
  `armor_type` varchar(32) default NULL,
  `physical_defense` int(11) default NULL,
  `magical_defense` int(11) default NULL,
  `mp_bonus` int(11) default NULL,
  `durability` int(11) default NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

Если оставляем символ ` , то дает ошибку на эти символы. Если меняю на символ ' (одинарная кавычка), то дает ошибку:
Code:

Server: Msg 911, Level 16, State 1, Line 34664
Could not locate entry in sysdatabases for database 'the'. No entry found with that name. Make sure that the name is entered correctly.
Server: Msg 170, Level 15, State 1, Line 5
Line 5: Incorrect syntax near 'Armor'.

Строка 5, это та что наверху - CREATE TABLE 'Armor' (, а вот строка 34664:
Code:

INSERT INTO 'QuestDetails' VALUES (104, 'en', '1. Talk to Grandmagister Gallint at the human mage starting location, south of Talking Island Viallage. He will give you 3 Gallin''s Oak Wands, which once used will become quest items Wand Spiritsound and go into your quest inventory. You MUST use the wands to deliver the final blow to the 3 spirits, but can weaken them with any other weapon/spell.\r\n2. Hunt the Giant Toad Spirit of Mirrors (lvl 9 passive). It is on the south bank of the river, near the other toads somewhere around /loc -97k, 248k.\r\n3. Hunt the Orc Spirit Of Mirrors (lvl 10 passive). It is almost due north of the toad, on the hill just northeast of the tower around /loc -99k, 235k.\r\n4. Hunt the Werewolf Spirit Of Mirrors (lvl 11 passive). It is on the far west end of the island down by the water, northwest of the waterfall, around -122k, 236k. Since the waterfall pass has a lvl 15 aggresive Giant Spider, you will have to go around the mountains to the north or south. Watch out for the many aggresive monsters in the area, and bring a scroll of escape.\r\n5. Return the 3 wands to Grandmagister Gallint.');
тут все Ок
Если же ставлю двойные кавычки ", то тогда плюет это:
Code:

Server: Msg 170, Level 15, State 1, Line 17
Line 17: Incorrect syntax near '='.

Строчка 17, это - ) TYPE=MyISAM;
В чем проблема???

L-OceLoT 10.11.2006 20:06

L2z использует MySQL а не MSSQL...
Кстати не мог бы выложить L2z в шару?

kin 10.11.2006 20:12

Да, уже уяснил что я лох :D
Ссылка есть на l2storm. А есть база рабочая под MSSQL?

Namenlos 10.11.2006 20:21

Разработчик продаёт рабучую С4 версию (полностью на MSSQL) за 50 баксов. Однако там каждая копия привязывается к домену и часть файлов закодирована Zend Guard'ом

vmc 10.11.2006 21:18

попробуй прогу mssqltomysql

я при помощи её собрата mysqltomssql смигрировал с джава серва на оффо сборку.

L-OceLoT 11.11.2006 00:24

Не прокатит такая фишка с l2z... Хотя, если иметь очень прямые руки, то возможно всё :)

А разработчик продаёт не за 50 баков, он всем по разному, мне допустим за 100 баков предлагал, кому-то за 25... В общем, он сам решает, в зависимости от клиента :)

kin 11.11.2006 09:02

А почему не прокатит?

kin 11.11.2006 09:15

Нда, данная прога точно не катит, так как она хочет коннектится к самой базе данных, а у меня от нее только файл :(

Majesty 11.11.2006 10:59

Я потихоньку переписываю l2z для себя. Возможно, если хватит времени и желания доделать до конца, выложу. Работает полностью с MSSQL, без MySQL

http://img296.imageshack.us/img296/5039/l2z1fs0.th.gif http://img296.imageshack.us/img296/3801/l2z2he7.th.gif

_Untitled 30.11.2006 01:18

погуглил ... нашел это , с ц4 работает , правда криво :( http://rapidshare.com/files/5383024/l2z.rar.html


All times are GMT. The time now is 22:27.