Jump to content

[Guide] Mangos Windows Setup


Guest AuntieMangos

Recommended Posts

Hi!

When I was installing MySQL server, when it asks you about the password, I introduced mangos as it is said in the guide. But when I run it, I get this message (even without firewall):

Error Nr. 1045

Access denied for user'root'@'localhost' (using password: YES)

So, I did not chose the option "Modify Security Settings" and it was completed succesfully.

When configuring SQLyog Connection, I did not introduce any password and it finished correctly.

The problem comes again when modifying mangosd.conf and realmd.conf. I leave the fields like this:

LoginDatabaseInfo = "localhost;3306;root;;realmd"

WorldDatabaseInfo = "localhost;3306;root;;mangos"

CharacterDatabaseInfo = "localhost;3306;root;;characters"

And I get the same error as above when runnig mangosd.exe and realmd.exe. So my question is: how do I leave the above fields so the program knows that I'm not using any password? If that is not possible, what am I doing wrong?

Thanks all

LoginDatabaseInfo = "localhost;3306;root;;realmd"

WorldDatabaseInfo = "localhost;3306;root;;mangos"

CharacterDatabaseInfo = "localhost;3306;root;;characters"

Should be

LoginDatabaseInfo = "localhost;3306;root;realmd"

WorldDatabaseInfo = "localhost;3306;root;mangos"

CharacterDatabaseInfo = "localhost;3306;root;characters"

and don't forget to edit the realmd.conf to

Don't double up the ";" try that and get back to me in this thread.:cool:

Link to comment
Share on other sites

  • Replies 770
  • Created
  • Last Reply

Top Posters In This Topic

This is what I have done

-MySQL server community edition (download here) Done

-SQL client (a good one is SQLyog Community, available here; scroll down a bit on that page) Done

-GIT client (msysgit available here) Done

-Microsoft Visual C++ 2008 (Express Edition available here) Done

Getting the MaNGOS source files Done

-Install your GIT client if you haven't already

-Once installed, make a folder anywhere and call it whatever you want (this will be your MaNGOS source folder so you might want to call it "MaNGOS" or something)

-Right click your new folder and select "Git GUI Here"

-When the GIT GUI window comes up, click on "Clone Existing Repository"

-Another window should pop up

-In the "Source Location" field, type in:

Code:

git://github.com/mangos/mangos.git

-In the "Target Directory" field, type in the filepath of your folder (e.g. C:\\MaNGOS)

-Click "Clone" and wait for it to finish

-Once it's done, close the GIT GUI

Compiling MaNGOS Done

-Open Visual C++ and in the menu bar at the top, click "Tools" then Options

-Click the "+" next to Projects and Solutions, then click VC++ Directories

-Make sure the drop down menu days "Executable Files"

-Click the open button near the right of the dialog window, and make sure the path is:

Code:

C:\\Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Bin

-Click the drop down menu and make sure it says "Include Files", then click open and make the path:

Code:

C:\\Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Include

-Click the drop down menu and make sure it says "Library Files", then click open and make the path:

Code:

C:\\Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Lib

-Go to your Mangos compile folder, then into the "win" folder

-Open the "VC80.sln" file, or for 2008 users "VC90.sln" I used the vc90.sln

-Click "Build" in the menu and select "Configuration Manager"

-Click "Release" in the drop down box for "Active Solution Configuration"

-The "Active Solution Platform" should be set to "Win32"

-Then, click "Build" in the menu and select "Build Solution"

-If you get any errors, click "Build" in the menu and select "Clean Solution", then restart the compile

-Note: this WILL take a long time - You might get some warning messages...If you do, don't worry about it, it's normal

I did not get any errors only got 3 warrings . My problem is going to install it I can't find any of the files to do that so any help is helpful... Thank you all.

Link to comment
Share on other sites

Thanks Random777 for the help. I got it working to a point I can login to my server with the client and pick my relm but I cant do anything else except keep picking the relm. What can I do? I dont understand where to put udb?

