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 05:53

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

Advertisement



[Release] Silk Ruffle Scroll [Best Performance]

Discussion on [Release] Silk Ruffle Scroll [Best Performance] within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 342
[Release] Silk Ruffle Scroll [Best Performance]

The Procedure was taken from Reality SRO DB and re-coded by me
The Procedure
Code:
USE [SRO_VT_ERIUS]
GO
/****** Object:  StoredProcedure [dbo].[Ed_SilkRuffle]    Script Date: 7/29/2017 7:36:03 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[Ed_SilkRuffle]
@CharID INT
AS
DECLARE @CharName varchar(max)
SELECT @CharName = (SELECT CharName16 FROM SRO_VT_SHARD.._Char WHERE CharID=@CharID)
DECLARE @UserName varchar(max)
DECLARE @Min INT
DECLARE @Max INT
DECLARE @Random INT
DECLARE @Trick_Min INT = 1
DECLARE @Trick_Max INT = 100
DECLARE @Trick INT = (ROUND(((@Trick_Max - @Trick_Min -1) * RAND() + @Trick_Min), 0))
DECLARE @ID INT
if @ID = 1
begin
SELECT @Min = 1
SELECT @Max = CASE
WHEN @Trick between 1 and 70 THEN 30
WHEN @Trick between 71 and 90 THEN 40
WHEN @Trick between 91 and 100 THEN 50
END
SELECT @UserName = (SELECT StrUserID FROM SRO_VT_ACCOUNT..TB_User WHERE JID in (SELECT UserJID FROM SRO_VT_SHARD.._User WHERE CharID = @CharID))
SELECT @Random = (ROUND(((@Max - @Min -1) * RAND() + @Min), 0))
Exec SRO_VT_ACCOUNT.CGI.CGI_WebPurchaseSilk null,@UserName,null,@Random,null
insert into BOT_Default values (3,'You have Earned ['+(Cast(@Random as varchar))+'] Silks Randomly.',@CharName,0)
End
AddLogItem
Code:
IF (@Operation = 41) and (@ItemRefID = 50235) 
   begin
   exec SRO_VT_ERIUS.dbo.Ed_SilkRuffle @CharId
   end
EdwardTeach+- is offline  
Thanks
1 User
Old 07/29/2017, 14:19   #2
 
cristianxi's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 376
Received Thanks: 211
Keep going thnx (Y)
cristianxi is offline  
Old 07/29/2017, 14:41   #3
 
desal12533's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 169
Received Thanks: 82
edited
good jop
desal12533 is offline  
Old 07/29/2017, 20:03   #4
 
SwaGy.'s Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 65
Received Thanks: 18
Keep going! You're the best!
SwaGy. is offline  
Old 07/29/2017, 23:46   #5
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 342
thanks guys for supporting me i'll keep posting new systems
EdwardTeach+- is offline  
Reply


Similar Threads Similar Threads
Vsro silk scroll and gift scroll doesn't work
10/17/2015 - SRO Private Server - 1 Replies
solved topic can delete
[Performance-Camtasia Studio]Wie verbessere ich die Performance?
11/13/2009 - Video Art - 4 Replies
Hallo liebe Community und Mitglieder. Wenn ich mit dem Aufnahmeprogramm „Camtasia Studio" ein Fenster aufnehme, z.B. das Client Fenster von Metin2, verschlechtert sich die Performance beim späteren angucken des Resultates. D.h. es bleibt bei mehreren Hängern und es ist kein flüssiger Film. Was habe ich versucht? #Die Frames pro Sekunde zu erhöhen(bis 200 Frames pro Sekunde, aber dann gibt es auch schon bei der Aufnahme Hänger, bzw. beim produzieren) #Das Video in der Bearbeitung zu...



All times are GMT +1. The time now is 05:54.


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.