Register for your free account! | Forgot your password?

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

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

Advertisement



need fix bug scroll reset stat

Discussion on need fix bug scroll reset stat within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Question need fix bug scroll reset stat

need fix bug scroll reset stat
some player make bug with scroll reset stat
go attack mobs and use scroll reset stat will add new stat with old stat int / str
i need fix this bug or make this scroll work in town only
this my Procedure

Code:
        if(@JobID = '34137') 
        begin 
            declare  [MENTION=314361]strength[/MENTION] int 
            declare  [MENTION=5100626]Intellect[/MENTION] int 
            declare  [MENTION=1017443]maxlevel[/MENTION] int 
            declare  [MENTION=3093238]remains[/MENTION]tatPoint int 
            select  [MENTION=1017443]maxlevel[/MENTION] = MaxLevel from _Char where CharID =  [MENTION=395373]Chari[/MENTION]D 
            set  [MENTION=3093238]remains[/MENTION]tatPoint =   [MENTION=1017443]maxlevel[/MENTION]*3)-3 
            set  [MENTION=1017443]maxlevel[/MENTION] =  [MENTION=1017443]maxlevel[/MENTION]+19 
            UPDATE _Char SET Strength  [MENTION=1017443]maxlevel[/MENTION], Intellect  [MENTION=1017443]maxlevel[/MENTION], RemainStatPoint  [MENTION=3093238]remains[/MENTION]tatPoint WHERE CharID  [MENTION=395373]Chari[/MENTION]D 
            return -3 
        end
this refskill

Code:
1	34137	1061	SKILL_MALL_STATS_POINT_RECALL_A	???? ????	SKILL_MALL_STATS_POINT_RECALL_A	0	1	1	0	0	0	0	0	1000	0	0	0	3599	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	3	0	0	255	255	0	0	0	0	0	255	255	255	255	item\etc\recall_skills_point_scroll.ddj	SN_ITEM__MALL_STATS_POINT_RECALL_A	***	SN_ITEM_MALL_STATS_POINT_RECALL_A_TT_DESC	***	0	0	3	1667396966	1851946342	1685418593	1500	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
M@hmoud is offline  
Old 02/20/2020, 16:11   #2

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
Credits to HECKT0R he made it a long time ago

here yo go



Hope this help you.
devdash is offline  
Old 02/20/2020, 18:35   #3
 
sonzenbi's Avatar
 
elite*gold: 0
Join Date: Feb 2017
Posts: 189
Received Thanks: 120
Quote:
Originally Posted by alydandy View Post
Credits to HECKT0R he made it a long time ago

here yo go



Hope this help you.
My English is bad so it's hard to explain but it won't 100% anti-cheating.
You can still cheat in another way.
This is my way:
sonzenbi is offline  
Old 02/20/2020, 21:48   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by alydandy View Post
Credits to HECKT0R he made it a long time ago

here yo go



Hope this help you.
Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_Scroll_Name]    Script Date: 20/02/2020 11:35:25 م ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[_Scroll_Name]
 [MENTION=395373]Chari[/MENTION]d int
as
begin

    Declare [MENTION=3898309]charname[/MENTION] varchar(20), [MENTION=4891778]isba[/MENTION]ttle int 
    
    set [MENTION=4891778]isba[/MENTION]ttle = (select IsBattleField from SRO_VT_SHARD.dbo._RefRegion where wRegionID =
                    (Select LatestRegion from SRO_VT_SHARD.dbo._Char where CharID  [MENTION=395373]Chari[/MENTION]d ))

-- Check if char ouside town dont tp him for non job cheating and other stuff ... !
    if( [MENTION=4891778]isba[/MENTION]ttle ='1')
        begin 
             Insert into Notice (Service,Type,Target,Message,Date) values 
                        (1,'Private' [MENTION=3898309]charname[/MENTION],'sorry but you are not in town :) ',Getdate()) 
        END
--  End of anti-cheating 
    else
        begin
            print 'ITEM_MALL_STATS_POINT_RECALL_A'
        end
end
but scroll work out town u have any fix

