decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
14
decomp/schema/RustyHearts_Auth/procs/up_save_server_info.sql
Normal file
14
decomp/schema/RustyHearts_Auth/procs/up_save_server_info.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
CREATE procedure [dbo].[up_save_server_info]
|
||||
@auth_id uniqueidentifier,
|
||||
@real_ip varchar(16),
|
||||
@server_ip varchar(16),
|
||||
@host_id int,
|
||||
@ServerType char(2),
|
||||
@ServerID int
|
||||
as
|
||||
set nocount on
|
||||
|
||||
update AuthTable set [online]='1',[world_id]=@ServerID, [IP] = @real_ip, [ServerIP] = @server_ip, [ServerType]=@ServerType, [HostID]=@host_id from AuthTable where AuthID = @auth_id
|
||||
|
||||
return @@error
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue