Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 10.11.2006, 19:42   #1
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default Проблемы с 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;
В чем проблема???
kin is offline  
Old 10.11.2006, 20:06   #2
L-OceLoT
Архивный участник
 
Join Date: Oct 2006
Posts: 8
Default

L2z использует MySQL а не MSSQL...
Кстати не мог бы выложить L2z в шару?
L-OceLoT is offline  
Old 10.11.2006, 20:12   #3
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Да, уже уяснил что я лох
Ссылка есть на l2storm. А есть база рабочая под MSSQL?
kin is offline  
Old 10.11.2006, 20:21   #4
Namenlos
Архивный участник
 
Join Date: Mar 2006
Posts: 160
Default

Разработчик продаёт рабучую С4 версию (полностью на MSSQL) за 50 баксов. Однако там каждая копия привязывается к домену и часть файлов закодирована Zend Guard'ом
Namenlos is offline  
Old 10.11.2006, 21:18   #5
vmc
Архивный участник
 
Join Date: Jul 2006
Posts: 59
Default

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

я при помощи её собрата mysqltomssql смигрировал с джава серва на оффо сборку.
vmc is offline  
Old 11.11.2006, 00:24   #6
L-OceLoT
Архивный участник
 
Join Date: Oct 2006
Posts: 8
Default

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

А разработчик продаёт не за 50 баков, он всем по разному, мне допустим за 100 баков предлагал, кому-то за 25... В общем, он сам решает, в зависимости от клиента
L-OceLoT is offline  
Old 11.11.2006, 09:02   #7
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

А почему не прокатит?
kin is offline  
Old 11.11.2006, 09:15   #8
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Нда, данная прога точно не катит, так как она хочет коннектится к самой базе данных, а у меня от нее только файл
kin is offline  
Old 11.11.2006, 10:59   #9
Majesty
Архивный участник
 
Join Date: Mar 2006
Posts: 22
Default

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

Majesty is offline  
Old 30.11.2006, 01:18   #10
_Untitled
Архивный участник
 
Join Date: Sep 2006
Posts: 122
Default

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:47.