Getting Auto Event Coins Per Kills ive searched Everywhere

Results 1 to 5 of 5
  1. #1
    Valued Member foeandfear is offline
    MemberRank
    Mar 2011 Join Date
    107Posts

    Getting Auto Event Coins Per Kills ive searched Everywhere

    Hello does anyone have the sql script for this because ive been searching for 2 days now i cant find it >< please and thank you :)


  2. #2
    Proficient Member wayutok is offline
    MemberRank
    Oct 2011 Join Date
    198Posts

    Re: Getting Auto Event Coins Per Kills ive searched Everywhere

    same to me

  3. #3
    人◕ ‿‿ ◕人 Forean is offline
    MemberRank
    Jul 2008 Join Date
    1,183Posts

    Re: Getting Auto Event Coins Per Kills ive searched Everywhere


  4. #4
    Enthusiast ammw is offline
    MemberRank
    Jun 2012 Join Date
    Behind YouLocation
    43Posts

    Re: Getting Auto Event Coins Per Kills ive searched Everywhere

    Quote Originally Posted by adz28 View Post
    Code:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    GO
    
    /* ??? ??(XP, BP, KillCount, DeathCount) ???? */
    ALTER PROC [dbo].[spUpdateCharInfoData]
      @XPInc        int,
      @BPInc        int,
      @KillInc      int,
      @DeathInc     int,
      @CID          int
    AS
    SET NOCOUNT ON
    
    DECLARE @Coins int
    DECLARE @AID int
    SELECT @AID=AID FROM Character(nolock) WHERE CID = @CID
    
    SELECT @Coins = @KillInc * 1
    
    UPDATE Character 
    SET XP=XP+(@XPInc), BP=BP+(@BPInc), KillCount=KillCount+(@KillInc), DeathCount=DeathCount+(@DeathInc)
    WHERE CID=@CID
    
    UPDATE Account 
    SET Coins=Coins+(@Coins) 
    WHERE AID=@AID
    ^-^ ....

  5. #5
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Getting Auto Event Coins Per Kills ive searched Everywhere

    There's a whole thread somewhere on here. You didn't search good enough, unless it's gone/deleted. I'll probably find it later.



Advertisement