Hello MMOwned Community.
This Is My 1st Tutorial So Feel Free To Flame/Slate/NerdRage Or Post As Many /Facepalm Pics As You Like.
Just Remember To Tell Me Were I Went Wrong.
Well your probably wondering, "Why should i compile my own core?"
Answer is simple, Alot if not all the repacks out there have bugs and flaws that only the creator of the core is able to fix/solve.
Compiling your own Core/Repack allows YOU to fix bugs and apply updates.
:Compiling Tutorial BreakDown:
1.1:------------Programs Involved
1.2:-----Downloading ArcEmu & DB
1.3:----------Getting The Libraries
1.4:-------------Compiling ArcEmu
1.5:--------------Compiling Scripts
1.6:-------Compiling EXTRA Scripts
1.7:--Getting Your .EXEs & Configs
1.8:---Adding Your Server (MySQL)
1.9:---------- Adding DB To Server
OPTIONAL
:Editing Tutorial BreakDown:
2.1:----------Change Level Of Max Skill
2.2:------Remove Text When Appearing
2.3:-----Remove Text When Summoning
2.4:---------------Change Max Storage
2.5:-----------Flying Mounts In Azeroth
2.6:--Change Text At StartUp World.EXE
2.7:----------Change InGame Commands
2.8:--------Add Two Existing Commands
Well Thats The tutorial BreakDown Now Lets Begin.
1.1: Programs Involved
Download And Install
TortoiseSVN
Microsoft Visual C++ Express Edition
SVN (Dont Download This)
HeidiSQL
WhyDB (Dont Download This)
Now We Begin!!
1.2: Downloading ArcEmu
Beging by creating a new folder on your desktop and name it anything you like really, I chose Cimslunt'sCore naturally lol.
Right click your new folder and then click SVN Checkout.
You should then see this.
In the top text box enter
Make sure checkout directory is set to your new folder.Code:svn://arcemu.info/svn/
checkout depth - Full Recursive
and HEAD revision checked.
Now click ok and you should see this.
This is now downloading your ArcEmu SVN
Depending on system spec this could take between 5 minutes to an hour.
When finished simply click ok.
Now for the DB, create another new folder on desktop and name it DB.
Right click this folder and click SVN checkout.
Now Enter
Into the top text box, again make sure output path is set to DB folder.Code:http://subversion.assembla.com/svn/Squire-DB
Then click ok.
(Note: You can do this while waiting for ArcEmu to download.)
1.3: Getting The Libraries
On some systems this is not needed as the libraries are already in the system, But its best to do this just in case.
Once ArcEmu checkout has finished navigate to,
Your New Repack folder\trunk\extras\arcemu-windows-libraries folder
Now depending on your system you need to either open,
'DLL Files' or 'DLL Files(x64)
To find out what bit opertating system you have simply,
Click start bar - right click My computer - left click properties
and you are looking for this.
Now you know what bit system you have open either 'DLL Files' for 32bit or 'DLL Files (x64) for x64 bit obviously.
And copy the 2 .DLL files into
C:\Windows\System32
To get there simply copy it from here into your search on the start bar.
And enter the 2 .Dll files in here.
IF YOU WISH TO EDIT CORE PLEASE CHECK OUT TUTORIAL SECTION 2.x BEFORE COMPILING
1.4: Compiling ArcEmu
Open your Core folder and navigate to Trunk\Win and open ArcEmuCV90-Allprojects.sln
Once open check it is set to release and your system bit (Mine is 32 bit Operating system therefore it is set to Win32)
Then press F7 and you should start to see this.
this is VC++ compiling your core which will take anywere between 10minutes to an hour.
Once finished you should get this.
And that is your Core compiled, Well Done.
Give yourself a pat on the back
1.5: Compiling Scripts
Now go back to your Core folder and naviagate to Trunk\SRC\Scripts and open scripts2008.sln
and again change it to release your OPBit system then hit F7
This should take aorund 10minutes to complete.
1.6: Compiling EXTRA Scripts
Again open your repack folder and navigate to trunk\SRC\Scripts but this time open EXTRAScripts2008.sln
And again check Release and bit system are correct then hitF7.
1.7: Getting Your .EXEs & Configs
Create a new folder in your repack called ArcEmu.
Now in your repack naviagte to
Trunk\bin\release
And copy EVERYTHING from there into your newly created ArcEmu folder.
Now for the configs.
Create a new folder INSIDE your new ArcEmu folder and name it configs.
now in your repack folder navigate to
trunk\configs
And copy all from there into your NEW configs folder.
IMPORTANT: Do Not Copy The Config Folder You Must Get The Files From Inside The Folder.
1.8: Adding Server Folder (MySQL)
SQLServer
^^Download^^
Once downloaded extract it to your Repack folder and thats done.
Ps: This is a fresh SQL and Apache a DB needs to be added which is coming up next.
1.9: Adding DB To Server
Now in your new server folder inside your repack, double click MySQL.bat this will bring up this.
now leave that running at the side, Go to the folder we made earlier called DB.
Now double click the file called Tool.Bat, You should be promted to login using the DB connection information.
User: root
Pass: ascent
When done correctly you should get this,
Now you want to Import World DB, So press the letter I on keyboard then enter and wait for it to finish.
Once done you want to update, So press U on the keyboard then enter and again wait to finish.
Now for Account database. Keep your MySQL running.
Now go to your repack folder and navigate to
ArcEmu\trunks\sql
And open xxxx_logon_structure.sql with HeidiSQL.
Heidi User And Pass
User: root
Pass: ascent
Now on the left you should have 3 Databases.
Information_Schema
mysql
Squiredb_world
Now click Squiredb_world and then press F9 to execute logon structure, You will not see changed untill Heidi is restard.
now do the same for Character_Structure.sql
And were done on that part.
Now for the DBC files.
DBC Extractor
^^Download^^
Once downloaded extract those to World of Warcraft\data\enUS(enGB)
and double click
dbc.bat
NOTE: Updated with a pack of region defind extractors, Simpley find the extractor for your region and place in corresponding folder.
Once dbc.bat has finished look for a folder called MPQOUT inside that folder should be another folder called DBFilesClient and in the should be all your new dbc. Copy the files, NOT the folder over to your new repack DBC.
You Should Now Have A Working repack Compiled By YourSelf
Writting Up the Core Edits Now
2.1: Change Max Skill
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Player.cpp
Step 3) press Ctrl + F and type
Max_sk = ( Max_sk > 450 ? 450 : Max_sk );
change it to Max_sk = ( Max_sk > 2000 ? 2000 : Max_sk ); //max skill is now set to 2000
go down 3 rows and set it to 2000 ? 2000 too
Now you're done.
2.2: Remove appear text when appearing to someone
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Level1.cpp
Step 3) Search for char buf0[256];
snprintf((char*)buf0,256,
and change the text between " " to anything you want or just remove it for not to show in-game
and now you're done.
2.3: Remove summon text when summon someone
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Level1.cpp
Step 3) Search for
// send message to player
snprintf((char*)buf0,256, "You are being summoned by %s."
and change "You are being summoned by %s." to anything you want or just remove it for not to show in-game
and now you're done.
2.4: Change max storage
Step 1) goto \Core Folder\trunk\src\arcemu-shared
Step 2) open Storage.cpp
Step 3) change #define STORAGE_ARRAY_MAX 200000
to
#define STORAGE_ARRAY_MAX 10000000
and now you're done.
2.5: Make flying mounts in azzeroth (As im aware this only works for TBC servers.)
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) press Ctrl + F
and type if(m_mapId!=530 && (m_mapId!=571
Change it to if(m_mapId!=530 && (m_mapId!=571 && (m_mapId!=0 && (m_mapId!=1)
gratz you're done.
2.6: Change text at console start up (World.exe)
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Master.cpp
Step 3) Press Ctrl + F
and type Log.Color(TBLUE);
you can change the text between
printf("This program is free software: you can redistribute it and/or modify\n");
and
printf("For all support, you should visit the repacker's website at %s\n", REPACK_WEBSITE);
and now you're done
2.7: Change command names in-game
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Chat.cpp
Step 3) press Ctrl + F and type
static ChatCommand modifyCommandTable[] this will only change the modify commands.
if you want to make add command shorter type
static ChatCommand characterCommandTable[] =
and change additem to maybe... a then the new command would be .cha a (itemid)
done.
2.8: Add two existing commands
Step 1) goto \Core Folder\trunk\src\arcemu-world
Step 2) open Chat.cpp
Step 3) Press Ctrl + F
and type //{ "reloadscripts"
remove the //
then press Ctrl + F again and type
//{ "delete",
remove the //
and you're done.
Havin Problems With Created Characters Not Showing Up??
Basically in your arcemu trunk folder (the core) then in sql folder theres I think its character updates folder
basically in there there are 2 sql's called [random number] - characters Well You need to run both of these in heidi or navicat.
Credits To Straw For The Fix