Hello fellow Royalers and other readers. Perhaps this has already been suggested or is already in place, I haven't been back long. Basically it is exactly as the title says: an area with NPCs with minigames and/or games involving gambling. I've seen this on a few other servers. It is always a fun little break and easy to implement. I'm not sure if ragezone is still around, but you could probably do a little surfing on there to find some NPCs related. Some examples: Rock paper scissors, gemz (bejewled), tic tac toe, etc. Here is one I made a long time ago when I was more familiar with javascript. It is definitely not optimized, but if I recall it works just fine! It would need to be changed from stamps to mesos, stamps was the currency on the server I made it for. If you guys are interested I'd be willing to go back and change it to however you want to do it. Though I would not recommend letting them pick however mesos they want, because people could get really rich really fast. PHP: // In this NPC they pick a number 1-5. Then they bet 1-3 4002000 (Snail Stamps). If their number is picked by the randomizer, they win triple the amount of 4002000 picked. var num = [1, 2, 3, 4, 5]; var status = 0; var num1 = num[Math.floor(Math.random()*num.length)]; function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { selected = selection; if (mode == -1) { cm.dispose(); } else { if (status >= 0 && mode == 0) { cm.sendOk("Bye!"); cm.dispose(); return; } if (mode == 1) status++; else status--; if (status == 0) { cm.sendNext("Hello and welcome to Triple or Nothing, the NPC version. Click next to learn about how to play."); } else if (status == 1) { cm.sendNext("#eHow to play:#n\r\n\r\nFirst, you will pick a number #b1-5#n. This will decide the number you want to bet your money on. Then, you will a pick number #b1-3#n. This number will indicate the amount of #i4002000# you want to bet. If your number is chosen by the random generator, you will recieve 3 times the amount of #i4002000# you bet. If your number if not picked, you will not recieve any #i4002000#."); } else if (status == 2) { cm.sendSimple("#b#L0#I want to play!#l"); } else { if (selection == 0) { if (cm.itemQuantity(4002000) > 0) { cm.sendSimple("Pick the number you want to bet on\r\n\r\n#b#L1#1#l\r\n#L2#2#l\r\n#L3#3#l\r\n#L4#4#l\r\n#L5#5#l"); } else { cm.sendOk("Sorry, you do not have enough #i4002000#"); cm.dispose(); } } else if (selection == 1) { cm.sendSimple("Pick the amount of #i4002000# you want to bet\r\n\r\n#b#L6#1#l\r\n#L7#2#l\r\n#L8#3#l"); } else if (selection == 2) { cm.sendSimple("Pick the amount of #i4002000# you want to bet\r\n\r\n#b#L9#1#l\r\n#L10#2#l\r\n#L11#3#l"); } else if (selection == 3) { cm.sendSimple("Pick the amount of #i4002000# you want to bet\r\n\r\n#b#L12#1#l\r\n#L13#2#l\r\n#148#3#l"); } else if (selection == 4) { cm.sendSimple("Pick the amount of #i4002000# you want to bet\r\n\r\n#b#L15#1#l\r\n#L16#2#l\r\n#L17#3#l"); } else if (selection == 5) { cm.sendSimple("Pick the amount of #i4002000# you want to bet\r\n\r\n#b#L18#1#l\r\n#L19#2#l\r\n#L20#3#l"); // 1 Below } else if (selection == 6) { cm.gainItem(4002000, -1); cm.dispose(); if (num1 == 1) { cm.gainItem(4002000, 3); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 7) { cm.gainItem(4002000, -2); cm.dispose(); if (num1 == 1) { cm.gainItem(4002000, 6); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 8) { cm.gainItem(4002000, -3); cm.dispose(); if (num1 == 1) { cm.gainItem(4002000, 9); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } // 2 Below } else if (selection == 9) { cm.gainItem(4002000, -1); cm.dispose(); if (num1 == 2) { cm.gainItem(4002000, 3); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 10) { cm.gainItem(4002000, -2); cm.dispose(); if (num1 == 2) { cm.gainItem(4002000, 6); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 11) { cm.gainItem(4002000, -3); cm.dispose(); if (num1 == 2) { cm.gainItem(4002000, 9); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } // 3 Below } else if (selection == 12) { cm.gainItem(4002000, -1); cm.dispose(); if (num1 == 3) { cm.gainItem(4002000, 3); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 13) { cm.gainItem(4002000, -2); cm.dispose(); if (num1 == 3) { cm.gainItem(4002000, 6); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 14) { cm.gainItem(4002000, -3); cm.dispose(); if (num1 == 3) { cm.gainItem(4002000, 9); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } // 4 Below } else if (selection == 15) { cm.gainItem(4002000, -1); cm.dispose(); if (num1 == 4) { cm.gainItem(4002000, 3); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 16) { cm.gainItem(4002000, -2); cm.dispose(); if (num1 == 4) { cm.gainItem(4002000, 6); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 17) { cm.gainItem(4002000, -3); cm.dispose(); if (num1 == 4) { cm.gainItem(4002000, 9); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } // 5 Below } else if (selection == 18) { cm.gainItem(4002000, -1); cm.dispose(); if (num1 == 5) { cm.gainItem(4002000, 3); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 19) { cm.gainItem(4002000, -2); cm.dispose(); if (num1 == 5) { cm.gainItem(4002000, 6); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } else if (selection == 20) { cm.gainItem(4002000, -3); cm.dispose(); if (num1 == 5) { cm.gainItem(4002000, 9); cm.sendOk("Congratulations, you won!"); cm.dispose(); } else { cm.sendOk("Sorry, you have lost. Try again next time!"); cm.dispose(); } } } } }
I'd much rather that developer time goes into getting all the quests and stuff working. I just don't think we need a maple royals casino.
Well yes, as would I. Obviously things have priority over others! This is just something where everything is already out there, and pretty easy to implement. As to the other guy, the gambling part is not necessary. That can be disastrous if someone is able to make a ton of money off it. But just having the little minigames can be enjoyable!
Mr Pick-Lock-smith(?) in Kerning is already a gambling npc.. why not have more. Mini-games such as these and omok are wonderful, gives us other things to do.
If you consider Mr Pickall as the gambling guy of a server, then there is no gambling. I'd love some higher stakes and a real game, instead of absolutely random shit noone uses. However, RockPaperScissors is technically the same of course. I would totally agree if there were real casino games like Roulette or BlackJack. That would really be amazing, and I'd play that alot. Just be sure to get no-limit stakes or something. 200k from mr pickall is seriously lame and not worth any trouble.
Yeah, but you also don't want the stakes too high. We had a system in place that mirrored the NPC I made (that is in the original post) on another server. People started losing too much money and complaining so we had to stop. That is why I don't suggest we have it be too high stakes. While some are good with gambling, others are horrible and spend all their money.
Yes, true. This is why I made the lottery thing, since there's no gambling environment in the game (Mr. Pickall is a joke). Btw, Blackjack would have to be altered, since it can be tricked in the traditional way to make a fortune, pretty much ruining the economy. Speaking of gambling: You owe me 10m, Nick!
The staff could add optional betting to existing mini-games like the Memory Cards & Omok which could also give more incentive to play them. Say both players agree to bet 100k, and the winner gets the pool of 200k. (Or whatever amount they ante up.) One advantage to this is that mesos are gambled between players instead of NPCs and doesn't create inflation. Taxes could be added similar to trades when the game is closed if a meso sink is needed too. I'd be okay with gambling items as well if that was possible, but I could easily see that getting out of hand. Also, could the piece count be decreased to make the game sets? There's a reason later versions even pre-BB dropped the requirements to 15 cards and 2 pieces (1 per player) per table respectively.