• 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.

[Guide] Implementation level 7 guild

Newbie Spellweaver
Joined
Mar 9, 2011
Messages
22
Reaction score
47
Update guild rank is 1 time every day.
Rasschityvaetsya guild rank based on power points and Reiten below a certain value.
Points rasschityvayutsya power of the sum of the levels and status points all guild members divided by 10,000.
Rtg rasschityvaetsya position of guild rankings on the number of power points, multiplied by 100 and divided by the total number of positions in the ranking.
=======================================================================
What would implement the seven guild level, we need to reduce the power requirements of points, as the server has a limit on the maximum number of characters in a guild, and the required number of points might just simply do not score.

Requirements spelled out in the area in the form of a normal request to the database, and what would need to find them to change their hex editor and carefully corrected.

General view of the requests in the area to update the guild rank:
=======================================================================

Code:
update tbl_GuildRank%s set Rate = ( (Rank*100)/(select count(*) from tbl_GuildRank%s) )    ReConnectDataBase Fail. Query : %s
update tbl_GuildRank%s set Grade = 2 where rate <= 95 and GuildPower >= 300    CRFWorldDatabase::Update_GuildRank(char* szDate(%s)) : %s Fail!
update tbl_GuildRank%s set Grade = 3 where rate <= 85 and GuildPower >= 1500    CRFWorldDatabase::Update_GuildRank(char* szDate(%s)) : %s Fail!
update tbl_GuildRank%s set Grade = 4 where rate <= 65 and GuildPower >= 3000    CRFWorldDatabase::Update_GuildRank(char* szDate(%s)) : %s Fail!
update tbl_GuildRank%s set Grade = 5 where rate <= 35 and GuildPower >= 10000    CRFWorldDatabase::Update_GuildRank(char* szDate(%s)) : %s Fail!
update tbl_GuildRank%s set Grade = 6 where rate <= 15 and GuildPower >= 25000    CRFWorldDatabase::Update_GuildRank(char* szDate(%s)) : %s Fail!
update tbl_GuildRank%s set Grade = 7 where rate <= 5 and GuildPower >= 30000


Let us consider the request in part.
Code:
set Grade = 2 - Sets the level to be assigned to the guild
where rate <= 95 - The level of the guild will be assigned if it is less than 95 raid
and GuildPower> = 300 level will be assigned to the guild if its power more than 300 points
(C)НейрoН
 
Junior Spellweaver
Joined
Jul 8, 2012
Messages
120
Reaction score
4
How I can calculate the rate of a guild?? Why the lower the rate, the higher the grade?
 
Last edited:
Newbie Spellweaver
Joined
Feb 14, 2012
Messages
78
Reaction score
43
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '%'.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '%'.Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '%'.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '%'.

need solution
 
Back
Top