Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 17:08

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

Advertisement



[RELEASE]Show in-game DP with Commands

Discussion on [RELEASE]Show in-game DP with Commands within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
XareL's Avatar
 
elite*gold: 0
Join Date: Nov 2017
Posts: 159
Received Thanks: 346
Thumbs up [RELEASE]Show in-game DP with Commands

Hi Epvpers,
this script will show the most current DP value of your account with in-game commands.

especially if in the site, do not work DP value and itemmal not working
it will be a useful topic.

First of all you need to install to use this script.

and then
you need to install
for the personal notice to be active.

Put inside PS_ChatLog >Programmabilty > dbo.usp_insert_Chat_Log_E

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

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

SET @CharNotice = @CharID

SET @return_value ='0'

/* --------- Show in-game DP with Commands ------------*/

DECLARE @Puanbak varchar(max)
SET @Charname = (SELECT Charname FROM PS_GameData.dbo.Chars WHERE CharID = @CharID)
SET @Puanbak = (SELECT top 1 Point FROM PS_UserData.dbo.Users_Master WHERE UserUID=@UserUID)

-- now we select the chat type
-- ChatType : 1 = Normal Chat | 2 = Whisper (!) | 3 = Guild | 4 = Group (@) (/raid) | 5 = Trade | 6 = /yelling | 7 = Area

IF (@Chatdata like '!pointlook' and @ChatType = '1') -- Change This Line for in game commands !pointlook change to whatever you want

/* this query can be improved */
BEGIN

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

DECLARE @PuanbakTR varchar(max) = N'/ntplayer ' + @CharNotice + 'Dear '+''+ + @CharName +' you have '+@Puanbak+ ' DP in your account'

SET @return_value ='0'
EXEC @return_value = PS_GameDefs.[dbo].[Command]
@serviceName = N'ps_game',
@cmmd =@PuanbakTR

END
and then and then type your in-game command to see the current value.

you do not even need to relog it anymore.

Best regards
XareL is offline  
Thanks
10 Users
Reply


Similar Threads Similar Threads
[Show]Homepage[Show]
08/17/2011 - Flyff Private Server - 9 Replies
Hallo Liebe Community, hier bin ich wieder mal mit einem neuen Preview. Ich möchte euch heute meine 3te. Homepage zeigen die ich aus Langeweile gemacht habe. Ihr könnt sie Bewerten und darüber würde ich mich auch sehr freuen, solange das alles im Rahmen bleibt. So nun zu denn Bildern: Start Seite von Oben
[Key Commands] Default Key Commands for the beginners
10/01/2008 - General Gaming Releases - 0 Replies
Default keybindings: Abilities Window V Backpack Window: B Career Window: K Character Window: C Battlegroup Window: Left Alt + R Developer Window: ; Guild Window: G Help Window: H



All times are GMT +1. The time now is 17:10.


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