PDA

View Full Version : Compiling guide for Nobs by Keazain



Keazain
10-02-09, 10:48 AM
Keazain`s "Quick" Compiling Guide for "Newbs"

Quick guide for: "arcemu - ascent - heartstone - spurious" only for "Windows XP and Windows Vista"

First step: (important, only install ONE application at time)

01. install net framework 3.5 (http://www.microsoft.com/downloads/thankyou.aspx?familyId=333325fd-ae52-4e35-b531-508d977d32a6&displayLang=en#)
02. install visual basic c++ 2008 - this is your compiler (http://www.microsoft.com/express/vc/)
03. install MySql 5.0 - install this in easy way, just say yes true installation (username and password of your choice, most used "root" "ascent") (http://dev.mysql.com/downloads/mysql/5.0.html#downloads)
04. install TortoiseSVN (http://tortoisesvn.net/)

When all that is done, please restart your computer.

Now your computer have Restarted, go to next step.

Next step is:

01. Make a dir on your Desktop called "ArcEmu"
02. Right Click and click on "SVN UPDATE" put this text in to address line "http://www.arcemu.info/svn" (tortoisesvn will now download all your needed files for making a full compiling)

When all files is downloaded, your window will show you end text in form of examble: "Completed at revision 2003"

This is the core revision as examble: "ArcEmu_rev.2003"

Now we have made all our installations and completed all downloads we need.

You now have to pay attention!!!

01. go to "ArcEmu" you just downloaded all compiling files to.
02. go to "trunk" dir.
03. go to "extras" dir.
04. go to "arcemu-windows-libraries" dir
05. go to "VC" dir.
06. go to "include" dir.

07. Go to "ArcEmu\trunk\extras\arcemu-windows-libraries\include\"
08. Now copy "ALL FILES" from that dir and paste files into "ArcEmu\trunk\src\arcemu-shared\"
09. In the same dir "ArcEmu\trunk\extras\arcemu-windows-libraries\include\" you find "pcre.cpp" and "zconf.cpp" and "zlib.cpp"
10. Now copy those 3 files to following dir: "ArcEmu\trunk\src\arcemu-logonserver\" and "ArcEmu\trunk\src\arcemu-realmserver\" and "ArcEmu\trunk\src\arcemu-world\"

11. Now go to "ArcEmu\trunk\extras\arcemu-windows-libraries\Sources\"
12. Click on "VC90-zlib" (when open, go to top-window and look after scrolldown window with "Debug" change this to "Release" and go to top-link "Build" and say "Build Solution")
13. Now Click on "VC90-pcre" and do the exactly same thing like you just did in "VC90-zlib"

Now you have made some files we need. go to "ArcEmu\trunk\extras\arcemu-windows-libraries\Sources\Output_Release\" copy "zlib.lib" and "pcre.lib" to following dir:
"ArcEmu\trunk\src\arcemu-logonserver\" and "ArcEmu\trunk\src\arcemu-realmserver\" and "ArcEmu\trunk\src\arcemu-shared\" and "ArcEmu\trunk\src\arcemu-world\"

We now have everything we need to compile our "ArcEmu Core"

Now you just have to open 3 projectfiles and we are almost done.

14. Go to: "ArcEmu\trunk\win\" and click "arcemuVC90" to open projectfile "when window is open, let it stay open and go to next step"
15. Go to: "ArcEmu\trunk\src\scripts\" and click "scripts2008" "when window is open, let it stay open and go to next step"
16. Go to: "ArcEmu\trunk\src\scripts\" and click "ExtraScripts2008" "when window is open, let it stay open and go to next step"

We have now 3 windows opened and is ready for the last 3 steps.... (it`s important that you compile is this order below every time you compiling a new core)

17. First we compile "arcemuVC90" (go to top-window and look after scrolldown window with "Debug" change this to "Release" and go to top-link "Build" and say "Build Solution") Note! Let this finish before you go to next step!
18. Now we compile "scripts2008" (when open, go to top-window and look after scrolldown window with "Debug" change this to "Release" and go to top-link "Build" and say "Build Solution") Note! Let this finish before you go to next step!
19. Last we compile "ExtraScripts2008" (when open, go to top-window and look after scrolldown window with "Debug" change this to "Release" and go to top-link "Build" and say "Build Solution") Note! Let this finish before you go to next step!

