Auto Add coins for ijji site rip

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Account Upgraded | Title Enabled! SHEEN[GB] is offline
    MemberRank
    Aug 2009 Join Date
    London, UKLocation
    263Posts

    Re: Auto Add coins for ijji site rip

    Quote Originally Posted by gregon13 View Post
    I use it with 2008 just fine
    Odd, I've executed it to my GunzDB and no coins get added to my account, and yes I am using ijji web files.

  2. #17
    Enthusiast Anniversary is offline
    MemberRank
    Apr 2010 Join Date
    44Posts

    Re: Auto Add coins for ijji site rip

    i think thaths not a good idea for everykill a coin lol

    u swap 100 times and u can get almost 2 shotguns lol.... for donaters wtf but u can change it so i rate it

    10/10

  3. #18
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Auto Add coins for ijji site rip

    Hmm i just tested this and its also not working for me :/

  4. #19
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: Auto Add coins for ijji site rip

    ye I just noticed I gave you guys the wrong one, I fixed it, look at the OP and try the new one

  5. #20
    Account Upgraded | Title Enabled! corrado is offline
    MemberRank
    Aug 2008 Join Date
    219Posts

    Re: Auto Add coins for ijji site rip

    Remember : Create column "coins" in dbo.Account
    Quote Originally Posted by xD?
    USE [GunzDB]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO

    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
    I test in 08 files = work fine
    Last edited by corrado; 03-05-10 at 04:06 AM.

  6. #21
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Re: Auto Add coins for ijji site rip

    Why is needed to multiply @Coins by 1? lol

  7. #22
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: Auto Add coins for ijji site rip

    Quote Originally Posted by alfredao View Post
    Why is needed to multiply @Coins by 1? lol
    What do you mean? I have it set so it gives you one coin per kill

  8. #23
    Account Upgraded | Title Enabled! Trilest is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    Re: Auto Add coins for ijji site rip

    What about a script that gives you 1 coin every hour you are online ingame ?

  9. #24
    Enthusiast victordav is offline
    MemberRank
    Aug 2009 Join Date
    VenezuelaLocation
    45Posts

    Re: Auto Add coins for ijji site rip

    Hello, one question what table need modific or just run the query and ready?

  10. #25
    Member Sir Creative is offline
    MemberRank
    Jul 2010 Join Date
    70Posts

    Re: Auto Add coins for ijji site rip

    Thanks ^^

  11. #26
    Member Kanoru is offline
    MemberRank
    Dec 2009 Join Date
    RageZone Rock !Location
    74Posts

    Re: Auto Add coins for ijji site rip

    nice code :W

  12. #27
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: Auto Add coins for ijji site rip

    Quote Originally Posted by Trilest View Post
    What about a script that gives you 1 coin every hour you are online ingame ?
    you can do that as well just don't remember how



Page 2 of 2 FirstFirst 12

Advertisement