Jump to content
  • 0
Luffy

[Request] A Daily Lucky Spin Like this?

Question

11895983_1261020220581627_7629306528177017309_n.jpg?oh=5a669cbacca4806a0f1479a24c600946&oe=567FD23B&__gda__=1446467588_32e6e990ac99ebf48320fa44bfe70f04

 

those someone knows this a daily spin reward script?

Edited by Luffy

Share this post


Link to post
Share on other sites

37 answers to this question

Recommended Posts

  • 0

Judging by that, the arrow just spins around. With my cutin the items spin around. But meh, I'm not making the script so either way pick which ever works for you guys.

Share this post


Link to post
Share on other sites
  • 0

Anyone else willing to script can go ahead :(

I am away for this week, and cannot code this week.

Share this post


Link to post
Share on other sites
  • 0

I was a too lazy to get the correct Item IDs/Aegis Names, but here it's, as far as I've tested it's working fine. I've used @@GmOcean cutins.

It is in a function so you can handle its requirements in the way you want. just callfunc "F_LuckSpin"; The example in the end uses an on login method that runs once per day per account.

 

function	script	F_LuckSpin	{	// Prizes ID, Prize Ammount	// You can use IDs:	//		0 - Nothing	// 		1 - Zeny	setarray .@Prizes[0],		0, 0,		1, 100000,		502, 2,		503, 3,		504, 4,		505, 5,		506, 6,		507, 7,		508, 8,		509, 9,		510, 10,		511, 11,		512, 12,		513, 13,		514, 14,		515, 15,		516, 16,		517, 17,		518, 18,		519, 19,		520, 20,		521, 21,		522, 22,		523, 23;		.@size = getarraysize(.@Prizes)/2;	.@fullSpins = rand(1, 3);	.@stop = rand(0, .@size);		for (.@i = 0; .@i < .@fullSpins; .@i++) {		for (.@j = 0; .@j < .@size; .@j++) {			cutin "spin_" + (.@j + 1), 4;			sleep2 50;		}	}		for (.@i = 0; .@i < .@stop; .@i++) {		cutin "spin_" + (.@i + 1), 4;		sleep2 50 + 30 * .@stop; // Makes it go slower each time	}		.@pId = .@Prizes[.@stop * 2];	.@pAm = .@Prizes[(.@stop * 2 + 1)];		if (.@pId == 0)		return;	else if (.@pId == 1)		Zeny += .@pAm;	else		getitem .@pId, .@pAm;		sleep2 500;	cutin "", 255;		return;}-	script	DailyLuckSpin	-1,{OnPCLoginEvent:	.@today = atoi(gettimestr("%Y%m%d",10));		if (#LastSpinDay < .@today) {		callfunc "F_LuckSpin";		#LastSpinDay = .@today;	}	end;}

If someone rans into any problem, let me know.

Share this post


Link to post
Share on other sites
  • 0

well any news? did someone already tried what @@KirieZ post?

 

okay i tried it, and its working.

 

i will improve the design.

Edited by Luffy

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.