Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 05:37

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

Advertisement



[HELP] There is already an Object

Discussion on [HELP] There is already an Object within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 31
Received Thanks: 1
[HELP] There is already an Object

Hello, I wanted to use the Ariez preunlock script but having a problem with it.

Code:
CREATE Proc usp_Read_User_MaxGrow_R

@ServerID tinyint,
@UserUID int

AS

SET NOCOUNT ON

IF NOT EXISTS(SELECT GROW FROM CHARS WHERE ServerID=@ServerID AND UserUID=@UserUID AND GROW <= 3 )
BEGIN
UPDATE UserMaxGrow SET MaxGrow = 3 WHERE ServerID=@ServerID AND UserUID=@UserUID AND Country <= 1
END

IF EXISTS(SELECT GROW FROM CHARS WHERE ServerID=@ServerID AND UserUID=@UserUID AND GROW = 3 AND LEVEL >= 0)
BEGIN
UPDATE UserMaxGrow SET MaxGrow = 3 WHERE ServerID=@ServerID AND UserUID=@UserUID
END

IF EXISTS(SELECT GROW FROM CHARS WHERE ServerID=@ServerID AND UserUID=@UserUID AND GROW = 3 AND LEVEL >= 0)
BEGIN
UPDATE UserMaxGrow SET MaxGrow = 3 WHERE ServerID=@ServerID AND UserUID=@UserUID
END

SELECT Country,MaxGrow FROM UserMaxGrow WHERE ServerID=@ServerID AND UserUID=@UserUID

SET NOCOUNT OFF
GO
It says in the first line (CREATE Proc usp_Read_User_MaxGrow_R)
There is already an object called 'usp_Read_User_MaxGrow_R' int the Database.
I don't know what to do now.
Zoas is offline  
Old 01/01/2014, 21:05   #2
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,632
u either deleate the existing one and run your script or you modify the existing one, which is the better way.
TeddyBear94 is offline  
Thanks
2 Users
Old 01/01/2014, 22:11   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 31
Received Thanks: 1
Thanks to you, easy short answer and at last it worked.
And thanks generally for answering. You have a good know how and you share it with the community. You've got my respect for that.
Zoas is offline  
Old 01/31/2014, 17:18   #4
 
elite*gold: 0
Join Date: Jan 2013
Posts: 17
Received Thanks: 0
How can i delete the existing one ?
elfamosoo is offline  
Old 01/31/2014, 17:23   #5

 
nephren's Avatar
 
elite*gold: 92
Join Date: Aug 2009
Posts: 739
Received Thanks: 975
PS_GameDefs (or PS_GameData, im not sure) > Programability > Stored Procedure > usp_Read_User_MaxGrow_R
Rightclick > Delete.
nephren is offline  
Thanks
1 User
Reply

Tags
usp_read_user_maxgrow_r


Similar Threads Similar Threads
Object
05/10/2013 - Metin2 Private Server - 0 Replies
Wie mache ich ein Objekt NPC im Spiel? So, zum Beispiel, wie die NPC im Spiel Häusern kann ich tun? // mdatr Dateien, aber verstehe nicht alles: (
3DS to object?
10/23/2012 - Metin2 Private Server - 0 Replies
Hey some of you know of have download link to that kind of converter? I have some .3ds object and I whant to get .object or .gr2 Sry for my engilsh :((
New object
01/04/2012 - Metin2 PServer Guides & Strategies - 32 Replies
Sorry, the new object textures do not work''' but beware''!!!!, I prepared a new monster http://i52.tinypic.com/iq9bnk.jpg http://www.youtube.com/watch?v=7othjeHer8o Download profil... New gate gr2 files, http://i55.tinypic.com/2h51abc.jpg http://i56.tinypic.com/2ankif.jpg http://i56.tinypic.com/axffon.jpg http://i52.tinypic.com/258bcrq.jpg
New Object
11/07/2011 - Metin2 Private Server - 0 Replies
Im having a problem with putting a new object into the server ive made it and exported it as .GR2 but when i try and get it to show in the server you can see anything is there any way to fix this? I have a feeling it has to do with the format revision is 7 and everything says 6
Map object
03/10/2011 - Metin2 PServer Guides & Strategies - 0 Replies
Hi elitepvp*, i want tu put in a map the deviltower (3d Object) but i'm not very good in area data modding. Can you show me how do this thing? :mofo:



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


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.