• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] MsSQL Script for change Magic Pop rates

Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
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:closedeyes:
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 :rolleyes:
 
Last edited:
Joined
Jul 23, 2011
Messages
391
Reaction score
664
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 ?
 
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
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:
Newbie Spellweaver
Joined
Apr 19, 2011
Messages
47
Reaction score
3
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.
 
Newbie Spellweaver
Joined
Jun 18, 2011
Messages
49
Reaction score
4
Which table is responsible for the drop rate of quest items?
 
AssassinS Silkroad
Joined
Sep 30, 2011
Messages
424
Reaction score
92
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:closedeyes:
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 :rolleyes:

thanks Bro
 
Junior Spellweaver
Joined
Jun 28, 2008
Messages
191
Reaction score
220
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 poop) has rate 1000+ while the others has rates 15-...
 
Newbie Spellweaver
Joined
Apr 19, 2011
Messages
47
Reaction score
3
Yeah, thats what I did also to fix it ^^
 
Junior Spellweaver
Joined
Sep 26, 2009
Messages
153
Reaction score
8
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
 
Junior Spellweaver
Joined
Nov 26, 2007
Messages
103
Reaction score
41
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:closedeyes:
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 :rolleyes:



Thank you for share, it's working!
 
Newbie Spellweaver
Joined
Nov 14, 2011
Messages
12
Reaction score
3
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.
 
Junior Spellweaver
Joined
Dec 14, 2011
Messages
115
Reaction score
0
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 :(
 
Back
Top