Msg 155, Level 15, State 2, Procedure Welcome_Message, Line 18
'UserU' is not a recognized CURSOR option.
Msg 155, Level 15, State 2, Procedure Welcome_Message, Line 19
'faction' is not a recognized CURSOR option.
Msg 102, Level 15, State 1, Procedure Welcome_Message, Line 19
Incorrect syntax near 'UserU'.
Msg 4145, Level 15, State 1, Procedure Welcome_Message, Line 22
An expression of non-boolean type specified in a context where a condition is expected, near 'faction'.
Msg 156, Level 15, State 1, Procedure Welcome_Message, Line 24
Incorrect syntax near the keyword 'else'.
Msg 155, Level 15, State 2, Procedure Welcome_Message, Line 28
'welcome' is not a recognized CURSOR option.
Msg 155, Level 15, State 2, Procedure Welcome_Message, Line 31
'ReTuRn_' is not a recognized CURSOR option.
Msg 102, Level 15, State 1, Procedure Welcome_Message, Line 33
Incorrect syntax near '/MENTION'.
All the scripts I'm releasing here are my ideas and written by me
What you need for the script to work correctly:
1- (won't work if you don't have it)
2- Go in PS_ChatLog -> Programmability -> Stored Procedures -> usp_Insert_Chat_Log_E click on modify
After this:
IF( LEN(@dd) = 1 )
BEGIN
SET @dd = '0' + @dd
END
Put this:
3- ([OPTIONAL] Needed for the notice to player)
1 - First script is a bad word filter,
How does it work? Every time a player says a bad word like "bitch"
it will give a warning to the player.
Once the player has received 3 warnings they will be kicked.
2 - Second script is a Transfer DP
How does it work? PM a player and say the amount to transfer (! Alex !transfer 1000)
3 - Third script is a Auto Notice spawner
How does it work? It will spawn a random notice selected via a table each 1 hour
4 - Fourth script is my custom ChatLog with the scripts ^
------------------- BAD WORD FILTER -------------------
1 - First we create a new table named Warning in PS_ChatLog
Code:
USE [PS_ChatLog]
GO
/****** Object: Table [dbo].[Warning] Script Date: 4/29/2017 14:51:34 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Warning](
[id] [int] IDENTITY(1,1) NOT NULL,
[UserUID] [int] NOT NULL,
[Warning] [int] NOT NULL
) ON [PRIMARY]
GO
2 - Now we will put the script in usp_Insert_Chat_Log_E
Put this after the insert of Chat Log:
The sentence: "Do not say bad words please" is an example, you can change the sentence to whatever you want
With the /ntplayer (notice to player):
With the /nt (public notice):
------------------- DP Transfer -------------------
1 - First we create a new table named Transfer in PS_ChatLog
Code:
USE [PS_ChatLog]
GO
/****** Object: Table [dbo].[Transfer] Script Date: 4/29/2017 18:35:38 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Transfer](
[id] [int] IDENTITY(1,1) NOT NULL,
[Charname] [varchar](max) NOT NULL,
[TotalTransfer] [int] NOT NULL,
[TransferName] [varchar](max) NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
2 - Now we will put the script in usp_Insert_Chat_Log_E
Put this after the insert of Chat Log:
With the /ntplayer (notice to player):
With the /nt (public notice):
------------------- Auto Notice -------------------
All the scripts I'm releasing here are my ideas and written by me
What you need for the script to work correctly:
1- (won't work if you don't have it)
2- Go in PS_ChatLog -> Programmability -> Stored Procedures -> usp_Insert_Chat_Log_E click on modify
After this:
IF( LEN(@dd) = 1 )
BEGIN
SET @dd = '0' + @dd
END
Put this:
3- ([OPTIONAL] Needed for the notice to player)
1 - First script is a bad word filter,
How does it work? Every time a player says a bad word like "bitch"
it will give a warning to the player.
Once the player has received 3 warnings they will be kicked.
2 - Second script is a Transfer DP
How does it work? PM a player and say the amount to transfer (! Alex !transfer 1000)
3 - Third script is a Auto Notice spawner
How does it work? It will spawn a random notice selected via a table each 1 hour
4 - Fourth script is my custom ChatLog with the scripts ^
------------------- BAD WORD FILTER -------------------
1 - First we create a new table named Warning in PS_ChatLog
Code:
USE [PS_ChatLog]
GO
/****** Object: Table [dbo].[Warning] Script Date: 4/29/2017 14:51:34 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Warning](
[id] [int] IDENTITY(1,1) NOT NULL,
[UserUID] [int] NOT NULL,
[Warning] [int] NOT NULL
) ON [PRIMARY]
GO
2 - Now we will put the script in usp_Insert_Chat_Log_E
Put this after the insert of Chat Log:
The sentence: "Do not say bad words please" is an example, you can change the sentence to whatever you want
With the /ntplayer (notice to player):
With the /nt (public notice):
------------------- DP Transfer -------------------
1 - First we create a new table named Transfer in PS_ChatLog
Code:
USE [PS_ChatLog]
GO
/****** Object: Table [dbo].[Transfer] Script Date: 4/29/2017 18:35:38 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Transfer](
[id] [int] IDENTITY(1,1) NOT NULL,
[Charname] [varchar](max) NOT NULL,
[TotalTransfer] [int] NOT NULL,
[TransferName] [varchar](max) NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
2 - Now we will put the script in usp_Insert_Chat_Log_E
Put this after the insert of Chat Log:
With the /ntplayer (notice to player):
With the /nt (public notice):
------------------- Auto Notice -------------------
Hello, I ran into a problem. Instead of giving the player 3 warnings, I have one that speaks to the second immediately and the third that speaks and throws.
IF(@ChatData IN (Select BadWords From PS_GameDefs.dbo.BadWords))
BEGIN
IF (@ChatType = '1' or @ChatType = '4' or @ChatType = '5' or @ChatType = '6' or @ChatType = '7')
BEGIN
UPDATE PS_GameData.dbo.Chars SET Warning=Warning+1 WHERE CharID=@CharID
END
SET @ =(Select Warning From PS_GameData.dbo.Chars WHERE CharID=@CharID)
I really like to review nubness's posts, he was very humble and nub, now that he knows a lot of things, he doesn't help anyone and besides that it gets in the way of a big son of a ***** , didn't know anything, learned from developers, cried in their pm and now humiliates people who want to learn
I really like to review nubness's posts, he was very humble and nub, now that he knows a lot of things, he doesn't help anyone and besides that it gets in the way of a big son of a ***** , didn't know anything, learned from developers, cried in their pm and now humiliates people who want to learn
I really like to review nubness's posts, he was very humble and nub, now that he knows a lot of things, he doesn't help anyone and besides that it gets in the way of a big son of a ***** , didn't know anything, learned from developers, cried in their pm and now humiliates people who want to learn
sorry bad english
It's not that he doesn't want to help the community, it's that our REAL developers feel betrayed by the community and distance themselves.
Their work is taken for granted and scripts that cost a lot of money (since they require a lot of work) are sold by others, stolen or built into servers without giving credits to the creator.
OUR pathetic behavior as a community has led to the situation as it is. There is no need to insult Nubness, rather put yourself in his shoes and ask yourself : would you still care?
If anyone wants to learn these days, all they have to do is use elitepvpers' search function and they will find pretty much anything they need.