Register for your free account! | Forgot your password?

You last visited: Today at 23:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



DB Problem

Discussion on DB Problem within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 482
Received Thanks: 218
DB Problem

CHARACTER_01_DBF.dbo.LoadSiegeRanking('01')

anyone has a DB Code for that? Thank you in advance.
Burdenz2007 is offline  
Old 09/28/2017, 20:11   #2



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,219
FFA or Deathmatch or something like that ? Tell me exactly what you need ^^
- DK is offline  
Old 09/28/2017, 23:13   #3
 
elite*gold: 0
Join Date: May 2017
Posts: 44
Received Thanks: 19
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
xRageee is offline  
Old 09/29/2017, 04:08   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 482
Received Thanks: 218
Quote:
Originally Posted by DK ACE View Post
FFA or Deathmatch or something like that ? Tell me exactly what you need ^^
Actually both. ^^

Quote:
Originally Posted by xRageee View Post
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.
Burdenz2007 is offline  
Reply


Similar Threads Similar Threads
[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...



All times are GMT +1. The time now is 23:14.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.