Quote:
Originally Posted by sonzenbi View Post
My English is bad so it's hard to explain but it won't 100% anti-cheating.
You can still cheat in another way.
This is my way:
where put this code
M@hmoud is offline  
Old 02/21/2020, 07:00   #5
 
sonzenbi's Avatar
 
elite*gold: 0
Join Date: Feb 2017
Posts: 189
Received Thanks: 120
#M@hmoud
SRO_VT_SHARD.._AddTimedJob
SRO_VT_LOG.._AddLogChar
sonzenbi is offline  
Old 02/21/2020, 16:48   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by sonzenbi View Post
#M@hmoud
SRO_VT_SHARD.._AddTimedJob
SRO_VT_LOG.._AddLogChar
Code:
if(@JobID = '34137' )
begin
insert into SRO_VT_SHARDLOG..RESET_SKILL (Charname,CharID,Time,TT) Values  [MENTION=3898309]charname[/MENTION]16  [MENTION=395373]Chari[/MENTION]D,GETDATE(),0)
return -3
end
give me error
Code:
Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 250
Incorrect syntax near   [MENTION=3898309]charname[/MENTION]16'.
Code:
IF(@EventID = 6)
BEGIN
if exists ( select CharID from SRO_VT_SHARDLOG..RESET_STAT where Charid = [MENTION=395373]Chari[/MENTION]D and TT = 0)
begin
declare [MENTION=314361]strength[/MENTION] smallint
declare [MENTION=5100626]Intellect[/MENTION] smallint
declare [MENTION=1017443]maxlevel[/MENTION] tinyint
declare [MENTION=3093238]remains[/MENTION]tatPoint smallint
select [MENTION=1017443]maxlevel[/MENTION] = MaxLevel from SRO_VT_SHARD.._Char where CharID = [MENTION=395373]Chari[/MENTION]D
set [MENTION=3093238]remains[/MENTION]tatPoint = [MENTION=1017443]maxlevel[/MENTION]*3)-3
set [MENTION=1017443]maxlevel[/MENTION] = [MENTION=1017443]maxlevel[/MENTION]+19
UPDATE SRO_VT_SHARD.._Char SET Strength [MENTION=1017443]maxlevel[/MENTION], Intellect [MENTION=1017443]maxlevel[/MENTION], RemainStatPoint [MENTION=3093238]remains[/MENTION]tatPoint WHERE CharID [MENTION=395373]Chari[/MENTION]D
update SRO_VT_SHARDLOG..RESET_STAT set TT = 1 where CharID = [MENTION=395373]Chari[/MENTION]D
end
end
give error
Code:
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 361
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 363
Incorrect syntax near  [MENTION=1017443]maxlevel[/MENTION]'.
M@hmoud is offline  
Old 02/22/2020, 03:59   #7


 
ZαKuRα's Avatar
 
elite*gold: 23
Join Date: Feb 2011
Posts: 641
Received Thanks: 478
this could work for you

SRO_VT_LOG.dbo._AddLogItem

if(@ItemRefID = '51624') --- remove stats
begin
declare @ int
declare @ int
declare @ int
declare @tatPoint int
select @ = MaxLevel from SRO_VT_SHARD.dbo._Char where CharID = @D
set @tatPoint = @*3)-3
set @ = @+19
UPDATE SRO_VT_SHARD.dbo._Char SET Strength @, Intellect @, RemainStatPoint @tatPoint WHERE CharID @D
end
ZαKuRα is offline  
Old 02/22/2020, 12:49   #8
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by ZαKuRα View Post
this could work for you

SRO_VT_LOG.dbo._AddLogItem

if(@ItemRefID = '51624') --- remove stats
begin
declare @ int
declare @ int
declare @ int
declare @tatPoint int
select @ = MaxLevel from SRO_VT_SHARD.dbo._Char where CharID = @D
set @tatPoint = @*3)-3
set @ = @+19
UPDATE SRO_VT_SHARD.dbo._Char SET Strength @, Intellect @, RemainStatPoint @tatPoint WHERE CharID @D
end
give me this msg
Msg 102, Level 15, State 1, Procedure _AddLogItem, Line 1015
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddLogItem, Line 1017
Incorrect syntax near '@maxlevel'.
M@hmoud is offline  
Old 02/22/2020, 13:27   #9
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
Quote:
Originally Posted by M@hmoud View Post
give me this msg
Msg 102, Level 15, State 1, Procedure _AddLogItem, Line 1015
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddLogItem, Line 1017
Incorrect syntax near @'.

