Jump to content

[Guide] Mangos Windows Setup


Guest AuntieMangos

Recommended Posts

no man ... just that you are in need (UP your Version)what is in sql/updates files not in sql/updates/(example)/0.16/

check your DB version . i will told you how to. go into your mysql then :example open characters --> tables-->click on Characters_db_version. This will show you what is your update now .Example : if your update is 9220 you have to updaite all over 9220 like:9230 :9233 examples.. this is same like your Database of Mangos and Realmd. tryed ;] good luck

btw did you know how to fix the problem with map error 0004331

Link to comment
Share on other sites

  • Replies 770
  • Created
  • Last Reply

Top Posters In This Topic

i have updated my databases. in the db_version table the last collum shows:

9477_01_mangos_spell_proc_event

Thats was the lasted patch i applied.

But the server log still show's this:

2010-03-01 18:39:49 Using configuration file mangosd.conf.

2010-03-01 18:39:49 World Database: 127.0.0.1;3306;root;pass;mangos

2010-03-01 18:39:49 MySQL client library: 5.0.56

2010-03-01 18:39:49 MySQL server ver: 5.1.41-community

2010-03-01 18:39:49 ERROR:SQL: SELECT required_9477_01_mangos_spell_proc_event FROM db_version LIMIT 1

2010-03-01 18:39:49 ERROR:query ERROR: Unknown column 'required_9477_01_mangos_spell_proc_event' in 'field list'

2010-03-01 18:39:49 ERROR:Table `db_version` have field `required_8731_01_mangos_creature_template` but expected `required_9477_01_mangos_spell_proc_event`! Not all sql updates applied?

How can i fix this?

Link to comment
Share on other sites

Just want to thank Phenomenon for the instruction list. I have never even touched this type of work before, but with the instructions and everyone who made the mistakes for me I have been able to setup the server, create the settings for ourside access though my router, and the best part of all is it works. I will contiune to probe the forum's to fix issues that I run into since I beleive people much more knowlegable than I have screwed up and I can avoid looking like a noob by asking a dumb question. Point being if you do these directions correctly and understand how this all goes together it will work and make wow fun again. Thanks again

Link to comment
Share on other sites

  • 2 weeks later...

OK I am sorry if this question has already been asked (I did try to find it before I started typing) in the guide (Nice work BTW) it states:

Compiling MaNGOS

-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"

-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

Here is my Question.. the Path you are talking about here... in the 2008 version I see a box with multi options and different /bin , /Include, and /Lib do all of these need to be changed? And If I read a post correctly .. there is a correction to the above info... it needs to point to the 2008 version not the 2003 version.. am I connect?? I keep getting the same errors (I have tried multi times to get this to work before I started typing this)

please help

Thanks

Link to comment
Share on other sites

This may seem like a strange question, but when I try to clone the repository I'm having a problem where it says that this file location already exists, which doesn't make any sense, if I'm cloning a repository. Can someone help me?

maybe I am wrong but it is a glitch... just name the folder something else when you are trying to clone it... it will make its own folder.

Link to comment
Share on other sites

Installing MaNGOS

-Add all the .exe files, .dll files and .pdb files in the compile folder into your Mangos folder (Ctrl + F to find them)

-Go back into your MaNGOS source folder, then into the "src" folder, then into the "mangosd" folder

-Rename "mangosd.conf.dist" to "mangosd.conf"

-Go back into your MaNGOS source folder, then into the "src" folder, then into the "realmd" folder

-Rename "realmd.conf.dist" to "realmd.conf"

The bold part someone please explain what files in what folder and where the hell should I put them, I mean nothing was mentioned by two different folders to copy from one to another. The MaNGOS folder where everything is or should I create a new one?

Link to comment
Share on other sites

i Get Errors in Mangos Compiling

.

.

.

.

.

.

.

.

13>LINK : fatal error LNK1181: cannot open input file 'mangosd.lib'

13>Build log was saved at "file://g:\\Mangos\\win\\VC90\\script__Win32_Release\\BuildLog. htm"

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

========== Rebuild All: 8 succeeded, 5 failed, 0 skipped ==========

Pls Help Me

Link to comment
Share on other sites

Hi im a total noob at all this and i just want to learn more about C++ and a friend refered me to MaNGOS. seemed good and i want to try Design a WoW server (NOT FOR PUPLIC USE AT ALL!) i just want to play around and make things. i want to learn on how it works.

i have followed the Steps up to the Part where i must:

Getting the MaNGOS source files

-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

I get a problem as soon as i choose "Clone". i get a error message saying:

Location C:/Users/[My Account Name]/Desktop/My Wow/Mangos already Exists

What does this mean lol. of Course it exists i had to click on it to open the GIT GUI window. and that is as far as a i get

Sorry im a noob at this sort of thing and still trying to learn

Link to comment
Share on other sites

@ temporary

EDIT:

1 last edit.. its just that I cant update my mangos UDB :/

1. import mangos.sql

2. compy and paste the full udb in query and press excute

3. copy, paste and excute for the updates as well... still no.. when connecting .... nooooooooo one but me in the all of WOW!!

I think that what I was doing was wrong...

in the tut.. it sayed... import/dump character.sql and so to realmd.sql...

it did not say that I had to import/dump "MaNGOS\\sql\\mangos.sql" 678 KB" ........ and theeeeeeen, find an update!!

what I used to do is just dump/import the "UDB_0.12.0_mangos_9582_SD2_1639.sql" "73873 KB"

if this is how its done... then I am stuck at handshaking!

