atar
-
Posts
5 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by atar
-
-
Update: used config file to connect to correct databases (not sure if I am missing anything this way)
So my config file looks like this: (with correct user/password)
RealmID = 1 DataDir = "/opt/mangos-server/data" LogsDir = "/opt/mangos-server/logs" LoginDatabaseInfo = "127.0.0.1;3306;mangos;mangos;zp_realm" WorldDatabaseInfo = "127.0.0.1;3306;mangos;mangos;zp_world" CharacterDatabaseInfo = "127.0.0.1;3306;mangos;mangos;zp_characters"
On my client I see Mangos realm, but I can't connect to it from log in screen.
Another thing that I noticed when I run server info in mango console:
CLI command under processing... [0 ms] SQL: SELECT name,security,help FROM command Table `command` overwrite for command 'modify honor' default security (1) by 2 MaNGOS Zero/ (* * Revision 1842 - *) for Linux_x32 (little-endian) Using script library: <No Script Library Loaded> Using World DB: mangos-zero database version 1.1.0 (development) / "Hidden Treasures" Using creature EventAI: mangos-zero Artificial Creature Intelligence Database based on ACID 1.0.2 Online players: 0 (max: 0) Queued players: 0 (max: 0)
I am not sure why script library shows no script lib loaded.
-
Everything worked well until I tried to connect to server. Connection works, but I was unable to connect to realm.
After a bit looking around i figured out. For some strange reason, all databases in zero are named differently.
Any idea how to easy fix this?
-
So instead of
git clone git://github.com/mangos-zero/scriptdev0.git src/bindings/ScriptDev2
I should do
git clone git://github.com/mangos-zero/scriptdev0.git src/bindings/scripts
And then apply patch as you suggested.
I will try it tonight.
Thank you!
-
Hi,
never tried any mangos befor, thank you for this tutorial.
I am trying to install classic version using this tutorial, but having this error:
cmake .. -DPREFIX=/opt/mangos-server-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected 32-bit platform.
-- Found Git: /usr/bin/git
This script builds the MaNGOS server.
Options that can be used in order to configure the process:
PREFIX: Path where the server should be installed to
PCH: Use precompiled headers
DEBUG: Debug mode
To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.
For example: cmake .. -DDEBUG=1 -DPREFIX=/opt/mangos
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/i386-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found OpenSSL library: /usr/lib/i386-linux-gnu/libssl.so
-- Found OpenSSL headers: /usr/include/openssl
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.3.4")
MaNGOS-Core revision : ff183f617d88ac1bcb7795a50430da464c011a13
Install server to : /opt/mangos-server
Use PCH : No
Build in debug-mode : No (default)
CMake Error at src/bindings/CMakeLists.txt:19 (add_subdirectory):
add_subdirectory given source "scripts" which is not an existing directory.
-- Configuring incomplete, errors occurred!
Also, while trying patch command, encountered first error:
git apply src/bindings/ScriptDev2/patches/MaNGOSZero-ScriptDevZero.patch
error: patch failed: src/bindings/CMakeLists.txt:16error: src/bindings/CMakeLists.txt: patch does not apply
Any help is welcomed!
Thank you!!!
[Wiki] How to Compile on Linux (Ubuntu)
in Wiki Articles
Posted
Never mind, I figured it out.
Problem is with mangos zero and databases, they have all different names.
Reason I could not connect to realm was that I was using wrong realm db.
Still kind of lost about those scripts, don't have executable to start them. Could not get that patch (apply) part to complete.
Any ideas?