Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 18:57

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

Advertisement



[Query] Add Silk To all Registered users

Discussion on [Query] Add Silk To all Registered users within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old   #1
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
[Query] Add Silk To all Registered users

Hello ,

(resume to queries threads) Just a very simple query to add amount of silk to all registered users

PHP Code:
/***********Wrote by Dr.Abdelfattah***********/  
USE SRO_VT_ACCOUNT;
GO
INSERT INTO SK_SILK 
(JID,
silk_own,
silk_gift,
silk_point
SELECT JID,
'0',
'0',
'0'
FROM TB_User 
WHERE not exists 
(select from SK_Silk 
WHERE SK_SILK
.JID TB_User.JID);
UPDATE SK_Silk SET silk_own=silk_own+10
/***********Wrote by Dr.Abdelfattah***********/ 
at SRO_VT_ACCOUNT change to your account db name if you change it,
at silk_own=silk_own+10 change 10 to the silk value(amount) you need to add to all registered users .

Have Fun .
Dr.Abdelfattah is offline  
Thanks
15 Users
Old 02/28/2012, 14:37   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 417
Received Thanks: 161
Thanks Abdelfattah
JungleRules is offline  
Thanks
1 User
Old 02/28/2012, 15:15   #3
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
#Reported to spamming/flaming out again
and watch out my query again it's completely different from your query now and i can't change it anymore, it's the best form .

your query

INSERT INTO SK_SILK
(JID)
SELECT JID
FROM TB_User
WHERE not exists (select * from SK_Silk
WHERE SK_SILK.JID = TB_User.JID);

mine

INSERT INTO SK_SILK
(JID,
silk_own,
silk_gift,
silk_point)

SELECT JID,
'0',
'0',
'0'

FROM TB_User
WHERE not exists (select * from SK_Silk
WHERE SK_SILK.JID = TB_User.JID);
UPDATE SK_Silk SET silk_own=silk_own+10

values function is also removed, at last no more replay i will just report that spam
Dr.Abdelfattah is offline  
Thanks
2 Users
Old 02/28/2012, 16:18   #4
 
elite*gold: 179
Join Date: Dec 2010
Posts: 931
Received Thanks: 311
thanks my friend also everyone can use it too for give silks to all users.

update sk_silk set silk_own = silk amount where jid>0
ermvrs is offline  
Thanks
3 Users
Old 03/10/2012, 14:26   #5
 
elite*gold: 0
Join Date: Aug 2011
Posts: 43
Received Thanks: 1
Thank you very much this is very useful.
firat0909 is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
Query To Change Item Mall Silk Price
02/12/2012 - SRO Private Server - 3 Replies
here is the query forgot : change the xx with the silk price
Monster.ini file - query for users of this
09/21/2009 - Zero - 0 Replies
I'd just like to anyone that uses this if its still working for them or has tq actually "fixed" it for good now? I have the edited file in the ini folder and it usually works for me but recently its stopped working even thought the alarm text is still there. Anyone have any advice on how to get the file to work again? Or maybe does some1 have a list of times that they willing to share :S (longshot i know). thanks
1 million registered users
08/07/2009 - Main - 222 Replies
epvp passed the 1.000.000 registered users mark today. We would like to let this post serve as a thank you from the whole epvp team to you - the epvp community faithful. A big shout out to the awesome community that has grown around epvp for making this possible. Honestly, this would not have been possible without the support and participation of all our users. But where is the event? It's coming soon, we've planned something bigger this time... :)



All times are GMT +1. The time now is 18:57.


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.