[Request] A Daily Lucky Spin Like this?

Tbh, no idea, haven't seen someone really making the cutin or showing progress.

 
O.o lol, this is like my slot machine script... I'll try and see if I can make some cutins for it.

The current image has 24 items. Sadly, I lost all my server files, so I wont be writing a script for it.

So, i'll try and make it about ~12-16 items displayed.

Edit:

Almost forgot, I kinda need the list of items that are winable. Or, it'll just be a spinning wheel with an arrow xD

Going for 24 items.

If not, I'll just throw in my own set of items. Some pots, OBB, the usual freebie stuff.

 
Last edited by a moderator:
@@GmOcean

It would be great if you can throw your own set of items, and we will be the one to edit it incase if you released it
default_smile.png


i appreciate that!

 
Well, the reason I asked for a list of items is for the pictures themselves. Editing bmp's aren't that much of an issue for most people but meh, we'll see.

Edit:

@@Dastgir -

Well, here's the cutin files I made. 24 bmps, I also included the PSD file for w/e reason. I was going to make more, but then I realized you could just loop through them over again to make it run longer.

Spinwheel Cutin

 
Last edited by a moderator:
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.

 
Nice null item, wonder what it does.

 
Anyone else willing to script can go ahead
default_sad.png


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

 
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.

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

okay i tried it, and its working.

i will improve the design.

 
Last edited by a moderator:
Back
Top