Nuckertube Query PayGold FTW Good Edits by me

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! CoderWaxy is offline
    MemberRank
    Aug 2012 Join Date
    Russia, SPBurgLocation
    315Posts

    Nuckertube Query PayGold FTW Good Edits by me

    PHP Code:
    USE [SRO_VT_SHARD]
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- 
    Made By:       <Nukertube>
    -- 
    Edit By :      <CoderWaxy>
    -- 
    Create date: <getdata ()>
    -- 
    Description:    <Varchar (128)>
    -- New:            <
    ADD CT FTW Gold>
    -- 
    Work :          <Tested By Me>
    -- =============================================
    CREATE PROCEDURE [dbo].[_PayGoldFT
    --------------------------

    @
    Gold BIGINT
    --------------------------
    AS
    BEGIN
        SET NOCOUNT ON
    ;
        DECLARE
        @
    Fw1 Varchar(max),
        @
    Fw2 Varchar(max),
        @
    Fw3 Varchar(max),
        @
    Fw4 Varchar(max),
        @
    G1 Varchar(max),
        @
    G2 Varchar(max),
        @
    G3 Varchar(max),
        @
    G4 Varchar(max)
        
    SET @Fw1 =(SELECT[GuildID]FROM[dbo].[_SiegeFortress]WHERE[FortressID]=1)
        
    SET @Fw2 =(SELECT[GuildID]FROM[dbo].[_SiegeFortress]WHERE[FortressID]=3)
        
    SET @Fw3 =(SELECT[GuildID]FROM[dbo].[_SiegeFortress]WHERE[FortressID]=6)
        
    SET @Fw4 =(SELECT[GuildID]FROM[dbo].[_SiegeFortress]WHERE[FortressID]=4)
        
    SET @G1=(SELECT[Name]FROM[dbo].[_Guild]WHERE[ID]=@Fw1)
        
    SET @G2=(SELECT[Name]FROM[dbo].[_Guild]WHERE[ID]=@Fw2)
        
    SET @G3=(SELECT[Name]FROM[dbo].[_Guild]WHERE[ID]=@Fw3)
        
    SET @G4=(SELECT[Name]FROM[dbo].[_Guild]WHERE[ID]=@Fw4)
         ----------------------
        
    UPDATE[dbo].[_Guild]
        
    SET[Gold]=@Gold
        WHERE
    [ID]=@Fw1
        
    OR[ID]=@Fw2
        
    OR[ID]=@Fw3
        
    OR[ID]=@Fw4
        
    PRINT 'Fortress war gold paid! Guilds winners: '+@G1+', '+@G2+', '+@G3+', '+@G4
        
    ----------------------
    END
    GO  
    EXEC _PayGoldFT 
    '50000000000' 
    This Query USE FOR CT FTW not For bandit and hotan and jangan fortress only for 4 fortress war
    Like IF it help you

    Where posts?
    Last edited by CoderWaxy; 12-04-13 at 08:07 PM.


  2. #2
    Account Upgraded | Title Enabled! RevoLand is offline
    MemberRank
    Jan 2009 Join Date
    117Posts

    Re: Nuckertube Query PayGold FTW Good Edits by me

    Quote Originally Posted by denise456 View Post
    OMG Fail
    Quote Originally Posted by Eroticus View Post
    Quote Originally Posted by MrSaxobeat View Post
    delete this post please thx
    Query is not exactly same, thread will be stay until xxNukertube request it.

  3. #3
    Account Upgraded | Title Enabled! CoderWaxy is offline
    MemberRank
    Aug 2012 Join Date
    Russia, SPBurgLocation
    315Posts

    Re: Nuckertube Query PayGold FTW Good Edits by me

    MRSaxobeat i edit constantaple FTW in this query why you all time say delete post good post or no posts for you

  4. #4
    NewEvolust.Com xxNukertube is offline
    MemberRank
    Jul 2012 Join Date
    Ceres, Goias, BLocation
    215Posts

    Re: Nuckertube Query PayGold FTW Good Edits by me

    ^^ I forgot to put the fortress of constantinople, however thanks

  5. #5
    Account Upgraded | Title Enabled! CoderWaxy is offline
    MemberRank
    Aug 2012 Join Date
    Russia, SPBurgLocation
    315Posts

    Re: Nuckertube Query PayGold FTW Good Edits by me

    no proplem nuckertube



Advertisement