Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 04:08

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

Advertisement



How to make some skills work with STR player only

Discussion on How to make some skills work with STR player only within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
How to make some skills work with STR player only

How to make some skills work with STR player only and not work with INT player chin
M@hmoud is offline  
Old 09/09/2020, 18:39   #2
 
elite*gold: 0
Join Date: Sep 2015
Posts: 148
Received Thanks: 39
Quote:
Originally Posted by M@hmoud View Post
How to make some skills work with STR player only and not work with INT player chin
Add a requirement to learn skill if you have certain amount of STR on the character (just as Snow, means INT chars won't have enough STR to learn it.

(change INT to STR obviously)
Ribra is offline  
Thanks
1 User
Old 09/09/2020, 21:52   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by Ribra View Post
Add a requirement to learn skill if you have certain amount of STR on the character (just as Snow, means INT chars won't have enough STR to learn it.

(change INT to STR obviously)
but any player can make acc full str and open skill and change stat acc to int and he can use skill
i need make skill work only with full str and when change stat to int skill stop not work
M@hmoud is offline  
Old 09/09/2020, 22:21   #4
 
elite*gold: 0
Join Date: Sep 2015
Posts: 148
Received Thanks: 39
Quote:
Originally Posted by M@hmoud View Post
but any player can make acc full str and open skill and change stat acc to int and he can use skill
i need make skill work only with full str and when change stat to int skill stop not work
you can't open the skill without number of STR required...
Ribra is offline  
Old 09/09/2020, 22:39   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by Ribra View Post
you can't open the skill without number of STR required...
yes i know but after open skill i can change stat from str to int and can use skill
i need skill work with player str only and when change stat from str to int skill stop not work
u can give me query if u have
M@hmoud is offline  
Old 09/10/2020, 06:38   #6
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
Quote:
Originally Posted by M@hmoud View Post
yes i know but after open skill i can change stat from str to int and can use skill
i need skill work with player str only and when change stat from str to int skill stop not work
u can give me query if u have
SRO_VT_SHARD --> _RefSkill --> ReqCommon_Str (column)
dont forget add same stats in media skilldata_enc

use this query to get the ID from snow shield
select * from SRO_VT_SHARD.._RefSkill where Basic_Code like '%COLD_SHIELD%'

you have to edit by all snow shield skills ReqCommon_Str
NorseGodTyr is offline  
Old 09/10/2020, 07:16   #7
 
elite*gold: 0
Join Date: Sep 2020
Posts: 4
Received Thanks: 0
thx for the info guys
tyr3xFred~ is offline  
Old 09/10/2020, 14:20   #8
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by NorseGodTyr View Post
SRO_VT_SHARD --> _RefSkill --> ReqCommon_Str (column)
dont forget add same stats in media skilldata_enc

use this query to get the ID from snow shield
select * from SRO_VT_SHARD.._RefSkill where Basic_Code like '%COLD_SHIELD%'

you have to edit by all snow shield skills ReqCommon_Str
i make it but player change state str to int after open skill and can use this skill
i need skill stop when change state
M@hmoud is offline  
Old 09/10/2020, 14:27   #9
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
Quote:
Originally Posted by M@hmoud View Post
i make it but player change state str to int after open skill and can use this skill
i need skill stop when change state
write a query that remove the snow shield after reset stats point
NorseGodTyr is offline  
Old 09/10/2020, 15:57   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by NorseGodTyr View Post
write a query that remove the snow shield after reset stats point
u can give me this query
M@hmoud is offline  
Old 09/10/2020, 15:59   #11
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
Quote:
Originally Posted by M@hmoud View Post
u can give me this query
next time write alone
add this in your reset scroll procedure

DELETE FROM [SRO_VT_SHARD].[dbo].[_CharSkill] Where SkillID between '8092' And '8122' and CharID=@CharID

this query delete the snow shield skill by skill id and char id
NorseGodTyr is offline  
Thanks
1 User
Old 09/10/2020, 20:32   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by NorseGodTyr View Post
next time write alone
add this in your reset scroll procedure

DELETE FROM [SRO_VT_SHARD].[dbo].[_CharSkill] Where SkillID between '8092' And '8122' and CharID=@CharID

this query delete the snow shield skill by skill id and char id
thx for help
u have query delete skill snow from old acc chin
M@hmoud is offline  
Old 09/10/2020, 20:59   #13
 
elite*gold: 0
Join Date: Sep 2016
Posts: 229
Received Thanks: 153
Quote:
Originally Posted by M@hmoud View Post
thx for help
u have query delete skill snow from old acc chin
why do you say 'u have query' like we buy it from microsoft for example?
We write it ALONE, you also have to write it ALONE!
VeRo! is offline  
Thanks
1 User
Old 09/11/2020, 23:11   #14
 
elite*gold: 0
Join Date: Jul 2014
Posts: 167
Received Thanks: 65
Code:
DELETE FROM SRO_VT_SHARD_INIT.dbo._CharSkill WHERE (SkillID IN (SELECT ID FROM SRO_VT_SHARD_INIT.dbo._RefSkill
		where (ReqCommon_Int > 0 or ReqCommon_Str > 0))) AND CharID = [MENTION=395373]Chari[/MENTION]D
Add this after the procedure that takes care of stats reset. It will make sure it deletes any kind of skills that have int or str requirement more than 0 on every stat reset attempt.

To use it on "old characters" as you say :

Code:
DECLARE [MENTION=3898309]charname[/MENTION]16 VARCHAR(100) = 'Charname'
DECLARE [MENTION=395373]Chari[/MENTION]D INT = (SELECT CharID FROM SRO_VT_SHARD_INIT.dbo._Char WHERE CharName16 = [MENTION=3898309]charname[/MENTION]16)
DELETE FROM SRO_VT_SHARD_INIT.dbo._CharSkill WHERE (SkillID IN (SELECT ID FROM SRO_VT_SHARD_INIT.dbo._RefSkill
		where (ReqCommon_Int > 0 or ReqCommon_Str > 0))) AND CharID = [MENTION=395373]Chari[/MENTION]D
JohnDornel^ is offline  
Thanks
2 Users
Old 09/15/2020, 13:16   #15
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by JohnDornel^ View Post
Code:
DELETE FROM SRO_VT_SHARD_INIT.dbo._CharSkill WHERE (SkillID IN (SELECT ID FROM SRO_VT_SHARD_INIT.dbo._RefSkill
		where (ReqCommon_Int > 0 or ReqCommon_Str > 0))) AND CharID = [MENTION=395373]Chari[/MENTION]D
Add this after the procedure that takes care of stats reset. It will make sure it deletes any kind of skills that have int or str requirement more than 0 on every stat reset attempt.

To use it on "old characters" as you say :

Code:
DECLARE [MENTION=3898309]charname[/MENTION]16 VARCHAR(100) = 'Charname'
DECLARE [MENTION=395373]Chari[/MENTION]D INT = (SELECT CharID FROM SRO_VT_SHARD_INIT.dbo._Char WHERE CharName16 = [MENTION=3898309]charname[/MENTION]16)
DELETE FROM SRO_VT_SHARD_INIT.dbo._CharSkill WHERE (SkillID IN (SELECT ID FROM SRO_VT_SHARD_INIT.dbo._RefSkill
		where (ReqCommon_Int > 0 or ReqCommon_Str > 0))) AND CharID = [MENTION=395373]Chari[/MENTION]D
thx for help
M@hmoud is offline  
Closed Thread


Similar Threads Similar Threads
Metin2Earth - Player vs Metin Stones - Player vs Player
08/02/2018 - Metin2 PServer Advertising - 8 Replies
WEBSITE REGISTER DOWNLOAD https://metin2earth.com/images/presentation/1.png https://metin2earth.com/images/presentation/2.png https://metin2earth.com/images/presentation/3.png https://metin2earth.com/images/presentation/4.png https://metin2earth.com/images/presentation/5.png https://metin2earth.com/images/presentation/6.png https://metin2earth.com/images/presentation/7.png
Rome Glory #CAP 130#Skills 120+Some new Skills #D13(Items.Stones.Mobs.Uniqs)Full Work
07/09/2012 - SRO PServer Advertising - 433 Replies
http://img818.imageshack.us/img818/6431/gnlowresol ution.png Status Server:http://server.blackoutgaming.net:8022/statu s/?dns=108.163.203.34&port=15779&style=13 Features: Level Cap: 130 Skill Cap: 130+some new skills 120+ EXP & SP : 400x Party EXP : 450x Gold : 80x



All times are GMT +2. The time now is 04:08.


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.