Register for your free account! | Forgot your password?

You last visited: Today at 09:43

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

Advertisement



[HELP]PvP Reward + TAG

Discussion on [HELP]PvP Reward + TAG within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
st.jimmy998's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 347
Received Thanks: 137
Smile [HELP]PvP Reward + TAG

Hello,

I'm using this script that Cartola released here sometime ago.


But I have a problem, this give[*] to a "x" player that reached 200k kills right? Well, when the same player, "x[*]" reach again 200k, it gives, x[*][*]..

For example, now I have a player that have " Reading[*][*][*][^], its like those old Tags[*] aren't removed to put that new rank [^]

I want to give that player, x[**] instead of x[*][*], I would like if anyone can help me with this
st.jimmy998 is offline  
Old 03/21/2016, 05:49   #2
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
Create another Columns in Char like Name2
Code:
USE [PS_GameData]
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.Chars ADD
	Name2 varchar(30) NULL CONSTRAINT DF_Chars_Name2 DEFAULT 0
GO
COMMIT
and add for script

DECLARE @ varchar(30) =(Select Name2 FROM PS_GameData.dbo.Chars WHERE CharID = @D)
SET @ = (SELECT CharName FROM PS_GameData.dbo.Chars WHERE CharID = @D)

IF EXISTS (SELECT * FROM PS_GameData.dbo.Chars WHERE K1 >= 200000 AND CharID = @D AND TagID = 1)
BEGIN

UPDATE PS_GameData.dbo.Chars
SET CharName = @+ '[**]',K1 = 0, K2 = 0, TagName = '[**]', TagID = 2
WHERE CharID = @D and TagID='1'


IF EXISTS (SELECT * FROM PS_GameData.dbo.Chars WHERE K1 >= 200000 AND CharID = @D AND TagID = 2)
BEGIN

UPDATE PS_GameData.dbo.Chars
SET CharName = @+ '[***]',K1 = 0, K2 = 0, TagName = '[***]', TagID = 3
WHERE CharID = @D and TagID='2'

An when you will change CharName for players with tag edit also Columns "name2" but without any tag
SnickQ is offline  
Thanks
5 Users
Reply


Similar Threads Similar Threads
[Selling] Pre-registration reward for Summoners War: Rift of Worlds 1$ Pre-registration reward
12/15/2015 - Summoners War Trading - 0 Replies
“Summoners War: The Rift of Worlds” is now available! http://i.imgur.com/uZ71itv.png <Download Summoners War> http://m.withhive.com/b?i=9447&g=9446 <Get Pre-registration Reward> Autobuy: https://payivy.com/v/9a4ce
Reward PVP
01/01/2014 - Shaiya Private Server - 1 Replies
NO NEED TO WRITE ANYTHING HERE OUT OF THE PROPER WAY ... Problem Resolved ! Request to close or directly Delete ! this thread offer nothing... thank you
reward WC
06/07/2011 - Archlord - 1 Replies
PLS anyone now how to transfer reward wc to normal wc in archlord !!! ty......:bandit:
[Help]If you help me i will reward you
01/09/2010 - CO2 Private Server - 5 Replies
DONE ,lol



All times are GMT +1. The time now is 09:44.


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