Register for your free account! | Forgot your password?

You last visited: Today at 05:08

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

Advertisement



Help

Discussion on Help within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 32
Received Thanks: 0
Help

Hi all i wanna change starting kills to 0 but i put 0 and i close the tables and he back again 120k how to i save TY.
Mitk0o0 is offline  
Old 03/13/2012, 02:06   #2
 
elite*gold: 0
Join Date: Oct 2011
Posts: 51
Received Thanks: 33
Did you save the changes :P
mfrowen is offline  
Old 03/13/2012, 02:25   #3
 
RebeccaBlack's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
To set everyone's kills to 0, run a query:
PHP Code:
UPDATE PS_GameData.dbo.Chars SET k1=
Just specific people?
PHP Code:
UPDATE PS_GameData.dbo.Chars
SET k1
=0
WHERE CharName IN 
('Name1''Name2''Name3'
But that only does people currently created. To change the default, you need to modify the table itself to stop those dirty deeds.


That is one method to fix the table, the other was posted by myself, and is below:
PHP Code:
--Removes the default of 120k kills
ALTER TABLE 
[PS_GameData].[dbo].[Chars]
DROP CONSTRAINT DF_Chars_K1;
--
Adds the default of 0 kills
ALTER TABLE 
[PS_GameData].[dbo].[Chars]
ADD CONSTRAINT DF_Chars_K1 DEFAULT ((0)) FOR K1
RebeccaBlack is offline  
Thanks
3 Users
Reply




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


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.