Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   World of WarCraft (https://forum.zone-game.info/forumdisplay.php?f=72)
-   -   Сервер Mangos для World of Warcraft 3.0.9 (https://forum.zone-game.info/showthread.php?t=3258)

Zone-Game 20.03.2009 21:40

Сервер Mangos для World of Warcraft 3.0.9
 
Представляю вашему вниманию сервер на базе ядра MaNGOS версии 7483.

Цитата:

- Ядро ManGOS 7483;
- Скрипты ScriptDev2 915;
- Все кумулятивные патчи от карателя;
- База YTDB YTDB 098 R478;
- Русифицированная база RuDB 26;
- Скрипты ACID 0.0.8;
- Скрипты NGP Milestone 0.5.7 Cursed Mill;

demonitions 21.03.2009 13:51

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
как залить на мускул 5.1 базу mangos и скрипт 2 выдают ошибки

PROGRAMMATOR 21.03.2009 14:24

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
И-и-и? Текст ошибки мне угадывать? Здесь не "поле чудес", текст ошибки, какие настройки MySQL, каким образом вливаете дамп таблиц. А именно по тому что вы спросили, могу сказать - наверное расположение звезд плохо сказалось... попробуйте завтра.

demonitions 21.03.2009 14:29

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Код:

Error occured at:2009-03-21 14:28:55
Line no.:198
Error Code: 2006 - MySQL server has gone away

пробовал навикат командной через батник SQLyog

PROGRAMMATOR 21.03.2009 15:24

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
В конфигурационном файле MySql измените параметр:
Цитата:

max_allowed_packet = 1M
Увеличьте размер пакета. Базу заливаете таким скриптом:
Цитата:

@echo off

set DBhost=localhost
set DBuser=root
set DBpass=12345
set DBname=mangos

set mysql="C:\MySQL\bin\mysql.exe"
set mysqldamp="C:\MySQL\bin\mysqldump.exe"

%mysql% -h %DBhost% -u %DBuser% --password=%DBpass% -D %DBname% < db.sql

demonitions 21.03.2009 15:32

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
это я уже пробовал обрывается на томже месте вот если вы сможете подсказать точное расположение max_allowed_packet в мускуле 5.1 . я находил его в my-huge.ini my-innodb-heavy-4G.ini my-large.ini my-medium.ini my-small.ini my-medium.ini везде менял на 128 но эффекта нет.

PROGRAMMATOR 21.03.2009 17:22

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Это просто скорее всего разные конфигурации, стандартно my.ini конфигурация MySql, у меня там вообще ничего не вписано, все по дефолту, залил таблицы за 2 минуты.

demonitions 21.03.2009 17:24

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
ммм денвер используеш или чистый мускул? если чистый то какая версия? я на нее перейду

PROGRAMMATOR 21.03.2009 17:42

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Да я так, для теста поставил, чистый AppServ 2.5.9, что бы MaNGOS по-тестировать :)

demonitions 21.03.2009 18:38

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
поставил AppServ 2.5.9 тотже трабл . и в му.ини невижу max_allowed_packet

PROGRAMMATOR 21.03.2009 18:51

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Цитата:

Сообщение от demonitions (Сообщение 29711)
и в му.ини невижу max_allowed_packet

Цитата:

Сообщение от PROGRAMMATOR (Сообщение 29699)
у меня там вообще ничего не вписано

Не знаю в общем что у вас там, я сказал все. У меня установился сервер с базами и апдейтами за 10 минут (max). Ищите проблемы у себя.

demonitions 21.03.2009 19:22

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Код:

# MySQL Server Instance Configuration File
# ----------------------------------------------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------------------------------------------
#
# On Linux you can copy this file to /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options
# (@localstatedir@ for this installation) or to
# ~/.my.cnf to set user-specific options.
#
# On Windows you should keep this file in the installation directory
# of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
# make sure the server reads the config file use the startup option
# "--defaults-file".
#
# To run run the server from the command line, execute this in a
# command line shell, e.g.
# mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# To install the server as a Windows service manually, execute this in a
# command line shell, e.g.
# mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# And then execute this in a command line shell to start the server, e.g.
# net start MySQLXY
#
#
# Guildlines for editing this file
# ----------------------------------------------------------------------
#
# In this file, you can use all long options that the program supports.
# If you want to know the options a program supports, start the program
# with the "--help" option.
#
# More detailed information about the individual options can also be
# found in the manual.
#
#
# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]

port=3306

[mysql]

default-character-set=latin1


# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306


#Path to installation directory. All paths are usually resolved relative to this.
basedir="D:/Program Files/MySQL/MySQL Server 5.1/"

#Path to the database root
datadir="D:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/"

# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=latin1

# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections=100

# Query cache is used to cache SELECT results and later return them
# without actual executing the same query once again. Having the query
# cache enabled may result in significant speed improvements, if your
# have a lot of identical queries and rarely changing tables. See the
# "Qcache_lowmem_prunes" status variable to check if the current value
# is high enough for your load.
# Note: In case your tables change very often or if your queries are
# textually different every time, the query cache may result in a
# slowdown instead of a performance improvement.
query_cache_size=0

# The number of open tables for all threads. Increasing this value
# increases the number of file descriptors that mysqld requires.
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_cache=256

# Maximum size for internal (in-memory) temporary tables. If a table
# grows larger than this value, it is automatically converted to disk
# based table This limitation is for a single table. There can be many
# of them.
tmp_table_size=18M


# How many threads we should keep in a cache for reuse. When a client
# disconnects, the client's threads are put in the cache if there aren't
# more than thread_cache_size threads from before.  This greatly reduces
# the amount of thread creations needed if you have a lot of new
# connections. (Normally this doesn't give a notable performance
# improvement if you have a good thread implementation.)
thread_cache_size=8

#*** MyISAM Specific options

# The maximum size of the temporary file MySQL is allowed to use while
# recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
# If the file-size would be bigger than this, the index will be created
# through the key cache (which is slower).
myisam_max_sort_file_size=100G

# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method.  This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_max_extra_sort_file_size=100G

# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method.  This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_sort_buffer_size=35M

# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
key_buffer_size=25M

# Size of the buffer used for doing full table scans of MyISAM tables.
# Allocated per thread, if a full scan is needed.
read_buffer_size=64K
read_rnd_buffer_size=256K

# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=256K


#*** INNODB Specific options ***


# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
#skip-innodb

# Additional memory pool that is used by InnoDB to store metadata
# information.  If InnoDB requires more memory for this purpose it will
# start to allocate it from the OS.  As this is fast enough on most
# recent operating systems, you normally do not need to change this
# value. SHOW INNODB STATUS will display the current amount used.
innodb_additional_mem_pool_size=2M

# If set to 1, InnoDB will flush (fsync) the transaction logs to the
# disk at each commit, which offers full ACID behavior. If you are
# willing to compromise this safety, and you are running small
# transactions, you may set this to 0 or 2 to reduce disk I/O to the
# logs. Value 0 means that the log is only written to the log file and
# the log file flushed to disk approximately once per second. Value 2
# means the log is written to the log file at each commit, but the log
# file is only flushed to disk approximately once per second.
innodb_flush_log_at_trx_commit=1

# The size of the buffer InnoDB uses for buffering log data. As soon as
# it is full, InnoDB will have to flush it to disk. As it is flushed
# once per second anyway, it does not make sense to have it very large
# (even with long transactions).
innodb_log_buffer_size=1M

# InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and
# row data. The bigger you set this the less disk I/O is needed to
# access data in tables. On a dedicated database server you may set this
# parameter up to 80% of the machine physical memory size. Do not set it
# too large, though, because competition of the physical memory may
# cause paging in the operating system.  Note that on 32bit systems you
# might be limited to 2-3.5G of user level memory per process, so do not
# set it too high.
innodb_buffer_pool_size=47M

# Size of each log file in a log group. You should set the combined size
# of log files to about 25%-100% of your buffer pool size to avoid
# unneeded buffer pool flush activity on log file overwrite. However,
# note that a larger logfile size will increase the time needed for the
# recovery process.
innodb_log_file_size=24M

# Number of threads allowed inside the InnoDB kernel. The optimal value
# depends highly on the application, hardware as well as the OS
# scheduler properties. A too high value may lead to thread thrashing.
innodb_thread_concurrency=8

вот мой)у меня он одинаковый во всеж мускулах

