Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 09:34

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

Advertisement



Any way to reset STAT points? (not using a stat reset scroll)

Discussion on Any way to reset STAT points? (not using a stat reset scroll) within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2015
Posts: 64
Received Thanks: 10
Any way to reset STAT points? (not using a stat reset scroll)

Hey folks i tryed with item scroll reset stat, it works allmost perfect but those dc is rly sux...

I saw at some private server that they have some like coded procedure starting to be active when you write something in your for example private chat(and it give nice reset stat without DC)

chat:

$Reset Reset_stats

thats only example.

Any ideas how to make it ?


btw. why we just cant modify reset stat scroll lvl 81 to lvl 120 for example?
szokersonik is offline  
Old 02/10/2016, 19:27   #2
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
1- if you using Opcode Filter you can add a small record like " if player type : RESET_MY_STATE " then the app execute a query !
2- you can use a support gm to listen to char incoming chats and same execute querys
3- same with " send message "
4- scroll !
Eslam Galull is offline  
Old 02/10/2016, 22:19   #3
 
elite*gold: 0
Join Date: Jun 2015
Posts: 64
Received Thanks: 10
Quote:
Originally Posted by Eslam Galull View Post
1- if you using Opcode Filter you can add a small record like " if player type : RESET_MY_STATE " then the app execute a query !
2- you can use a support gm to listen to char incoming chats and same execute querys
3- same with " send message "
4- scroll !

Eslam i know You are PRO and i like it, but im not pro , so please speak to me in human language, give me some real examples , wich i can use it, be helpfull in that way, Thanks.


ps. Im in Sql/SSMS/Datbases all that things, from 2 months, so dont expect from me BIG things im lerning all the time.
szokersonik is offline  
Old 02/11/2016, 05:47   #4
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
Okay forget what i replay before ,

edit and use this scroll :

refCommon:
Refitem:
in your _AddLogitem :

P.S. the scroll will teleport the player back to town and will change his states !

btw im noob also
Eslam Galull is offline  
Old 02/11/2016, 23:37   #5
 
elite*gold: 0
Join Date: Jun 2015
Posts: 64
Received Thanks: 10
Yo again!

Eslam, your idea just teleport me back to town its not affecting anything else, stats str/int are the same, they not back to Basic (mean starting values wich i setuped 600, and instant 120char lvl etc)

What i did?

(ps. i made all need tabs, 100% correct, i did that many times with other items etc etc etc btw im patient man)

1. -> Obvious i made custom id and link for that scroll in dbo._RefObjCommon like this:

2.-> Also this i add to dbo._RefObjItem with all need tabs, cannot be not correct:

3.-> Also ofc i added (merged code with all needed tabs to media.pk2 ItemData_45000) like this:

4.-> Thats how looks like my dbo._AddLogItem procedure:

5. -> After Few attempts i added also to dbo._RefSkill and SkillData3500.txt (perhaps without any sens, but i have nothing to lose) But effect the same -> Just teleporting me, nothing more.


So what next Eslam? If you said A and B now time to say C Thank You



EDIT:Also i tested in SRO_VT_SHARD StoredProcedure dbo.ADDLogItem
EFFECT the same, just teleporting, dont affect anything else, take a look:
szokersonik is offline  
Old 02/12/2016, 20:18   #6
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
IF (@Operation = 41) -- scroll is used
BEGIN


IF (@ItemRefID = 55555) --// ESLAM!!!!!!!!!!!!????????? ))))))))))
BEGIN
declare @Strength int --// This code work for me with another but this another scroll make DC...
declare @Intellect int
declare @RemainStatPoint int
set @RemainStatPoint = 800
UPDATE _Char SET Strength=20, Intellect=20, RemainStatPoint=@RemainStatPoint WHERE CharID=@CharID-- add your reset state code here
END

End
Eslam Galull is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release]Scroll's Stat reset | Change Name Char
12/05/2016 - SRO PServer Guides & Releases - 22 Replies
heya i'll release scrolls stat reset & Change name Char lets start like everytime. Stat Reset Download & Scan Click Here Click Here Change name scroll & Download & Scan
CRASH After Using Reset STAT scroll.
01/13/2016 - SRO Private Server - 2 Replies
Hey Folks! I made restat scroll, i found some threads here abt that and i tryed to make my own. But there is on weird thing, each time i use this restat scroll it makes my client crash but stats are return to previous/basic stat(so that works correct) Okai how i did that: 1* Database: 1.1 I putted that in RefObjectCommon table: 1 70001 ITEM_MALL_STATS_POINT_RECALL_A_KARA ???? ???? ???...
Stat Reset Scroll
02/28/2015 - SRO Private Server - 2 Replies
Hello epvp, i downloaded this stat reset scroll but when i use it, it doesn't do anything and i added successfully to DB+media. _AddTimedJob - USE GO /****** Object: StoredProcedure . Script Date: 2/28/2015 8:45:17 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO
[Selling] Elamidas, Lv100 Nuker + Stat & Skill Reset Scroll
09/26/2014 - Silkroad Online Trading - 17 Replies
Server Elamidas : 100 Int Spear Nuker with Stat + Skill Reset Scroll Prem+ 18 days +7 Devil Spirit + 7SPEAR & +5 Set ( inc. Acc's) 1 Red Arabian Avatars + Hat some gender switch, pet etc... 100M gold



All times are GMT +2. The time now is 09:34.


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.