cedric0109 Posted November 23, 2016 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
0 Haziel Posted November 23, 2016 Posted November 23, 2016 Support on this session must be in english. For any other language, use one of these subforums. Quote
0 cedric0109 Posted November 23, 2016 Author 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
0 Emistry Posted December 9, 2016 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
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!
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.