Jump to content

Utility: Simple DailyZell


Zell

Recommended Posts


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  412
  • Reputation:   266
  • Joined:  04/25/12
  • Last Seen:  

Simple DailyZell


Hello everyone. I came this time to bring an old daily reward system that I did. Most of the daily reward systems are so complicated for no reason.

The system draws every day (or each reload) an item from the list of rewards, which can be vip, cash or an item. Items that have already been drawn will only be drawn once the entire list has been drawn.
 

//SQL  and insert sample

	CREATE TABLE IF NOT EXISTS `daily_account` (
  `aid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
	CREATE TABLE IF NOT EXISTS `daily` (
  `id` int(2) NOT NULL,
  `type` int(3) NOT NULL,
  `value` int(10) NOT NULL,
  `take` int(2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
	INSERT INTO `daily` (`id`, `tipo`, `valor`, `take`) VALUES
(1, 2, 1, 0),
(2, 673, 1, 0),
(3, 673, 3, 0),
	//ID: Daily ID
//TYPE: 1 = Cash
//      2 = Vip
//      500+ = Item ID
//VALUE: type 1 = Cash value
//       type 2 = Vip Day
//       type 3 = Item Quantity
	

 

Acctually players have to stay online 40 minutes to receive the daily reward.

You can change this here

sleep2 2400000;

Inside of the rar you will found cutins sample examples of how you can make yours

 

 


  • Submitter
  • Submitted
    05/31/2018
  • Category
  • Video
  • Content Author
    Zell

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...