Zitat von TwiLight;115125Das is ne Table, du Idiot.
Nehmt doch einfach die V15 Datenbank von Ankashi, zomfg ~~
Jetzt denk doch mal selber nach in der Table wird geregelt wann Lord gewählt werden kann
Zitat von TwiLight;115125Das is ne Table, du Idiot.
Nehmt doch einfach die V15 Datenbank von Ankashi, zomfg ~~
Jetzt denk doch mal selber nach in der Table wird geregelt wann Lord gewählt werden kann
Zitat von Darki1;115149Jetzt denk doch mal selber nach in der Table wird geregelt wann Lord gewählt werden kann
Hast völlig Recht Twilight Owned :P
@Twilight
ZitatDas is ne Table, du Idiot.
Nehmt doch einfach die V15 Datenbank von Ankashi, zomfg ~~
Musst hier keine als Idioten bezeichen..
Hier den kannste beleidigen:
Motbot Dein Chat Freund <-- Der hat immer Zeit und ist immer Online!Ich glaube er steht auf Twilights!
Push Problem besteht immer noch !
PUSH -.-
Das giebt es doch nicht keiner hat eine ahnung?
Pushhhh
Zitat von Darki1;115149Jetzt denk doch mal selber nach in der Table wird geregelt wann Lord gewählt werden kann
Das wird in der election.inc geregelt.
@Doubleowned.
USE [CHARACTER_01_DBF]
GO
/****** Object: Table [dbo].[tblElection] Script Date: 05/01/2010 14:44:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tblElection](
[s_week] [char](6) NULL,
[chrcount] [int] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[tblElection] ADD CONSTRAINT [DF_tblElection_chrcount] DEFAULT ((0)) FOR [chrcount]
GO
/****** Object: Table [dbo].[tblLord] Script Date: 05/01/2010 14:45:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblLord](
[nServer] [int] NOT NULL,
[idElection] [int] NOT NULL,
[idLord] [int] NOT NULL,
[s_date] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tblLord] ADD CONSTRAINT [DF_tblLod_s_date] DEFAULT (getdate()) FOR [s_date]
GO
/****** Object: Table [dbo].[tblLordCandidates] Script Date: 05/01/2010 14:45:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tblLordCandidates](
[nServer] [int] NOT NULL,
[idElection] [int] NOT NULL,
[idPlayer] [int] NOT NULL,
[iDeposit] [bigint] NOT NULL,
[nVote] [int] NOT NULL,
[szPledge] [varchar](255) NOT NULL,
[IsLeftOut] [char](1) NOT NULL,
[s_date] [datetime] NULL,
[tCreate] [int] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_iDeposit] DEFAULT ((0)) FOR [iDeposit]
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_nVote] DEFAULT ((0)) FOR [nVote]
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_szPledge] DEFAULT ('') FOR [szPledge]
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_IsLeftOut] DEFAULT ('F') FOR [IsLeftOut]
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_s_date] DEFAULT (getdate()) FOR [s_date]
GO
ALTER TABLE [dbo].[tblLordCandidates] ADD CONSTRAINT [DF_tblLordCandidates_tCreate] DEFAULT ((0)) FOR [tCreate]
GO
/****** Object: Table [dbo].[tblLordElection] Script Date: 05/01/2010 14:45:38 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tblLordElection](
[nServer] [int] NOT NULL,
[idElection] [int] NOT NULL,
[eState] [int] NOT NULL,
[s_date] [datetime] NULL,
[szBegin] [varchar](16) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[tblLordElection] ADD CONSTRAINT [DF_tblLordElection_s_date] DEFAULT (getdate()) FOR [s_date]
GO
/****** Object: Table [dbo].[tblLordElector] Script Date: 05/01/2010 14:45:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblLordElector](
[nServer] [int] NOT NULL,
[idElection] [int] NOT NULL,
[idElector] [int] NOT NULL,
[s_date] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tblLordElector] ADD CONSTRAINT [DF_tblLordElector_s_date] DEFAULT (getdate()) FOR [s_date]
GO
/****** Object: Table [dbo].[tblLordEvent] Script Date: 05/01/2010 14:46:07 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblLordEvent](
[nServer] [int] NOT NULL,
[idPlayer] [int] NOT NULL,
[nTick] [int] NOT NULL,
[fEFactor] [float] NOT NULL,
[fIFactor] [float] NOT NULL,
[s_date] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tblLordEvent] ADD CONSTRAINT [DF_tblLordEvent_nTick] DEFAULT ((0)) FOR [nTick]
GO
ALTER TABLE [dbo].[tblLordEvent] ADD CONSTRAINT [DF_tblLordEvent_fEFactor] DEFAULT ((0.0)) FOR [fEFactor]
GO
ALTER TABLE [dbo].[tblLordEvent] ADD CONSTRAINT [DF_tblLordEvent_fIFactor] DEFAULT ((0.0)) FOR [fIFactor]
GO
ALTER TABLE [dbo].[tblLordEvent] ADD CONSTRAINT [DF_tblLordEvent_s_date] DEFAULT (getdate()) FOR [s_date]
GO
/****** Object: Table [dbo].[tblLordSkill] Script Date: 05/01/2010 14:46:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblLordSkill](
[nServer] [int] NOT NULL,
[nSkill] [int] NOT NULL,
[nTick] [int] NOT NULL,
[s_date] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tblLordSkill] ADD CONSTRAINT [DF_tblLordSkill_nTick] DEFAULT ((0)) FOR [nTick]
GO
ALTER TABLE [dbo].[tblLordSkill] ADD CONSTRAINT [DF_tblLordSkill_s_date] DEFAULT (getdate()) FOR [s_date]
GO
/****** Object: StoredProcedure [dbo].[uspElectionAddDeposit] Script Date: 05/01/2010 14:37:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionAddDeposit]
@nServer int,
@idElection int,
@idPlayer int,
@iDeposit bigint,
@tCreate int
AS
SET NOCOUNT ON
IF EXISTS ( SELECT * FROM tblLordCandidates WHERE nServer = @nServer AND idElection = @idElection AND idPlayer = @idPlayer )
BEGIN
UPDATE tblLordCandidates
SET iDeposit = iDeposit + @iDeposit
WHERE nServer = @nServer AND idElection = @idElection AND idPlayer = @idPlayer
END
ELSE
BEGIN
INSERT INTO tblLordCandidates ( nServer, idElection, idPlayer, iDeposit, szPledge, nVote, tCreate)
VALUES ( @nServer, @idElection, @idPlayer, @iDeposit, '', 0, @tCreate )
END
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionBeginCandidacy] Script Date: 05/01/2010 14:38:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionBeginCandidacy]
@nServer int,
@idElection int
AS
SET NOCOUNT ON
IF EXISTS ( SELECT * FROM tblLordElection WHERE nServer = @nServer AND idElection = @idElection )
BEGIN
UPDATE tblLordElection
SET eState = 1
WHERE nServer = @nServer AND idElection = @idElection
END
ELSE
BEGIN
INSERT tblLordElection ( nServer, idElection, eState )
VALUES ( @nServer, @idElection, 1 )
END
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionBeginVote] Script Date: 05/01/2010 14:38:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionBeginVote]
@nServer int,
@idElection int
AS
SET NOCOUNT ON
UPDATE tblLordElection
SET eState = 2
WHERE nServer = @nServer AND idElection = @idElection
--SELECT top 1 nRequirement = chrcount from tblElection order by s_week desc
-- 테섭용
SELECT top 1 nRequirement = 0 from tblElection order by s_week desc
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionEndVote] Script Date: 05/01/2010 14:38:32 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionEndVote]
@nServer int,
@idElection int,
@idPlayer int,
@szBegin varchar(16)
AS
SET NOCOUNT ON
UPDATE tblLordElection
SET eState = 3
WHERE nServer = @nServer AND idElection = @idElection
UPDATE tblLordSkill
SET nTick =0
WHERE nServer = @nServer
INSERT INTO tblLord ( nServer, idElection, idLord )
VALUES ( @nServer, @idElection, @idPlayer )
INSERT INTO tblLordElection ( nServer, idElection, eState, szBegin)
VALUES ( @nServer, @idElection + 1, 0, @szBegin)
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionIncVote] Script Date: 05/01/2010 14:40:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionIncVote]
@nServer int,
@idElection int,
@idPlayer int,
@idElector int
AS
SET NOCOUNT ON
IF EXISTS ( SELECT * FROM tblLordElector WHERE nServer = @nServer AND idElection = @idElection AND idElector = @idElector )
BEGIN
SELECT bResult = 0
END
ELSE
BEGIN
INSERT tblLordElector ( nServer, idElection, idElector )
VALUES ( @nServer, @idElection, @idElector )
UPDATE tblLordCandidates
SET nVote = nVote + 1
WHERE nServer = @nServer AND idElection = @idElection AND idPlayer = @idPlayer
SELECT bResult = 1
END
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionInitialize] Script Date: 05/01/2010 14:42:47 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[uspElectionInitialize]
@nServer int,
@idElection int,
@szBegin varchar( 16 )
AS
SET NOCOUNT ON
INSERT INTO tblLordElection ( nServer, idElection, eState, szBegin )
VALUES ( @nServer, @idElection, 0, @szBegin )
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionLeaveOut] Script Date: 05/01/2010 14:43:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[uspElectionLeaveOut]
@nServer int,
@idElection int,
@idPlayer int
AS
SET NOCOUNT ON
UPDATE tblLordCandidates
SET IsLeftOut = 'D'
WHERE nServer = @nServer AND idElection = @idElection AND idPlayer = @idPlayer
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
/****** Object: StoredProcedure [dbo].[uspElectionSetPledge] Script Date: 05/01/2010 14:43:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[uspElectionSetPledge]
@nServer int,
@idElection int,
@idPlayer int,
@szPledge varchar(255)
AS
SET NOCOUNT ON
UPDATE tblLordCandidates
SET szPledge = @szPledge
WHERE nServer = @nServer AND idElection = @idElection AND idPlayer = @idPlayer
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
Alles anzeigen
So, da habt ihr, Heulsusen.
Funktioniert nicht Problem besteht immernoch
[FONT="Tahoma"][COLOR="RoyalBlue"]vllt. in der election nur alle 2 wochen stehen?[/COLOR][/FONT]
Zitat von Luoo;116896[FONT="Tahoma"][COLOR="RoyalBlue"]vllt. in der election nur alle 2 wochen stehen?[/COLOR][/FONT]
So hatte es versucht von 14 tagen auf 7 immer noch die gleiche Wirkung. It is not refister period...
[FONT="Tahoma"][COLOR="RoyalBlue"]stimtm die zeit auch? bei windows und auf den servern?[/COLOR][/FONT]
Zitat von Luoo;116905[FONT="Tahoma"][COLOR="RoyalBlue"]stimtm die zeit auch? bei windows und auf den servern?[/COLOR][/FONT]
Ja alles schon gecheckt.
Hm der große tolle AngelzLove schaffts nicht das Lord System zum laufen zu bekommen :>
Und du wolltest gegen Geld Leuten helfen? Ich finde es lächerlich wenn du es nicht mal bei dir hin bekommst!
mfg
Till
Darf ich mal etwas zitieren?
Zitat• Wenn du selbst das nicht kannst, lass es ganz bleiben.
• Dummheit sollte echt verboten werden.
Wenn der Pro mal nicht weiter weiß.
irgendwie finde ich das bild passt an dieser stelle sehr gut ö.ö

Eure ganzen dummen Kommentare lasst mal schön stecken , nicht jeder Mensch ist fehlerfrei und man darf auch mal was nicht wissen?
till Du meinst auch du wärst perfekt , aber genau das Gegenteil ist du bist es eben nicht.
UltimatE Dein Schlaues "Bild" kannste dir sonstwo anzeigen , wenn du nichts weißt solltest du mal ruhig sein.
tut mir leid war nicht so gemeint :D
aber wenn man lord wahlen nicht hinbekommt dann ist es weniger als perfekt :p
Zitat von Darki1;116971Eure ganzen dummen Kommentare lasst mal schön stecken , nicht jeder Mensch ist fehlerfrei und man darf auch mal was nicht wissen?
till Du meinst auch du wärst perfekt , aber genau das Gegenteil ist du bist es eben nicht.
UltimatE Dein Schlaues "Bild" kannste dir sonstwo anzeigen , wenn du nichts weißt solltest du mal ruhig sein.
Ich habe niemals in diesem Forum gesagt ich sei perfekt oder könne alles, wenn bitte ein Zitat und den Link dazu!
Aber wie du dich aufführst finde ich einfach nur lächerlich :>
Und ich denke sehr sehr viele hier denken genauso, selbst die Mods!
Mfg
Till
Zitat von Till1993;116982Ich habe niemals in diesem Forum gesagt ich sei perfekt oder könne alles, wenn bitte ein Zitat und den Link dazu!
Aber wie du dich aufführst finde ich einfach nur lächerlich :>
Und ich denke sehr sehr viele hier denken genauso, selbst die Mods!Mfg
Till
Du meinst ja natürlich jetzt andere runter zu machen , weil sie nicht das Wissen besitzen was du besitzt? Obwohl ich das jetzt eigentlich ungerne sage du bist schlimmer wie TwiLight.
So und jetzt bitte ich hier mal einen den Spam zu entfernen ....
Zitat von Till1993;116982Ich habe niemals in diesem Forum gesagt ich sei perfekt oder könne alles, wenn bitte ein Zitat und den Link dazu!
Aber wie du dich aufführst finde ich einfach nur lächerlich :>
Und ich denke sehr sehr viele hier denken genauso, selbst die Mods!Mfg
Till
Selbst erarbeitet, im Gegensatz zur dir Angelz Love :>
Klar, Till ist einer der Hellsten hier, schaut euch doch ma an :D
Zitat von >flying<;116987
Selbst erarbeitet, im Gegensatz zur dir Angelz Love :>
Klar, Till ist einer der Hellsten hier, schaut euch doch ma an :D
Meinst du ? Kennst mich nicht und meinst sowas behaupten zu müssen?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!