[RELEASE] Yet another negative bounty fix

Results 1 to 6 of 6
  1. #1
    Enthusiast alduath is offline
    MemberRank
    Jan 2007 Join Date
    39Posts

    [RELEASE] Yet another negative bounty fix

    Ok, this is for the negative bounty problem in QUEST MODE.

    Original spUpdateCharBP:

    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[spUpdateCharBP]
        @nBP INT,
        @nCID INT
    AS
    BEGIN
        SET NOCOUNT ON;
    
        UPDATE Character
        SET BP = @nBP
        WHERE CID = @nCID
    END
    If you log the parameters into some table, you will notice that @nBP is negative, so this procedure should be as follows:

    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[spUpdateCharBP]
        @nBP INT,
        @nCID INT
    AS
    BEGIN
        SET NOCOUNT ON;
    
        UPDATE Character
        SET BP = BP+@nBP
        WHERE CID = @nCID
    END
    Maybe this is a dupe release, I don't know as I didn't search, but I was just enabling full quest mode on my server and found this error at the procedures. Hope it helps someone out there.

    If anyone released this before, please, I'm not trying to steal your credits, just trying to help others here.

    Cya


  2. #2
    Account Upgraded | Title Enabled! haxing is offline
    MemberRank
    Jan 2007 Join Date
    Behind YouLocation
    227Posts

    Re: [RELEASE] Yet another negative bounty fix

    hey thanks man! u fixed my prob =)

  3. #3
    MentaL's Slave Keith is offline
    LegendRank
    Nov 2004 Join Date
    2,671Posts

    Re: [RELEASE] Yet another negative bounty fix

    Thanks ..

  4. #4
    COAR Dev. ShakatoNNN is offline
    MemberRank
    Apr 2006 Join Date
    ArgentinaLocation
    295Posts

    Re: [RELEASE] Yet another negative bounty fix

    thanks nice release ;)

  5. #5
    RageZ Hell kekku500 is offline
    MemberRank
    Nov 2006 Join Date
    EstoniaLocation
    672Posts

    Re: [RELEASE] Yet another negative bounty fix

    Hre is now 1 good thing and 1 bad thing
    GOOD is its fixeddd :D
    BAD is.. i must put price to items OMG

  6. #6
    Apprentice SpadeZ[905] is offline
    MemberRank
    Jul 2007 Join Date
    15Posts

    Re: [RELEASE] Yet another negative bounty fix

    <3 I love you man good job :D FInally I can afford items



Advertisement