Tutorial Guide add premium

Results 1 to 4 of 4
  1. #1
    Enthusiast manyy is offline
    MemberRank
    Nov 2013 Join Date
    BrasilLocation
    26Posts

    Tutorial Guide add premium

    I need a tutorial on how to remove and add a premium account


  2. #2
    Hardcore Member Stricted is offline
    MemberRank
    Feb 2012 Join Date
    GermanyLocation
    234Posts

    Re: Tutorial Guide add premium

    here my procedure for that

    Code:
    CREATE PROCEDURE [dbo].[cabal_tool_SetPremium]
    			( @userNum int, @days int )
    AS
    BEGIN
    	BEGIN TRAN
    		SELECT * FROM cabal_charge_auth WHERE usernum = @userNum
    
    		IF @@ROWCOUNT = 0
    			BEGIN
    				insert into cabal_charge_auth(usernum, type, expiredate, payminutes) values @userNum, 5, DATEADD(day, @days, getdate()), 0)
    			END
    		ELSE
    			BEGIN
    				update cabal_charge_auth set expiredate = DATEADD(day, @days, getdate()) where usernum = @userNum
    			END
    	COMMIT
    END

  3. #3
    Enthusiast manyy is offline
    MemberRank
    Nov 2013 Join Date
    BrasilLocation
    26Posts

    Re: Tutorial Guide add premium

    how do I configure it?
    I add days to date?

    account 123123, type: 0

    I click OK but nothing happens


    account suck, type: 2

    connect normal...
    Attached Thumbnails Attached Thumbnails rz.jpg  
    Last edited by manyy; 12-04-14 at 10:17 AM.

  4. #4
    Enthusiast manyy is offline
    MemberRank
    Nov 2013 Join Date
    BrasilLocation
    26Posts

    Re: Tutorial Guide add premium

    when the deadline is over, the game does not connect



Advertisement