PDA

View Full Version : HowTo Upgrade From 7.3 to 7.4 & WoW 2.3.2 Patch & My take on AC Repack


Nessus
01-10-2008, 04:21 AM
Greetings.

Getting it public
By opening the ports that Ascent listens on and using a dynamic IP service like no-ip.com, I can give players a static servername that always points to my computer. I opened the ports mentioned in the Ascent .conf files and that was pretty much it. For those interested, these are the ports I opened (follow the guides on http://www.portforward.com:

80 Web server
8129 Ascent
8093 Logon server
3724 Realm list

Upgrade to Repack 7.4
When the 7.4 Repack was released, I wanted to upgrade without loosing any characters or setting. I have some experience with MySQL but needed to know what tables to keep. I found a guide that answered all my questions and now I will show you the steps I took to backup my database.

Here are the steps you will take:


Modifying the database due to changed table structure
Backup your characters from the MySQL server
Backup .conf files
Backup htdocs folder and additional databases
Install Repack 7.4
Clear the new database
Insert old data into new database
Change new .conf files
Restore your htdocs folder


Start by moving out the maps folder. Then make a copy of the Server folder.

Step 1:
By using HeidiSQL (http://www.heidisql.com), connect to your MySQL server and choose 'logon' from the databases in the left column. Double click the characters table and be sure the Table tab is selected. Find the following 4 items:

-publicNote
-officerNote
-guildid
-guildrank

Right click them one by one and choose Drop Fields. If we don't do this, we get errors when we try to import the database to the 7.4 Repack. Now all we need to do is to Export the tables.

Step 2:
What you need is the following 11 tables from the logon database:

logon
- accounts
- characters
- charters
- corpses
- guild_ranks
- guilds
- playeritems
- playerpets
- playerpetspells
- playersummonspells
- questlog

Now go to Export -> Export tables as SQL. First choose the logon database from the drop down list, then select the 11 tables mentioned above. Go to the Destination tab and from Structure choose Create if necessary in both Database and Tables. Then in Data select Insert and in Target compatability select Same as source server. Choose the folder to save the tables in Output - File and hit Export.

Keep this .sql file in a safe place as it holds your accounts and characters.

Step 3:
Next are the Ascent .conf files. I suggest you copy them to a safe place for now, because you don't want to just overwrite the new .conf files.

Step 4:
If you made changes to the Apache config file, keep it and just overwrite the new one. If you used the Joomla website and added some content, you also want to backup the htdocs folder and export the joomla database on your MySQL server. If you used the forum, export the forum database as well.

Step 5:
Now unpack the 7.4 Repack.

Step 6:
Now you need to clear the new tables before you insert the backup tables. To do this, click the logon database to the left and select the Query tab to the right. Insert this:

use logon;
delete from accounts;
delete from characters;
delete from charters;
delete from corpses;
delete from guild_ranks;
delete from guilds;
delete from playeritems;
delete from playerpets;
delete from playerpetspells;
delete from playersummonspells;
delete from questlog;

and click the blue play button. WARNING! This will delete all record from the tables mentioned. You only want to do this if you have unpacked the 7.4 Repack and are sure you are connected to the new MySQL database. To make sure, click the accounts table and go to the Data tab. It should only contain one account, admin.

Step 7:
After you have cleared the tables, you should Import the .SQL file again (As I mentioned, HeidiSQL is buggy and you might need to restart it.)

Now go to Import -> Load SQL File. Find the file we exported earlier and open. You will see it in the slim upper frame. Press the far left blue play button to run the query. If all goes well, it should display no problems.

Step 8:
Find your old Ascent .conf files and manually fill in the 7.4 config files with your old data. The config files are important and you should read them all before you start the server.

Step 9:
Overwrite the htdocs folder and joomla database if needed. If you do overwrite the new htdocs folder with your old one, you'll want to keep the 'stats' folder inside htdocs, as it may contain updates to the stats files.

If you get MySQL access denied errors when starting Ascent, you can use HeidiSQL to edit the MySQL users passwords and permissions. The user should have all permissions (Grant All Privileges.)

When the WoW 2.3.2 patch was released, the only thing I had to change was the logonserver.conf:

<Client MinBuild = "6739"
MaxBuild = "7741">

Version 7741 is of course the latest version. You only need to restart the logonserver.

Cancuno
01-10-2008, 04:27 AM
Why does this Suck?????????????

Falcnor
01-10-2008, 11:52 AM
Well done Nessus!
I did move this to tutorials for you. Better off posting this stuff there.

Darhan
01-10-2008, 12:03 PM
Nice guide :)

chevman74
01-10-2008, 12:57 PM
Very nice, I was wondering about this myself
Thanks so much
~LL~

unfocus
01-10-2008, 11:39 PM
Very nice guide

deathdude
01-11-2008, 12:58 AM
Nice Guide

stianolsen
01-11-2008, 08:35 AM
nice guide dude, thank you for bothering to help out the members of the sight.

Akinos
01-11-2008, 01:22 PM
2.3.2 works for me ONLY if I have 2.3.0 exe and <Client MinBuild = "6739"
MaxBuild = "7741"> But some of the stuff is messed up like cant see party members, voice chat, raid and so. Would appreciate if someone posted really really working guide :P

Blackboy0
01-11-2008, 01:24 PM
Thanks mate... Does anybody know how to create an Account Creation Page though? Sorry if in wrong section >.<

-Blackboy0

Golepa
01-11-2008, 01:41 PM
Why people keep asking how to create one? Registration page comes with the repack. If you want to change, go to emupedia.com or asentemu.com and find a new one.

Blackboy0
01-11-2008, 01:50 PM
I know it comes with the Repack, just don't know how to set it up to Register people to the Server. Ain't there a Guide on that?

-Blackboy0

Golepa
01-11-2008, 02:48 PM
When I downloaded the first repack with joomla and what not, I figured it out myself. Maybe you should do the same?

claus999
01-11-2008, 02:50 PM
+rep to golepa...oh wait...it dosnt count.. well nvm then -.-'

ralema56
01-11-2008, 09:26 PM
do i need to run ad.exe and get new maps again?

i get this error after complied and trying to run it (running ascent.exe):

..\..\src\shared\config\config.cpp:275 ASSERTION FAILED:
current_variavle != ""
17:19 E Config: >> ascent.conf

wareagle920
01-11-2008, 09:29 PM
nice guide but why dont you just run the update queries from my thread and you wil be fine

ralema56
01-11-2008, 10:55 PM
meh i deleted those files in mysql and tried to go back to 2.3.0 and it needs them on that one.

Nessus
01-11-2008, 11:24 PM
2.3.2 works for me ONLY if I have 2.3.0 exe and <Client MinBuild = "6739"
MaxBuild = "7741"> But some of the stuff is messed up like cant see party members, voice chat, raid and so. Would appreciate if someone posted really really working guide :P

What do you mean 'the 2.3.0 exe'? Are you using the old WoW.exe after you updated to 2.3.2? That might be why some things are 'messed up'. Consider running the Repair.exe tool and try to update. The 7.4 Repack works with WoW 2.3.2, and you only need to take the steps mentioned in my first post.

do i need to run ad.exe and get new maps again?

i get this error after complied and trying to run it (running ascent.exe):

..\..\src\shared\config\config.cpp:275 ASSERTION FAILED:
current_variavle != ""
17:19 E Config: >> ascent.conf

If you still have the 942mb maps folder inside of 'C:\AC Web Ultimate Repack\Ascent', then just move it out and move it back in when you have unpacked the 7.4. What do you mean after you compiled it? Please ask in Support board.

nice guide but why dont you just run the update queries from my thread and you wil be fine

Are you talking about this (http://www.ac-web.org/forum/showthread.php?t=8443) guide? First, Navicat isn't free (well it does offer a free version, but it hardly has any features). Second, your guide is IMHO kinda hard to follow, and some of the images on the follow-up guide are duplicates. You might want to check it out.

ralema56
01-12-2008, 12:27 AM
i've fix my previous problem it turns out there was a typo in the conf file... but now i have another problem,

http://img529.imageshack.us/img529/3474/error22um9.th.jpg (http://img529.imageshack.us/my.php?image=error22um9.jpg)

Golepa
01-12-2008, 12:29 AM
i've fix my previous problem it turns out there was a typo in the conf file... but now i have another problem,

http://img529.imageshack.us/img529/3474/error22um9.th.jpg (http://img529.imageshack.us/my.php?image=error22um9.jpg)

Well debug the crashdump and paste a callstack on ascentemu forums.

zealot588
01-12-2008, 06:36 PM
when I imported the logon it said SQL Error: duplicate entry 1 for key 1

what happened?

Nessus
01-13-2008, 02:21 AM
when I imported the logon it said SQL Error: duplicate entry 1 for key 1

what happened?

It says duplicate entry because there are some entries in the database. Did you do Step 6?

Brandon505
01-20-2008, 12:09 AM
well i tried doing the min and max client build u told me but it doesnt fix my sever,still wont log on for 2.3.2,i the second the map load after i select my char is says 'disconnected from server' 2.3.2 just doesnt work with private servers :(