[Release] MsSQL Script for change Magic Pop rates

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Account Upgraded | Title Enabled! RevoLand is offline
    MemberRank
    Jan 2009 Join Date
    117Posts

    config [Release] MsSQL Script for change Magic Pop rates

    Hi to all RZ users...
    i got idea from "Artuuro_lv" and i made it
    Use that script for change Magic Pop rates
    Code:
    USE [SRO_VT_SHARD]
    GO
    /* MsSQL Script For Change Magic Pop Rates - CEZALAND - ! RageZone ! */
    DECLARE @Rate int
    SET @Rate = 10
    UPDATE dbo._RefGachaItemSet SET Ratio = Ratio*@Rate WHERE Ratio*@Rate < 32768 -- 32767 max value for smallint
    i think 10x enough rate but you can edit this rate
    Script created by me - do not re-relase under your name or your site !
    And remember - giving thanks will back you with more usefull script
    Last edited by RevoLand; 08-03-13 at 05:59 PM.


  2. #2

    Re: [Release] MsSQL Script for change Magic Pop rates

    Just a little thingy, isn't 32767 int at mssql ? Since it's signed integer, it's 2 bytes (16 bit ofc), it should be between -32768, and 32767. Bigint is -65535 - 65535 as far as i remember. That's how it is on mssql 2000, not sure about 2k5/2k8, huh ?

  3. #3
    Account Upgraded | Title Enabled! RevoLand is offline
    MemberRank
    Jan 2009 Join Date
    117Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Quote Originally Posted by Chern0byl View Post
    Just a little thingy, isn't 32767 int at mssql ? Since it's signed integer, it's 2 bytes (16 bit ofc), it should be between -32768, and 32767. Bigint is -65535 - 65535 as far as i remember. That's how it is on mssql 2000, not sure about 2k5/2k8, huh ?
    i tested manually on Microsoft SQL Server Managament Studio (2005 - 64bit) and max value for "smallint" not "int"

    --
    okay i got message
    Last edited by RevoLand; 27-10-11 at 12:15 AM.

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

    Re: [Release] MsSQL Script for change Magic Pop rates

    nice work

    keep it up

  5. #5
    Member Murgy is offline
    MemberRank
    Apr 2011 Join Date
    United StatesLocation
    70Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Doesn't this also increase the rate of failing and getting other items, I did this once on my own about a month ago, failed more than before.

  6. #6
    Member ac777 is offline
    MemberRank
    Jun 2011 Join Date
    59Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Which table is responsible for the drop rate of quest items?

  7. #7
    AssassinS Silkroad arabcart is offline
    MemberRank
    Sep 2011 Join Date
    664Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Quote Originally Posted by CEZALAND View Post
    Hi to all RZ users...
    i got idea from "Artuuro_lv" and i made it
    Use that script for change Magic Pop rates
    Code:
    USE [SRO_VT_SHARD]
    GO
    /* MsSQL Script For Change Magic Pop Rates - CEZALAND - ! RageZone ! */
    DECLARE @Rate int
    SET @Rate = 10
    UPDATE dbo._RefGachaItemSet SET Ratio = Ratio*@Rate WHERE Ratio*@Rate < 32768 -- 32767 max value for smallint
    i think 10x enough rate but you can edit this rate
    Script created by me - do not re-relase under your name or your site !
    And remember - giving thanks will back you with more usefull script
    thanks Bro

  8. #8
    Account Upgraded | Title Enabled! Artuuro_lv is offline
    MemberRank
    Jun 2008 Join Date
    UKLocation
    310Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    yeah, this one wont work.. it also increases the failing rate :D
    so basically you're just multiplying the values but not increasing the rates at all, they will remain the same.

    what i did to my magic pop:
    Code:
    update _RefGachaItemSet set Ratio = Ratio*10 where Ratio < '1000'
    That increased the pop rates by 10 on all the best items there but didnt increase the fail items for me because failing items (scrolls & other shit) has rate 1000+ while the others has rates 15-...

  9. #9
    Member Murgy is offline
    MemberRank
    Apr 2011 Join Date
    United StatesLocation
    70Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Yeah, thats what I did also to fix it ^^

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

    Re: [Release] MsSQL Script for change Magic Pop rates

    can u tell me gow to do this script

    mean do in database from mysql

    srry but not know yet how to restore script or doit in mysql 2005

  11. #11
    Valued Member asuradoll is offline
    MemberRank
    Nov 2007 Join Date
    140Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Quote Originally Posted by CEZALAND View Post
    Hi to all RZ users...
    i got idea from "Artuuro_lv" and i made it
    Use that script for change Magic Pop rates
    Code:
    USE [SRO_VT_SHARD]
    GO
    /* MsSQL Script For Change Magic Pop Rates - CEZALAND - ! RageZone ! */
    DECLARE @Rate int
    SET @Rate = 10
    UPDATE dbo._RefGachaItemSet SET Ratio = Ratio*@Rate WHERE Ratio*@Rate < 32768 -- 32767 max value for smallint
    i think 10x enough rate but you can edit this rate
    Script created by me - do not re-relase under your name or your site !
    And remember - giving thanks will back you with more usefull script


    Thank you for share, it's working!

  12. #12
    Account Upgraded | Title Enabled! Statiic is offline
    MemberRank
    Nov 2011 Join Date
    BrazilLocation
    611Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    thanks!

  13. #13
    Enthusiast Yamaxanadu is offline
    MemberRank
    Nov 2011 Join Date
    38Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    You could also make a script where the Rates of items with Set_ID = 1 get changed only.. (Set_ID = 1 : win, Set_ID = 2 : fail)...

    Just a little hint.

  14. #14
    Apprentice zieon is offline
    MemberRank
    Nov 2011 Join Date
    17Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    nice dude

  15. #15
    Valued Member modog1545 is offline
    MemberRank
    Dec 2011 Join Date
    122Posts

    Re: [Release] MsSQL Script for change Magic Pop rates

    Pls help
    When did it become everyone gets Nova of the first time!!
    I want returned to what it was Normal :(

    now when i tray do this

    USE [SRO_VT_SHARD]
    GO
    /* MsSQL Script For Change Magic Pop Rates - CEZALAND - ! RageZone ! */
    DECLARE @Rate int
    SET @Rate = 10
    UPDATE dbo._RefGachaItemSet SET Ratio = Ratio*@Rate WHERE Ratio*@Rate < 32768 -- 32767 max value for smallint
    i get (0 row(s) affected)

    pls i wan back it to normal helllp :(



Page 1 of 2 12 LastLast

Advertisement