-яaкi- GamersAdmin
Posts : 16 Join date : 2010-07-03
| Subject: Voting Script! Mon Jul 05, 2010 4:59 am | |
| Alright, first off this is spikensbro's voting script I however have edited it to fix a glitch in which people could vote for the same character multiple times. This version checks before sending the item if the character is removed from the VOTE_TBL to ensure they cannot glitch, this however does not change the fact they can simply use a different ip/character. Anyway... Here it is. Download [You must be registered and logged in to see this link.]Code: - Spoiler:
USE [ACCOUNT_DBF] GO
/****** Object: Table [dbo].[VOTE_TBL] Script Date: 07/04/2010 06:42:49 ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
SET ANSI_PADDING ON GO
CREATE TABLE [dbo].[VOTE_TBL]( [character] [varchar](50) NOT NULL, [ip] [varchar](50) NOT NULL, [time] [varchar](50) NOT NULL, CONSTRAINT [PK_VOTE_TBL_1] PRIMARY KEY CLUSTERED ( [character] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
GO
SET ANSI_PADDING OFF GO
| |
|