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 10:19

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

Advertisement



[Release]The marvelous System [Auto Skill Up To a Specific Level]

Discussion on [Release]The marvelous System [Auto Skill Up To a Specific Level] 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: 341
[Release]The marvelous System [Auto Skill Up To a Specific Level]


Did anyone ever do it better? NO, because they're so fucking marvelous
so i decided to try being "fucking marvelous" doing that system.
HI GUYS! a few hours I have been provocative by a server super system
without mention any names so i am here today to release that system
so what that system do or how it works? well
Explanation:
Quote:
automatic skill up system. It adds all available skills to your own char based on Mastery and MasteryLevel to a Specific level you will have to choice it its really simple
Procedure:
Code:
USE [SRO_VT_ERIUS]
GO
/****** Object:  StoredProcedure [dbo].[Ed_UPDATE_CHARSKILLS]    Script Date: 7/30/2017 12:52:05 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

/**
version : 2
author : Syloxx
created date: 2015-05-01
description : add all aviable skills to character.
return value :
0 = No Errors
100 = The charname does not exists.
101 = Unknown Error.
**/


CREATE PROCEDURE [dbo].[Ed_UPDATE_CHARSKILLS]
	  @CharID nvarchar(30)
AS
SET NOCOUNT ON
SET XACT_ABORT ON

DECLARE	  @intReturnValue int
		, @intCharID int
		, @intSkillID int

/**_# Rollback and return if inside an uncommittable transaction.*/
IF XACT_STATE() = -1
BEGIN
	SET @intReturnValue = 1
	GOTO ErrorHandler
END

BEGIN TRY
	SELECT	  @intCharID = CharID
	FROM	  SRO_VT_SHARD.dbo._Char WITH (NOLOCK)
	WHERE	  CharID = @CharID

	IF (@intCharID IS NULL OR @intCharID = 0)
	BEGIN
		SET @intReturnValue = 100
		GOTO ErrorHandler
	END

	/**_# [_CharSkill] DELETE FROM TABLE*/
	DELETE FROM SRO_VT_SHARD.dbo._CharSkill WHERE CharID = @intCharID AND SkillID NOT IN (SELECT SkillID FROM SRO_VT_SHARD.dbo._RefCharDefault_Skill)

	/**_# [UPDATE_SKILL_CURSOR] CREATE AND EXECUTE*/
	DECLARE UPDATE_SKILL_CURSOR CURSOR FOR
		SELECT	RS.ID
		FROM
			(
			SELECT	  Basic_Group
					, MAX(Basic_Level) AS Basic_Level
			FROM	  SRO_VT_SHARD.dbo._RefSkill RS
			JOIN	  SRO_VT_SHARD.dbo._CharSkillMastery CSM
			ON		  RS.ReqCommon_Mastery1 = CSM.MasteryID
			WHERE	  RS.Service = 1
			AND		  RS.ID NOT IN (SELECT SkillID FROM SRO_VT_SHARD.dbo._RefCharDefault_Skill)
			AND		  RS.ReqCommon_MasteryLevel1 <= CSM.Level
			AND		  CSM.CharID = @intCharID
			GROUP BY  Basic_Group
			) MGS
		JOIN	  SRO_VT_SHARD.dbo._RefSkill RS
		ON		  RS.Basic_Group = MGS.Basic_Group
		AND		  RS.Basic_Level = MGS.Basic_Level
		WHERE	  RS.ReqLearn_SP != 0

	OPEN UPDATE_SKILL_CURSOR
	FETCH NEXT FROM UPDATE_SKILL_CURSOR INTO @intSkillID
	WHILE @@FETCH_STATUS = 0
		BEGIN

			/**_# [_CharSkill] INSERT INTO TABLE*/
			INSERT INTO SRO_VT_SHARD.dbo._CharSkill (CharID, SkillID, Enable)
			VALUES (@intCharID, @intSkillID, 1)

			FETCH NEXT FROM UPDATE_SKILL_CURSOR INTO @intSkillID
		END
	CLOSE UPDATE_SKILL_CURSOR
	DEALLOCATE UPDATE_SKILL_CURSOR
END TRY
BEGIN CATCH
	SET @intReturnValue = 101
	GOTO ErrorHandler
END CATCH

RETURN 0

ErrorHandler:
IF XACT_STATE() <> 0
	ROLLBACK TRANSACTION
	RETURN @intReturnValue
AddLogChar:
Code:
IF @EventID = 22 AND @Data2<=60
BEGIN
DECLARE @intReturnValue int
EXEC @intReturnValue = SRO_VT_ERIUS.dbo.Ed_UPDATE_CHARSKILLS @CharID
SELECT @intReturnValue AS ReturnValue
END
Tutorial:
-Add the Procedure to the Database name you choice.
- Add The Second Procedure to your LOG_DB.dbo.AddLogChar
-@Data2<=60 "60 is the level you will choice!

Cheeeeeers
Original Procedure was taken from "Syloxx"
Re-coded by me, to meet the condition
EdwardTeach+- is offline  
Thanks
6 Users
Old 07/30/2017, 07:32   #2

 
AceSpace's Avatar
 
