Register for your free account! | Forgot your password?

You last visited: Today at 00:17

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

 

Stat Reset Scroll

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2014
Posts: 42
Received Thanks: 9
Stat Reset Scroll

Hello epvp, i downloaded stat reset scroll but when i use it, it doesn't do anything and i added successfully to DB+media.

_AddTimedJob -



_Prophet_ is offline  
Old   #2
 
elite*gold: 100
Join Date: Sep 2009
Posts: 671
Received Thanks: 132
wrong procedure

Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_AddTimedJob]    Script Date: 2/28/2015 8:45:17 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO




ALTER   procedure [dbo].[_AddTimedJob]
@CharID            int,
@Category        tinyint,
@JobID            int,
@TimeToKeep    int,
@Data1            int,
@Data2            int,
--##begin due to develop composite item
@Data3            int,
@Data4            int,
@Data5            int,
@Data6            int,
@Data7            int,
@Data8            int,
@Serial64        bigint,
@JID            int
--##end due to develop composite item
as
 if(@JobID = '45001') 
        begin 
            declare @Strength int 
            declare @Intellect int 
            declare @MaxLevel int 
            declare @RemainStatPoint int 
            select @MaxLevel = MaxLevel from _Char where CharID = @CharID 
            set @RemainStatPoint = (@MaxLevel*3)-3 
            set @MaxLevel = @MaxLevel+19 
            UPDATE _Char SET [email protected], [email protected], [email protected] WHERE [email protected] 
            return -3 
        end  
    if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
        return -1
    if (@TimeToKeep <= 0)
        return -2
    declare @NewJobID int
    set @NewJobID = 0
    --##begin due to develop composite item
    insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64,JID)
    values(@CharID, @Category, @JobID, @TimeToKeep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
    --##end due to develop composite item
    set @NewJobID = @@identity
    if (@@error <> 0 or @@rowcount = 0)
        return -3
    return @NewJobID


Hamza FiGo is offline  
Thanks
1 User
Old   #3
 
elite*gold: 0
Join Date: Jun 2014
Posts: 42
Received Thanks: 9
Quote:
Originally Posted by hamzafigo View Post
wrong procedure

Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_AddTimedJob]    Script Date: 2/28/2015 8:45:17 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO




ALTER   procedure [dbo].[_AddTimedJob]
@CharID            int,
@Category        tinyint,
@JobID            int,
@TimeToKeep    int,
@Data1            int,
@Data2            int,
--##begin due to develop composite item
@Data3            int,
@Data4            int,
@Data5            int,
@Data6            int,
@Data7            int,
@Data8            int,
@Serial64        bigint,
@JID            int
--##end due to develop composite item
as
 if(@JobID = '45001') 
        begin 
            declare @Strength int 
            declare @Intellect int 
            declare @MaxLevel int 
            declare @RemainStatPoint int 
            select @MaxLevel = MaxLevel from _Char where CharID = @CharID 
            set @RemainStatPoint = (@MaxLevel*3)-3 
            set @MaxLevel = @MaxLevel+19 
            UPDATE _Char SET [email protected], [email protected], [email protected] WHERE [email protected] 
            return -3 
        end  
    if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
        return -1
    if (@TimeToKeep <= 0)
        return -2
    declare @NewJobID int
    set @NewJobID = 0
    --##begin due to develop composite item
    insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64,JID)
    values(@CharID, @Category, @JobID, @TimeToKeep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
    --##end due to develop composite item
    set @NewJobID = @@identity
    if (@@error <> 0 or @@rowcount = 0)
        return -3
    return @NewJobID
ah yeah, thanks. it worked. ^^
_Prophet_ is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
[Release]Scroll's Stat reset | Change Name Char
heya i'll release scrolls stat reset & Change name Char lets start like everytime. Stat Reset Download & Scan Click Here Click Here ...
22 Replies - SRO PServer Guides & Releases
[Selling] Elamidas, Lv100 Nuker + Stat & Skill Reset Scroll
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...
17 Replies - Silkroad Online Trading
[Trading] Elamidas, Lv100 SPEAR +7 Nuker + Stat & Skill Reset Scroll [FOR] a good Steam Account
I want to trade a Lv 100 Nuker on Server Elamidas : 100 Int Spear Nuker with Stat + Skill Reset Scroll Prem+ 18 days +7 Devil Spirit + 7SPEAR...
1 Replies - Trading



All times are GMT +2. The time now is 00:17.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.