Register for your free account! | Forgot your password?

You last visited: Today at 01:33

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

Advertisement



How to create add new skill for scroll

Discussion on How to create add new skill for scroll within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
How to create add new skill for scroll

I want make player can buy scroll of certain skill and when activate the scroll, the new skill will add to his mastery. Or any hint.
Beba Army is offline  
Old 01/06/2022, 15:22   #2
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
I want make player can buy scroll of certain skill and when activate the scroll, the new skill will add to his mastery. Or any hint.
SRO_VT_LOG -> Programmability -> Stored Procedures -> _AddLogItem

1.This will only add one skill :
PHP Code:
 IF ( @ Operation '41' and  @ ItemRefID 'ItemID')
      
BEGIN
  INSERT SRO_VT_SHARD
.dbo._CharSkill VALUES (@ CharID,SkillID,1)
  
end 
ItemID = _RefObjCommonID
SkillID= _RefSkill ID

2.This will unlock ONE Chinese mastery and level it up to 90.

PHP Code:
IF @ operation '41' and @ ItemRefID 'ItemID')
declare @ 
MasteryiID int
      BEGIN
      UPDATE SRO_VT_SHARD
.._CharskillMastery SET Level '90' 
      
WHERE MasteryID 257 and CharID=@ CharID 
         end 
Delete the space between @ and the name of the tab
For some reason that's the mention command.

257 = Bicheon
Here are the masteries:


(You can add the scroll yourself, just copy the return scroll from RefObjCommon and RefObjItem, make sure the Link is not the same)
Teleport after using the scroll and make sure the MaxStack of the scroll from RefObjItem is 1.

It many not be the perfect query, but I hope it will give you an idea about how they work.


Judgelemental is offline  
Thanks
2 Users
Old 01/06/2022, 20:14   #3
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post
SRO_VT_LOG -> Programmability -> Stored Procedures -> _AddLogItem

1.This will only add one skill :
PHP Code:
 IF ( @ Operation '41' and  @ ItemRefID 'ItemID')
      
BEGIN
  INSERT SRO_VT_SHARD
.dbo._CharSkill VALUES (@ CharID,SkillID,1)
  
end 
ItemID = _RefObjCommonID
SkillID= _RefSkill ID

2.This will unlock ONE Chinese mastery and level it up to 90.

PHP Code:
IF @ operation '41' and @ ItemRefID 'ItemID')
declare @ 
MasteryiID int
      BEGIN
      UPDATE SRO_VT_SHARD
.._CharskillMastery SET Level '90' 
      
WHERE MasteryID 257 and CharID=@ CharID 
         end 
Delete the space between @ and the name of the tab
For some reason that's the mention command.

257 = Bicheon
Here are the masteries:


(You can add the scroll yourself, just copy the return scroll from RefObjCommon and RefObjItem, make sure the Link is not the same)
Teleport after using the scroll and make sure the MaxStack of the scroll from RefObjItem is 1.

It many not be the perfect query, but I hope it will give you an idea about how they work.


Thank you bro, but this misses the part in refskill where expand mastery slots, ty anyway.
Beba Army is offline  
Old 01/06/2022, 20:27   #4
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
Thank you bro, but this misses the part in refskill where expand mastery slots, ty anyway.
Like this ?









It's manual work,
Judgelemental is offline  
Thanks
1 User
Old 01/06/2022, 21:38   #5
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post
Like this ?









It's manual work,
Yes, when player activate scroll the new skill will have to appear in his mastery so it seems need the scroll when activate consifure the refskill too, or idk if have to be manual. Ty i will use this tool.

Mmm i have all these tools already, i will figure it out by myself thank you for help.
Beba Army is offline  
Old 01/06/2022, 22:37   #6
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
Yes, when player activate scroll the new skill will have to appear in his mastery so it seems need the scroll when activate consifure the refskill too, or idk if have to be manual. Ty i will use this tool.

