|
You last visited: Today at 09:33
Advertisement
Staffonline php
Discussion on Staffonline php within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.
08/11/2013, 04:58
|
#1
|
elite*gold: 0
Join Date: Feb 2010
Posts: 97
Received Thanks: 100
|
Staffonline php
Staffonline
thank costs nothing
please do not criticize because I am human and I'm not perfect.
[Credits]
elitepvpers
Community shaiya
|
|
|
08/11/2013, 14:01
|
#2
|
elite*gold: 6
Join Date: Oct 2011
Posts: 914
Received Thanks: 421
|
Good to see, that the Shaiya Community is involving
Keep it up
|
|
|
08/14/2013, 03:42
|
#3
|
elite*gold: 0
Join Date: Jan 2013
Posts: 343
Received Thanks: 137
|
Wow, nice jobb!
|
|
|
08/14/2013, 04:50
|
#4
|
elite*gold: 0
Join Date: Feb 2010
Posts: 97
Received Thanks: 100
|
if you know thank looked perhaps continue to share my stuff because they share everything meresen elitepvpers and thanks to others who share without them we are nothing xD
|
|
|
12/13/2013, 09:37
|
#5
|
elite*gold: 0
Join Date: Dec 2013
Posts: 8
Received Thanks: 3
|
Thanks much! I will use too
|
|
|
12/13/2013, 22:15
|
#6
|
elite*gold: 0
Join Date: Feb 2011
Posts: 295
Received Thanks: 18
|
thx, but when i logged in and look at the script, the status is empty not on, and i have made the one by the chars.
what should I do so on the status is displayed?
|
|
|
12/15/2013, 02:40
|
#7
|
elite*gold: 0
Join Date: Feb 2011
Posts: 295
Received Thanks: 18
|
anyone can help?
|
|
|
12/19/2013, 20:33
|
#8
|
elite*gold: 0
Join Date: Feb 2010
Posts: 97
Received Thanks: 100
|
for reasons not much English I find it hard to help sorry
|
|
|
12/20/2013, 00:54
|
#9
|
elite*gold: 0
Join Date: Jan 2013
Posts: 343
Received Thanks: 137
|
Che, me podes sacar una duda?
Teniendo IIS como servicio web me funcionaba perfecto, ahora estoy usando XAMPP, hago todo,pero entro en la pagina, y da en blanco.. Alguna idea?
|
|
|
12/20/2013, 03:54
|
#10
|
elite*gold: 0
Join Date: Feb 2010
Posts: 97
Received Thanks: 100
|
por que esta en ssql y tienes que ir a php.ini y habilitar la linea de ssql pero no se si la nuevas versiones mas recientes de xampp trabajen ssql
|
|
|
01/17/2014, 17:31
|
#11
|
elite*gold: 0
Join Date: Feb 2013
Posts: 17
Received Thanks: 13
|
Hello to everyone, i`ve been tested this script and it seems like i have some error the point of it should be this one:
• LoginStatus Error ( i`m wonder how can i fix LoginStatus on my server cuz already Players Online still dosent work for me and it should be the same problem for this script also.
If anyone has any answer and fix for this please leave an reply here thank you.
|
|
|
01/17/2014, 19:16
|
#12
|
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
|
Quote:
Originally Posted by DemiGod ツ™
Hello to everyone, i`ve been tested this script and it seems like i have some error the point of it should be this one:
• LoginStatus Error ( i`m wonder how can i fix LoginStatus on my server cuz already Players Online still dosent work for me and it should be the same problem for this script also.
If anyone has any answer and fix for this please leave an reply here thank you.
|
Use this query
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.Chars ADD
LoginStatus tinyint NOT NULL CONSTRAINT DF_Chars_LoginStatus DEFAULT 0
GO
COMMIT
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER Proc [dbo].[usp_Read_Chars_Detail2_R]
@CharID int
AS
SET NOCOUNT ON
DECLARE @UserUID int
DECLARE @Money bigint
DECLARE @GuildID int
DECLARE @GuildLevel tinyint
DECLARE @UID varchar (18)
-- 2005-12-30 스탯,스킬 이벤트관련...
DECLARE @Event1 tinyint
DECLARE @Event2 tinyint
--
SET @Money = 0
SET @UserUID = (SELECT UserUID FROM Chars WHERE CharID = @CharID)
SET @GuildID = (SELECT GuildID FROM GuildChars WHERE CharID = @CharID AND Del = 0)
IF(@UserUID IS NOT NULL)
BEGIN
SET @Money = (SELECT ISNULL([Money], 0) FROM UserStoredMoney WHERE UserUID = @UserUID)
END
ELSE
BEGIN
SET @Money = 0
END
IF(@GuildID IS NOT NULL)
BEGIN
SET @GuildLevel = (SELECT GuildLevel FROM GuildChars WHERE CharID = @CharID AND Del = 0)
END
ELSE
BEGIN
SET @GuildID = 0
SET @GuildLevel = 0
END
-- 2005-12-30 스탯,스킬 이벤트관련...
SELECT @Event1=Event1, @Event2=Event2 FROM CharEvents WHERE CharID=@CharID
--
SELECT UserUID, CharID, CharName, Slot, Family, Grow, Hair, Face, [Size], Job, Sex, [Level],
StatPoint AS DistPoint, SkillPoint, [Str], Dex, Rec, [Int], Luc, Wis, HP, MP, SP, Map, Dir, [Exp], [Money],
PosX, PosY, PosZ, Hg, Vg, Cg, Og, Ig, Del, K1, K2, K3, K4, @Money AS StoredMoney, @GuildID AS GuildID, @GuildLevel AS GuildLevel,
-- 전투공로관 보상레벨
KillLevel, DeadLevel,
--
-- 스탯,스킬 이벤트관련...
@Event1, @Event2,
--
DATEPART(yyyy, LeaveDate) AS LeaveDate_YYYY,
DATEPART(mm, LeaveDate) AS LeaveDate_MM,
DATEPART(dd, LeaveDate) AS LeaveDate_DD,
DATEPART(hh, LeaveDate) AS LeaveDate_HH,
DATEPART(mi, LeaveDate) AS LeaveDate_MI,
DATEPART(ss, LeaveDate) AS LeaveDate_SS
--
FROM Chars WHERE CharID = @CharID
-- 접속시간 기록
UPDATE Chars SET JoinDate=GETDATE(), LoginStatus = 1 WHERE CharID=@CharID
SELECT @UID=UserID FROM CHARS WHERE CharID=@CharID
UPDATE Chars SET LoginStatus = 0 WHERE (CharID<>@CharID) AND (UserID=@UID)
--
SET NOCOUNT OFF
SET QUOTED_IDENTIFIER OFF
SET ANSI_NULLS OFF
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER Proc [dbo].[usp_Save_Char_LeaveDate_R]
@CharID int
AS
SET NOCOUNT ON
-- 종료시간 기록
UPDATE Chars SET LeaveDate=GETDATE(), LoginStatus=0 WHERE CharID=@CharID
SET NOCOUNT OFF
SET QUOTED_IDENTIFIER OFF
SET ANSI_NULLS OFF
|
|
|
01/17/2014, 21:13
|
#13
|
elite*gold: 0
Join Date: Feb 2011
Posts: 295
Received Thanks: 18
|
for me it is not displayed online, so that the png file, although I'm Online
|
|
|
01/17/2014, 23:01
|
#14
|
elite*gold: 0
Join Date: Feb 2013
Posts: 17
Received Thanks: 13
|
Alright all fixed already:
• Players Online fixed and work perfectly
• LoginStatus Fixed (i had to update my table`s)
• And Staff Online Script has been fixed and work
Thank you for the help everyone and for this great script release you are awesome
|
|
|
01/18/2014, 00:56
|
#15
|
elite*gold: 0
Join Date: Feb 2011
Posts: 295
Received Thanks: 18
|
can you pls upload your files here?
|
|
|
All times are GMT +2. The time now is 09:33.
|
|