RF Private Server Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Top posters
Regi (653)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
sevenfoldism17 (569)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
RF.DG (540)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
KSS (490)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
Chenova (488)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
meylan (484)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
[PS]Revandy (469)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
ojan (400)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
McMonk (386)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 
Armand (361)
[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_lcap[Release] AutoCashPoint new version with All Character fix get Regen Cash I_voting_bar[Release] AutoCashPoint new version with All Character fix get Regen Cash I_vote_rcap 

Advertisement
Valery

- Vote for us.

RF Online

[Release] AutoCashPoint new version with All Character fix get Regen Cash

4 posters

Go down

[Release] AutoCashPoint new version with All Character fix get Regen Cash Empty [Release] AutoCashPoint new version with All Character fix get Regen Cash

Post by called'me rz Mon Jun 29, 2015 5:33 pm

Auto Cash Point by TimePlay new version All Character in one account will get regen cash even that character have Timeplay lower than other character.


Auto cashpoint oleh TimePlay versi baru
Semua Karakter dalam satu akun akan mendapatkan uang tunai regen bahkan karakter yang memiliki Timeplay lebih rendah dari karakter lain.


Notes:

Silahkan Ikutin langkah saya gan :D

1.Create new column on your tbl_base

Code : wrote:
-- ================================================
-- Pembuat : HANRY ROSLAW
-- Dibuat Tanggal : <13 April 2014>
-- Keterangan :
-- ================================================

ALTER TABLE [dbo].[tbl_base]
ADD LogPlay INT NOT NULL DEFAULT ((0))

2. Create new procedure on your RF_World database

Code : wrote:USE [RF_World]

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

-- ================================================
-- Pembuat : HANRY ROSLAW
-- Dibuat Tanggal : <13 April 2014>
-- Keterangan :
-- ================================================

CREATE PROCEDURE [dbo].[pUpdate_RoslawBase]
@serial INT,
@logPlay INT
AS
BEGIN

SET NOCOUNT ON

UPDATE [dbo].[tbl_base]
SET LogPlay = @logPlay
WHERE Serial = @serial

END
GO

3. Create new procedure on your BILLING Database

Code : wrote:USE [Billing]

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

-- ================================================
-- Pembuat : HANRY ROSLAW
-- Dibuat Tanggal : <13 April 2014>
-- Keterangan :
-- ================================================

CREATE PROCEDURE [dbo].[RF_AutocashRoslaw]
@id VARCHAR(17),
@cash INT
AS
BEGIN

SET NOCOUNT ON

UPDATE [dbo].[tbl_UserStatus]
SET Cash = (Cash + @cash)
WHERE id = @id

END
GO

4. Create new Triger on your tbl_general

Code : wrote:USE [RF_World]

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

-- ================================================
-- Pembuat :
-- Dibuat Tanggal : <13 April 2014>
-- Keterangan :
-- ================================================

CREATE TRIGGER [dbo].[AutocashRoslaw]
ON [dbo].[tbl_general]
FOR UPDATE
AS
BEGIN

SET NOCOUNT ON

DECLARE @GSerial INT
DECLARE @GDCK BIT
DECLARE @GPlay INT

DECLARE @BSerial INT
DECLARE @BDCK BIT
DECLARE @BAccount VARCHAR(17)
DECLARE @BPlay INT

DECLARE @regencash INT

IF UPDATE(TotalPlayMin)
BEGIN
SELECT @GSerial = Serial, @GDCK = DCK, @GPlay = TotalPlayMin FROM INSERTED
IF (@GSerial > 0 AND @GDCK = 0)
BEGIN
SELECT @BSerial = Serial, @BDCK = DCK, @BAccount = Account, @BPlay = LogPlay FROM [dbo].[tbl_base] WHERE Serial = @GSerial
IF (@BSerial > 0 AND @BDCK = 0)
BEGIN
SELECT @regencash = ((@GPlay-@BPlay)*60)
IF  @regencash > 0)
BEGIN
EXEC [Billing].[dbo].[RF_AutocashRoslaw] @id = @BAccount, @cash = @regencash
EXEC [RF_World].[dbo].[pUpdate_RoslawBase] @serial = @GSerial, @logPlay = @GPlay
END
END
END
END

END
GO

Author @HANRY ROSLAW


Last edited by Regi on Thu Aug 06, 2015 11:07 am; edited 1 time in total (Reason for editing : JANGAN HILANGIN CREDIT GOBLOK !!!)
called'me rz
called'me rz

Why did you join in here? : iseng
Jumlah Posting : 1
Your Birthday : ) : 1996-10-07
Age  ( Umur )   : 28
Sign up at   : 2015-06-29
Home   Home   : Jln.Kramat.Pulo

Back to top Go down

[Release] AutoCashPoint new version with All Character fix get Regen Cash Empty Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash

Post by apriliodiko Tue Jun 30, 2015 9:00 am

hadehhh

hargai hargaiiiiiii....
creditnya di delete
Cape Dech :p Cape Dech :p

apriliodiko
Member
Member

Why did you join in here? : Share RF Online
Jumlah Posting : 12
Your Birthday : ) : 1995-04-18
Age  ( Umur )   : 29
Sign up at   : 2014-08-21
Home   Home   : Indonesia

Back to top Go down

[Release] AutoCashPoint new version with All Character fix get Regen Cash Empty Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash

Post by Regi Thu Aug 06, 2015 11:07 am

ini adalah buatan " HANRY ROSLAW "


Dasar TS Goblok
Regi
Regi
The Founder
The Founder

Why did you join in here? : ..
Jumlah Posting : 653
Your Birthday : ) : 1994-03-18
Age  ( Umur )   : 30
Sign up at   : 2010-07-27
Home   Home   : Medan

http://www.rf-ps.com

Back to top Go down

[Release] AutoCashPoint new version with All Character fix get Regen Cash Empty Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash

Post by fandi213 Thu Aug 13, 2015 5:12 pm

RF FEAR 2232 SEMI PVP SERVER !! UDA RESMI DI BUKA MASUK GUYS !!
UP !! ayo join guys, rame in, sensasi RF semi pvp kayak dlu , yg talic dan t4 nya perlu farming dll ..
web :http://rf-fear.ga
register : [You must be registered and logged in to see this link.]
download : [You must be registered and logged in to see this link.] Lihat Selengkapnya
Home | RF - FEAR
Home - Official International RF - FEAR Website, Join now with us only at RF - FEAR play for free!
rf-fear.ga|Oleh RF - FEAR - Private Server Indonesia

fandi213
Member
Member

Why did you join in here? : tertarik
Jumlah Posting : 17
Your Birthday : ) : 1991-04-11
Age  ( Umur )   : 33
Sign up at   : 2011-12-22
Home   Home   : aceh

Back to top Go down

[Release] AutoCashPoint new version with All Character fix get Regen Cash Empty Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum