Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 20.04.2007, 19:01   #1
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default [Help] ap_LogOutWithPoint

Anyone has the stored proc ap_LogOutWithPoint? Dunno which db it's from, but authd makes call to it. I wanna know what it is, If you have it, please contact me.
Thanks.
tpuNIsher is offline  
Old 21.04.2007, 06:19   #2
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

I've seen the red errors as well in authd, I would imagine that the proc is in lin2db all the other ap_ procs are there.

I would imagine it's updating x, y, z for the character, I haven't been able to find it either, but if that's what it's doing it shouldn't be too hard to write.
khelben is offline  
Old 21.04.2007, 06:53   #3
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

I'm gonna try to write something with it later, see if it works out.
tpuNIsher is offline  
Old 21.04.2007, 08:42   #4
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

it appears only when you close the auth server while it had connected a l2server, next you run auth server again, the l2server reconnect to auth and does a global login with all the character that had logged in in l2server, the auth server allow the reloggin of all character but it begins to shows errors with the ap_LogOutWithPoint procedure and others.
MuNLoK is offline  
Old 23.04.2007, 11:46   #5
RetaL
Архивный участник
 
Join Date: Mar 2006
Posts: 53
Default

Well,it's not a fix tho,but it stopped showing those errors.It's a lin2db procedure.
Code:
set ANSI_NULLS ON
GO

ALTER PROCEDURE [dbo].[ap_LogoutWithPoint]
@block_end_date datetime,
@last_login datetime,
@last_logout datetime
AS
SELECT 0
RetaL is offline  
Old 24.04.2007, 05:13   #6
rayovac
Архивный участник
 
Join Date: Apr 2007
Posts: 17
Default

I got a message into authd window complaining about a not alowed implicit conversion between datetime and int.

I mean it happens because the procedure is called whith one of its parameters typed as datetime. (In my case the second one)
Just change the parameter type to datetime as RetaL did and sql server will stop complaining about that.
In my case i only change the second parameter and the procedure do absolutely nothing as i dont know what is supposed to do.
Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER PROCEDURE [dbo].[ap_LogoutWithPoint] @uid int, @time datetime, @point int
AS
If anybody knows how it would work please tell us to write it propperly.
rayovac is offline  
Old 24.04.2007, 11:25   #7
RetaL
Архивный участник
 
Join Date: Mar 2006
Posts: 53
Default

Quote:
Originally Posted by rayovac View Post
I got a message into authd window complaining about a not alowed implicit conversion between datetime and int.

I mean it happens because the procedure is called whith one of its parameters typed as datetime. (In my case the second one)
Just change the parameter type to datetime as RetaL did and sql server will stop complaining about that.
In my case i only change the second parameter and the procedure do absolutely nothing as i dont know what is supposed to do.
Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER PROCEDURE [dbo].[ap_LogoutWithPoint] @uid int, @time datetime, @point int
AS
If anybody knows how it would work please tell us to write it propperly.
Well,I used profiler to see how it writes the procedure,it looked like
exec ap_LogoutWithPoint "","date/time","date/time"
RetaL is offline  
 


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 17:39.