elite*gold: 71
Join Date: Mar 2011
Posts: 1,594
Received Thanks: 1,099
Very marvelous, please put Syloxxx's credits.
AceSpace is offline  
Old 07/30/2017, 07:51   #3
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Quote:
Originally Posted by Locklyon View Post
Very marvelous, please put Syloxxx's credits.
if u take a look at syloxx ones its a bit different i re-coded it,
potassium?
EdwardTeach+- is offline  
Thanks
3 Users
Old 07/30/2017, 08:02   #4
 
KingDollar's Avatar
 
elite*gold: 857
Join Date: Dec 2013
Posts: 857
Received Thanks: 679
lol xD the server doesn't open yet and you are trying to steal the gameplay system
btw did you ever know why you should use return state in sql ?
anyway this procedure would have some bugs and won't work as perfect
KingDollar is offline  
Old 07/30/2017, 08:15   #5

 
R3D*'s Avatar
 
elite*gold: 1400
Join Date: May 2011
Posts: 1,200
Received Thanks: 740
At least, Write your own introduction not by stealing it from Litviar's thread.
R3D* is offline  
Old 07/30/2017, 08:21   #6
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Lightbulb

Quote:
Originally Posted by Acs' View Post
At least, Write your own introduction not by stealing it from Litviar's thread.
because its so fckin awesome XD

Quote:
Originally Posted by KingDollar View Post
lol xD the server doesn't open yet and you are trying to steal the gameplay system
btw did you ever know why you should use return state in sql ?
anyway this procedure would have some bugs and won't work as perfect
i tested the system and it works fine if there any bugs i'll let people know
EdwardTeach+- is offline  
Thanks
1 User
Old 07/30/2017, 08:30   #7
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
*refreshes the advertising section checking for new topics*
*sees a new server*
*steals a broken procedure*
*changes a few select queries*
*hi me reles tody re-cod me ControlWard Tech-*
B1Q is offline  
Thanks
4 Users
Old 07/30/2017, 08:34   #8
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Quote:
Originally Posted by B1QB0SS :3 View Post
*refreshes the advertising section checking for new topics*
*sees a new server*
*steals a broken procedure*
*changes a few select queries*
*hi me reles tody re-cod me ControlWard Tech-*
posting a comment , grabbing my homies to thanks my kralar comment


sry to tell but my name is not "PIG BOSS"




btw plz check my signature.
EdwardTeach+- is offline  
Thanks
3 Users
Old 07/30/2017, 08:37   #9
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by EdwardTeach+- View Post
posting a comment , grabbing my homies to thanks my kralar comment
atleast i ain't "grabbing" their systems

Quote:
Originally Posted by EdwardTeach+- View Post
you took the time to go through my old accounts & topics to post a pic of a "source" that wasn't even released by me personally. how sad
B1Q is offline  
Old 07/30/2017, 08:54   #10
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Quote:
Originally Posted by B1QB0SS :3 View Post
atleast i ain't "grabbing" their systems



you took the time to go through my old accounts & topics to post a pic of a "source" that wasn't even released by me personally. how sad
at least am doin smth useful, not like u hating everywhere ******* get lost XD and yeah making up stories won't help in your case ******* abt ur **** codes haha
EdwardTeach+- is offline  
Thanks
3 Users
Old 07/30/2017, 08:56   #11
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by EdwardTeach+- View Post
at least am doin smth useful, not like u hating everywhere ******* get lost XD and yeah making up stories won't help in your case ******* abt ur **** codes haha
i never said it was "Coded by me" however i coded missing features and it was for private use. i aint making up **** nor i'm trying to prove anything.
B1Q is offline  
Old 07/30/2017, 09:04   #12
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Quote:
Originally Posted by B1QB0SS :3 View Post
i never said it was "Coded by me" however i coded missing features and it was for private use. i aint making up **** nor i'm trying to prove anything.
it was for private use that why i found it here in PServer Guides & Releases
and u writing in the topic
Quote:
i will release last sro BOT GM
stop spamming in my topic stupid ****** arab get lost

how about that leaked src mr leaker? rofl
it was also for private use or a public ones?

EdwardTeach+- is offline  
Old 07/30/2017, 09:54   #13
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by EdwardTeach+- View Post
stop spamming in my topic stupid ****** arab get lost
says the arab



B1Q is offline  
Old 07/30/2017, 10:07   #14
 
elite*gold: 0
Join Date: Feb 2016
Posts: 652
Received Thanks: 341
Quote:
Originally Posted by B1QB0SS :3 View Post
says the arab



have no idea what u re talking about *******
EdwardTeach+- is offline  
Thanks
1 User
Old 07/30/2017, 10:21   #15
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by EdwardTeach+- View Post
have no idea what u re talking about *******
asanoftw
B1Q is offline  
Reply


Similar Threads Similar Threads
[Buying] WTB Specific Account - DK / Paladin Account - With specific things on it.
03/04/2016 - World of Warcraft Trading - 0 Replies
SKYPE : cristian.puf21 - SKYPE : mishap87 http://www.eu-accounts.com/resources/static/image s/logo.png Hello, I'm looking for a specific account which must have all of the listed things below: -Plate class: DK/Pala with warrior TIER 3 (BMAH Preffered) -CM 17 with at least one FOS best realm time in WOD



All times are GMT +2. The time now is 10:19.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.