|
You last visited: Today at 22:09
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.
11/10/2022, 22:29
|
#1
|
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] [int] NOT NULL,
[charID] [int] NOT NULL,
[Charname] [varchar](255) NOT NULL,
[Charlevel] [int] NOT 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 <= 3 /* @maxtoplam <= limit player*/
BEGIN
IF not exists (select Charname from SRO_VT_SHARDLOG..Arbys_Top_Levellers where Charname=@Charname16) BEGIN
Insert into Arbys_Top_Levellers(Toplam,charID,Charname,Charlevel) Values(@maxtoplam,@CharID,@Charname16,@Data2)
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,Data3,DATE) values (56,'Arbys',@Charname16,'0','500',GETDATE()) /* '500' = Silk*/
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,DATE) values (52,'Arbys',@Charname16,'7',GETDATE()) /* '7' = hwan level*/
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,DATE) values (57,'Arbys',@Charname16,'7',GETDATE()) /* '7' = hwan level*/
Insert into MaxiGuard_User.._BridgeCommands (CommandID,Executor,Data1,Data2,Data3,DATE) values (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
|
|
|
11/10/2022, 23:48
|
#2
|
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
|
Thanks for shared
|
|
|
11/11/2022, 15:00
|
#3
|
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
|
Quote:
Originally Posted by XxGhostSpiriTxX
Thanks for shared
|
You're welcome
|
|
|
11/12/2022, 03:33
|
#4
|
elite*gold: 50
Join Date: Aug 2019
Posts: 109
Received Thanks: 26
|
Thanks
|
|
|
11/12/2022, 14:55
|
#5
|
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
|
Quote:
Originally Posted by thetamebewolf
Thanks
|
No worries
|
|
|
11/12/2022, 14:57
|
#6
|
elite*gold: 52
Join Date: Nov 2022
Posts: 226
Received Thanks: 3
|
Thank you for this
|
|
|
11/12/2022, 16:44
|
#7
|
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
|
Quote:
Originally Posted by jameli
Thank you for this
|
You are welcome mate
|
|
|
11/16/2022, 05:47
|
#8
|
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
|
|
|
11/16/2022, 15:27
|
#9
|
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
|
not bad as for newbies
|
|
|
11/16/2022, 21:40
|
#10
|
elite*gold: 14
Join Date: Nov 2022
Posts: 18
Received Thanks: 8
|
Quote:
Originally Posted by RevaOnline
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.
|
|
|
 |
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.
|
|