|
You last visited: Today at 03:07
Advertisement
How to add 1 AP Per Min the removed
Discussion on How to add 1 AP Per Min the removed within the Shaiya PServer Development forum part of the Shaiya Private Server category.
06/17/2013, 09:52
|
#1
|
elite*gold: 0
Join Date: Mar 2013
Posts: 20
Received Thanks: 0
|
How to add 1 AP Per Min the removed
Hi Friends "How to add 1 AP Per Min" Subject removed, can send me the codes?
|
|
|
06/17/2013, 17:56
|
#2
|
elite*gold: 0
Join Date: Jan 2013
Posts: 147
Received Thanks: 174
|
Here execute this code..
Code:
USE [PS_UserData]
GO
/****** Object: StoredProcedure [dbo].[usp_Try_GameLogout_R] Script Date: 08/12/2011 23:16:34 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/****** Object: Stored Procedure dbo.usp_Try_GameLogout_R Script Date: 2008-6-7 18:34:05 ******/
ALTER Proc [dbo].[usp_Try_GameLogout_R]
/*
Created by humanws, 2005-10-18
???? ?? ??
*/
@UserUID int,
@SessionID bigint,
@LogoutType smallint = 0,
@ErrType int = 0
AS
SET NOCOUNT ON
DECLARE @LogTime datetime
DECLARE @Sql nvarchar(4000)
DECLARE @yyyy varchar(4)
DECLARE @mm varchar(2)
DECLARE @dd varchar(2)
DECLARE @LogType bit -- Login:0, Logout:1
SET @LogType = 1
SET @LogTime = GETDATE()
SET @yyyy = DATEPART(yyyy, @LogTime)
SET @mm = DATEPART(mm, @LogTime)
SET @dd = DATEPART(dd, @LogTime)
IF( LEN(@mm) = 1 )
BEGIN
SET @mm = '0' + @mm
END
IF( LEN(@dd) = 1 )
BEGIN
SET @dd = '0' + @dd
END
SET @Sql = N'
INSERT INTO PS_GameLog.dbo.UserLog
(SessionID, UserUID, LogType, LogTime, LogoutType, ErrType)
VALUES(@SessionID, @UserUID, @LogType, @LogTime, @LogoutType, @ErrType)'
EXEC sp_executesql @Sql,
N'@SessionID bigint, @UserUID int, @LogType bit, @LogTime datetime, @LogoutType smallint, @ErrType int',
@SessionID, @UserUID, @LogType, @LogTime, @LogoutType, @ErrType
update PS_userdata.dbo.UserLoginStatus
set loginstatus=0,LogoutTime=@LogTime,LogoutSession=@SessionID,LastPlayTime=datediff(minute,LoginTime,@LogTime)
where useruid=@useruid
DECLARE @LoginTime datetime
DECLARE @LastPlayTime int
DECLARE @OldPoint int
DECLARE @LoginSession bigint
SET @LoginSession=(select LoginSession from PS_userdata.dbo.UserLoginStatus where useruid=@useruid)
SET @LastPlayTime=(select LastPlayTime from PS_userdata.dbo.UserLoginStatus where useruid=@useruid)
SET @LoginTime=(select LoginTime from PS_userdata.dbo.UserLoginStatus where useruid=@useruid)
SET @OldPoint=(select Point from PS_userdata.dbo.Users_Master where useruid=@useruid)
IF (@SessionID=@LoginSession)
BEGIN
Update PS_userdata.dbo.Users_Master
SET point=point
WHERE useruid=@useruid
INSERT INTO PS_userdata.dbo.UserOnlineTimeLog(UserUid,OldPoint,Addpoint,LoginTime,LogoutTime,SessionID)
values(@UserUid,@OldPoint,@LastPlayTime,@LoginTime,@LogTime,@SessionID)
end
SET NOCOUNT OFF
|
|
|
06/16/2014, 18:26
|
#3
|
elite*gold: 0
Join Date: Jan 2014
Posts: 22
Received Thanks: 0
|
how to change time?
|
|
|
06/20/2014, 19:03
|
#4
|
elite*gold: 246
Join Date: Dec 2010
Posts: 33,476
Received Thanks: 6,059
|
Shaiya Private Server -> Shaiya PServer Development
#moved
|
|
|
01/11/2019, 00:04
|
#5
|
elite*gold: 0
Join Date: Aug 2018
Posts: 5
Received Thanks: 0
|
how to change time exemple 2 hour reward ap
|
|
|
Similar Threads
|
VPS 7/24 NO LAG REMOVED RANK DONATE 5095 Client No ninja Removed Thunder hercul EASY.
08/23/2012 - CO2 PServer Archive - 5 Replies
Server Features;
►Specifications :-
● Client Version 5095
● VPS HOSTED
● 97% Bugless
►Features :-
|
removed
07/09/2012 - WarRock Hacks, Bots, Cheats & Exploits - 3 Replies
#removed
Update Log
|6.25.12| - Initial Release
|7.2.12| - Fixed Some Bugs
|7.6.12| - Updated!
Credits
UnknownPK
ELExTrO
|
removed
06/25/2011 - WarRock - 3 Replies
#removed
|
Multi Client [5027+] ~Chat Filter removed~ - ~Popup removed~
07/04/2008 - CO2 Exploits, Hacks & Tools - 26 Replies
Extract CO-XXXX.rar into Conquer 2.0 Folder.
Put the CO-XXXX.exe into your Conquer Folder and open it.
Install all into normal Conquer Folder.
You get:
-Multi Client
-No Popups on close
-No * if u say an Badword :)
|
All times are GMT +1. The time now is 03:09.
|
|