Register for your free account! | Forgot your password?

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

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

Advertisement



[Request]Caipi's Silk/Hour System Is Kinda Bugged!

Discussion on [Request]Caipi's Silk/Hour System Is Kinda Bugged! within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 365
Received Thanks: 384
Exclamation [Request]Caipi's Silk/Hour System Is Kinda Bugged!

PHP Code:
USE [SRO_VT_ACCOUNT]
GO
/****** Object:  StoredProcedure [dbo].[_extraSilk]    Script Date: 02/11/2014 15:53:03 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE 
[dbo].[_extraSilk/*by Caipi*/

    
@CharID int,
    @
Silk int

as

Declare @
JID int, @Multiplier int = (SELECT [Silk/HourFROM Log_DB.dbo._OnlineOffline WHERE CharID = @CharID);

SET @JID = (
            
SELECT usert.UserJID FROM SRO_VT_SHARD_INIT.dbo._User as usert
            JOIN SRO_VT_SHARD_INIT
.dbo._Char as chart on usert.CharID chart.CharID
            WHERE chart
.CharID = @CharID
            
);
            
    IF 
not exists (SELECT JID FROM SK_Silk WHERE JID = @JID)
        
BEGIN
            INSERT INTO SK_Silk SELECT 
@JID000
        END
            
    UPDATE SK_Silk
    SET silk_own 
silk_own + (@Silk*@Multiplier)
    
WHERE JID = @JID 
I guess this is buggy cuz all tables are working i get silk @ Online/Offline table it counts the gameplay and adds silk to eSilk.. but no silk is added to SK_Silk nothing is added at this table its empty..

And every thing is added without errors (SQL2008R2)
Any help is Appreciated.
Thank you..
khaledlollol is offline  
Thanks
1 User
Old 02/11/2014, 16:09   #2
 
InPanic Kev's Avatar
 
elite*gold: 80
Join Date: Feb 2011
Posts: 766
Received Thanks: 249
read the sql and you know why its not working
InPanic Kev is offline  
Old 02/11/2014, 17:09   #3
 
elite*gold: 0
Join Date: Jul 2011
Posts: 137
Received Thanks: 34
Quote:
Originally Posted by khaledlollol View Post
PHP Code:
USE [SRO_VT_ACCOUNT]
GO
/****** Object:  StoredProcedure [dbo].[_extraSilk]    Script Date: 02/11/2014 15:53:03 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE 
[dbo].[_extraSilk/*by Caipi*/

    
@CharID int,
    @
Silk int

as

Declare @
JID int, @Multiplier int = (SELECT [Silk/HourFROM Log_DB.dbo._OnlineOffline WHERE CharID = @CharID);

SET @JID = (
            
SELECT usert.UserJID FROM SRO_VT_SHARD_INIT.dbo._User as usert
            JOIN SRO_VT_SHARD_INIT
.dbo._Char as chart on usert.CharID chart.CharID
            WHERE chart
.CharID = @CharID
            
);
            
    IF 
not exists (SELECT JID FROM SK_Silk WHERE JID = @JID)
        
BEGIN
            INSERT INTO SK_Silk SELECT 
@JID000
        END
            
    UPDATE SK_Silk
    SET silk_own 
silk_own + (@Silk*@Multiplier)
    
WHERE JID = @JID 
I guess this is buggy cuz all tables are working i get silk @ Online/Offline table it counts the gameplay and adds silk to eSilk.. but no silk is added to SK_Silk nothing is added at this table its empty..

And every thing is added without errors (SQL2008R2)
Any help is Appreciated.
Thank you..
Are you sure the other procedure is executing this other one?
retontoxD is offline  
Old 02/11/2014, 20:17   #4

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
there is no any problem in this proc check other proc
KingDollar is offline  
Reply


Similar Threads Similar Threads
>>Avengers Sro << >>Silk Per Hour<< >>Dg11 PvE Server<< >>Egy System<< Coin System <<
01/12/2014 - SRO PServer Advertising - 44 Replies
http://i.epvpimg.com/bIXCf.png Welcome To Avengers.Sro-Online FaceBooK WebSite Register



All times are GMT +1. The time now is 14:27.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.