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?
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:
Also, while trying patch command, encountered first error:
git apply src/bindings/ScriptDev2/patches/MaNGOSZero-ScriptDevZero.patch
Any help is welcomed!
Thank you!!!