Need someone to check a simple SQL code will +rep menu

User Tag List

Results 1 to 11 of 11
  1. #1
    dude891's Avatar Member
    Reputation
    26
    Join Date
    Nov 2007
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need someone to check a simple SQL code will +rep

    Hi I barely know anything about SQL and I need help. Since theres so much mass spawns on this gm server I play on I needed a code to delete them all. Here is the code:

    Code:
    Delete from creature_spawns WHERE entry = '23863', map = '1'
    I'm guessing that may look very stupid to some people on this website. What I want the code to do is delete every spawn of Zul'jin from The Eastern Kingdoms. I'm just asking you guys since I don't want to mess up the server. If you tell me if its right, or if you tell me its wrong and give me the correct code, its +Rep either way.

    Edit: Dangit! forgot to put a tag! Sorry guys. Hope I don't get an infraction
    Last edited by dude891; 03-28-2008 at 02:05 PM.
    Remember, there's no such thing as a stupid question, just stupid people!

    Need someone to check a simple SQL code will +rep
  2. #2
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    U could always just make a macro that does .npc delete then .cheat fly plus .mod speed (x) and click on every npc and use the marco. Incase if you want that npc there.

  3. #3
    dude891's Avatar Member
    Reputation
    26
    Join Date
    Nov 2007
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes but I'm theres a bug that won't let you do that on the private server I'm on. But if you donate you get access to the database. Sorry I forgot to post a tag.
    Remember, there's no such thing as a stupid question, just stupid people!

  4. #4
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow really that must be one messed up server.... almost every one would have the db access...... u can delete the things fomr the creature_spawns maybe if you know which are which

  5. #5
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont know if that code would work... never had to do that

  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)
    Originally Posted by dude891 View Post
    Hi I barely know anything about SQL and I need help. Since theres so much mass spawns on this gm server I play on I needed a code to delete them all. Here is the code:

    Code:
    Delete from creature_spawns WHERE entry = '23863', map = '1'
    I'm guessing that may look very stupid to some people on this website. What I want the code to do is delete every spawn of Zul'jin from The Eastern Kingdoms. I'm just asking you guys since I don't want to mess up the server. If you tell me if its right, or if you tell me its wrong and give me the correct code, its +Rep either way.

    Edit: Dangit! forgot to put a tag! Sorry guys. Hope I don't get an infraction
    Code:
    delete from creature_spawns where entry = 23863 and map = 0
    will delete all creatures with ID=23863 on map = 0
    istn eastern kingdoms 0 ?

    note: an important thing to do before you make changes to your DB is make a backup

    grtz

  7. #7
    dude891's Avatar Member
    Reputation
    26
    Join Date
    Nov 2007
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The thing is It won't let me see the creature spawns I want and the only way to delete them is through queries. (I think)
    Remember, there's no such thing as a stupid question, just stupid people!

  8. #8
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O... "The Candy Leet" Just gave you a solution O well i tried

  9. #9
    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)
    Originally Posted by dude891 View Post
    The thing is It won't let me see the creature spawns I want and the only way to delete them is through queries. (I think)
    if you wnt to see the spawns you can use query too to filter them
    Code:
    select from creature_spawns where entry = xxx
    will show all spawns of creature with entryID xxx for example... queries are easy to make ... check my usefull database queries... you can make a lot out of them if you wnt

    http://www.mmowned.com/forums/emulat...tabase+queries
    http://www.mmowned.com/forums/emulat...tabase+queries


    grtz

  10. #10
    dude891's Avatar Member
    Reputation
    26
    Join Date
    Nov 2007
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks +Rep

    Edit: It says I need to spread reputation around first
    Remember, there's no such thing as a stupid question, just stupid people!

  11. #11
    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)
    Originally Posted by dude891 View Post
    Thanks +Rep

    Edit: It says I need to spread reputation around first
    hahahah you need to rep 10 other people before you can rep me again :P but a "thanks" is ok for me

Similar Threads

  1. Matador needs someone to check 1000+ emails for accounts
    By Matador in forum Members Only Gold And Powerleveling Buy Sell
    Replies: 50
    Last Post: 08-13-2008, 08:16 AM
  2. Replies: 5
    Last Post: 06-19-2008, 02:36 AM
  3. [Help] Need someone to check LUA script
    By stealthpyro in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-21-2008, 09:50 AM
  4. [Help] Need someone to test a lua code
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 04-12-2008, 09:59 PM
  5. [Help] In need of a simple sql.
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 01-13-2008, 10:37 PM
All times are GMT -5. The time now is 02:08 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