[Release] Magic Pop X2 Query

Results 1 to 8 of 8
  1. #1
    Apprentice lucas7575 is offline
    MemberRank
    Mar 2011 Join Date
    7Posts

    information [Release] Magic Pop X2 Query

    Hi guys, i have made a Query for MSQL that Updates every row in the table "_RefGachaItemSet" setting all the ratios to X2.

    USE [SRO_VT_SHARD]
    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '3000', '6000')
    WHERE Ratio LIKE '3000%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '2400', '4800')
    WHERE Ratio LIKE '2400%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '2100', '4200')
    WHERE Ratio LIKE '2100%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '1500', '3000')
    WHERE Ratio LIKE '1500%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '1200', '2400')
    WHERE Ratio LIKE '1200%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '1000', '2000')
    WHERE Ratio LIKE '1000%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '250', '500')
    WHERE Ratio LIKE '250%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '25', '50')
    WHERE Ratio LIKE '25%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '16', '32')
    WHERE Ratio LIKE '16%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '8', '16')
    WHERE Ratio LIKE '8%';

    UPDATE [dbo].[_RefGachaItemSet]
    SET Ratio = replace(Ratio, '5', '10')
    WHERE Ratio LIKE '5%';
    If you want to change the ratio, you should change this line "replace(Ratio, '3000', '6000')" where it says "6000" for example if you want X3 you should change the 6000 for 9000 and so. I hope this will be useful for you guys
    Last edited by lucas7575; 31-10-11 at 03:32 AM.


  2. #2
    Account Upgraded | Title Enabled! saxz is offline
    MemberRank
    Jul 2010 Join Date
    1,293Posts

    Re: [Release]Magic Pop X2 Query

    usefull for noobs ^^

  3. #3
    Member nuocda is offline
    MemberRank
    Oct 2007 Join Date
    63Posts

    Re: [Release] Magic Pop X2 Query

    WHERE Ratio LIKE '5%';
    LOL, isn't 5%

  4. #4
    Enthusiast AkiraLee is offline
    MemberRank
    Jul 2011 Join Date
    HongKongLocation
    33Posts

    Re: [Release] Magic Pop X2 Query

    in magic pop 60000should be 60% 6000 should be 6% 600 should be 0.6% etc

  5. #5
    Proficient Member Dragonzee is offline
    MemberRank
    Oct 2011 Join Date
    Bashtil, Al JizLocation
    161Posts

    Re: [Release] Magic Pop X2 Query

    no

    idk what its mean

    cuz i tried to put 500 on staff it may success in 2nd time and higher one was 10

    i dont know how its going this rates :S

  6. #6
    Apprentice lucas7575 is offline
    MemberRank
    Mar 2011 Join Date
    7Posts

    Re: [Release] Magic Pop X2 Query

    Quote Originally Posted by nuocda View Post
    LOL, isn't 5%
    No, that "%" that you saw there is just part of the script to define the search of the string, it doesn't means that it indicates the percentage of the succes ratio. what i actually urdestand the ratio is: 10000/100%

  7. #7
    Account Upgraded | Title Enabled! LastThief is offline
    MemberRank
    Aug 2010 Join Date
    204Posts

    Re: [Release] Magic Pop X2 Query

    Quote Originally Posted by nuocda View Post
    LOL, isn't 5%
    read about LIKE in mssql manual

  8. #8
    Proficient Member ahmed_ahmed9889 is offline
    MemberRank
    Sep 2009 Join Date
    EgYpTLocation
    173Posts

    Re: [Release] Magic Pop X2 Query

    thx

    i try it and for gdf (gold dragon flag) at frist time

    and staff d11 not succes :D

    i use 20 card and nothing

    thx anyway :D



Advertisement