learn to write a query man
and never forget to add @ = 41 this was if you are using the scroll


IF ( @ = 41 and @RefID = 51624)
begin
declare @ int
declare @ int
declare @ int
declare @tatPoint int
select @ = MaxLevel from _Char where CharID = @D
set @tatPoint = ( @*3)-3
set @ = @+19
UPDATE _Char SET Strength = @, Intellect = @, RemainStatPoint = @tatPoint WHERE CharID = @D
DELETE FROM [SRO_VT_SHARD].[dbo].[_CharSkill] Where SkillID between '8092' And '8119' and CharID = @D
end

and about Skill ID 8092 - 8119
Quote:
is snow shield he will delete the skills if you have a server with int request on snow shield
NorseGodTyr is offline  
Old 02/22/2020, 13:57   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by NorseGodTyr View Post

learn to write a query man
and never forget to add @ = 41 this was if you are using the scroll


IF ( @ = 41 and @RefID = 51624)
begin
declare @ int
declare @ int
declare @ int
declare @tatPoint int
select @ = MaxLevel from _Char where CharID = @D
set @tatPoint = ( @*3)-3
set @ = @+19
UPDATE _Char SET Strength = @, Intellect = @, RemainStatPoint = @tatPoint WHERE CharID = @D
DELETE FROM [SRO_VT_SHARD].[dbo].[_CharSkill] Where SkillID between '8092' And '8119' and CharID = @D
end

and about Skill ID 8092 - 8119
give me this msg

Msg 102, Level 15, State 1, Procedure _AddLogItem, Line 1018
Incorrect syntax near '@maxlevel'.
M@hmoud is offline  
Old 02/22/2020, 16:43   #11

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
i would recommend to use @ method
devdash is offline  
Old 02/22/2020, 23:13   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by alydandy View Post
i would recommend to use @ method
but give me error bro not work

Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 250
Incorrect syntax near @16'.
M@hmoud is offline  
Old 02/23/2020, 01:43   #13

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Quote:
Originally Posted by M@hmoud View Post
but give me error bro not work

Msg 102, Level 15, State 1, Procedure _AddTimedJob, Line 250
Incorrect syntax near @16'.
XxGhostSpiriTxX is online now  
Old 02/24/2020, 13:24   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by esteve458 View Post
scroll work out town bro this proc not work
i need proc work good and clos scroll out town
M@hmoud is offline  
Old 02/24/2020, 13:33   #15

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
Quote:
Originally Posted by M@hmoud View Post
error bro give me this msg

Msg 102, Level 15, State 1, Procedure _Scroll_Name, Line 16
Incorrect syntax near @d'.
Msg 102, Level 15, State 1, Procedure _Scroll_Name, Line 22
Incorrect syntax near @'.

this should work
devdash is offline  
Reply


Similar Threads Similar Threads
Any way to reset STAT points? (not using a stat reset scroll)
02/12/2016 - SRO Coding Corner - 5 Replies
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.
[Buying] [H] Paypal [S] AK-47 Fire Serpent Stat, AWP Asiimov Stat, AWP Man-O-War Stat
03/09/2015 - Counter-Strike Trading - 3 Replies
Paypal AK-47 Fire Serpent Stat, AWP Asiimov Stat, AWP Man-O-War Stat offer me here or in skype
[Selling] [Store] Stat AWP ASI, STAT M4 ASI, STAT FN Orion and Serpent FT
01/10/2015 - Counter-Strike Trading - 2 Replies
StatTrak™ AWP Asiimov FT StatTrak™ M4A4 Asiimov FT StatTrak™ USP-S Orion FN StatTrak™ USP-S Orion FN Sticker: Headhunter (Foil) AK-47 Fire Serpent FT AK-47 Fire Serpent FT Everything being sold for 80% of steam market price. I am only willing to sell to reputable people so if you barely have any rep I'm not trading with you even if you're going first. Payment option: PayPal
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html



All times are GMT +1. The time now is 15:58.


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.