How do the database entries work? menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    Zibenatum's Avatar Corporal
    Reputation
    1
    Join Date
    Mar 2010
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do the database entries work?

    I've been using a few tutorials on the internet to learn how SQL and databases work but there's one thing I don't understand. (Maybe it will explain it more in the later parts of the tutorial, I don't know.) How does the database actually affect what goes on in WoW? For example, when making an account in the database, how does it actually know that when you type 24 in the flags section it means its a WotLK account? Probably didn't explain it that well but hopefully someone can help me.

    How do the database entries work?
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The database just contains tables of records with various data under fixed columns.

    It allows data to be stored/retrieved with ease, with the use of SQL queries.

    What happens is when you login to WoW, the private server will see you requesting to login and so check whether your account exists in the database.

    If it does then it can go onto the next step - what flags is your account, so it will run:

    SELECT `flags` FROM `accounts` WHERE `name` = 'ThePersonJustLoggedIn';

    Well something along those lines. And it will display depending on what that returns.

    The flags system works in binary manner, the same as most systems:

    0 = default
    1 = something
    2 = something
    4 = Just TBC
    8 = TBC and vanilla
    16 = Just WOTLK
    24 = WOTLK and TBC

    And so on... I can't remember them exactly.

    I hope this answers your questions, ask if you have any more.

Similar Threads

  1. How does the AFK timer work?
    By Greenfire833 in forum Diablo 3 General
    Replies: 2
    Last Post: 04-24-2014, 04:52 PM
  2. [Lua]How does the kill command work ? or how can i make an npc do suicide.
    By Wheeze201 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-18-2009, 06:50 PM
  3. [Guide]How to give permission to remote acces the database [Navicat]
    By Knife in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 01-26-2008, 02:28 AM
  4. need help (don't know how to get the edits to work in wow)
    By Daluur in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 01-07-2008, 10:16 AM
  5. How to create custom NPC's the easy way!Works for all versions!
    By MissMurder in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 12-05-2007, 08:06 PM
All times are GMT -5. The time now is 04:33 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