hendra814 Posted September 1, 2017 Posted September 1, 2017 (edited) View File Slot Machine With Random Reward and Running at Spesified OnClock Hi All, Here i want share with you my modification script from @GmOcean Thanks. For GM access level change at line 3 Quote if( getgmlevel() == 99 ) { mes "Welcome Administrator.","What would you like to do?"; menu "Play Game",-,"Change Slot Machine Mode",iMode; next; } for item/zeny payment change at line 235 ~ 238 Quote // Payment Settings // Payment Type // 0 = Zeny, 1 = Item, 2 = Zeny&Item .payment = 1; // [0] = Zeny, [1] = Item ID, [2] = Item Amount; setarray .ssm_payment[0],100000,7539,2; // Single Slot Machine Payment Price setarray .tsm_payment[0],100000,7539,2; // Triple Slot Machine Payment Price for OnClock, change at line 191~196 Quote OnClock0400: OnClock0830: OnClock1200: OnClock1600: OnClock2000: OnClock0000: This Slot Machine will disapear after 5 Minutes If you want replace, change it at line 201 Quote sleep 300000; For random reward, change at line 31~76 and 106~151 Quote switch(rand(15)) { case 0: getitem 603,5; break; case 1: getitem 617,5; break; case 2: getitem 644,5; break; case 3: getitem 616,1; break; case 4: getitem 31053,1; break; case 5: getitem 18571,1; break; case 6: getitem 7539,100; break; case 7: getitem 17271,1; break; case 8: getitem 17272,1; break; case 9: getitem 17273,1; break; case 10: getitem 17274,1; break; case 11: getitem 17275,1; break; case 12: getitem 12208,5; break; case 13: getitem 12103,2; break; case 14: getitem 12259,1; break; } Special thanks to 1. @GmOcean for slot machine script 2. @Emistry for enable hideoffnpc and hideonnpc 3. @Nova for inspired slot machine function Submitter hendra814 Submitted 09/01/2017 Category Games, Events, Quests Video Content Author GMOcean, hendra814, Nova Edited September 1, 2017 by hendra814 2 Quote
Quesooo Posted September 1, 2017 Posted September 1, 2017 this is what im looking for BTW a little bit of bug when testing to it if the npc is gone and the slot machine event is over the players can continue spinning with out the npc the can keep the dialog box and spin as many as they can Quote
hendra814 Posted September 1, 2017 Author Posted September 1, 2017 (edited) 5 hours ago, Quesooo said: this is what im looking for BTW a little bit of bug when testing to it if the npc is gone and the slot machine event is over the players can continue spinning with out the npc the can keep the dialog box and spin as many as they can Okay, I'll try to fix it and i will notice you if already update. Edited September 1, 2017 by hendra814 1 Quote
Quesooo Posted September 1, 2017 Posted September 1, 2017 16 hours ago, hendra814 said: Okay, I'll try to fix it and i will notice you if already update. thank you Quote
hendra814 Posted September 1, 2017 Author Posted September 1, 2017 2 hours ago, Quesooo said: thank you i'm already fix the script, please download and test the new script. Thanks 1 Quote
Quesooo Posted September 2, 2017 Posted September 2, 2017 another report player gets stock if the gold coins is not enough also player stock after the event over Quote
hendra814 Posted September 3, 2017 Author Posted September 3, 2017 (edited) 13 hours ago, Quesooo said: another report player gets stock if the gold coins is not enough also player stock after the event over already tried, mine works well this for not enough payment Spoiler and this for slot machine when already finished Spoiler Edited September 3, 2017 by hendra814 1 Quote
Sill Posted May 27, 2020 Posted May 27, 2020 my machine slot its costing only "to play" im trying to change all the costs and nothing works Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.