Top posters
Regi (653) | ||||
sevenfoldism17 (569) | ||||
RF.DG (540) | ||||
KSS (490) | ||||
Chenova (488) | ||||
meylan (484) | ||||
[PS]Revandy (469) | ||||
ojan (400) | ||||
McMonk (386) | ||||
Armand (361) |
[Release] AutoCashPoint new version with All Character fix get Regen Cash
4 posters
Page 1 of 1
[Release] AutoCashPoint new version with All Character fix get Regen Cash
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.
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:
- I release it because I am not use this way again, I am already put this features to my Module protection.
so I release this way to public.
This version for fix issue about some character cannot have cashpoint regeneration because have lower timeplay than other character in one account.
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- 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 : Jln.Kramat.Pulo
Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash
hadehhh
hargai hargaiiiiiii....
creditnya di delete
hargai hargaiiiiiii....
creditnya di delete
apriliodiko- 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 : Indonesia
Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash
ini adalah buatan " HANRY ROSLAW "
Dasar TS Goblok
Dasar TS Goblok
Re: [Release] AutoCashPoint new version with All Character fix get Regen Cash
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
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
- 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 : aceh
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum