i need to know how much silk in my server in every char
some players got silk i want to know how much
how to know the amount
some players got silk i want to know how much
how to know the amount
USE
SRO_VT_ACCOUNT -- or however your account database is called
SELECT silk_own, silk_gift, silk_point FROM SK_Silk WHERE JID like '%'
USE
SRO_VT_ACCOUNT -- or however your account database is called
SELECT JID FROM SK_Silk WHERE silk_own like '%' -- % is the amount, silk_own can be replaced with silk_gift or silk_point
Quote:
Why would you open a server if you don't know the basics?
Easy way : Open the SK_Silk table from your account database.
Another method :
PHP Code:USE
SRO_VT_ACCOUNT -- or however your account database is called
SELECT silk_own, silk_gift, silk_point FROM SK_Silk WHERE JID like '%'
Then, if you want to simply find the JID :
Like, seriously, I don't even know SQL and I'm able to do it.PHP Code:USE
SRO_VT_ACCOUNT -- or however your account database is called
SELECT JID FROM SK_Silk WHERE silk_own like '%' -- % is the amount, silk_own can be replaced with silk_gift or silk_point
select top 1 StrUserID from SRO_VT_ACCOUNT.dbo.TB_User where JID = THE_JID