Register for your free account! | Forgot your password?

You last visited: Today at 16:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Alchemy lucky rate edit

Discussion on [Release] Alchemy lucky rate edit within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
Mdarude's Avatar
 
elite*gold: 340
Join Date: Mar 2010
Posts: 106
Received Thanks: 43
[Release] Alchemy lucky rate edit

Hello i made a small edit on the alchemy luck rate so people don't need a tool for it again this is a EDIT of a other code.

this query is build up in 2 sections.
1. Lucky rate connect to the elixirs (( the once i use in my DB ))
2. the Lucky powders (( also the once i use in my DB ))

for the people who are new:
Parm2 1-4
Parm3 5-8
Parm4 9-12
Parm5 13-16
Parm6 17-20



Code:
USE [SRO_VT_SHARD]

-- Define the maximum value representing 100% luck rate
DECLARE @MaxValue INT = 1684300900;

-- Define luck rates as percentages (Change these values as needed)
DECLARE @Param2_Elixers_Percent FLOAT = 0.10;  -- 10% luck rate for Param2
DECLARE @Param3_Elixers_Percent FLOAT = 0.05;  -- 5% luck rate for Param3
DECLARE @Param4_Elixers_Percent FLOAT = 0.01;  -- 1% luck rate for Param4
DECLARE @Param5_Elixers_Percent FLOAT = 0.50;  -- 50% luck rate for Param5
DECLARE @Param6_Elixers_Percent FLOAT = 1.00;  -- 100% luck rate for Param6

DECLARE @Param2_ProbUp_Percent FLOAT = 0.15;  -- 15% luck rate for Param2
DECLARE @Param3_ProbUp_Percent FLOAT = 0.10;  -- 10% luck rate for Param3
DECLARE @Param4_ProbUp_Percent FLOAT = 0.05;  -- 5% luck rate for Param4
DECLARE @Param5_ProbUp_Percent FLOAT = 0.00;  -- 0% luck rate for Param5
DECLARE @Param6_ProbUp_Percent FLOAT = 0.00;  -- 0% luck rate for Param6

-- Convert percentages to luck values for Elixirs
DECLARE @Param2_Elixers INT = CAST(@MaxValue * @Param2_Elixers_Percent AS INT);
DECLARE @Param3_Elixers INT = CAST(@MaxValue * @Param3_Elixers_Percent AS INT);
DECLARE @Param4_Elixers INT = CAST(@MaxValue * @Param4_Elixers_Percent AS INT);
DECLARE @Param5_Elixers INT = CAST(@MaxValue * @Param5_Elixers_Percent AS INT);
DECLARE @Param6_Elixers INT = CAST(@MaxValue * @Param6_Elixers_Percent AS INT);

-- Convert percentages to luck values for Prob Up items
DECLARE @Param2_ProbUp INT = CAST(@MaxValue * @Param2_ProbUp_Percent AS INT);
DECLARE @Param3_ProbUp INT = CAST(@MaxValue * @Param3_ProbUp_Percent AS INT);
DECLARE @Param4_ProbUp INT = CAST(@MaxValue * @Param4_ProbUp_Percent AS INT);
DECLARE @Param5_ProbUp INT = CAST(@MaxValue * @Param5_ProbUp_Percent AS INT);
DECLARE @Param6_ProbUp INT = CAST(@MaxValue * @Param6_ProbUp_Percent AS INT);

-- Update luck rates for the 4 specific Elixir items
UPDATE _RefObjItem 
SET Param2 = @Param2_Elixers, 
    Param3 = @Param3_Elixers, 
    Param4 = @Param4_Elixers, 
    Param5 = @Param5_Elixers, 
    Param6 = @Param6_Elixers 
WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 IN (
    'ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_WEAPON_B',
    'ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_SHIELD_B',
    'ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_ARMOR_B',
    'ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_ACCESSARY_B'));

-- Update luck rates for the 12 specific Prob Up items
UPDATE _RefObjItem 
SET Param2 = @Param2_ProbUp, 
    Param3 = @Param3_ProbUp, 
    Param4 = @Param4_ProbUp, 
    Param5 = @Param5_ProbUp, 
    Param6 = @Param6_ProbUp 
WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_REINFORCE_PROB_UP_A_%');
I am also looking for people with the same mindset to make most things DB related and true a filter.

