Help with NCDB Tool menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Viter's Avatar Elite User
    Reputation
    410
    Join Date
    Aug 2007
    Posts
    2,153
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with NCDB Tool

    Okay i was trying to get the NCDB tool to work.
    in the tool config file i writed this:

    Code:
    #!/bin/bash
    # Academico's tool for NCDB
    user="root"
    pass="ascent"
    wdb="ascent"
    cdb="ascent"
    server="127.0.0.1"
    devpath=Development
    pubpath=Releases
    
    until [  == x ]
    do
    
    clear
    echo           "####################################"
    echo           "#######     Next Chapter     #######"
    echo           "######        Database        ######"
    echo           "#######     Import Tool      #######"
    echo           "####################################"
    echo
    echo        "Please type the letter for the option:"
    
    echo         "w = Install NCDB World Database"
    echo         "c = Install NCDB Clean Character Database"
    echo
    echo         "b - Backup Characters/Acounts Data"
    echo         "r - Restore Characters/Accounts Data"
    echo
    echo         "d - Debug"
    echo         "x - Exit"
    
    read -p "Enter option:  " letter
    
    if [ !  ]; then    
    echo    
    echo "Enter correct option... "    
    read -p "Press any key to try again..."
    echo    
    else
       if [  == w ]; then
        echo "[Importing] Started..."
        for i in $( ls /tables_world/*.sql -C -1 | cut -d'.' -f1 );
        do
              if [  != "Development/tables_world/character_tables" ]; then
                  echo "[Importing]" .sql...
                  mysql -h  --user= --password=  < .sql
              fi
        done
        echo "Importing Finished..."
       fi
    
       if [  == c  ]; then
           clear
           echo        "! ! !   W A R N I N G   ! ! !"
           echo
            echo
           echo        "This will DELETE all existing Character data"
           echo        "from the database!"
           echo
           echo        "Are you sure you want to:"
           echo        "Install clean Character Database?"
           echo
            echo         "'yes' or 'no'"
           read -p "Enter option: " resp
           if [  != "yes"  ]; then
            echo "Aborting..."
            exit
           else
            echo "[Importing] Started..."
            echo "[Importing] Importing Character/Account tables..."
            mysql -h  --user= --password=  < /character.sql
            echo "[Importing] Finished"
            echo                    
        fi           
       fi
       
       if [  == b  ]; then
        echo "[Backing Up] Started..."
        echo "[Backing Up] User Accounts and Characters..."
        mysqldump -h  --user= --password=  accounts auctions characters charters corpses gm_tickets guilds guild_ranks instances ipbans mailbox playeritems playerpets playerpetspells playersummonspells questlog playercooldownitems playercooldownsecurity social tutorials > /Backups/characters_backup.sql
        echo "[Backing Up] Finished"    
       fi
    
       if [  == r  ]; then
           clear
           echo        "! ! !   W A R N I N G   ! ! !"
        echo
           echo
           echo        "This will DELETE all existing Character data"
           echo        "from the database!"
           echo
           echo        "Are you sure you want to:"
           echo        "Restore Character Database from a file?"
           echo
           echo        "'yes' or 'no'"
           read -p "Enter option: " resp
           if [  != "yes"  ]; then
               echo "Aborting..."
                   exit
            else
               echo "[Restoring] Started..."
                   echo "[Restoring] User Accounts and Characters..."
                   mysql -h  --user= --password=  < /Backups/characters_backup.sql
                   echo "[Restoring] Finished"
                   echo
           fi
       fi
    
       if [  == d  ]; then 
           clear 
           echo    "####################################" 
           echo     "######     Next Chapter       ######" 
           echo    "#####        Database          #####" 
           echo    "######      Debug Tool        ######"
           echo    "####################################" 
           echo 
           echo    "User = "
           echo    "Password = " 
           echo    "World DB = " 
           echo    "Char DB = "
           echo    "Server = " 
           echo    "Development Directory Path = "
           echo    "Releases Directory Path = "
       fi
    
    fi
    if [  != x ]; then
    echo
    read -p "press a key to continue..."
    echo
    fi
    echo "Thanks for using NCDB tool!!"
    done
    But im keep getting the error you did not change :icon_blahblah:

    can anyone help me here.
    Ill give +Rep



    Help with NCDB Tool

Similar Threads

  1. [Tool] little help with this tool
    By evanevan in forum Pokemon GO Hacks|Cheats
    Replies: 6
    Last Post: 08-02-2016, 12:03 AM
  2. Gnome Tools, help with targeting
    By kingviper in forum WoW Bot Maps And Profiles
    Replies: 2
    Last Post: 11-05-2009, 12:06 PM
  3. Problem with NCDB, Giving rep to whoever helps me through this
    By Xeneth in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 01-09-2008, 12:11 PM
  4. Help with Ranks!!
    By Krazzee in forum Community Chat
    Replies: 7
    Last Post: 06-16-2006, 06:58 PM
  5. Help with Auto-it!!
    By Krazzee in forum World of Warcraft General
    Replies: 7
    Last Post: 06-12-2006, 09:22 PM
All times are GMT -5. The time now is 09:51 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