[Release] Rates Changer
#18

Suggestion:For drop and gold rates there is already a table(t_drop_prob);

for EXP/SP, create a Table int the new project_data

 

The TOOL will check if table exists, if table will not exists will run this sql:

CREATE TABLE IF NOT EXISTS t_rates(
a_index int(11) NOT NULL ,
a_exp bigint(20),
a_sp int(11),
a_exp_rate int(11) DEFAULT 1,
a_sp_rate int(11) DEFAULT 1
);

INSERT INTO t_rates(a_index, a_exp, a_sp)
SELECT a_index, a_exp, a_skill_point from t_npc;

 

Changing rates:

The tool will read the exp/sp from t_rates(a_exp, a_sp) and will multiply with a multiplier(rate), and will save the result to t_npc(a_exp,a_skill_point), and the multiplier to t_rates(a_exp_rate,a_sp_rate).

 

This way changing rates will be much safer.

 

Im kinda confused after reading this, so how would be the way to edit rates sucesfully for example to 1 (like an official server)?

 

For exp and sp



Messages In This Thread
[No subject] - by Akyma777 - 01-18-2012, 06:04 PM
[No subject] - by Sutz - 01-18-2012, 06:05 PM
[No subject] - by LukyanXz - 01-18-2012, 06:07 PM
[No subject] - by Kenpachi - 01-18-2012, 06:07 PM
[No subject] - by lol102 - 01-18-2012, 06:22 PM
[No subject] - by donwon - 01-18-2012, 06:25 PM
[No subject] - by Akyma777 - 01-18-2012, 06:26 PM
[No subject] - by elias - 01-18-2012, 06:28 PM
[No subject] - by lol102 - 01-18-2012, 06:50 PM
[No subject] - by Azkeel - 01-19-2012, 03:09 AM
[No subject] - by Akyma777 - 01-19-2012, 07:14 AM
[No subject] - by Akyma777 - 01-19-2012, 08:00 AM
[No subject] - by lol102 - 01-19-2012, 02:45 PM
[No subject] - by babbonatale - 01-21-2012, 10:13 AM
[No subject] - by Koko - 01-23-2012, 09:28 PM
[No subject] - by someone - 01-31-2012, 09:57 PM
[No subject] - by lol102 - 01-31-2012, 10:17 PM
[No subject] - by Wrong - 02-14-2012, 10:44 PM
[No subject] - by Mikail2244 - 03-03-2012, 07:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)