If you want to help me or have some ideas feel free to send me a Message or contact me on Discord. i am no pro and new to all of this so do not make it to complicated i want to keep it easy and simple.

and again have fun with the code !!!
Mdarude is offline  
Thanks
10 Users
Old 06/05/2024, 04:07   #2
 
cristianxi's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 376
Received Thanks: 211
Good, Keep Sharing
cristianxi is offline  
Old 06/05/2024, 12:47   #3
 
elite*gold: 0
Join Date: Apr 2016
Posts: 289
Received Thanks: 67
idk what will happends. But all alchemy success rate after 12+ are the same
hoangphan7 is offline  
Old 06/05/2024, 17:27   #4
 
Mdarude's Avatar
 
elite*gold: 340
Join Date: Mar 2010
Posts: 106
Received Thanks: 43
Quote:
Originally Posted by hoangphan7 View Post
idk what will happends. But all alchemy success rate after 12+ are the same
0% in this will fail however in the calculations the lucky rate of lucky stones/premium/dress and other lucky things are not included.

so in that context it is still possible to go higher then +12 on my test server i am actually testing the rates up to +10 now since i am going to change these things on my main server soon :-)

if you want you could contact me on discord and help me see what happens after +12 since i dont have the time for it at this moment.
Mdarude is offline  
Old 06/07/2024, 01:18   #5
 
Worshiper's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 1,081
Received Thanks: 224
GOOD WORK
Worshiper is offline  
Thanks
1 User
Old 06/10/2024, 01:13   #6
 
janicka's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 700
Received Thanks: 213
Quote:
Originally Posted by hoangphan7 View Post
idk what will happends. But all alchemy success rate after 12+ are the same
Are you sure?

janicka is offline  
Old 06/11/2024, 23:22   #7
 
elite*gold: 0
Join Date: Apr 2016
Posts: 289
Received Thanks: 67
Quote:
Originally Posted by janicka View Post
Are you sure?

Im sure. do you tested?
In param5 elixir armor and accessory, it not alchemy rate. if you change it, you can't mix Armor and Access EU item.
Easily test it. You made Param4 100% success rate (9-12). After 12+ always have 100% success rate.
hoangphan7 is offline  
Old 02/19/2025, 20:07   #8
 
AligatorSniper's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 224
Received Thanks: 58
Hello, I can't find you on Discord, how can I talk to you?
Mdarude
AligatorSniper is offline  
Old 04/14/2025, 11:43   #9
 
elite*gold: 0
Join Date: Mar 2022
Posts: 61
Received Thanks: 11
thanks
johnnydung is offline  
Reply


Similar Threads Similar Threads
RappelzSro[Exp:700x/Party Exp Rate:750x/Gold Drop Rate:60x/Alchemy Rate:20x/
05/27/2012 - SRO PServer Advertising - 3 Replies
Greetings. Welcome to Rappelz-Sro Online Server Info Client Version: 1.001 Exp Rate: 700x Party Exp Rate: 750x Gold Drop Rate: 60x
CekseSro xp rate and sp rate:600 DROP Rate: 50x SOX DROP Rate: 50%
01/29/2012 - SRO PServer Advertising - 9 Replies
110 cap !! Server rates: EXP & SP Rate: 600x PARTY EXP Rate: 600x DROP Rate: 50x GOLD DROP Rate: 70x SOX DROP Rate: 50 % homage page:CekseSro Online
CekseSro xp rate and sp rate:600 DROP Rate: 50x SOX DROP Rate: 50%
01/27/2012 - SRO PServer Advertising - 10 Replies
Server rates: EXP & SP Rate: 600x PARTY EXP Rate: 600x DROP Rate: 50x GOLD DROP Rate: 70x SOX DROP Rate: 50% homage page:CekseSro Online regist:CekseSro Online
First Edit. Simple. Lucky Time and Metempsychosis edit.
12/20/2007 - CO2 Weapon, Armor, Effects & Interface edits - 5 Replies
Here is a very simple lucky time edit. Its Red/white. As you read in the title, it is my first edit ever. So please don't flame too much. I plan to try and get better at edits. Edits: 120 black tro armor Red/White Luckytime and 2ndMetempsychosis Extract Lucky time edit to: Conquer 2.0/c3/effect Extract 120 armor edit to: Conquer 2.0/cs/textures



All times are GMT +1. The time now is 16:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.