Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

how to send item to player online

Banned
Banned
Joined
Aug 26, 2016
Messages
336
Reaction score
19
You can either use script or update your GMTool source.
But anyway here is my script for sql:
USE RanShop
INSERT INTO ShopPurchase (UserUID,ProductNum,PurPrice,PurFlag,PurDate)
SELECT UserName,
(SELECT ProductNum FROM RanShop.dbo.ShopItemMap WHERE ProductNum = XX),'0','0',GETDATE() FROM RanUser.dbo.UserInfoWHERE UserLoginState = 1
XX = ProductNum in your ShopItemMap table.
 
Upvote 0
Elite Diviner
Joined
Sep 7, 2020
Messages
450
Reaction score
76
thanks you all how about send to all player when online ? or need to use gmc
 
Upvote 0
Back
Top