Register for your free account! | Forgot your password?

You last visited: Today at 09:27

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

Advertisement



[Release] Alex scripts

Discussion on [Release] Alex scripts within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
JujiPoli's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 340
Received Thanks: 405
[Release] Alex scripts

Hello Shaiya,

Today I am releasing my custom scripts (sql)

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:

Quote:
PHP Code:
DECLARE @Charname varchar(max), @CharIDNotice varchar(max), @return_value int

SET 
@Charname = (SELECT Charname FROM PS_GameData.dbo.Chars WHERE CharID = @CharID)

SET @CharIDNotice = @CharID

SET 
@return_value ='0' 
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 -------------------


------------------- DP Transfer -------------------


------------------- Auto Notice -------------------


------------------- Custom Chat Log -------------------

JujiPoli is offline  
Thanks
24 Users
Old 04/29/2017, 16:20   #2
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
You could also create a Shaiya Server Extended plugin, wich avoid to edit SQL procedures, wich is not that easy to manage if you want to split your code.

(I might uplaod it as a plugin soon)

Thanks for sharing!
Trayne01 is offline  
Old 04/29/2017, 18:09   #3
 
momocruz's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 390
Received Thanks: 375
Thanks amigo !!!
momocruz is offline  
Old 04/29/2017, 22:05   #4
 
elite*gold: 0
Join Date: Dec 2012
Posts: 142
Received Thanks: 686
Alex scripts? "battle only arena ep5.4" I made this script for you, for free. Why did not you tell me it was to share it in epvp?
Eric-Dutra16 is offline  
Thanks
10 Users
Old 04/29/2017, 22:10   #5
 
JujiPoli's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 340
Received Thanks: 405
I released it for a custom pvp script (sql)
I asked you it 1 year ago cause i don't know work on cheat engine, if you don't want me to release it, i will just remove it lol.
JujiPoli is offline  
Old 04/30/2017, 05:43   #6
 
ShaiyaDead's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 233
Received Thanks: 127
battle arena as what the title says the players can already battle in arena lmao you should ask the author first before releasing those credits are not enough without asking for their authorization
ShaiyaDead is offline  
Old 04/30/2017, 10:26   #7
 
momocruz's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 390
Received Thanks: 375
Quote:
Originally Posted by ShaiyaDead View Post
battle arena as what the title says the players can already battle in arena lmao you should ask the author first before releasing those credits are not enough without asking for their authorization


Too Late Albert many people have download the script right NOW .
momocruz is offline  
Old 04/30/2017, 20:08   #8
 
JujiPoli's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 340
Received Thanks: 405
Instead of come skype/epvp message and try to find a deal (remove the script or just release before it was a free one) you need to post and get thanks for it? It amazing how the community of Shaiya in epvp is destroyed by those ridiculous people

Post a message just for thanks -> new Shaiya community 2017

Have fun, I won't share anything anymore, bored of hypocritical people.
JujiPoli is offline  
Thanks
3 Users
Old 05/08/2017, 05:00   #9
 
sanguto's Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 38
Received Thanks: 47

If not ask too much. As it would be to announce at a certain time, type the message to appear at 21h server time
sanguto is offline  
Old 05/08/2017, 13:54   #10
 
JujiPoli's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 340
Received Thanks: 405
JujiPoli is offline  
Thanks
4 Users
Old 05/08/2017, 21:11   #11
 
sanguto's Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 38
Received Thanks: 47
thank you so much
sanguto is offline  
Old 09/08/2017, 09:05   #12
 
elite*gold: 0
Join Date: Aug 2017
Posts: 35
Received Thanks: 10
[auto notice]
I have a problem.
already tried to position the code in the insertion area plus the problem continues
Could someone give me an example where to position without errors

Msg 137, Level 15, State 2, Procedure usp_Insert_Chat_Log_E, Line 77
Must declare the scalar variable "@return_value"
IlusionXtreme is offline  
Old 09/09/2017, 01:29   #13
 
Velocity.'s Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 237
Received Thanks: 323
Quote:
Originally Posted by IlusionXtreme View Post
[auto notice]
I have a problem.
already tried to position the code in the insertion area plus the problem continues
Could someone give me an example where to position without errors

Msg 137, Level 15, State 2, Procedure usp_Insert_Chat_Log_E, Line 77
Must declare the scalar variable "@return_value"
it literally tells you the issue lmao
Velocity. is offline  
Thanks
1 User
Old 11/22/2017, 08:55   #14
 
elite*gold: 0
Join Date: Apr 2017
Posts: 39
Received Thanks: 18
Quote:
Originally Posted by doteroargentino View Post
Wow, a welcoming massage surely will make people relax a lot more while playing!!



Code:
USE [PS_GameData]
GO
/****** Object:  StoredProcedure [dbo].[Welcome_Message]    Script Date: 7/22/2016 12:35:25 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[Welcome_Message]
	-- Add the parameters for the stored procedure here
	@Char int
AS
BEGIN
	WAITFOR DELAY '00:00:30';
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	DECLARE @CharName varchar(32) = (SELECT CharName FROM PS_GameData.dbo.Chars where CharID = @Char)
	DECLARE [MENTION=2805776]UserU[/MENTION]ID int = (SELECT UserUID FROM PS_GameData.dbo.Chars where CharID = @Char)
	DECLARE [MENTION=1340890]faction[/MENTION] bit = (SELECT Country FROM PS_GameData.dbo.UserMaxGrow WHERE UserUID = [MENTION=2805776]UserU[/MENTION]ID)
	DECLARE @Datet varchar(32) = CONVERT(varchar(32),GETDATE())
	DECLARE @DFaction varchar(32)
	if  [MENTION=1340890]faction[/MENTION] = 1)
		SET @DFaction = 'Union of Fury'
	else
		SET @DFaction = 'Alliance of Light'


	DECLARE [MENTION=733771]welcome[/MENTION]msg nchar(200) = N'/nt ' + 'Welcome to ' + @CharName + ' (Faction: ' + @DFaction + ')' + ' who joined Assassin on the ' + @Datet


			DECLARE [MENTION=3807069]ReTuRn_[/MENTION]value int

			EXEC [MENTION=3807069]ReTuRn_[/MENTION]value = PS_GameDefs.[dbo].[Command]
				 [MENTION=1485710]service[/MENTION]Name = N'ps_game',
					@cmmd = [MENTION=733771]welcome[/MENTION]msg



END



and dont cry please
Wa7dani is offline  
Old 01/25/2019, 12:02   #15
 
[GM]-RazoR-*'s Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 241
Received Thanks: 474
Quote:
Originally Posted by JujiPoli View Post
Hello Shaiya,

Today I am releasing my custom scripts (sql)

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 -------------------


------------------- DP Transfer -------------------


------------------- Auto Notice -------------------


------------------- Custom Chat Log -------------------

hi

I tested this beautiful scenario. Personal notices don't work. Does anyone have an idea for that?

N'/nt and N'/ntplayer I tried these two commands, but it doesn't work.

for N'/ntplayer SExtended.dll I injected it into ps_game.exe but it still didn't work.


Sorry about the bad english.
[GM]-RazoR-* is offline  
Thanks
1 User
Reply




All times are GMT +2. The time now is 09:27.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.