Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 16:07

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

Advertisement



[ Release ] New Sql DB quires Collection .

Discussion on [ Release ] New Sql DB quires Collection . within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 05/09/2012, 02:50   #16
 
FoxRayz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,713
Received Thanks: 892
Quote:
Originally Posted by ahmed4ever2u View Post
here you are another good one
GM account ( ip & [GM stats] & Some Gold ) [Main]


1st Edit [main]
Honor Fix

2nd Edit [not main] :
all users to jangan




edit 3 : ( main )
Clean grap pets inventory ( kral for hackers )


Edit 4 : ( main )
cleaning db from trashes & invalid data
Sweeet i will have use for atleast 2 of this ones
FoxRayz is offline  
Old 05/09/2012, 15:27   #17
 
elite*gold: 0
Join Date: May 2012
Posts: 37
Received Thanks: 7
Quote:
Originally Posted by ahmed4ever2u View Post
here you are another good one
GM account ( ip & [GM stats] & Some Gold ) [Main]


1st Edit [main]
Honor Fix

2nd Edit [not main] :
all users to jangan




edit 3 : ( main )
Clean grap pets inventory ( kral for hackers )


Edit 4 : ( main )
cleaning db from trashes & invalid data
i will use them
Imagine* is offline  
Old 05/09/2012, 20:02   #18
 
elite*gold: 0
Join Date: Feb 2010
Posts: 2,278
Received Thanks: 443
Quote:
Originally Posted by tamer15 View Post
well , thank you

but i would ask blackrogue got skilldatax.enc ?
no........
rushcrush is offline  
Old 05/10/2012, 17:00   #19
 
Neko*'s Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 338
Received Thanks: 180
New Quires are added ....

Thanks to , Ahmed4ever2u , and

-change character's mastery's at a certain level..
Credits ; nukertube , By ღ ∂ropp


Change Character User Name , A.K.A. ID.
Credits ; nukertube , By ღ ∂ropp


-Moving Uniques from its spawns (E.G : DemonShitan )
Credits : nukertube , By ღ ∂ropp




-ADD a GM account ( ip & [GM stats] & Some Gold )
by : Ahmed4ever2u



-Honor ranks Fix.
by : Ahmed4ever2u


-Teleport All users to Jangan.
by : ahmed4ever2u





-Clean grap pets inventory .

By : Ahmed4ever2u



-cleaning db from trashes & invalid data.
by : ahmed4ever2u
Neko* is offline  
Old 05/11/2012, 16:14   #20
 
elite*gold: 0
Join Date: May 2012
Posts: 37
Received Thanks: 7
Quote:
Originally Posted by Neko* View Post
New Quires are added ....

Thanks to , Ahmed4ever2u , and

-change character's mastery's at a certain level..
Credits ; nukertube , By ღ ∂ropp


Change Character User Name , A.K.A. ID.
Credits ; nukertube , By ღ ∂ropp


-Moving Uniques from its spawns (E.G : DemonShitan )
Credits : nukertube , By ღ ∂ropp




-ADD a GM account ( ip & [GM stats] & Some Gold )
by : Ahmed4ever2u



-Honor ranks Fix.
by : Ahmed4ever2u


-Teleport All users to Jangan.
by : ahmed4ever2u





-Clean grap pets inventory .

By : Ahmed4ever2u



-cleaning db from trashes & invalid data.
by : ahmed4ever2u
more useful query's
Imagine* is offline  
Old 05/11/2012, 17:13   #21
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,163
Received Thanks: 1,161
Here's another query for you, it's to ban players via database, easily with 1 query.


PHP Code:
--By Leandro nukertube ) --
USE [
SRO_VT_SHARD]           
GO
--------------------------------                           
DECLARE @
ChrID INT;            
DECLARE @
CharName VARCHAR(64); 
DECLARE @
AccJID INT;           
---------------------------------
SET @CharName =    'CharNameHere'---
---------------------------------
SET @ChrID=(SELECT CharID FROM _Char WHERE CharName16=@CharName)
SET @AccJID=(SELECT UserJID FROM _User WHERE CharID=@ChrID)
-----------------------------------------------------------------
USE 
SRO_VT_ACCOUNT
DECLARE @ID VARCHAR (64)
DECLARE @
Reason VARCHAR(128)
DECLARE @
Begin DATETIME
DECLARE @End DATETIME
SET 
@ID = (Select STRuserID FROM TB_User Where JID = @AccJID)

---------------------------------
SET @Reason    =    'Ban Reason Here'
SET @Begin    =    '2012-05-01 00:00:00.000' --    Time Begin    --
SET @End    =    '2040-01-01 00:00:00.000' --    Time End    --
---------------------------------
---------------------------

