[Release] Useful queries for some people (Part I)

05/09/2012 05:16 ღ ∂ Ropp#1
If you want certain character's mastery's at a certain level.. Input their name here, and set their skill level you desire.


PHP Code:
USE [SRO_VT_SHARD]
GO
--by Evo
Declare @CharName Varchar (64)
Set @CharName    =    '[GM]BlackBerry'

UPDATE    [dbo].[_CharSkillMastery]
SET Level120
WHERE CharID 
= (SELECT CharID FROM [dbo].[_CharWHERE CharName16 = @CharName
To change a characters Username... A.K.A. ID.

PHP Code:
USE [SRO_VT_ACCOUNT]
declare @
AtualID varchar (30)
declare @
NewID varchar (30)
set @AtualID 'youridhere'
set @NewID 'newidhere'
update tb_user set struserid = @NewID
where struserid 
= @ActualID 

If you don't have Roc Mountain opened, here's a query to move Demon Shaitan to a new spawn ( this one in example is Central Asia )
Also, you can change the position, and mob name, will also work for other uniques.

PHP Code:
USE [SRO_VT_SHARD]

Update Tab_RefNest Set 
dwDelayTimeMin
=600 
dwDelayTimeMax=1601 ,
--
Posição--
nRegionDBID=26737 ,
fLocalPosX=705 ,
fLocalPosY=272.922821 ,
fLocalPosZ=1466


 WHERE dwTacticsID 
= (SELECT dwTacticsID FROM Tab_RefTactics WHERE dwObjID 
 (
SELECT ID FROM _RefObjCommon WHERE Codename128 like 'MOB_RM_TAHOMET')) 
Credits ; nukertube

Regards,
ღ ∂ropp


Don't be a fatass, press thanks!
:facepalm:
05/09/2012 05:31 rushcrush#2
you mean ppl not players..
05/09/2012 05:38 ღ ∂ Ropp#3
No, in-game players....

Anyways, don't you got a server to be failing? Don't want to argue with anyone atm.
:facepalm:
05/09/2012 08:42 Kape7#4
Here rushcrush said nothing, srsly what is wrong with you all?
He just pointed that the thread title is wrong, since the release that ღ ∂ Ropp did aims for the people in general (serverfiles owners) not players (people that actually play the game), since they don't have access to the DB after all.

Don't make every thread a flame war...
05/09/2012 10:01 Disco Teka#5
Avoid posting unrelated bulshit in this thread.

Renamed it to "[Release] Useful queries for some people (Part I)" if you want to release other useful queries.
05/09/2012 13:31 Neko*#6
[Only registered and activated users can see links. Click Here To Register...]

Would you mind to add this quires to my collection ?
In ------> [Only registered and activated users can see links. Click Here To Register...]

of course i will add the credits and thanks :D
05/29/2012 08:15 xxnukertube#7
lol
Where My Credits?
05/29/2012 16:18 ღ ∂ Ropp#8
Quote:
Originally Posted by ღ ∂ Ropp View Post
If you want certain character's mastery's at a certain level.. Input their name here, and set their skill level you desire.


PHP Code:
USE [SRO_VT_SHARD]
GO
--by Evo
Declare @CharName Varchar (64)
Set @CharName    =    '[GM]BlackBerry'

UPDATE    [dbo].[_CharSkillMastery]
SET Level120
WHERE CharID 
= (SELECT CharID FROM [dbo].[_CharWHERE CharName16 = @CharName
To change a characters Username... A.K.A. ID.

PHP Code:
USE [SRO_VT_ACCOUNT]
declare @
AtualID varchar (30)
declare @
NewID varchar (30)
set @AtualID 'youridhere'
set @NewID 'newidhere'
update tb_user set struserid = @NewID
where struserid 
= @ActualID 

If you don't have Roc Mountain opened, here's a query to move Demon Shaitan to a new spawn ( this one in example is Central Asia )
Also, you can change the position, and mob name, will also work for other uniques.

PHP Code:
USE [SRO_VT_SHARD]

Update Tab_RefNest Set 
dwDelayTimeMin
=600 
dwDelayTimeMax=1601 ,
--
Posição--
nRegionDBID=26737 ,
fLocalPosX=705 ,
fLocalPosY=272.922821 ,
fLocalPosZ=1466


 WHERE dwTacticsID 
= (SELECT dwTacticsID FROM Tab_RefTactics WHERE dwObjID 
 (
SELECT ID FROM _RefObjCommon WHERE Codename128 like 'MOB_RM_TAHOMET')) 
Credits ; nukertube

Regards,
ღ ∂ropp


Don't be a fatass, press thanks!
:facepalm:
Is that big enough for ya there bud?
05/29/2012 16:38 ღ•Imagine•#9
useful ty .
06/25/2012 17:52 xxnukertube#10
Quote:
Originally Posted by ღ ∂ Ropp View Post
Is that big enough for ya there bud?
^^ '
06/27/2012 15:44 sarkoplata#11
PHP Code:
USE [SRO_VT_ACCOUNT]
declare @
AtualID varchar (30)
declare @
NewID varchar (30)
set @AtualID 'youridhere'
set @NewID 'newidhere'
update tb_user set struserid = @NewID
where struserid 
= @ActualID 
And if the @NewID already exists...
06/27/2012 16:08 PortalDark#12
#moved
06/27/2012 17:45 CrazyGirL_ZSZC#13
Quote:
Originally Posted by Neko* View Post
[Only registered and activated users can see links. Click Here To Register...]

Would you mind to add this quires to my collection ?
In ------> [Only registered and activated users can see links. Click Here To Register...]

of course i will add the credits and thanks :D
yeah urs awesome too
08/04/2012 06:07 SunSoon#14
Nice one.. Ty
08/31/2013 13:39 YOUNG SINATRA#15
Awesme Query :) Mercí