When all 3 compiling are done, close all 3 windows and continue next step...

20. Make a new dir called "server" and go to next step.
21. Go to "ArcEmu\trunk\extras\arcemu-windows-libraries\DLL Files\" copy "libeay32.dll" and "libmySQL.dll" to your new dir "server"
22. Now go to "ArcEmu\trunk\bin\Release" and copy "script_bin.dir" and "arcemu-logonserver.exe" and "arcemu-world.exe" and "collision.dll" to your new dir "server"
23. And last, go to "ArcEmu\trunk\configs\" and copy the hole "configs" dir to your new "server" dir

Now you have to make "dbc" and "maps" and "vmaps" to the same new dir "server" and make shure those actuely HAVE dbc,maps and vmaps files inside. (use extractors)

You now have a completed server ready to run!

Click "arcemu-logonserver.exe" and "arcemu-world.exe" and enjoy you OWN compiled server!!!

NOTE! next time you compile do the EXACTLY same thing to compile your new core, BUT! this time we dont say "Build Solution" but "Rebuild Solution" and remember IN THE EXACTLY same order as you did the first time.

Best Regards from Keazain

simontheking
21-02-09, 05:33 PM
This is how i learned! Thanks!

mercdragon
22-02-09, 02:21 AM
01. go to "ArcEmu" you just downloaded all compiling files to.
02. go to "trunk" dir.
03. go to "extras" dir.
04. go to "arcemu-windows-libraries" dir
05. go to "VC" dir.
06. go to "include" dir.

07. Go to "ArcEmu\trunk\extras\arcemu-windows-libraries\include\

ok here step 5 says go to VC should that be in step 7 ?

11. Now go to "ArcEmu\trunk\extras\arcemu-windows-libraries\Sources\"
12. Click on "VC90-zlib" (when open, go to top-window and look after scrolldown window with "Debug" change this to "Release" and go to top-link "Build" and say "Build Solution")
13. Now Click on "VC90-pcre" and do the exactly same thing like you just did in "VC90-zlib"

Now you have made some files we need. go to "ArcEmu\trunk\extras\arcemu-windows-libraries\Sources\Output_Release\" copy "zlib.lib" and "pcre.lib" to following dir:
"ArcEmu\trunk\src\arcemu-logonserver\" and "ArcEmu\trunk\src\arcemu-realmserver\" and "ArcEmu\trunk\src\arcemu-shared\" and "ArcEmu\trunk\src\arcemu-world\"

For this i found out it is moved to here extras\arcemu-windows-libraries\VC\lib

Now you have to make "dbc" and "maps" and "vmaps" to the same new dir "server" and make shure those actuely HAVE dbc,maps and vmaps files inside. (use extractors)

And now i know about maps and vmaps but what is dbc and where can i get that info from or where can i get extractor for it.


Sorry dont know how to Multi-quote so had to do it this way

mercdragon
06-03-09, 12:41 AM
Does anyone ever check there own guides? I have tried this over and over can not get to work.

Odinssohn
10-03-09, 04:07 PM
Same here. Doesnt work for me either. Figoured this server doesnt even have a database. So how is that supposed to work?

mercdragon
16-03-09, 05:37 PM
Well i guess if someone could make a post on how to do this from start to finish that would be great.

Avidgamer
17-03-09, 11:28 AM
You need World of Warcraft already Installed and you get the DB from there...

thatguy
18-04-09, 04:38 PM
I get as far as trying to update the ArcEmu folder on my desktop (though my right-click option says "SVN Checkout"), and it let's me type in the http address but when I click the ok button it just says "Error: Server sent unexpected return value (405 Not Allowed) in response to OPTIONS. Maybe there is a new http address we're s'posed 2b using. If any1 finds an answer in the forums to this problem, please create a link to it from here.

thatguy
18-04-09, 05:08 PM
Ok I found the updated link
http://arcemu.svn.sourceforge.net/svnroot/arcemu/ (http://arcemu.svn.sourceforge.net/svnroot/arcemu/)

mec
09-09-09, 02:29 PM
very nice