Mmm i have all these tools already, i will figure it out by myself thank you for help.
The scroll/player will have to access the server database, run the query to add the skill in _RefSkill, then the server needs to be restarted so impossible.

All you can do is add them and the player will unlock them only.

You're welcome.
Judgelemental is offline  
Thanks
1 User
Old 01/06/2022, 23:37   #7
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post
The scroll/player will have to access the server database, run the query to add the skill in _RefSkill, then the server needs to be restarted so impossible.

All you can do is add them and the player will unlock them only.

You're welcome.
So per example, the limit of line of some mastery slots is 9, and i put 10, so when player use scroll there will get the 10th skill?
Beba Army is offline  
Old 01/07/2022, 00:09   #8
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
So per example, the limit of line of some mastery slots is 9, and i put 10, so when player use scroll there will get the 10th skill?
If the skill is already there (inside the database/client) but hasn't been learned by the player yet and you use the query to unlock the 10th skill with the scroll when the player uses it, then yes.
Judgelemental is offline  
Old 01/07/2022, 00:40   #9
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post
If the skill is already there (inside the database/client) but hasn't been learned by the player yet and you use the query to unlock the 10th skill with the scroll when the player uses it, then yes.
U mean the player will see his mastery with per example 9 lines ready to learn with sp/lv but the 10th+ are blocked (with those black rows without the "?") and then use the scroll and that 10th unlocked and appear the "?" ?
Beba Army is offline  
Old 01/07/2022, 08:04   #10
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
U mean the player will see his mastery with per example 9 lines ready to learn with sp/lv but the 10th+ are blocked (with those black rows without the "?") and then use the scroll and that 10th unlocked and appear the "?" ?
The player will see everything BUT the 10th skill or skill row will have a book with "?" on it. Once the scroll is used they unlock the skill
Judgelemental is offline  
Old 01/07/2022, 21:22   #11
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post
The player will see everything BUT the 10th skill or skill row will have a book with "?" on it. Once the scroll is used they unlock the skill
What will shows in requeriments? nothing? so in refskill i have to put 0 in req skill point?
Beba Army is offline  
Old 01/07/2022, 21:33   #12
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,518
Received Thanks: 821
Quote:
Originally Posted by Beba Army View Post
What will shows in requeriments? nothing? so in refskill i have to put 0 in req skill point?


Yellow box are the requirements

Leave the Req columns to 0 for no requirements
Judgelemental is offline  
Old 01/07/2022, 22:32   #13
 
elite*gold: 0
Join Date: Mar 2020
Posts: 300
Received Thanks: 20
Quote:
Originally Posted by Judgelemental View Post


Yellow box are the requirements

Leave the Req columns to 0 for no requirements
Ty
Beba Army is offline  
Reply

Tags
mastery, query, scroll, skill


Similar Threads Similar Threads
Skill added but not visible in skill tab, and cant add to skill bar.
02/16/2024 - SRO PServer Questions & Answers - 4 Replies
Hi guys, i'm trying to modify cleric skill but i end up with a visual bug. As you can see in the picture, skill not display level, as long as i add skill points reduced, but i cant pick skill and put it to skill bar. I kinda sure server side is good, just the media side, it will be nice if someone can have solution for this bug. Thank in advance !
help on add new skill from 131+ crash when add
10/02/2020 - SRO PServer Questions & Answers - 1 Replies
have mastery increased from 130 to 140 cap. unfortunately i can not adder mastery on 131. can anyone help? As far as I can figure it out, setting the necessary parameters to the specific 140, 140, 420, etc. Client and Gameserver sides still won't trigger a flawless level upping overall. Client 0069C7C8 006A51BC 005448B1 (this one being cleared, for some reason. codecaved some parameters which usually defines the limitation, no success either)
HOW TO ADD 10% Skill Exp Increase Scroll [iBot]
03/10/2012 - Silkroad Online - 1 Replies
HOW TO ADD? (for SRO)



All times are GMT +1. The time now is 01:33.


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.