Gunz 1.5 (2011 files) Complete Databases

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 49
  1. #16
    Enthusiast Coldfx is offline
    MemberRank
    Oct 2011 Join Date
    29Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    Rename spBringAccountItem to spBringAccountItemOld
    and Rename spBringAccountItem2 to spBringAccountItem

    that should do the trick

  2. #17
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    Quote Originally Posted by Coldfx View Post
    Rename spBringAccountItem to spBringAccountItemOld
    and Rename spBringAccountItem2 to spBringAccountItem

    that should do the trick
    It's fixed. Thanks a lot; I appreciate it.

  3. #18
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    Here's a fix for the Gamble Items:

    Code:
    USE [GunzDB]
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    --ALTER PROC [dbo].[spChangeGambleItemToRewardNormalItem]  
    CREATE PROC dbo.spChangeGambleItemToRewardNormalItem  
    	  @CID				INT
    	, @CIID				INT
    	, @GIID				INT
    	, @GRIID			INT
    	, @RewardItemID		INT
    	, @RewardRentPeriod	INT
    
    
    AS BEGIN
    
    	SET NOCOUNT ON;
    
    	DECLARE @RentHourPeriod		INT;
    	DECLARE @GambleItemCount	INT;
    	
    	-----------------------------------------------------------------------------
    			
    	SELECT	@RentHourPeriod = ISNULL(RentHourPeriod, 0)
    	FROM	GambleRewardItem gri(NOLOCK)  
    	WHERE	GRIID = @GRIID
    	AND		GIID = @GIID 
    	AND		(ItemIDMale = @RewardItemID OR ItemIDFemale = @RewardItemID)
    	
    	IF (0 = @@ROWCOUNT) BEGIN
    		SELECT -1 AS 'Ret'  
    		RETURN
    	END
    			
    	SELECT	@GambleItemCount = ISNULL(Cnt, 1)
    	FROM	CharacterItem(NOLOCK)
    	WHERE	CIID = @CIID;
    		
    	-----------------------------------------------------------------------------
    	
    	DECLARE @NowDate	DATETIME;
    	SET @NowDate = GETDATE();	
    	
    	-----------------------------------------------------------------------------
    			
    	BEGIN TRAN -----------  
    	
    		----------------------------------------------------------------------------------------
    		
    		IF( @GambleItemCount > 1 ) BEGIN
    		
    			UPDATE	CharacterItem 
    			SET		Cnt = Cnt - 1
    			WHERE	CID = @CID 
    			AND		CIID = @CIID 
    			
    			IF (0 <> @@ERROR) OR (0 = @@ROWCOUNT) BEGIN  
    				ROLLBACK TRAN  
    				SELECT -2 AS 'Ret'  
    				RETURN
    			END
    			
    		END
    		ELSE BEGIN
    		
    			UPDATE	CharacterItem 
    			SET		CID = NULL
    			WHERE	CID = @CID 
    			AND		CIID = @CIID
    			
    			IF (0 <> @@ERROR) OR (0 = @@ROWCOUNT) BEGIN  
    				ROLLBACK TRAN  
    				SELECT -3 AS 'Ret'  
    				RETURN
    			END
    			
    		END
    		
    		---------------------------------------------------------------------------------------	
    		
    		INSERT CharacterItem(CID, ItemID, RegDate, RentDate, RentHourPeriod, Cnt)
    		VALUES (@CID, @RewardItemID, @NowDate, @NowDate, @RentHourPeriod, 1)
    		
    		DECLARE @OrderCIID INT;			
    		SET @OrderCIID = @@IDENTITY;
    			
    		IF (0 <> @@ERROR) BEGIN  
    			ROLLBACK TRAN  
    			SELECT -4 AS 'Ret'  
    			RETURN
    		END
    			
    			
    		INSERT dbo.ItemChangeLog_CharacterItem(ChangeType, ChangeDate, CID, CIID, ItemID, [Count])
    		VALUES (202, @NowDate, @CID, @CIID, @GIID, 1);	
    		
    		IF (0 <> @@ERROR) BEGIN  
    			ROLLBACK TRAN  
    			SELECT -5 AS 'Ret'  
    			RETURN
    		END
    
    		INSERT dbo.ItemChangeLog_CharacterItem(ChangeType, ChangeDate, CID, CIID, ItemID, [Count])
    		VALUES (102, @NowDate, @CID, @OrderCIID, @RewardItemID, 1);
    		
    		IF (0 <> @@ERROR) BEGIN  
    			ROLLBACK TRAN  
    			SELECT -6 AS 'Ret'  
    			RETURN
    		END
    
    		INSERT INTO LogDB..GambleLog(CID, GIID, RewardItemID, RegDate)  
    		VALUES (@CID, @GIID, @RewardItemID, @NowDate);
    		
    		IF (0 <> @@ERROR) BEGIN  
    			ROLLBACK TRAN  
    			SELECT -7 AS 'Ret'  
    			RETURN
    		END
    		
    		----------------------------------------------------------------------------------------
    
    	COMMIT TRAN  -----------
    		
    	SELECT 0 AS 'Ret', @OrderCIID AS 'ORDERCIID'
    END

  4. #19
    Proficient Member [S]pirit is offline
    MemberRank
    Apr 2009 Join Date
    182Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    oh god, three days of organizing and patching sql files down the drain

  5. #20
    Reality, What is? Rain is offline
    MemberRank
    Jan 2009 Join Date
    PhotoshopLocation
    804Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    My god this is a Fucking epic releas! keep up the good work guys ! and thanks for this emi <3

  6. #21
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Gunz 1.5 (Summer of 2011) Complete Databases

    Links updated.
    I've uploaded the files to Sendspace since Multiupload is down for some reason.


    Download Link for .bak files:
    http://www.sendspace.com/file/q64998

    Download Link for .sql files:
    http://www.sendspace.com/file/6t16tm

  7. #22
    Balance Elian is offline
    MemberRank
    Sep 2009 Join Date
    StarLocation
    1,768Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Phoenix these links get me redirected to multiupload so it isnt working.

  8. #23
    Ecchi addicted adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Quote Originally Posted by Elian. View Post
    Phoenix these links get me redirected to multiupload so it isnt working.
    Copy the text, paste it in your url bar and it will work.
    In case someone other need them:
    Download GunZ 1.5 Databases (Scripts).rar from Sendspace.com - send big files the easy way
    Download GunZ 1.5 Databases (.bak files).rar from Sendspace.com - send big files the easy way

  9. #24
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Quote Originally Posted by Elian. View Post
    Phoenix these links get me redirected to multiupload so it isnt working.
    Fixed. Main post updated.

    Thanks!

  10. #25
    Apprentice ielitepro is offline
    MemberRank
    Feb 2012 Join Date
    10Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------

    Cannot execute script.

    ------------------------------
    ADDITIONAL INFORMATION:

    Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib)

    ------------------------------
    BUTTONS:

    OK
    ------------------------------

    I get that error :(

  11. #26
    Member iDelta is offline
    MemberRank
    Mar 2012 Join Date
    67Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Quote Originally Posted by ielitepro View Post
    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------

    Cannot execute script.

    ------------------------------
    ADDITIONAL INFORMATION:

    Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib)

    ------------------------------
    BUTTONS:

    OK
    ------------------------------

    I get that error :(
    Restart SQL Management Delete your GunzDB, Make now GunzDB.
    and Execute again make sure it is still 3MB

  12. #27
    Member Seoa is offline
    MemberRank
    Jun 2010 Join Date
    USALocation
    70Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Quote Originally Posted by ielitepro View Post
    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------

    Cannot execute script.

    ------------------------------
    ADDITIONAL INFORMATION:

    Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib)

    ------------------------------
    BUTTONS:

    OK
    ------------------------------

    I get that error :(
    Not enough computer resources to execute the query. I got by this by sheer luck.

  13. #28
    Account Upgraded | Title Enabled! gabire is offline
    MemberRank
    Dec 2008 Join Date
    CanadaLocation
    577Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    can someone post a fixed version of this 1.5 database (script) ?

    thanks

  14. #29
    Member Dante77 is offline
    MemberRank
    Oct 2008 Join Date
    55Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    Quote Originally Posted by ielitepro View Post
    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------

    Cannot execute script.

    ------------------------------
    ADDITIONAL INFORMATION:

    Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib)

    ------------------------------
    BUTTONS:

    OK
    ------------------------------

    I get that error :(
    I'm getting the same error every time I try to execute it.

  15. #30
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: Gunz 1.5 (2011 files) Complete Databases

    System.OutOfMemoryException
    The Script is too big for you computer



Page 2 of 4 FirstFirst 1234 LastLast

Advertisement