Head over to udbforums.kicks-ass.net/index.php

It should explain a little more about how to set up the database etc.

Link to comment
Share on other sites

Hey someone can help me here ?

Im using windows xp and visual c++ 2008

I did everything that is in the tutorial, but I still got errors and unable to build the project.

1>Assembling...

1>Project : error PRJ0003 : Error spawning 'cmd.exe'.

1>Build log was saved at "file://c:\\Mangos\\win\\VC90\\tbb__Win32_Release\\BuildLog.htm"

1>tbb - 1 error(s), 0 warning(s)

2>Compiling...

2>XTI_ATM_Mcast.cpp

2>XML_Svc_Conf.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

3>------ Build started: Project: tbbmalloc, Configuration: Release Win32 ------

2>WIN32_Proactor.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

2>WIN32_Asynch_IO.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

thanks in advance

Link to comment
Share on other sites

Hey someone can help me here ?

Im using windows xp and visual c++ 2008

I did everything that is in the tutorial, but I still got errors and unable to build the project.

1>Assembling...

1>Project : error PRJ0003 : Error spawning 'cmd.exe'.

1>Build log was saved at "file://c:\\Mangos\\win\\VC90\\tbb__Win32_Release\\BuildLog.htm"

1>tbb - 1 error(s), 0 warning(s)

2>Compiling...

2>XTI_ATM_Mcast.cpp

2>XML_Svc_Conf.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

3>------ Build started: Project: tbbmalloc, Configuration: Release Win32 ------

2>WIN32_Proactor.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

2>WIN32_Asynch_IO.cpp

2>..\\..\\dep\\ACE_wrappers\\ace/config-win32-common.h(441) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

thanks in advance

It seems to me that VC++ 2008 can not find the "cmd.exe".

Enter the location of your cmd.exe (most likely C:\\WINDOWS\\system32\\) in "Tools" -> "Options..." -> "Projects and Solutions" -> "VC++ Directories".

Choose "Executable files" in the drop-down menu then click on the folder icon and enter "C:\\WINDOWS\\system32\\" or wherever your cmd.exe is.

Link to comment
Share on other sites

Hi if anyone could help me plz, im getting 2 errors and I followed the tut

1>------ Build started: Project: tbb, Configuration: Release Win32 ------

2>------ Build started: Project: ACE_Wrappers, Configuration: Release Win32 ------

1>Assembling...

2>Compiling...

1>'ml.exe' is not recognized as an internal or external command,

1>operable program or batch file.

1>Project : error PRJ0019: A tool returned an error code from "Assembling..."

2>XTI_ATM_Mcast.cpp

1>Build log was saved at "file://c:\\Documents and Settings\\Steve\\Desktop\\New Folder\\1\\win\\VC90\\tbb__Win32_Release\\BuildLog.htm"

1>tbb - 1 error(s), 0 warning(s)

2>XML_Svc_Conf.cpp

3>------ Build started: Project: tbbmalloc, Configuration: Release Win32 ------

3>Assembling...

3>'ml.exe' is not recognized as an internal or external command,

3>operable program or batch file.

3>Project : error PRJ0019: A tool returned an error code from "Assembling..."

3>Build log was saved at "file://c:\\Documents and Settings\\Steve\\Desktop\\New Folder\\1\\win\\VC90\\tbbmalloc__Win32_Release\\BuildLog.htm"

3>tbbmalloc - 1 error(s), 0 warning(s)

2>WIN32_Proactor.cpp

2>WIN32_Asynch_IO.cpp

========== Build: 8 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========

Link to comment
Share on other sites

What is wrong??

1>------ Build started: Project: tbb, Configuration: Release Win32 ------

2>------ Build started: Project: ACE_Wrappers, Configuration: Release Win32 ------

1>Assembling...

1>'ml.exe' blev ikke genkendt som en intern eller ekstern kommando,

1>et program eller en batchfil.

