Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Bounty Bug!!

Newbie Spellweaver
Joined
Nov 7, 2005
Messages
86
Reaction score
0
Dude Look on the stickies...there's a lot of fixers there..
 
Upvote 0
The beer?? Its here !!!
Loyal Member
Joined
Jan 9, 2007
Messages
1,621
Reaction score
104
To fix the bounty. Change your database. At dbo.SpBuyBountyItem

and put this code in it

Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[spBuyBountyItem] 
	@nCID INT,
	@nItemID INT,
	@nPrice INT
AS
BEGIN
	SET NOCOUNT ON;

	UPDATE Character SET BP = BP-@nPrice
	INSERT INTO Items
	VALUES(@nCID,@nItemID,NULL)
	SELECT 0 OrderCIID

END

Credits to -Lambda- .
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
Jan 11, 2005
Messages
106
Reaction score
1
To fix the bounty. Change your database. At dbo.SpBuyBountyItem

and put this code in it

Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[spBuyBountyItem] 
	@nCID INT,
	@nItemID INT,
	@nPrice INT
AS
BEGIN
	SET NOCOUNT ON;

	UPDATE Character SET BP = BP-@nPrice
	INSERT INTO Items
	VALUES(@nCID,@nItemID,NULL)
	SELECT 0 OrderCIID

END

Credits to -Lambda- .

Nope, You need to put this code in:

Code:
 CREATE PROCEDURE [dbo].[spBuyBountyItem]
    @nCID INT,
    @nItemID INT,
    @nPrice INT
AS
BEGIN
    SET NOCOUNT ON;

   [COLOR="Red"] UPDATE Character SET BP = BP-@nPrice WHERE CID = @nCID [/COLOR]
    INSERT INTO Items
    VALUES(@nCID,@nItemID,NULL)
    SELECT 0 OrderCIID

END
 
Last edited:
Upvote 0
The beer?? Its here !!!
Loyal Member
Joined
Jan 9, 2007
Messages
1,621
Reaction score
104
Nope, You need to put this code in:

Code:
 CREATE PROCEDURE [dbo].[spBuyBountyItem]
    @nCID INT,
    @nItemID INT,
    @nPrice INT
AS
BEGIN
    SET NOCOUNT ON;
 
   [COLOR=red]UPDATE Character SET BP = BP-@nPrice WHERE CID = @nCID [/COLOR]
    INSERT INTO Items
    VALUES(@nCID,@nItemID,NULL)
    SELECT 0 OrderCIID
 
END

Sorry i'm wrong and your right... You need this one
 
Upvote 0
Back
Top