// Правильно оформляйте сообщение.;)
С Уважением Zone-Game.

PROGRAMMATOR 21.03.2009 21:08

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Я же сказал, у меня тоже не вписано, но это практически единственное, что может вызвать в данном случае ошибку. Откройте вот этот файл, что вы процитировали здесь и впишите в секции [mysqld]:
Код:

max_allowed_packet = 128M
Далее: Пуск - Панель управления - Администрирование - Службы и находите mysql и жмете Перезапустить службу. Все!

demonitions 21.03.2009 21:21

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
все получилос)) мучил я тя так не из любопытства прочности твоих нервов. меня прост задроты линяги на мускуле моем давили а по живому эксперементировать было нельзя) спасибо добрый человек)

Добавлено через 3 часа 26 минут
баги этой сборки тож сюда?? есть проблемка проходил я квесты на дк и тут когда я пришел заканчивать в замок квест к всаднику все нпц пропали... ну хоть приз получил)) эт не дело. вся локация осталась без нпц и мобов
(для справки название квеста "победа у разлома смерти")

Averno 23.03.2009 14:32

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Для того что бы пройти все квесты ДК залить хаки:
Код:

UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12687;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12680;
UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12701;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12700;
UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12641;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12636;
UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12698;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12697;
UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12720;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12719;
UPDATE `quest_template` SET `Method` = 0 WHERE `entry` = 12779;
UPDATE `quest_template` SET `NextQuestId` = 0, `NextQuestInChain` = 0 WHERE `entry` = 12778;

После этого удалить Cache;)

demonitions 23.03.2009 14:43

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
спс но это решение не того квеста))) а квеста на око . вот я откопал нужное.

