USE [PS_UserData]
GO
/****** Object: StoredProcedure [dbo].[usp_Try_GameLogout_R] Script Date: 05/31/2012 13:04:51 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
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 +5
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
why dont you use it and see ? ;0
its easy only wait for one minute and see if it increased by 5 or not
ok so i have tryied +1 and +5 never wants to take effect something is wrong where it hates my server rofl wanna help me out ep 5database need this to work rofl
go PS_UserData > Programability > StoredProcedure > click right on USP_Try_GameLogout_R and "Modify" or "Design" (depends of your sql version) where is
Quote:
SET point=point
change with
Quote:
SET point=point +1
Next time use SEARCH BUTTON all is here.
[help] Experience table correction 02/08/2011 - Shaiya Private Server - 4 Replies Plz help me to create my own table of experience.
What should be corrected?
the situation is:
I've download many versions of servers & unfortunately install the version with extremely high rate (about 100)
(trigger on mgr set on /exp2xdisabled)
table PS_gamedefs\dbo.ExpDefs have a strange values (too low at my opinion)
table values by levels HM/UM:
1-10
2-15
correction of the legion? 01/17/2008 - EO PServer Hosting - 0 Replies somebody can postar the correction of the legion? please I beg debtor :)
lil correction on 4337 patch 01/23/2007 - Conquer Online 2 - 6 Replies I c u all getting really pissed/andy/upset after this patch.
BUT the db xp thing works diffrent than u think (i tried)
my char was Lvl 128 07,743 pct , than i made this "quest"
and my char gained only ~30,100 pct and i was STILL 128 but 38,843 pct
so this "quest" dosent work like gib me 2 db ull get new lvl