1>Project : error PRJ0019: A tool returned an error code from "Assembling..."

1>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\tbb__Win32_Release\\BuildLog.htm"

1>tbb - 1 error(s), 0 warning(s)

2>Compiling...

2>Project : error PRJ0003 : Error spawning 'cl.exe'.

2>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\ace__Win32_Release\\BuildLog.htm"

2>ACE_Wrappers - 1 error(s), 0 warning(s)

3>------ Build started: Project: tbbmalloc, Configuration: Release Win32 ------

3>Assembling...

3>'ml.exe' blev ikke genkendt som en intern eller ekstern kommando,

3>et program eller en batchfil.

3>Project : error PRJ0019: A tool returned an error code from "Assembling..."

3>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\tbbmalloc__Win32_Release\\BuildLog.htm"

3>tbbmalloc - 1 error(s), 0 warning(s)

4>------ Build started: Project: genrevision, Configuration: Release Win32 ------

4>Compiling...

4>Project : error PRJ0003 : Error spawning 'cl.exe'.

4>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\genrevision__Win32_Release\\BuildLog.htm"

4>genrevision - 1 error(s), 0 warning(s)

5>------ Build started: Project: zlib, Configuration: Release Win32 ------

5>Compiling...

6>------ Build started: Project: g3dlite, Configuration: Release Win32 ------

5>Project : error PRJ0003 : Error spawning 'cl.exe'.

5>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\zlib__Win32_Release\\BuildLog.htm"

5>zlib - 1 error(s), 0 warning(s)

6>Compiling...

6>Project : error PRJ0003 : Error spawning 'cl.exe'.

6>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\g3dlite__Win32_Release\\BuildLog.htm"

6>g3dlite - 1 error(s), 0 warning(s)

7>------ Build started: Project: framework, Configuration: Release Win32 ------

7>Compiling...

7>Project : error PRJ0003 : Error spawning 'cl.exe'.

7>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\framework__Win32_Release\\BuildLog.htm"

7>framework - 1 error(s), 0 warning(s)

8>------ Build started: Project: sockets, Configuration: Release Win32 ------

8>Compiling...

8>Project : error PRJ0003 : Error spawning 'cl.exe'.

8>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\sockets__Win32_Release\\BuildLog.htm"

8>sockets - 1 error(s), 0 warning(s)

9>------ Build started: Project: shared, Configuration: Release Win32 ------

9>Performing Build SystemConfig.h

9> 1 fil(er) kopieret.

9>Extract revision

9>'"c:\\sources\\ManGOS\\win\\VC90\\shared__Win32_Release\\\\..\\genrevision__Win32_Release\\genrevision.exe"' blev ikke genkendt som en intern eller ekstern kommando,

9>et program eller en batchfil.

9>Project : error PRJ0019: A tool returned an error code from "Extract revision"

9>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\shared__Win32_Release\\BuildLog.htm"

9>shared - 1 error(s), 0 warning(s)

10>------ Build started: Project: game, Configuration: Release Win32 ------

11>------ Build started: Project: realmd, Configuration: Release Win32 ------

11>Compiling...

11>Project : error PRJ0003 : Error spawning 'cl.exe'.

11>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\realmd__Win32_Release\\BuildLog.htm"

11>realmd - 1 error(s), 0 warning(s)

10>Compiling...

10>Project : error PRJ0003 : Error spawning 'cl.exe'.

10>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\game__Win32_Release\\BuildLog.htm"

10>game - 1 error(s), 0 warning(s)

12>------ Build started: Project: mangosd, Configuration: Release Win32 ------

12>Compiling...

12>Project : error PRJ0003 : Error spawning 'cl.exe'.

12>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\mangosd__Win32_Release\\BuildLog.htm"

12>mangosd - 1 error(s), 0 warning(s)

13>------ Build started: Project: script, Configuration: Release Win32 ------

13>Compiling...

