Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 22:09

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

Advertisement



[Procedure] Vsro procedure for rewarding players who reach max level

Discussion on [Procedure] Vsro procedure for rewarding players who reach max level within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
Arbys's Avatar
 
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
[Release] Vsro procedure for rewarding players who reach max level

Hi everyone,

I hope you are all doing well. I wrote a procedure for rewarding the players who reach the max level. This procedure will let you reward limited number of players.

Reward will be given by Maxiguard filter. If you use any other filter just replace with your codes

Rewards,

1- Silk reward
2 PLVL Expert reward (you can change)

Let's run the first query for creating a new table. It's gonna save the logs here to limit maximum player number for rewards

USE [SRO_VT_SHARDLOG]


PHP Code:
CREATE TABLE Arbys_Top_Levellers(
    [
Toplam] [intNOT NULL,
    [
charID] [intNOT NULL,
    [
Charname] [varchar](255NOT NULL,
    [
Charlevel] [intNOT NULL
ON [PRIMARY]
Insert into Arbys_Top_Levellers(Toplam,charID,Charname,Charlevel)Values ('0','0','0','0')
GO 
_AddLogChar Procedure

PHP Code:
        If(@EventID=22 AND @Data2=80)/* Data2= 'Required level'*/
    
declare @Charname16 varchar(64) = (select CharName16 from SRO_VT_SHARD.._Char where CharID = @CharID)
    declare @
maxtoplam int 
    
declare @msg varchar(200)
    
set @maxtoplam= (select MAX(Toplam)+1 from ..Arbys_Top_Levellers)
    
select @maxtoplam
    set 
@msg 'Congratulations, you are the top 3 Leveller in ... Online. 500 Silk added to your account as a Reward' /* Reward message */
    
BEGIN
    
IF @maxtoplam <= /* @maxtoplam <= limit player*/
    
BEGIN
    
IF not exists (select Charname from SRO_VT_SHARDLOG..Arbys_Top_Levellers where Charname=@Charname16BEGIN
    Insert into Arbys_Top_Levellers
(Toplam,charID,Charname,CharlevelValues(@maxtoplam,@CharID,@Charname16,@Data2)
    
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,Data3,DATEvalues (56,'Arbys',@Charname16,'0','500',GETDATE()) /* '500' = Silk*/
    
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,DATEvalues (52,'Arbys',@Charname16,'7',GETDATE()) /* '7' = hwan level*/
    
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,DATEvalues (57,'Arbys',@Charname16,'7',GETDATE()) /* '7' = hwan level*/
    
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,Data3,DATEvalues (500,'Arbys','4',@msg,@Charname16,GETDATE())

    
END
    END
    END 

_RefHWANLevel

PHP Code:
7    1397769301    200    1145127506    35    0    0    0    0    0    0    xxx    UIO_SECOND_HWAN_CH_NAME_LEVEL_7    UIO_SECOND_HWAN_EU_NAME_LEVEL_7 
textuisystem.txt

PHP Code:
1    UIO_SECOND_HWAN_CH_NAME_LEVEL_7                                PLVL Expert
1    UIO_SECOND_HWAN_EU_NAME_LEVEL_7                                PLVL Expert 
Arbys is offline  
Thanks
4 Users
Old 11/10/2022, 23:48   #2

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Thanks for shared
XxGhostSpiriTxX is offline  
Old 11/11/2022, 15:00   #3
 
Arbys's Avatar
 
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
Quote:
Originally Posted by XxGhostSpiriTxX View Post
Thanks for shared
You're welcome
Arbys is offline  
Old 11/12/2022, 03:33   #4
 
thetamebewolf's Avatar
 
elite*gold: 50
Join Date: Aug 2019
Posts: 109
Received Thanks: 26
Thanks
thetamebewolf is offline  
Old 11/12/2022, 14:55   #5
 
Arbys's Avatar
 
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
Quote:
Originally Posted by thetamebewolf View Post
Thanks
No worries
Arbys is offline  
Old 11/12/2022, 14:57   #6

 
jameli's Avatar
 
elite*gold: 52
Join Date: Nov 2022
Posts: 226
Received Thanks: 3
Thank you for this
jameli is offline  
Old 11/12/2022, 16:44   #7
 
Arbys's Avatar
 
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
Quote:
Originally Posted by jameli View Post
Thank you for this
You are welcome mate
Arbys is offline  
Old 11/16/2022, 05:47   #8
 
RevaOnline's Avatar
 
elite*gold: 0
Join Date: Oct 2022
Posts: 59
Received Thanks: 45
copy past from data working with maxiguard filter,, and who not use this filter what will do
RevaOnline is offline  
Old 11/16/2022, 15:27   #9
 
painmaker_'s Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
not bad as for newbies
painmaker_ is offline  
Old 11/16/2022, 21:40   #10
 
Arbys's Avatar
 
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
Quote:
Originally Posted by RevaOnline View Post
copy past from data working with maxiguard filter,, and who not use this filter what will do
It's not copy paste. I wrote the procedure from scratch. I said in post " if you use any other filter you can replace with yours". I don't care which filter you use, i am giving you the procedure which is saving logs and checking for max levellers

Giving reward is the easiest part of it .It's not my job to write code for every single filter in the industry.You'll do that part

Don't confuse me with yourself about doing copy paste. When you do it , it doesn't mean others do the same. There are many people out that write their own codes

If you don't like, write your own procedure you dumb.
Arbys is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Buying] Challanger 3x3 spot + guaranteed rewarding games.
07/14/2014 - League of Legends Trading - 5 Replies
Looking for 3x3 or 5x5 challanger spot and the games requiered for rewards. Post offers! Server: EUW
[Buying] [EUW] Diamond 3on3 Slot + Rewarding Games.
10/03/2013 - League of Legends Trading - 4 Replies
Hey there, I know the time-window is tight because of the ending season, but I'm searching for some guys that still offer one slot and do the rewarding matches on my account aswell. Price negiotable of course, leave me your Skype in a PM or on this thread and I will add you to talk about it. I pay with PayPal. Best regards.
Questions about pvp rewarding and speed enchant
12/02/2012 - Shaiya Private Server - 2 Replies
Hello epvpers :) Im kinda new dev and have some questions :) 1. I want my players can get pvprewards on 15 lv (for 1-15ers). From where I can edit this.? 2.And what about fast enchantment.There is a way to make it on own client w'o shaiya injector. Thank u guys ure awesome :)
Rewarding help
11/01/2009 - WoW Private Server - 3 Replies
Im looking for a wow bot that supports fighting/gathering on tbc v2.4.3. If anyone helps finding/making such tool im offering a reward for his time - Aion Eu Account (not much but..: )



All times are GMT +1. The time now is 22:10.


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.