INSERT [dbo].[_Punishment]
(
[
UserJID],
[
Type],
[
Executor],
[
Shard],
[
CharName],
[
CharInfo],
[
PosInfo] ,
[
Guide],
[
Description],
[
RaiseTime],
[
BlockStartTime],
[
BlockEndTime],
[
PunishTime],
[
Status]
)
VALUES 
(
@
AccJID,
1,
1,
0,
@
CharName,
1,
1,
@
Reason,
@
Reason,
@
Begin,
@
Begin,
@
End,
@
End,
0);
----------------------------------------------------------
DECLARE @
ReasonID INT
SET 
@ReasonID =
(
Select SerialNo FROM _Punishment Where UserJID = @AccJID)
----------------------------------------------------------
INSERT [dbo].[_BlockedUser]
(
[
UserJID],
[
UserID],
[
Type],
[
SerialNo],
[
TimeBegin],
[
TimeEnd])
VALUES
(
@
AccJID,
@
ID,
1,
@
ReasonID,
@
Begin,
@
End);

-----------------------------------------------------------------
SELECT StrUserID FROM TB_User WHERE JID = @AccJID
-----------------------------------------------------------------
--
By Leandro nukertube ) -- 
ღ ∂ Ropp is offline  
Thanks
2 Users
Old 05/13/2012, 02:12   #22
 
elite*gold: 0
Join Date: Apr 2011
Posts: 590
Received Thanks: 774
you must put Name Of Credits this is query
!!
BestOnWorld is offline  
Old 05/13/2012, 02:20   #23
 
Neko*'s Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 338
Received Thanks: 180
Quote:
Originally Posted by BestOnWorld View Post
you must put Name Of Credits this is query
!!

Well , i didn't give the credits to my self , and this was my own Sql Quires library , so i didn't save the credits with each one.. , and i added some btw

Could you please tell me which query is yours ?
Neko* is offline  
Old 05/13/2012, 03:26   #24
 
elite*gold: 0
Join Date: Apr 2011
Posts: 590
Received Thanks: 774
Quote:
Originally Posted by Neko* View Post
Well , i didn't give the credits to my self , and this was my own Sql Quires library , so i didn't save the credits with each one.. , and i added some btw

Could you please tell me which query is yours ?
no problem i was think you give Credits to your self
Added 120 Skills By Me

and this is Query to Search in RefObjCommon
BestOnWorld is offline  
Old 05/14/2012, 14:23   #25
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
Last 100 Drops from Mobs (with the use of the SHARDLOG DB), for Homepages or w/e ->

PHP Code:
USE SRO_VT_SHARD
BEGIN
    SELECT TOP 100 
        chart
.CharName16 as Player
        
elog.ItemRefID as ItemID
        
ref.CodeName128 as ItemCode,
        CASE 
WHEN CHARINDEX('Opt',elog.strDesc) != 0 THEN SUBSTRING(elog.strDesc,(PATINDEX('%+%',elog.strDesc)),2) ELSE '+0' END as '+Amount',
        
SUBSTRING(elog.strDesc,CHARINDEX('MOB',elog.strDesc),(CHARINDEX(',',elog.strDescCHARINDEX('MOB',elog.strDesc)))-CHARINDEX('MOB',elog.strDesc)) as Monster,
        CASE
            
WHEN chart.CharName16 collate SQL_Latin1_General_CP1_CI_AS like '%'+(SUBSTRING(elog.strDesc,CHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))+1,(CHARINDEX(']',elog.strDescCHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))+1))-CHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))-1))+'%'
                
THEN '-'
            
WHEN CHARINDEX('Var',elog.strDesc) != 0
                THEN UPPER
(SUBSTRING(elog.strDesc,CHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))+1,(CHARINDEX(']',elog.strDescCHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))+1))-CHARINDEX('[',elog.strDesc,CHARINDEX('Var',elog.strDesc))-1))
            ELSE 
'-' 
        
END as Info,
        
elog.EventTime as 'Date'
    
FROM _Items as items
        JOIN 
/*#*/SRO_VT_SHARDLOG.dbo._LogEventItem/*#*/ as elog on items.Serial64 elog.Serial64
        JOIN _Char 
as chart on elog.CharID chart.CharID
        JOIN _RefObjCommon 
as ref on elog.ItemRefID ref.ID
    WHERE 
        elog
.strDesc like '%MOB%' 
        
AND elog.strDesc not like '%NPC%' 
        
AND ref.CodeName128 not like '%ARCHEMY%'
        
AND chart.CharName16 not like '%[GM]%'
    
ORDER BY elog.EventTime desc
END 
I'm Caipi, if I cud I'd rename my nick here but unfortunately.. ;o