13>Project : error PRJ0003 : Error spawning 'cl.exe'.

13>Build log was saved at "file://c:\\sources\\ManGOS\\win\\VC90\\script__Win32_Release\\BuildLog.htm"

13>script - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 13 failed, 0 up-to-date, 0 skipped ==========

Link to comment
Share on other sites

Hi, someone know where i get the full DB, UDB doesn´t have..

regards..

svn UDB: https://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk/

svn YTDB: http://svn2.assembla.com/svn/ytdbase/

svn SCRIPTDEV2: http://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2

svn ACID: https://sd2-acid.svn.sourceforge.net/svnroot/sd2-acid/trunk/wotlk/

i hope this link help you.

Link to comment
Share on other sites

2010-01-20 06:30:20 MaNGOS/0.15.1 (* * Revision 9134 - *) for Win32 (little-endian) [world-daemon]

2010-01-20 06:30:20 <Ctrl-C> to stop.

MM MM MM MM MMMMM MMMM MMMMM

MM MM MM MM MMM MMM MM MM MMM MMM

MMM MMM MMM MM MMM MMM MM MM MMM

MM M MM MMMM MM MMM MM MM MMM

MM M MM MMMMM MM MMMM MMM MM MM MMM

MM M MM M MMM MM MMM MMMMMMM MM MM MMM

MM MM MMM MM MM MM MMM MM MM MMM

MM MM MMMMMMM MM MM MMM MMM MM MM MMM MMM

MM MM MM MMM MM MM MMMMMM MMMM MMMMM

MM MMM http://getmangos.eu

MMMMMM

2010-01-20 06:30:20 Using configuration file mangosd.conf.

2010-01-20 06:30:20 World Database: 127.0.0.1;3306;admin;root;mangos2

2010-01-20 06:30:20 MySQL client library: 5.0.56

2010-01-20 06:30:20 MySQL server ver: 5.1.41

2010-01-20 06:30:20 Character Database: 127.0.0.1;3306;admin;root;characters2

2010-01-20 06:30:20 MySQL client library: 5.0.56

2010-01-20 06:30:20 MySQL server ver: 5.1.41

2010-01-20 06:30:20 Login Database: 127.0.0.1;3306;admin;root;realmd2

2010-01-20 06:30:20 MySQL client library: 5.0.56

2010-01-20 06:30:20 MySQL server ver: 5.1.41

2010-01-20 06:30:20 Realm running as realm ID 1

2010-01-20 06:30:20 Using World DB: Mangos default database.

2010-01-20 06:30:20 Using creature EventAI: Creature EventAI not provided.

2010-01-20 06:30:20 Using DataDir ./

2010-01-20 06:30:20 WORLD: VMap support included. LineOfSight:0, getHeight:0

2010-01-20 06:30:20 WORLD: VMap data directory is: ./vmaps

2010-01-20 06:30:20 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds

2010-01-20 06:30:20

2010-01-20 06:30:20 Loading MaNGOS strings...

2010-01-20 06:30:20

2010-01-20 06:30:20 >> Loaded 691 MaNGOS strings from table mangos_string

2010-01-20 06:30:20 Initialize data stores...

2010-01-20 06:30:21 ERROR:

Some required *.dbc files (4 from 81) not found or not compatible:

./dbc/BattlemasterList.dbc (exist, but have 31 fields instead 35) Wrong client version DBC file?

./dbc/Faction.dbc (exist, but have 57 fields instead 53) Wrong client version DBC file?

./dbc/Map.dbc (exist, but have 66 fields instead 65) Wrong client version DBC file?

./dbc/Spell.dbc (exist, but have 240 fields instead 239) Wrong client version DBC file?

I've used your tutorial to compile my 3.3a Version. Are the same steps. I've downloaded the "mangos-mangos-b55708e.zip" and dind't do any update of DB or core. but even when i will start i get this error. And yes...i used the same "ad.exe" as were add to the archive. may you help me to detect the failure?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use