Код:

UPDATE `creature` SET `phaseMask` = 1023 WHERE `map` = 609;
UPDATE `gameobject` SET `phaseMask` = 1023 WHERE `map` = 609;
UPDATE `creature` SET `phaseMask` = 1023 WHERE `id` IN (29196, 29587, 29194, 29195, 29480, 28500, 27928, 29210, 29212, 32542, 32543, 32545, 32546, 29202, 32547, 28491, 29205, 28486, 28489, 28488, 28490, 29208, 29207, 29203, 29231, 29232, 29246);
UPDATE `gameobject` SET `phaseMask` = 1023 WHERE `id` IN (990001, 193052, 190557, 191746, 191747, 191748, 191757, 191758, 990002, 193053);


a_duh 30.03.2009 11:57

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Подскажите в чем дело! Запускаю клиент, завожу данные, а там мне выдаёт "Тип вашей учетной записи позволяет вам играть в Wrath of the lich King, однако на вашем компютере не установлен соответствующий програмный пакет. Загрузить его можно ..." И всо приехали!

http://posvent.fromru.com/wow.jpg

Может кто знает в чём проблема?! Клиента патчил с офф сервера.

Добавлено через 8 минут
Да ещё по этой теме. Базу можно заливать с помощю "dbForge Studio" — это гибкий профессиональный инструмент для разработчиков БД и пользователей MySQL.

http://devart.com/ru/dbforge/mysql/studio/
:)

demonitions 30.03.2009 12:47

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
у тебя клиент 3.0.9 (9551)?

a_duh 30.03.2009 15:43

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Да 3.0.9.9551

Добавлено через 9 минут
Это может из-за того что клиент выше ревизия?!

demonitions 30.03.2009 15:54

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
да вероятнее всего

a_duh 30.03.2009 16:01

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Не, ну я бы понял еслиб клиент был ниже версии серва. А тут на оборот! :(

pawned 03.04.2009 11:39

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Помогите пожалуйста:) У меня такая проблемма ставлю из папки SIMPLE базу mangos и повисает :( что делать? кто смог поставить? ( другая база сервера джейт поставилась нормально , но у меня все иероглифами :( ) Спасибо заранее

demonitions 03.04.2009 13:51

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
pawned перелистни страницу назад в етой теме только эта проблема и обсуждалас будь внимательнее;)

pawned 03.04.2009 16:37

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
нууу вообщем поставил я базу эту но поход у меня иероглифы не изза базы . Как можно сделать чтоб норм отображалось? я брал все фаилы из клиента ruRU! Могу даже скрин сделать ! Заранее спасибо :student:

demonitions 03.04.2009 17:01

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
сделай скрин плз) про иероглифы ты не говорил а по тому что ты написал то что повисает ответ в этой теме

pawned 03.04.2009 17:14

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
во лави
http://s51.radikal.ru/i131/0904/01/27e8b728bfda.jpg

даже клиент чистый взял :( и серавно такая вот фигня - мобы , чат ( например пишу .help tele и иероглифы!) и вещи :(

Раньше сервера делал ( 2.3.* 2.4.* ) было более менее проще а щас прям загвоздки одни :(

PROGRAMMATOR 03.04.2009 17:52

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Проверьте сопоставление кодировки в MySQL и кодировку таблиц.

pawned 03.04.2009 17:54

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
А где это посмареть ? Кодировку мускл в му.ини? а таблиц в ихнем скл фаиле?

Добавлено через 8 минут
мангос скл charset utf8 а у меня по дефолту в му.ини стоит cp1251- это то?

PROGRAMMATOR 03.04.2009 18:04

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Цитата:

Сообщение от pawned (Сообщение 30348)
Раньше сервера делал ( 2.3.* 2.4.* )

Цитата:

Сообщение от pawned (Сообщение 30350)
А где это посмареть ?

Как-то не сходится это... Посмотреть можно в PhpMyAdmin например.

Добавлено через 7 минут
Откройте таблицу locales_item или любую другую locales_* и посмотрите как отображается в ней текст. Все должно быть как у меня:
http://img.zone-game.info/image-DCAB_49D62433.jpg
Если иначе, значит кодировка таблиц не правильная! Что бы исправить это, можно сделать запросы:
Цитата:

ALTER DATABASE `mangos` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Если базы данных названы по другому, то измените запрос.

pawned 03.04.2009 18:27

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Сделал запрос не изменилось:(

PROGRAMMATOR 03.04.2009 18:31

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Что не изменилось? DROP'ните все таблицы и залейте базу по-новой. Либо поверх этой залейте локализацию https://rudb.svn.sourceforge.net/svn...db/тело/mangos - скачивать SVN'ом.

Надеюсь клиент то Русский?

pawned 03.04.2009 18:32

Ответ: Сервер Mangos для World of Warcraft 3.0.9
 
Клиент да :) .


все :) спасибо теперь там вместо иероглифов русские имена и названия спасиб огромное


Текущее время: 09:22. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot