Jump to content
  • 0
Luffy

[Request] A Daily Lucky Spin Like this?

Question

39 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

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 [email protected][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;		[email protected] = getarraysize([email protected])/2;	[email protected] = rand(1, 3);	[email protected] = rand(0, [email protected]);		for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) {		for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) {			cutin "spin_" + ([email protected] + 1), 4;			sleep2 50;		}	}		for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) {		cutin "spin_" + ([email protected] + 1), 4;		sleep2 50 + 30 * [email protected]; // Makes it go slower each time	}		[email protected] = [email protected][[email protected] * 2];	[email protected] = [email protected][([email protected] * 2 + 1)];		if ([email protected] == 0)		return;	else if ([email protected] == 1)		Zeny += [email protected];	else		getitem [email protected], [email protected];		sleep2 500;	cutin "", 255;		return;}-	script	DailyLuckSpin	-1,{OnPCLoginEvent:	[email protected] = atoi(gettimestr("%Y%m%d",10));		if (#LastSpinDay < [email protected]) {		callfunc "F_LuckSpin";		#LastSpinDay = [email protected];	}	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

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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