Add new Column to Creature and Gameobject Spawn DB menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    tagala's Avatar Member
    Reputation
    2
    Join Date
    Oct 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Add new Column to Creature and Gameobject Spawn DB

    *i am using hearthstone core(no idea if this makes a difference)
    I am running an all GM private server and to help prevent or undo spammers, i was hoping to add a column to the Database to see who spawned these things and delete them with one simple query (delete from `gameobject_spawns` where spawner = "Tagala") or something like that

    i added the columns and everything boots up correctly but now im having trouble changing the c++ code, i have no idea what im doin with c++ to save my life. i had some experience with it in high school but not much.

    anyway, i was able to find where it put the query into the database for the gameobjects but have no idea what to change, someone pls help!

    Add new Column to Creature and Gameobject Spawn DB
  2. #2
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got into this when I wrote a Phasing system some months ago also. Google is your best friend!
    Anyway, here's the answer

    Code:
    ALTER TABLE table_name ADD COLUMN column_name column_type
    Example, this code adds the column 'screw' wich holds an UNSIGNED INT(10) into the characters table.
    Code:
    ALTER TABLE characters ADD COLUMN screw UNSIGNED INT(10);
    Don't forget to add the column to all load/save events that occur using that table.
    Last edited by Link_S; 08-17-2009 at 04:40 PM.
    Why do I need a signature?

  3. #3
    tagala's Avatar Member
    Reputation
    2
    Join Date
    Oct 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as i already mentioned, i only need to change the c++ code, i already added the columns but thanks anyway

  4. #4
    Sorayazlawl's Avatar Active Member
    Reputation
    30
    Join Date
    May 2008
    Posts
    178
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PM/MSN/AIM me. I'll be able to help ya out

    EDIT: Posting link for searchers: http://www.mmowned.com/forums/reques...ml#post1655281
    Last edited by Sorayazlawl; 08-18-2009 at 12:56 AM.
    Feel free to contact me if you need help or would like to assist me in one of my many projects.

  5. #5
    tagala's Avatar Member
    Reputation
    2
    Join Date
    Oct 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the help! +Rep

Similar Threads

  1. [Misc] Lists of unused Creature, Item and GameObject DisplayIDs
    By Ravenheart in forum WoW EMU General Releases
    Replies: 2
    Last Post: 06-24-2010, 10:55 PM
  2. Saving gameobjects spawns, creatures C++
    By LJN in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 01-02-2009, 05:19 PM
  3. How to get a NPC's Displayid and Gameobject's Spawn ID (ingame)
    By taryon in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-28-2008, 04:15 PM
  4. Character to Creature and facial errors. Am I able to do/fix it?
    By Hyuuga-Aoshi in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 06-02-2007, 11:00 AM
  5. I've been playing with dbc editing creatures and..
    By dela in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 10-10-2006, 08:32 PM
All times are GMT -5. The time now is 12:00 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