If I've made a whole instance or a Mall.. how do i put all the stuff in one .sql ? menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    If I've made a whole instance or a Mall.. how do i put all the stuff in one .sql ?

    Ok, let's say I've made a new mall and I've spawned nice GO's and all the NPC's and stuff.. how do i put it in .sql file so i could release it or keep it in case i need a backup file ?

    Do i just go to the Gameobjects_spawns select all the GO spawns that i spawned.. put them into a SQL file and do the sme with creature_spawns into the same .sql file ?
    That would take some time to be honest : /

    If I've made a whole instance or a Mall.. how do i put all the stuff in one .sql ?
  2. #2
    Cheesy's Avatar Member
    Reputation
    85
    Join Date
    May 2007
    Posts
    314
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've never taken out something like a mall, but I guess you can do on of these methods:

    Code:
    Mark every table in your database and right-click - press: "Dump SQL file" - Navicat
    Right click on your database, like "ascent" and press "Backup Database as SQL Dump" - SQLyog
    Mark every table in your database and right-click - press: "Export tables as SQL" - HeidiSQL


    And, if you want to take only some items from your database, do this:

    Code:
    
    Step 1 - Exporting
    
    Mark every needed table in your database and right-click - press: "Dump SQL file" - Navicat
    Right click on the needed table - press: "Backup Database as SQL Dump" - SQLyog
    Mark every needed table in your database and right-click - press: "Export tables as SQL" - HeidiSQL
    
    
    Step 2 - Getting needed files
    
    Now, open the freshly extracted SQL with some kind of text editor, notepad, wordpad, etc. and simply selecting the rows you DON'T want to have in there. 
    Then, press "Backspace" or "Delete" or whatever you use to delete. And then, Save it.

    Have fun
    I 'R' EPICNESS!

  3. #3
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well you sort of said the same thing as i did up there.. but i was asking if there was some sort of other way to make it work..

  4. #4
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No there is no other way. That is the fastest way of exporting something out of you database. (ok you could write the whole sql but that would take much longer )

  5. #5
    Cheesy's Avatar Member
    Reputation
    85
    Join Date
    May 2007
    Posts
    314
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I thought you wanted to put everything in one SQL without some effort, that's the easiest way.
    I 'R' EPICNESS!

  6. #6
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well the way you say is good if you wnt your custom stuff only to be in the SQL file...

  7. #7
    beileroord's Avatar Member
    Reputation
    10
    Join Date
    Nov 2007
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well i think u can do it with some SQL,

    U need to make a temporary table first :

    Code:
    /*
    SQLyog Enterprise - MySQL GUI v6.07
    Host - 5.0.45-community-nt : Database - world
    *********************************************************************
    Server version : 5.0.45-community-nt
    */ 
    /*!40101 SET NAMES utf8 */;
    
    /*!40101 SET SQL_MODE=''*/;
    
    create database if not exists `world`;
    
    USE `world`;
    
    /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    
    /*Table structure for table `tmp` */
    
    DROP TABLE IF EXISTS `tmp`;
    
    CREATE TABLE `tmp` (
      `id` int(11) unsigned NOT NULL auto_increment,
      `entry` int(30) NOT NULL,
      `map` int(30) NOT NULL,
      `position_x` float NOT NULL,
      `position_y` float NOT NULL,
      `position_z` float NOT NULL,
      `orientation` float NOT NULL,
      `movetype` int(30) NOT NULL default '0',
      `displayid` int(30) unsigned NOT NULL default '0',
      `faction` int(30) NOT NULL default '14',
      `flags` int(30) NOT NULL default '0',
      `bytes` int(30) NOT NULL default '0',
      `bytes2` int(30) NOT NULL default '0',
      `emote_state` int(30) NOT NULL default '0',
      `npc_respawn_link` int(30) NOT NULL default '0',
      `channel_spell` int(30) NOT NULL default '0',
      `channel_target_sqlid` int(30) NOT NULL default '0',
      `channel_target_sqlid_creature` int(30) NOT NULL default '0',
      PRIMARY KEY  (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    
    /*Data for the table `tmp` */
    
    LOCK TABLES `tmp` WRITE;
    
    UNLOCK TABLES;
    
    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
    /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
    My Database has name World and the table is called TMP

    Then i went to the Console of my navcat and typed :

    Code:
    INsert into TMP TMPSELECT * FROM  world.creature_spawns WHERE (entry >50000) and (entry <50081);
    To get all the spawns for My vendors Which are in the range of 50000 - 500081.

    Then all i did was dump the tmp table to a sql. Maybe u need to adjust the file to get the SPAWNID out, so it wont conflict with some future dbase..

    Hope this will help u out.

    Edit :
    Guess it will work out fine with the gameobjects spaws too but then i guess u have to make some check in u're query line where mapid = 530 orso. or take the highest gameobjects ?? (not Sure)
    Last edited by beileroord; 12-26-2007 at 04:52 PM.

Similar Threads

  1. [Gold] Tailors-Embersilk Farm & You! Instant respawns. I made 4k in an hour. Here's how...
    By Bilderberg in forum World of Warcraft Guides
    Replies: 26
    Last Post: 07-19-2014, 09:17 PM
  2. [Help WOTLK] How would I put my item I made into my database on Mangos?
    By stefonalfaro in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-27-2008, 04:05 PM
  3. Skipping whole instance of Hellfire Ramparts(again)
    By drano in forum World of Warcraft Exploits
    Replies: 21
    Last Post: 01-23-2008, 09:33 AM
  4. [tested] walk though a whole instance with out agro
    By i think i just pwned you in forum World of Warcraft Exploits
    Replies: 31
    Last Post: 06-24-2007, 10:37 PM
All times are GMT -5. The time now is 10:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search