thanks a lot for clearing these stuff... I did understand that from the beggining!!

but I have the same problem that I was thinking about "that I was right and the problem is not with updating or anything"

I got an error about:

my core is newer than the DB!

DBErrors.txt

2010-04-03 04:13:00 SQL: SELECT required_9636_01_mangos_item_template FROM db_version LIMIT 1

2010-04-03 04:13:00 query ERROR: Unknown column 'required_9636_01_mangos_item_template' in 'field list'

2010-04-03 04:13:00 Table `db_version` have field `required_9539_01_mangos_spell_bonus_data` but expected `required_9636_01_mangos_item_template`! Not all sql updates applied?

server.txt

2010-04-03 04:13:00 Using configuration file mangosd.conf.

2010-04-03 04:13:00 World Database: 127.0.0.1;3306;root;1111111111;mangos

2010-04-03 04:13:00 MySQL client library: 5.0.56

2010-04-03 04:13:00 MySQL server ver: 5.5.2-m2-community

2010-04-03 04:13:00 ERROR:SQL: SELECT required_9636_01_mangos_item_template FROM db_version LIMIT 1

2010-04-03 04:13:00 ERROR:query ERROR: Unknown column 'required_9636_01_mangos_item_template' in 'field list'

2010-04-03 04:13:00 ERROR:Table `db_version` have field `required_9539_01_mangos_spell_bonus_data` but expected `required_9636_01_mangos_item_template`! Not all sql updates applied?

realmd.txt

2010-04-03 04:12:57 MaNGOS/0.16.0-DEV (* * Revision 9648 - *) for Win32 (little-endian) [realm-daemon]

2010-04-03 04:12:57 <Ctrl-C> to stop.

2010-04-03 04:12:57 Using configuration file realmd.conf.

2010-04-03 04:12:57 Database: 127.0.0.1;3306;root;nononononnooonono@;realmd

2010-04-03 04:12:57 MySQL client library: 5.0.56

2010-04-03 04:12:57 MySQL server ver: 5.5.2-m2-community

2010-04-03 04:12:57 Added realm "MaNGOS"

2010-04-03 04:12:57 realmd process priority class set to HIGH

2010-04-03 04:12:57

restore from sql: characters and realmd.

mangos:

is to dl from here:

http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk/Full_DB/

9582_SD2_1639.zip

and then update it to some newer ver.

my core's ver is 9646....

the "Mangosd sql file/UDB" is ver 9582

now u tell my how to fix that!

based on the error message is that my core WANTS a newer UDB!

this is a mystery I cant solve :/

"edit"

still the same problem!! when I start mangosd.exe it just shuts off :/ quickly

but realmd works fine!!

Link to comment
Share on other sites

Yeah well, this thread is to install Mangos only...

I made mine to talk about the entire installation, because at the beginning you think that mangos is your wow server and thats it....but later on you learn that this isnt the case, and your trying to install one by one the things you find missing ...and you end up messing up everything and gettings errors your not sur what to do with it ...

So yes stuff changes overtime, but if my thread ever goes out of date, and even though it is refering to mutiples forum and installation that can be change...well at least you'll get the basic...where to look for...

So you'll need to follow the guide....because part 5 only download Mangos Files.... you'll get your mangosd.exe when part 8 is complete...meaning after you've compile Mangos

And yes you'll need to do everything...basicly.... beside the Addons...i don't know if they fixed the AHBot yet.... in the case of the Maps DBC, you can do them whenever you want between part 5 and 18... but theres 4 folders, ad.exe is one, and theres also the extrator wich take alot longer.... i've put it at part 11 so you can setup your SQLServer while this is working in background...

Link to comment
Share on other sites

Can someone give me version 3.3.2 pls .... every time i try to make a server i get this kind of errors and i cant apply the sql updates .. or they are not in the folder .....

2010-04-08 20:43:48 SQL: SELECT required_9692_03_mangos_spell_proc_event  FROM db_version LIMIT 1
2010-04-08 20:43:48 query ERROR: Unknown column  'required_9692_03_mangos_spell_proc_event' in 'field list'
2010-04-08 20:43:48 Table `db_version` have field  `required_9622_01_mangos_gameobject` but expected  `required_9692_03_mangos_spell_proc_event`! Not all sql updates applied?

And now this .... a new version :( .....

2010-04-08 20:51:19 Using World DB: UDB 0.12.0 (389) for MaNGOS 9630 with SD2 SQL for rev. 1656
2010-04-08 20:51:19 Using creature EventAI: ACID 3.0.4 - Final Release for Mangos (3.3.2 Client)
2010-04-08 20:51:19 Using DataDir ./
2010-04-08 20:51:19 WORLD: VMap support included. LineOfSight:0, getHeight:0
2010-04-08 20:51:19 WORLD: VMap data directory is: ./vmaps
2010-04-08 20:51:19 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds
2010-04-08 20:51:19 ERROR:Map file './maps/0004331.map' is non-compatible version (outdated?). Please, create new using ad.exe program.
2010-04-08 20:51:19 ERROR:Correct *.map files not found in path './maps' or *.vmap/*vmdir files in './vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.
2010-04-08 20:51:19 
2010-04-08 20:51:19 Loading MaNGOS strings...
2010-04-08 20:51:19 
2010-04-08 20:51:19 >> Loaded 696 MaNGOS strings from table mangos_string
2010-04-08 20:51:19 Initialize data stores...
2010-04-08 20:51:19 ERROR:Found DBC files for build 11403 but mangosd expected DBC for one from builds: 11723  Please extract correct DBC files.

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