USE [CHARACTER_01_DBF]
GO
/****** Object: StoredProcedure [dbo].[LoadSiegeRanking] Script Date: 06/01/2014 22:02:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[LoadSiegeRanking]
@dex char(2)
as
set nocount on
set xact_abort on
select szName, idPlayer, nJob, nKills, nDeaths, nPoints
from PlayerWar_TBL
where serverindex = @dex
return
GO
/****** Object: StoredProcedure [dbo].[uspSaveSiegeUser] Script Date: 06/01/2014 22:02:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create proc [dbo].[uspSaveSiegeUser]
@dex char(2), @ame char(32),
@idPlayer char(7),
@b int,
@nPoints int,
@lls int, @s int
as
set nocount on
set xact_abort on
if not exists( select * from PlayerWar_TBL where idPlayer = @idPlayer and serverindex = @dex)
begin
insert PlayerWar_TBL ( serverindex, szName, idPlayer, nJob, nPoints, nKills, nDeaths )
values @dex, @ame, @idPlayer, @b, @nPoints, @lls, @s )
end
else
begin
update PlayerWar_TBL
set serverindex = @dex, szName = @ame,
idPlayer = @idPlayer,
nJob = @b,
nPoints = @nPoints,
nKills = @lls, nDeaths = @s
where serverindex = @dex
and idPlayer = @idPlayer
end
GO
/****** Object: Table [dbo].[PlayerWar_TBL] Script Date: 06/01/2014 22:02:13 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[PlayerWar_TBL](
[serverindex] [char](2) COLLATE Latin1_General_CI_AS NULL,
[szName] [varchar](32) COLLATE Latin1_General_CI_AS NULL,
[idPlayer] [char](7) COLLATE Latin1_General_CI_AS NULL,
[nJob] [int] NULL,
[nKills] [int] NULL,
[nDeaths] [int] NULL,
[nPoints] [int] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
FFA or Deathmatch or something like that ? Tell me exactly what you need ^^
Actually both. ^^
Quote:
Originally Posted by xRageee
USE [CHARACTER_01_DBF]
GO
/****** Object: StoredProcedure [dbo].[LoadSiegeRanking] Script Date: 06/01/2014 22:02:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[LoadSiegeRanking]
@dex char(2)
as
set nocount on
set xact_abort on
select szName, idPlayer, nJob, nKills, nDeaths, nPoints
from PlayerWar_TBL
where serverindex = @dex
return
GO
/****** Object: StoredProcedure [dbo].[uspSaveSiegeUser] Script Date: 06/01/2014 22:02:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create proc [dbo].[uspSaveSiegeUser]
@dex char(2),
@ame char(32),
@idPlayer char(7),
@b int,
@nPoints int,
@lls int,
@s int
as
set nocount on
set xact_abort on
if not exists( select * from PlayerWar_TBL where idPlayer = @idPlayer and serverindex = @dex)
begin
insert PlayerWar_TBL ( serverindex, szName, idPlayer, nJob, nPoints, nKills, nDeaths )
values @dex, @ame, @idPlayer, @b, @nPoints, @lls, @s )
end
else
begin
update PlayerWar_TBL
set serverindex = @dex,
szName = @ame,
idPlayer = @idPlayer,
nJob = @b,
nPoints = @nPoints,
nKills = @lls,
nDeaths = @s
where serverindex = @dex
and idPlayer = @idPlayer
end
GO
/****** Object: Table [dbo].[PlayerWar_TBL] Script Date: 06/01/2014 22:02:13 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[PlayerWar_TBL](
[serverindex] [char](2) COLLATE Latin1_General_CI_AS NULL,
[szName] [varchar](32) COLLATE Latin1_General_CI_AS NULL,
[idPlayer] [char](7) COLLATE Latin1_General_CI_AS NULL,
[nJob] [int] NULL,
[nKills] [int] NULL,
[nDeaths] [int] NULL,
[nPoints] [int] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
I will try this DB Code after work. Thank you in advance.
[PROBLEM]HATCHERY PROBLEM[PROBLEM] 07/27/2013 - Facebook - 8 Replies GUYS I HAVE 3 HATCHERY IN MY ISLAND I WANT TO DELETE THE 2 I CLICK THE REMOVE TOOL THEN CLICK ON THE HATCHERY THEN NOTHING HAPPENS HELP??
THANKS
=)
[problem] IB problem 05/11/2008 - Flyff - 2 Replies Hi ,
i have problem with IB when i click on this its load the game guard and then
Disappear , someone know what the problem?
its in the flyff folder i just dont know what the problem whay its disappear ,
Thnx.
[Problem] Server Inspection Problem 05/01/2008 - Silkroad Online - 1 Replies Hi, By the update of 1.145 I get the error "The servers is undergoing inspection or updates. Connect to htpp://www.silkroadonline.net for more information." I reinstall the game but I get the same error. And the servers are open! Who can help me. Thank You
Problem with Infinty/ Problem mit Infinity 04/14/2008 - Dekaron - 1 Replies Hey guys, i donwloadet Infinity from this site http://www.gametribe.com/.
K i installed this game and now if i try to start is i get an error message:
The game security module update has failed
How i can fix this problem, i wont to play it.
Ps. I postet it here becoz its the same producer like Dekaronīs
Hi Leute, ich hab mir Infinty gedownloadet von http://www.gametribe.com/ und hab es auch installiert, doch jedes mal wenn ich das spiel starten will bekomm ich diesen Fehler: The...