Jump to content

[Solved] Zero - Database updates


wattz

Recommended Posts

Posted

Hi guys , finally got my maps all extracted now and am just about to start getting my server online i just wanted to check which updates are applicable if i may please , i have ran the bat and created the db's ,now in my rel20 updates folder do i run every update sql in each folder in there ?

Screenshot_4.png

Posted

i would advise running Realmd & mangosd to see what updates you need-

- There is also a Rel20 branch of the database Repo, hopefully i've you've loaded that - there should be no updates required

Posted

Hey, you said in the chat box it took you 24hours to extract the maps, can I just check you compiled the server in release and not debug? That makes the extractors take very long and also adds a lot of un-needed stuff to map files and other things.

If compiled in release the extractors should be taking a max of around 2 hours using the Rel20 ones.

Posted

Hi max ,yeh pretty sure it was done in Win32_release not debug ,i'll add size of map folders ok to check they are right size

maps 122mb

dbc 27.6mb

vmaps 238mb

mmaps 189mb

Ok when i started the auth server nothing came up about updates but with the world one i got

2014-09-15 23:11:34 ERROR:SQL: SELECT required_20003_03_mangos_spell_bonus_data FROM db_version LIMIT 1

2014-09-15 23:11:34 ERROR:query ERROR: Unknown column 'required_20003_03_mangos_spell_bonus_data' in 'field list'

2014-09-15 23:11:34 ERROR:The table `db_version` in your [WORLD] database indicates that this database is out of date!

2014-09-15 23:11:34 ERROR:

2014-09-15 23:11:34 ERROR: [A] You have: --> `20002_creature_template_power.sql`

2014-09-15 23:11:34 ERROR:

2014-09-15 23:11:34 ERROR: You need: --> `20003_03_mangos_spell_bonus_data.sql`

2014-09-15 23:11:34 ERROR:

2014-09-15 23:11:34 ERROR:You must apply all updates after [A] to to use mangos with this database.

2014-09-15 23:11:34 ERROR:These updates are included in the sql/updates folder.

2014-09-15 23:11:34 ERROR:Please read the included [README] in sql/updates for instructions on updating.

So i just applied the following (im correct in thinking i just need these three ? )

Screenshot_5.png

Also can i just check with you guys with my log to be sure it looks normal for the start up please as noticed a lot of errors in the log and not sure if i have done something wrong or not :)

2014-09-15 23:13:07 MaNGOS Zero/0.20.0 (* * Revision 20003 - *) for Win32 (littl - Pastebin.com

Posted

Looking at the log file, I'd manually reimport the SD2 database as it looks like some stuff "could" be missing.

https://github.com/mangoszero/server/tree/master/sql/scripts

  • mangos_scriptname_clear.sql
    • mangos_scriptname_full.sql

    [*]scriptdev2_script_full.sql

Do those SQL files in that order and if you could post another log file that would be great. You can attach them directly by clicking manage attachments at the bottom of this page if you like :)

Posted

ok i applied those 3 in the order you mention ,attached the log :) *oops maybe not it says invalid file ,also tried with it rar'd and now says ive been blocked from getmangos lol

2014-09-15 23:33:51 MaNGOS Zero/0.20.0 (* * Revision 20003 - *) for Win32 (littl - Pastebin.com

*edit thought i would add the steps i did on installing the server as well in case i missed something ?

copied the server to dedibox and the sql folder

ran the Install_DB.cmd and created the 3 databases and then ran the 3 updates i mentioned above to the world/mangos db

then applied the 3 you mentioned above

Posted
You could try this prototype guide designed for Rel20

getMaNGOS WIKI

Hi Antz ,i followed those steps and still seem to be generating a mass of errors (majority of the log content) when starting the world/mangos server ,so i went over my steps from scratch again and recorded it so you could see that i followed the steps on the guide video link below only 3 mins long if you guys dont mind watching it please so you can see i did it as instructed in the wiki guide also will attach the log as well

Also think part of the guide may be wrong ?

Screenshot_1.png

there is no database/sql/Installer_DB.cmd only in source sql/install_db.cmd ?

world-server.txt

world-server.txt

Posted

Thank you Max that would be ideal and very kind of you ,is it ok to wait about 45mins to 1 hour please ? as really need to get my kids up to bed before this as will be a nightmare doing it with them climbing all over me :)

Posted
[MENTION=2683]wattz[/MENTION] - did this solve your problems ?

I think so Antz there was still a lot of errors but max said that is normal and that all looked ok

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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