[Sql] Increase all by scale menu

User Tag List

Results 1 to 9 of 9
  1. #1
    Mamel!'s Avatar Member
    Reputation
    22
    Join Date
    Jun 2009
    Posts
    83
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Sql] Increase all by scale

    Good morning to everyone:

    I have seen many servers "over" with attributes of weapons, armor and NPCs. My question is this: If I change all the attributes a 5000% do I have to do it manually or is there any easiest way to get it?


    Att: Mamel

    [Sql] Increase all by scale
  2. #2
    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)
    There is a easy way.

    You need to run a SQL query that updates them for you, although i cant create it of the top of my head (Not a SQL wiz).

    Someone else will be able to provide you with the query.




  3. #3
    MCdeathMC's Avatar Active Member
    Reputation
    66
    Join Date
    Aug 2008
    Posts
    147
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is what i use to upgrade item stats


    UPDATE items SET stat_value1 = stat_value1 * 1.5 WHERE stat_type1 > 0 AND entry < 100000;
    UPDATE items SET stat_value2 = stat_value2 * 1.5 WHERE stat_type2 > 0 AND entry < 100000;
    UPDATE items SET stat_value3 = stat_value3 * 1.5 WHERE stat_type3 > 0 AND entry < 100000;
    UPDATE items SET stat_value4 = stat_value4 * 1.5 WHERE stat_type4 > 0 AND entry < 100000;
    UPDATE items SET stat_value5 = stat_value5 * 1.5 WHERE stat_type5 > 0 AND entry < 100000;
    UPDATE items SET stat_value6 = stat_value6 * 1.5 WHERE stat_type6 > 0 AND entry < 100000;
    UPDATE items SET stat_value7 = stat_value7 * 1.5 WHERE stat_type7 > 0 AND entry < 100000;
    UPDATE items SET stat_value8 = stat_value8 * 1.5 WHERE stat_type8 > 0 AND entry < 100000;
    UPDATE items SET stat_value9 = stat_value9 * 1.5 WHERE stat_type9 > 0 AND entry < 100000;
    UPDATE items SET stat_value10 = stat_value10 * 1.5 WHERE stat_type10 > 0 AND entry < 100000;
    Last edited by MCdeathMC; 04-16-2010 at 06:46 PM.

  4. #4
    Mamel!'s Avatar Member
    Reputation
    22
    Join Date
    Jun 2009
    Posts
    83
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if anyone has this sql file, please let me pay to modify it and do some tests ^ ^

  5. #5
    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)
    You just need to go into Navicat or whatever program you use, click execute query and copy and paste that in. Change the 1.5 to whatever you want it to be timesd by.




  6. #6
    Mamel!'s Avatar Member
    Reputation
    22
    Join Date
    Jun 2009
    Posts
    83
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes but i need the sql, i dont want do manually

  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)
    ... That is the sql file, just not saved.

    Copy and paste it to notepad, go to save as, save it as "whatever.sql" (Select all files from the dropdown), then execute it, its the same thing.




  8. #8
    Mamel!'s Avatar Member
    Reputation
    22
    Join Date
    Jun 2009
    Posts
    83
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    o ty, but with this sql the stats improve too many... i have 19200mil with a priest lvl 80 with start items jajajajaja in 1.5 (i didnt modify the query)

  9. #9
    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)
    Haha, thats not good. I should have told you to create a backup first.

    Your gonna need to change the number to reset all the stats (No idea what number this would be), then do it again by like 0.2 or something.




Similar Threads

  1. [Sql/Patch] All buildings, models, etc. as Gameobjects
    By Dark_Spyro_003 in forum WoW EMU General Releases
    Replies: 216
    Last Post: 04-10-2023, 10:03 AM
  2. [Help! SQL] Set ALL Buy / Sell Price to xx
    By Lilltimmy in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 06-19-2008, 02:02 PM
  3. Is there a way to save all accounts and charecters into two or more .sql files ?
    By Wheeze201 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-16-2007, 07:05 AM
  4. Is there a way to save all accounts and charecters into two or more .sql files ?
    By Wheeze201 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-15-2007, 04:47 PM
  5. Handy: Update SQL, List of all the needed SQL updates since Antrix
    By [Shon3m] in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 10-28-2007, 06:21 PM
All times are GMT -5. The time now is 10:05 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