dev's in TMOS have collected/changed and edited alot of the stuff that's in here, and as a thanks to all that helped us under the way up we would like to release some of the ones we have to make our server work easyer/better.
and for credits well it's Elite i have no idea now who all that helped with this.. i found it with searching for about 6 month time before i started making the server and 2 years now running my own and changed them to so they work for us. + made some new..
so none named none forgot:-) all i can say is thanks all, hope some of them can help you all
forgot some :
Quote:
select * from PS_GameData.dbo.Chars
where CharName= 'charname here'
|
Quote:
select * from PS_UserData.dbo.Users_Master
where UserID= 'Userid here'
|
Quote:
USE PS_UserData;
UPDATE Users_Master
SET Point = (Point + 10000) -- change how many points you want to add here
WHERE UserID = 'xxx' -- userid here in ''
|
Quote:
Cleanup action log
delete
from PS_GameLog.dbo.ActionLog
where ActionTime <= getdate() - 30 -- this del Actionlog exept last 30 day's (change how you like it)
|
Quote:
how many accounts and how many banned=
SELECT count(*) as 'NoOfAccounts'
FROM [PS_UserData].[dbo].[Users_Master]
select COUNT(*) as 'NoOfBannedIp'
from [PS_UserData].dbo.BannedIPs
|