Register for your free account! | Forgot your password?

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

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

Advertisement



[Release] Quirys to help a new GM

Discussion on [Release] Quirys to help a new GM within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
[Release] Quirys to help a new GM

Hi everyone,

i have been a GM a very long time, but i am not IT i am not a specialist or even good at database or servers in general.

I got sucked into this role by accident way back in the Euro days and its been a passion for even longer.

<3 Shaiya

This is a list of Quirys that are by far the most common needed for a GM, if one does not suit the task just follow the logical path and adjust to the result you require.

if i had these back in the day, my life would have been so much easier ^^

So here we go, my 1st ever release

To search a Char
Code:
SELECT * FROM ps_GameData.dbo.Chars
Where CharName like '%CharNameHere%'
to reset all acc's to leave 0
Code:
UPDATE PS_UserData.dbo.Users_Master SET Leave = 0
to change a users p/w
Code:
UPDATE PS_UserData.dbo.Users_Master set Pw = 'new p/w' WHERE UserID = 'loginhere'
to search actionlog for transactions to/from particular char
Code:
SELECT * FROM ps_Gamelog.dbo.ActionLog
Where CharID like '%idhere%'
to search attatched accounts from a single IP
Code:
SELECT * FROM ps_UserData.dbo.Users_Master
Where userIp like '%ip goes here%'
to ressurect a char by name
Code:
UPDATE PS_GameData.dbo.Chars set Del = '0' Where CharName = 'charnamehere'
to bann all accounts from a single ip
Code:
UPDATE PS_UserData.dbo.Users_Master set Status = -1 WHERE UserIp = 'ipgoeshere'
to bann a single account
Code:
UPDATE PS_UserData.dbo.Users_Master set Status = -1 WHERE UserUID = 'UserUIDhere'
Thanks go to Abrasive for being a good friend and mentor aswell as the Dev Team/social group for all the support and courage they give. ty guys n gals

I hope this helps the ppl that are starting and or testing a server at home.

Best Regards
Safe
SafeBett is offline  
Thanks
29 Users
Old 07/03/2011, 21:01   #2
 
[Admin]Snuggle's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 942
Received Thanks: 1,066
Yay a truly useful release
(We have been lacking those lately...)
Thank you Safe this is very useful to me
Saves a lot time lol
[Admin]Snuggle is offline  
Thanks
2 Users
Old 07/03/2011, 21:05   #3
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
Really useful as Shadow said ^-----there a lot of people that has not knowledge on SQL are going to love this release
JohnHeatz is offline  
Thanks
1 User
Old 07/04/2011, 14:40   #4
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
thanks guys,

i was very imbarassed to release

i was worried i was stepping on toe's or posting what has been done many times.

Thankyou for the confidence boost

if anyone has a question about why/how these work, PM me or it can i beleive be discussed here

Best regards
Safe
SafeBett is offline  
Old 07/09/2011, 12:17   #5
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
This is a bump, good information for new GMs here xD
SafeBett is offline  
Old 07/19/2011, 09:36   #6
 
[GM]Recover's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 279
Received Thanks: 164
Bump well cause some of these are pretty good
[GM]Recover is offline  
Thanks
1 User
Old 08/05/2011, 15:45   #7
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
B:u:m this is still useful for new GMs xD
SafeBett is offline  
Old 08/08/2011, 15:45   #8
 
elite*gold: 46
Join Date: Nov 2009
Posts: 1,400
Received Thanks: 4,249
Quote:
Originally Posted by SafeBett View Post
B:u:m this is still useful for new GMs xD
agree'd
[Dev]Ansem is offline  
Old 08/23/2011, 08:19   #9
 
elite*gold: 0
Join Date: Aug 2011
Posts: 19
Received Thanks: 0
Question

So , i just put those querys in SQL Manager , execute them and ... done ? O.o Sorry but i am new xD
ShaiyaForever14 is offline  
Old 08/23/2011, 08:27   #10
 
elite*gold: 0
Join Date: Jul 2009
Posts: 408
Received Thanks: 180
Quote:
So , i just put those querys in SQL Manager , execute them and ... done
Simple as that
viper4513 is offline  
Old 08/23/2011, 22:24   #11
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
Yes, all you need is to type them, change the values you want/need to change and Execute the Query
JohnHeatz is offline  
Old 05/16/2014, 11:34   #12
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
Am i gonna get in trouble for bumping a necro post? even if the information is still pertinent to current and or new learning GMs/Admins?

Best Regards
Safe
SafeBett is offline  
Old 05/16/2014, 12:44   #13
 
MC Flip's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,017
Received Thanks: 1,161
Very useful querrys, but what is dead should remain dead.
This also goes for dead forum topics.
MC Flip is offline  
Old 05/16/2014, 18:04   #14
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
Quote:
Originally Posted by MC Flip View Post
Very useful querrys, but what is dead should remain dead.
This also goes for dead forum topics.
I guess you prefer i just re post it all, seems as you agree they are useful quirys?

not getting your point sorry
SafeBett is offline  
Old 05/16/2014, 20:31   #15
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,456
What's the point in posting the same thing again ?

These queries represent the very basics of SQL, and they are not dummy proof at all.
Just saying.
nubness is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 15:25.


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.