Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 15:27

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

Advertisement



Any Help About This query

Discussion on Any Help About This query within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 190
Received Thanks: 27
Unhappy Any Help About This query

Hello All Elitiepvpers
i want to query
to Update _items
Mean if slot 0 or 1 or 4
HelmItem,MailItem,PantsItem
Code:
Update _Items MagParam2=876173328830,MagParam3=283467841986
and if slot 2 or 3 or 5
ShoulderItem,GauntletItem,BootsItem
Code:
Update _Items MagParam2=283467841986,MagParam3=51539607997
and if slot 9 or 10 or 11 or 12
EarringItem,NecklaceItem,RingLItem,RingRItem
Code:
Update _Items MagParam2=51539607997,MagParam3=85899346375
that by all by char
someone give me query
but its for one slot only
Code:
Declare @ItemSlot int = 'itemslot'
Declare @CharName varchar(12) = 'charname'
UPDATE dbo._Items
set OptLevel='10',
Variance='3241771616',
MagParamNum='5 ',
MagParam1='858993459290',
MagParam2= '257698037862',
MagParam3='30064771150',
MagParam4= '30064771144',
MagParam5= '429496729714'
WHERE ID64 = (select ItemID from _Inventory where Slot = @ItemSlot and CharID = (select CharID from _Char where CharName16 = @CharName))
i hope any one help me for That
i have more char to edit stat and blue
and i cant found scroll add blue and stat items
where_love2003 is offline  
Old 09/22/2014, 15:14   #2
 
Muhab*'s Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 885
Received Thanks: 1,415
so you want to update all chars items magParams?
if yes just remove 'and CharID = (select CharID from _Char where CharName16 = @CharName)'.
Muhab* is offline  
Thanks
1 User
Old 09/22/2014, 15:58   #3
 
TrypticoN's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 65
Received Thanks: 30
For 1 specific Character
------------------------


All of the chars
--------------------
TrypticoN is offline  
Thanks
1 User
Old 09/23/2014, 08:38   #4
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 190
Received Thanks: 27
Quote:
Originally Posted by TrypticoN View Post
For 1 specific Character
------------------------


All of the chars
--------------------
Thanks so much Bro :*

Not Worked

if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
where_love2003 is offline  
Old 09/23/2014, 14:35   #5
 
Muhab*'s Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 885
Received Thanks: 1,415
Quote:
Originally Posted by where_love2003 View Post
Thanks so much Bro :*

Not Worked

if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
this will work.
Muhab* is offline  
Thanks
1 User
Old 09/23/2014, 14:53   #6
 
TrypticoN's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 65
Received Thanks: 30
Quote:
Originally Posted by where_love2003 View Post
Thanks so much Bro :*

Not Worked

if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Sorry my fault, i've edited the query above, try once more.

instead of
WHERE ID64 =
you have to use
WHERE ID64 IN
TrypticoN is offline  
Thanks
1 User
Old 09/23/2014, 17:57   #7


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Brother, learn before you start working on a server cuz actually this is way too easy to be asked.
​Exo is offline  
Old 09/23/2014, 18:12   #8
 
Trinity^'s Avatar
 
elite*gold: 115
Join Date: Sep 2014
Posts: 134
Received Thanks: 201
Quote:
Originally Posted by xExorcist View Post
Brother, learn before you start working on a server cuz actually this is way too easy to be asked.
Are you saying you never asked any questions when you where learning?
Trinity^ is offline  
Thanks
1 User
Old 09/23/2014, 18:19   #9
 
TrypticoN's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 65
Received Thanks: 30
Quote:
Originally Posted by xExorcist View Post
Brother, learn before you start working on a server cuz actually this is way too easy to be asked.
If you got nothing to say, just shut up. It's a ask the experts section for a reason.
TrypticoN is offline  
Thanks
1 User
Old 09/24/2014, 02:31   #10
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 190
Received Thanks: 27
Quote:
Originally Posted by xExorcist View Post
Brother, learn before you start working on a server cuz actually this is way too easy to be asked.
if you see you are a professional ok, i`m a new and i want to learn and asked
if you not need answer you can stop speck

Quote:
Originally Posted by TrypticoN View Post
If you got nothing to say, just shut up. It's a ask the experts section for a reason.
TrypticoN Who Care

Last Question
Can i make it for scroll
and so sorry about bother any one
where_love2003 is offline  
Old 09/26/2014, 09:55   #11


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by SixtyNine^ View Post
Are you saying you never asked any questions when you where learning?
You got me so wrong, the problem is not the 'Asking' part but asking for a ready stuff isn't actually learning, we can help him learn with hints tips few help on his stuff and so then he will get experience and then we 'Actually helped him'
​Exo is offline  
Old 09/26/2014, 15:54   #12
 
Trinity^'s Avatar
 
elite*gold: 115
Join Date: Sep 2014
Posts: 134
Received Thanks: 201
Quote:
Originally Posted by xExorcist View Post
You got me so wrong, the problem is not the 'Asking' part but asking for a ready stuff isn't actually learning, we can help him learn with hints tips few help on his stuff and so then he will get experience and then we 'Actually helped him'
You do realize he attempted to do it himself first... couldn't... then asked...

He didnt ask for "ready stuff", he asked for help with his own attempt.

That in absolutely no way is like leaching...
Trinity^ is offline  
Thanks
1 User
Old 09/26/2014, 16:32   #13
 
TrypticoN's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 65
Received Thanks: 30
Quote:
Originally Posted by where_love2003 View Post
Last Question
Can i make it for scroll
and so sorry about bother any one
Yes it's actually pretty simple, make a copy of any return scroll in DB and Media, once you've done that let me know, then i'll help you out.
TrypticoN is offline  
Thanks
1 User
Old 09/26/2014, 17:18   #14
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 190
Received Thanks: 27
Thanks so much sir
where_love2003 is offline  
Old 09/27/2014, 14:58   #15


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by SixtyNine^ View Post
You do realize he attempted to do it himself first... couldn't... then asked...

He didnt ask for "ready stuff", he asked for help with his own attempt.

That in absolutely no way is like leaching...
I doubt he wrote that...
​Exo is offline  
Reply


Similar Threads Similar Threads
[Help] My Pet Query -_-
11/09/2012 - EO PServer Hosting - 1 Replies
Ok i have no clue what im doing wrong can someone help me? Query Before Entering it Then After i enter it in console i get this Error in console # Nvm , fixed , was a space in the wrong spot XD
Some Query UseFul
04/11/2012 - SRO Private Server - 10 Replies
Some Query UseFul Some One By Me And Some No :D Download Password:King$ Query
[Suche]Query für "Alteklinge, Reichsklinge" &' Stichdolche NUR QUERY!
08/18/2010 - Metin2 Private Server - 1 Replies
Ich weiß ich werd nervig aber ich suche die Query's für Alteklinge, Reichsklinge &' Strichdolche Why? Naya, weil ich in der DB i-wie nur Drachenmaulglocke hab ... not more -.- Auf jeden Fall Icon's etc. etc. etc. hab ich ich brauche nur die Query's
query
05/05/2010 - Metin2 Private Server - 0 Replies
So es gab mal ein ttut wie man query fur navicat usen kan nur ich finde in nicht mehr hat jemand den link?



All times are GMT +2. The time now is 15: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.