• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Idea?

Newbie Spellweaver
Joined
Apr 1, 2017
Messages
47
Reaction score
1
is it possible to get coins on kill

Like 1 kill = 10 coins like that ??
 
Junior Spellweaver
Joined
Aug 26, 2020
Messages
148
Reaction score
20
i think he mean that every kill on character will get coins like a bounty in the game, if you killed some of characters or each character you will get bounty immediately.
 
Upvote 0
Newbie Spellweaver
Joined
Apr 1, 2017
Messages
47
Reaction score
1
What do you mean by Coins? Can you show a screenshot of what you are talking about?



No I mean when u kill some players u get bounty right like that we can add the coins to Database.



i think he mean that every kill on character will get coins like a bounty in the game, if you killed some of characters or each character you will get bounty immediately.

Exactly
 
Upvote 0
I'm retired, I'm already
Banned
Joined
Oct 3, 2011
Messages
832
Reaction score
155
It does not matter.

Code:
USE [GunzDB]
GO
/** Kill for Coins **/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROC [dbo].[spUpdateCharInfoData]
-- ALTER PROC dbo.spUpdateCharInfoData
    [USER=369615]Cid[/USER]            INT,
    @XPInc            INT,
    @BPInc            INT,
    [USER=1731]KiLLi[/USER]nc        INT,
    [USER=401081]Death[/USER]Inc        INT,
    [USER=2000229413]Playtime[/USER]Inc    INT
AS BEGIN
    SET NOCOUNT ON;
DECLARE @ECoins int
DECLARE [USER=420555]Aid[/USER] int
SELECT [USER=420555]Aid[/USER]=AID FROM Character(nolock) WHERE CID = [USER=369615]Cid[/USER]

SELECT @ECoins = [USER=1731]KiLLi[/USER]nc * 1 
    UPDATE    dbo.Character
    SET        XP = XP + (@XPInc)
            , BP = BP + (@BPInc)
            , KillCount = KillCount +  [USER=1731]KiLLi[/USER]nc)
            , DeathCount = DeathCount +  [USER=401081]Death[/USER]Inc)
            , PlayTime = PlayTime +  [USER=2000229413]Playtime[/USER]Inc)
    WHERE    CID = [USER=369615]Cid[/USER];


UPDATE Account 
SET KillCoins=KillCoins+(@ECoins) 
WHERE AID [USER=420555]Aid[/USER]

ENDUSE [GunzDB]
GO
/** Kill for Coins **/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROC [dbo].[spUpdateCharInfoData]
-- ALTER PROC dbo.spUpdateCharInfoData
    [USER=369615]Cid[/USER]            INT,
    @XPInc            INT,
    @BPInc            INT,
    [USER=1731]KiLLi[/USER]nc        INT,
    [USER=401081]Death[/USER]Inc        INT,
    [USER=2000229413]Playtime[/USER]Inc    INT
AS BEGIN
    SET NOCOUNT ON;
DECLARE @ECoins int
DECLARE [USER=420555]Aid[/USER] int
SELECT [USER=420555]Aid[/USER]=AID FROM Character(nolock) WHERE CID = [USER=369615]Cid[/USER]

SELECT @ECoins = [USER=1731]KiLLi[/USER]nc * 1 
    UPDATE    dbo.Character
    SET        XP = XP + (@XPInc)
            , BP = BP + (@BPInc)
            , KillCount = KillCount +  [USER=1731]KiLLi[/USER]nc)
            , DeathCount = DeathCount +  [USER=401081]Death[/USER]Inc)
            , PlayTime = PlayTime +  [USER=2000229413]Playtime[/USER]Inc)
    WHERE    CID = [USER=369615]Cid[/USER];


UPDATE Account 
SET KillCoins=KillCoins+(@ECoins) 
WHERE AID [USER=420555]Aid[/USER]

END
 
Upvote 0
Newbie Spellweaver
Joined
Apr 1, 2017
Messages
47
Reaction score
1
It does not matter.

Code:
USE [GunzDB]
GO
/** Kill for Coins **/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROC [dbo].[spUpdateCharInfoData]
-- ALTER PROC dbo.spUpdateCharInfoData
    [USER=369615]Cid[/USER]            INT,
    @XPInc            INT,
    @BPInc            INT,
    [USER=1731]KiLLi[/USER]nc        INT,
    [USER=401081]Death[/USER]Inc        INT,
    [USER=2000229413]Playtime[/USER]Inc    INT
AS BEGIN
    SET NOCOUNT ON;
DECLARE @ECoins int
DECLARE [USER=420555]Aid[/USER] int
SELECT [USER=420555]Aid[/USER]=AID FROM Character(nolock) WHERE CID = [USER=369615]Cid[/USER]

SELECT @ECoins = [USER=1731]KiLLi[/USER]nc * 1 
    UPDATE    dbo.Character
    SET        XP = XP + (@XPInc)
            , BP = BP + (@BPInc)
            , KillCount = KillCount +  [USER=1731]KiLLi[/USER]nc)
            , DeathCount = DeathCount +  [USER=401081]Death[/USER]Inc)
            , PlayTime = PlayTime +  [USER=2000229413]Playtime[/USER]Inc)
    WHERE    CID = [USER=369615]Cid[/USER];


UPDATE Account 
SET KillCoins=KillCoins+(@ECoins) 
WHERE AID [USER=420555]Aid[/USER]

ENDUSE [GunzDB]
GO
/** Kill for Coins **/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROC [dbo].[spUpdateCharInfoData]
-- ALTER PROC dbo.spUpdateCharInfoData
    [USER=369615]Cid[/USER]            INT,
    @XPInc            INT,
    @BPInc            INT,
    [USER=1731]KiLLi[/USER]nc        INT,
    [USER=401081]Death[/USER]Inc        INT,
    [USER=2000229413]Playtime[/USER]Inc    INT
AS BEGIN
    SET NOCOUNT ON;
DECLARE @ECoins int
DECLARE [USER=420555]Aid[/USER] int
SELECT [USER=420555]Aid[/USER]=AID FROM Character(nolock) WHERE CID = [USER=369615]Cid[/USER]

SELECT @ECoins = [USER=1731]KiLLi[/USER]nc * 1 
    UPDATE    dbo.Character
    SET        XP = XP + (@XPInc)
            , BP = BP + (@BPInc)
            , KillCount = KillCount +  [USER=1731]KiLLi[/USER]nc)
            , DeathCount = DeathCount +  [USER=401081]Death[/USER]Inc)
            , PlayTime = PlayTime +  [USER=2000229413]Playtime[/USER]Inc)
    WHERE    CID = [USER=369615]Cid[/USER];


UPDATE Account 
SET KillCoins=KillCoins+(@ECoins) 
WHERE AID [USER=420555]Aid[/USER]

END

Thanks man jorklenis2
 
Upvote 0
Back
Top