cedric0109 Posted November 23, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 04/26/12 Last Seen: December 7, 2016 Share Posted November 23, 2016 (edited) Hi Newbie Here I'm trying to make convert that script from zeny to item i want to put it on my RO so players can play that the game is simple you bet your item ( ex. TCG ) then you guess the number from 1 - 100 if you loses your TCG will be stored until someone guess the number right Jackpot game but still i cant do it right can someone help me thats the sample im basing of jackpot.txt Edited November 23, 2016 by Emistry Please use a Proper Topic Title! Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 23, 2016 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 23, 2016 Support on this session must be in english. For any other language, use one of these subforums. Quote Link to comment Share on other sites More sharing options...
0 cedric0109 Posted November 23, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 04/26/12 Last Seen: December 7, 2016 Author Share Posted November 23, 2016 16 hours ago, Haziel said: Support on this session must be in english. For any other language, use one of these subforums. sorry wait ill translate Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 9, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 9, 2016 I think the script itself look fine, just a some bug that can be exploit. mes "[Leon]"; mes "You guessed the correct number!"; next; mes "[Leon]"; mes "Congratulations! You have won the Jackpot of ^008800"+$JackpotAmount+" zeny^000000!"; set zeny,zeny+$JackpotAmount; announce "[ Jackpot ]: "+strcharinfo(0)+" has won the Jackpot of "+$JackpotAmount+" zeny !!",0x76EE00; set $JackpotAmount,0; close2; announce "[ Jackpot ]: The number that won the Jackpot was "+$JackpotNumber+".",0x76EE00; set $JackpotNumber,0; sleep2 5000; announce "[ Jackpot ]: To win Jackpot come chip in some zeny and take a guess!",0x76EE00; end; change to input .@JackpotPick; if( .@JackpotPick < 1 || .@JackpotPick > 100 ) { next; mes "[Leon]"; mes "You must enter a number between ^FF00001^000000 and ^FF0000100^000000. I do not give refunds!"; goto JackpotStart; } else { mes "["+strcharinfo(0)+"]"; mes "My number is ^880000"+.@JackpotPick+"^000000!"; next; if(.@JackpotPick!=$JackpotNumber) { mes "[Leon]"; mes "You guessed the wrong number."; mes "You can always try again!"; goto JackpotStart; } mes "[Leon]"; mes "Congratulations! You have won the Jackpot of ^008800"+$JackpotAmount+" zeny^000000!"; set Zeny,Zeny + $JackpotAmount; announce "[ Jackpot ]: "+strcharinfo(0)+" has won the Jackpot of "+$JackpotAmount+" zeny !!",0x76EE00; announce "[ Jackpot ]: The number that won the Jackpot was "+$JackpotNumber+".",0x76EE00; set $JackpotAmount,0; set $JackpotNumber,0; close2; announce "[ Jackpot ]: To win Jackpot come chip in some zeny and take a guess!",0x76EE00; end; } You just need more practice and testing on the script. Quote Link to comment Share on other sites More sharing options...
Question
cedric0109
Hi Newbie Here
I'm trying to make convert that script from zeny to item
i want to put it on my RO so players can play that
the game is simple
you bet your item ( ex. TCG ) then you guess the number from 1 - 100 if you loses your TCG will be stored until someone guess the number right
Jackpot game but still i cant do it right can someone help me
thats the sample im basing of
jackpot.txt
Edited by EmistryPlease use a Proper Topic Title!
Link to comment
Share on other sites
3 answers to this question
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.