[Guide] 2.4.1 Mangos Setup for Mac OSX -
04-26-2008
This is my first time contributing so if i did something wrong don't flame.. just let me know
Ok heres an easy way to get your Mangos server up to date with 2.4.1 on a Mac, without using the MangOSX program because it only supports up to client version 2.3.3.
First thing your going to need to do is make a folder in your Hard Drive named "opt" This will be your main directory.
We're going to use revision 5662 for Mac, which can be found here:
[Only registered and activated users can see links. ] (Courtesy of Patman64 from the Mangos Project Forums)
Drop the "mangos" folder in your "opt" directory. You should have these 5 files
Now we're going to make our "maps" folder which will be placed in .To extract your maps your going to use a Unix version of the ad.exe map extractor found here:
[Only registered and activated users can see links. ]
IMPORTANT! Follow the instructions in the file included.
Your mangos folder should now contain .
Now we have to extract our DBC files:
1. Get MPQ Extractor
[Only registered and activated users can see links. ]
2. Open MPQ Extractor
3. Open your WoW folder
4. Browse to /Data/yourlang/
5. Locate locale-yourlang.MPQ, patch-yourlang.MPQ, patch-yourlang-2.MPQ
6. Drag all of them on to the MPQ Extractor Icon in your Dock
7. Let them Expand…
8. Create a folder called dbc in your /Data/yourlang/ dir
9. Open locale-yourlang (the folder) and go to DBFilesClient select all and Copy (Apple+C)
10. Then go back to /Data/yourlang/ and open the dbc dir
11. Paste the files in there (Apple+V)
12. Do the same with the patch-yourlang and patch-yourlang-2 folders
13. Replace the files if asked
14. Copy the dbc folder to /opt/mangos/
15. Delete the 3 folders from your Data/yourlang dir (locale-yourlang, patch-yourlang and patch-yourlang-2)
16. You're done.. with that.
Now should look like this
Download and install MySQL [Only registered and activated users can see links. ]
and Navicat here [Only registered and activated users can see links. ]
The MySQL configuration is in the Readme file when you install It. But to start your MySQL server (if not running) open the Terminal and run this:
Open Navicat and click the "Connection" button. Set everything up to look like this
Remember your password because you will have to use it later.
Then press OK.
Once your connection is open click "Connection" at the top of the screen and choose "Execute Batch file"
Find your opt directory, click on mangos, then sql and execute all the following batch files and also the batch files in mangos > scriptdev2 until your database looks like this
Go to and click the "etc" folder and open up these files
Now, go to and open both of these with Terminal (default)
and wait for then to compile.
If your mangos-realmd compile ends up like this then that means your realm is online. good. mangos-worldd will probably always have a few errors but those are caused by revisions which i will keep you posted on. but for now its fine.
At the moment you can't create new accounts in navicat but you can by using a simple command in your "mangos-worldd" Terminal window.
To create new account type "create accountname password"
Ex.
Code:
create gnargnar gnarspassword
to create different types of accounts use "Create Admin Admin, Setbc Admin 1, Setgm Admin 3"
Make sure your realmlist says "set realmlist 127.0.0.1"
Open your wow client and log in with username: administrator password: administrator
:d your done. I'll keep posted, lemme know if u got a prob.
ALTERNATE DB:
heres UDB, an updated database you might want to use if your having problems.
click both links and execute these batches over your curent ones. execute "UDB_0.10.1_Core_5712_SD2_350.sql" to your mangos database [Only registered and activated users can see links. ] [Only registered and activated users can see links. ]
For you scriptdev2 folder:
You dont need to execute anything in the updates folder so leave that alone.
You cant execute a batch on the wrong database for example:
You can only execute "mangos.sql" to your mangos database
and you can only execute "realmd.sql" to your realmd databse
So "scriptdev2_structure.sql" will execute to your scriptdev2 database.
leave "scriptdev_additional_req.sql" and "scriptdev_full.sql" alone.
"mangos_additional_req.sql" and "mangos_full_scripts.sql" will execute to your mangos databse
Ok, so after executing UDB_0.10.1_Core_5712_SD2_350.sql into mangos I now get this error when running mangos-worldd.
Code:
Loading Page Texts...
[6 ms] SQL: SELECT MAX(entry) FROM page_text
[0 ms] SQL: SELECT COUNT(*) FROM page_text
[0 ms] SQL: SELECT * FROM page_text
[**************************************************] 100%
>> Loaded 1375 page texts
Loading Items...
[1 ms] SQL: SELECT MAX(entry) FROM item_template
[0 ms] SQL: SELECT COUNT(*) FROM item_template
[14 ms] SQL: SELECT * FROM item_template
Error in item_template table, probably sql file format was updated (there should be 142 fields in sql).
macos/FastLock.h:73: failed assertion `false'
Abort trap
logout
[Process completed]
like i said there will be some errors, its a rushed DB its very new but ill post the updates when they are released.
did u have any errors in mangos-worldd before?
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 1
Posts: 9
Join Date: Feb 2007
04-26-2008
Quote:
Originally Posted by gnargnar
like i said there will be some errors, its a rushed DB its very new but ill post the updates when they are released.
did u have any errors in mangos-worldd before?
No, before executing UDB_0.10.1_Core_5712_SD2_350.sql there were no errors. It wasn't a complaint I was just informing you.
No, before executing UDB_0.10.1_Core_5712_SD2_350.sql there were no errors. It wasn't a complaint I was just informing you.
oh ok. well your probably better off with the DB that gives you less errors in the first place, but i know that the missing NPCs problem is common, im sure you could find the fix for it but i dont know how to solve it
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 1
Posts: 9
Join Date: Feb 2007
04-26-2008
Quote:
Originally Posted by gnargnar
oh ok. well your probably better off with the DB that gives you less errors in the first place, but i know that the missing NPCs problem is common, im sure you could find the fix for it but i dont know how to solve it
Yeah, I'm going to try to find a fix for my missing NPCs. Otherwise this works perfectly. Thanks.