Updating Database menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Updating Database

    SO how would i go about updating my World database so i could get Reflections Karazhan Mall thingy, im using some youtube repack Arcemu and i have already made many obsticle courses and whatnot

    i want to be able to update my World.exe so my Creature_spawn will have the right amount of columns, so yeah help me out =P

    Updating Database
  2. #2
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well updating your WorldDatabase doesnt have anything to do with how many columns you have.. you have to edit your database tables for Creature_spawns.. secondly you would get that persons Mall repack in a SQL file and execute it into your database

  3. #3
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did that, and i edited my Columns, If i made it have enough Columns for the Mall, The Server would not let me start up because Creature_spawns didnt have the right amount of columns, But if i had enough for the Repack to start up right, i didnt have enough for the Mall SQL

    basically my DB is out of date

  4. #4
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well i suppose aside from updating your Revision.. you can modify the tables so you can run the Mall sql and then switch them back so the server loads..

  5. #5
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If i did this Query:
    Code:
    ALTER TABLE creature_spawns CHANGE `bytes` `bytes0` INT( 30 ) NOT NULL DEFAULT '0';
    ALTER TABLE creature_spawns ADD bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    
    ALTER TABLE creature_staticspawns CHANGE `bytes` `bytes0` INT( 30 ) NOT NULL DEFAULT '0';
    ALTER TABLE creature_staticspawns ADD bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    While starting up World it would say

    Major Error/Warning
    One of your Creature_Spawns table has the wrong column count. arcemu has skipped loading the table to avoid crashing. Please correct this if you do not no spawns will show

    If i didnt do the query, my server started without the error/warning. but i couldnt use the mall SQL

  6. #6
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well you dont need the server running to load a SQL. just load Mysql and execute it into server and then fix the column count so server runs ....

  7. #7
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the server starts up and runs fine, just the vendors arent there and half the stuff that shud be there isnt, cuz the server didnt load it cuz the columns were wrong so it "avoided a crash" VV

    Major Error/Warning
    One of your Creature_Spawns table has the wrong column count. arcemu has skipped loading the table to avoid crashing. Please correct this if you do not no spawns will show

  8. #8
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    ALTER TABLE creature_spawns CHANGE `bytes` `bytes0` INT( 30 ) NOT NULL DEFAULT '0';
    ALTER TABLE creature_spawns ADD bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    
    ALTER TABLE creature_staticspawns CHANGE `bytes` `bytes0` INT( 30 ) NOT NULL DEFAULT '0';
    ALTER TABLE creature_staticspawns ADD bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    Run that put in Mall then run
    Code:
    ALTER TABLE creature_spawns REMOVE bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    
    ALTER TABLE creature_staticspawns REMOVE bytes1 INT( 30 ) NOT NULL DEFAULT '0' AFTER bytes0;
    and start server..

  9. #9
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty much you need to remove the bytes1 column from creature_spawns then restart server..

  10. #10
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and how do i update my revision without losing my obstacle courses and custom arenas

  11. #11
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tryd doing that and now when i try to run my query i get

    1060 - Duplicate column name 'bytes0'

    shud i delete bytes0? or would that **** up my server lol

  12. #12
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What you query did was CHANGE the bytes column to bytes0 and added in bytes1..

    leaving you with two columns for bytes.. When your emulator version is only looking for 1 column named bytes. so try removing the bytes1 column and rename bytes0 to bytes and start server

    Ideally i would update your revision though IMO LOL..

  13. #13
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry missed your post about updating revision somehow LOL all you have to do to update your revision ( and it can be a pain i just revised form ascent to arcemu,,fun fun) is get new version of arcemu ... run the Sqls that come with it and make sure your database matches the column count for columns.. If you have any problems with that PM me and we can try to figure it out.

  14. #14
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    will updating my revision get rid of my obstacle courses? or no

  15. #15
    lethalllama's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and how do i go about deleteing Bytes1, if i hit remove record it does nothing.

    i know im a super noob. lol

Page 1 of 2 12 LastLast

Similar Threads

  1. Updating Databases
    By jay77 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 07-27-2009, 02:55 PM
  2. Updating Database guid?
    By Summer in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 04-11-2009, 02:21 PM
  3. Updating Databases
    By 13ack.Stab in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 06-25-2008, 06:33 AM
  4. Query commands to update database to match ascent core
    By flop159 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 04-23-2008, 08:27 PM
  5. Updating database for tier6 etc.?
    By Giba in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-05-2007, 09:00 AM
All times are GMT -5. The time now is 04:01 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search