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
to reset all acc's to leave 0
to change a users p/w
to search actionlog for transactions to/from particular char
to search attatched accounts from a single IP
to ressurect a char by name
to bann all accounts from a single ip
to bann a single account
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
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%'
Code:
UPDATE PS_UserData.dbo.Users_Master SET Leave = 0
Code:
UPDATE PS_UserData.dbo.Users_Master set Pw = 'new p/w' WHERE UserID = 'loginhere'
Code:
SELECT * FROM ps_Gamelog.dbo.ActionLog Where CharID like '%idhere%'
Code:
SELECT * FROM ps_UserData.dbo.Users_Master Where userIp like '%ip goes here%'
Code:
UPDATE PS_GameData.dbo.Chars set Del = '0' Where CharName = 'charnamehere'
Code:
UPDATE PS_UserData.dbo.Users_Master set Status = -1 WHERE UserIp = 'ipgoeshere'
Code:
UPDATE PS_UserData.dbo.Users_Master set Status = -1 WHERE UserUID = 'UserUIDhere'
I hope this helps the ppl that are starting and or testing a server at home.
Best Regards
Safe