Mangos, Trinity and Aspire Account Structure? menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mangos, Trinity and Aspire Account Structure?

    So i was wondering if anyone actually has the structure for these 3 tables.

    I need it for a project im working on.

    +rep for correct answer. Thanks

    Mangos, Trinity and Aspire Account Structure?
  2. #2
    eddyhack's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ill see what i can do

  3. #3
    slade1000's Avatar Active Member

    Reputation
    66
    Join Date
    Jun 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the Arcemu Structure, I think this is what you were asking for sorry if it was not haha

    pastebin - collaborative debugging tool

  4. #4
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have that...

    Its all the others i need




  5. #5
    slade1000's Avatar Active Member

    Reputation
    66
    Join Date
    Jun 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ohh im sorry lol

  6. #6
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Last time I checked (Which was a while ago, mind you) TrinityCore2 & Mangos had the same accounts table structure.
    Aspire's different than Arc & Mangos though.
    Here are the structures for you:
    ---
    TrinityCore2 / Mangos
    Code:
    CREATE TABLE `account` (
      `id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier',
      `username`      varchar(32) NOT NULL default '',
      `sha_pass_hash` varchar(40) NOT NULL default '',
      `gmlevel` tinyint(3) unsigned NOT NULL default '0',
      `sessionkey` longtext,
      `v` longtext,
      `s` longtext,
      `email` text,
      `joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
      `last_ip` varchar(30) NOT NULL default '127.0.0.1',
      `failed_logins` int(11) unsigned NOT NULL default '0',
      `locked` tinyint(3) unsigned NOT NULL default '0',
      `last_login` timestamp NOT NULL default '0000-00-00 00:00:00',
      `online` tinyint(4) NOT NULL default '0',
      `expansion` tinyint(3) unsigned NOT NULL default '0',
      `mutetime` bigint(40) unsigned NOT NULL default '0',
      `locale` tinyint(3) unsigned NOT NULL default '0',
      PRIMARY KEY  (`id`),
      UNIQUE KEY `idx_username` (`username`),
      KEY `idx_gmlevel` (`gmlevel`)
    ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
    ...And, an example:
    Code:
    (1,'Hellgawd','a34b29541b87b7e4823683ce6c7bf6ae68beaaac',3,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
    (Just use sha1 encryption, if you're using a PHP script, to get a hash like that. Just google eet and you'll find all sorts of tutorials and such.)

    ---

    Aspire:

    Code:
    CREATE TABLE `accounts`(
    	  `acct` int(5) NOT NULL AUTO_INCREMENT ,
    	  `login` varchar(32) NOT NULL DEFAULT '' ,
    	  `password` varchar(255) NOT NULL DEFAULT '' ,
      `SessionKey` varchar(255) NOT NULL DEFAULT '' ,
    	  `gm` varchar(10) NOT NULL DEFAULT '0' ,
    	  `flags` int(11) NOT NULL DEFAULT 24 ,
    	  `banned` tinyint(1) NOT NULL DEFAULT 0 ,
      `lastlogin` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
    	  `lastip` varchar(15) NOT NULL DEFAULT '' ,
    	  `forceLanguage` varchar(5) NOT NULL DEFAULT 'enUS' ,
      `email` varchar(32) DEFAULT NULL ,
      `muted` int(30) NOT NULL DEFAULT 0 ,
     PRIMARY KEY (`acct`),
     UNIQUE KEY `login` (`login`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    No need for an example here, it's similair to ArcEmu just a few slight changes that's all. I'm sure you can fill it in yourself.

    Hope this helped you,
    Hellgawd

  7. #7
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much.

    Not a PHP script as such, but VB.net, but ill be able to find a way to do that.

    Thanks Hell +rep. (If possible)




Similar Threads

  1. [SQL]Trinity and MaNGOS table structures
    By Dombo in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 02-25-2010, 03:48 PM
  2. Vote and reward system - Mangos/trinity - Paying $200
    By insainz in forum WoW EMU Questions & Requests
    Replies: 19
    Last Post: 04-29-2009, 12:33 PM
  3. Buying and selling account help PART 1(Buying)
    By EliMob441 in forum World of Warcraft Guides
    Replies: 8
    Last Post: 02-08-2007, 12:29 AM
All times are GMT -5. The time now is 02:22 PM. 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