Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12.04.2007, 12:25   #10
-sky-
Архивный участник
 
Join Date: Apr 2005
Posts: 15
Default

2 .... (but in console Authd: "Fetch error -1" when login).

Replace (in authd.exe):
SELECT user_data FROM user_data WITH (nolock) WHERE uid = %d
=>
EXEC ap_Online %d

Code:
CREATE PROCEDURE [dbo].[ap_Online] 
@uid int
AS
SET NOCOUNT ON

UPDATE user_account SET online=1 WHERE uid=@uid

SET NOCOUNT OFF

SELECT user_data FROM user_data with (nolock) WHERE  uid=@uid 

GO
and check user_data table

3. ...thats all. if you can optimized it and/or can add some stuff for it, or you known how to do this better => plz post it there!

allow using xp_cmdshell is a big security hole, use mssql external proc
Code:
exec sp_l2kick @char_id
im to lazy to add extra params for this function its just connect to 127.0.0.1 2012 and kick char... no need xp_cmdshell and php script...

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
sp_l2kick.zip — 1782 байт
-sky- is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:22.