A list of the online players also through the SHARDLOG DB:

PHP Code:
USE SRO_VT_SHARDLOG
SELECT         
            chart
.CharName16 as 'Player'
            CASE 
                
WHEN MAX(elog.EventID) = 4 THEN 'Online' 
                
WHEN MAX(elog.EventID) = 6 THEN 'Offline' 
                
ELSE '-' 
            
END as 'Status',
            CASE 
                
WHEN MAX(elog.EventID) = 6 THEN '0'
                
WHEN LEN(MAX(elog.EventTime)) > 0 THEN DATEDIFF(MINUTE,cast(MAX(elog.EventTime) as datetime),GETDATE()) 
                ELSE 
'-' 
            
END as 'Minutes',
            
MAX(elog.EventTime) as Date
FROM        
            
/*#*/_LogEventChar/*#*/ as elog
            JOIN 
/*#*/SRO_VT_SHARD.dbo._Char/*#*/ as chart on elog.CharID chart.CharID    
WHERE        
            
(elog.EventID OR elog.EventID 6)
GROUP BY    chart.CharName16
HAVING        MAX
(elog.EventID) = 4
ORDER BY    MAX
(elog.EventIDasc 
IceAmStiel is offline  
Thanks
1 User
Old 05/14/2012, 14:27   #26
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,289
Quote:
Originally Posted by IceAmStiel View Post

I'm Caipi, if I cud I'd rename my nick here but unfortunately.. ;o
PM any admin about it, I asked them to change my nick and they did it pretty fast, around 1 year ago or so.
Kape7 is offline  
Thanks
1 User
Old 05/25/2012, 09:51   #27
 
Mytzanujrboss's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 122
Received Thanks: 23
thank you for all these awesome queries
Mytzanujrboss is offline  
Old 05/27/2012, 06:26   #28
 
xxnukertube's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 578
Received Thanks: 166
ღ ∂ Ropp is trying to stay with my credits?
xxnukertube is offline  
Old 05/27/2012, 07:52   #29
 
elite*gold: 179
Join Date: Dec 2010
Posts: 931
Received Thanks: 311
thanks its useful
ermvrs is offline  
Old 10/20/2013, 13:20   #30
 
elite*gold: 0
Join Date: Mar 2009
Posts: 28
Received Thanks: 0
UPDATE dbo._RefSkill
SET Service = 0
WHERE ID BETWEEN 3437 AND 3440

Fix Fire Shield - Emperror 6 Lv
prometeus is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Collection Of Various Pets
04/02/2012 - EO PServer Guides & Releases - 15 Replies
Ok guys, unlike some members of the community i feel like actually contributing. Actually its more of I am bored so i feel like releasing some things. Below is about 1/6th of all the pets i have collected to put in an EO server. I aint bothered to delete them so i thought i would release some of them. I doubt i will release them all simply because i have given them to a few of the servers i respect and i wont do that to them. Before you ask, no there is no DB part of it. If you cant figure...
[Release] S4 League Hack Collection
10/22/2011 - S4 League Hacks, Bots, Cheats & Exploits - 76 Replies
Hello everyone. This Thread is for the Members who dont know to Search. I read it x100 times what someone search a Hack and thats enough. If a Member Post again somethink like "I need a hack" you can post the Thread URL on hes Thread. | | | | | | Nightmare | Kintow | Spoiler ZrnX001 | v.2.1 | Yes | Yes | Updated + -Cyber D3D- | -CyberLinK- | Spoiler ZrnX002 | v.2.3 | Yes | Yes | Updated + Unknown Viruz | -Zombie-001- | Spoiler ZrnX005 | v.1.1 | Yes | No | Updated +
[Release] Lucidsoft - Collection
11/10/2010 - Flyff PServer Guides & Releases - 14 Replies
Hallo lieber E*PvP'er/in. In diesem Thread werde ich euch meinen Collection Generator vorstellen und auch Releasen und jeweils Updaten. Dieser sieht so aus: http://img94.imageshack.us/img94/4690/1111bkc.jpg und kann mom bisher leider nur ein Ticket erstellen, doch werden in den nächsten versionen immer neuere und viel bessere Updates nachfolgen.
Release GMS V0.55 hacks collection
10/06/2008 - MapleStory - 12 Replies
Monster Glue Stickies all Monsters on the floor. Should work great with ground-bound monsters. No DC, but when other players are in the map their client may overdrive the effect. RapidShare: 1-Click Webhosting MEGAUPLOAD - The leading online storage and file delivery service Supramob (New: Fight up to 50 Monsters at once instead of just 6)



All times are GMT +2. The time now is 16:07.


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.