Argonath RPG - A World of its own
GTA:SA => SA:MP - San Andreas Multiplayer => SA:MP General => Topic started by: Zaila on January 05, 2014, 09:20:29 pm
-
First, credits to [Rstar]Louis for creating the actual script. The job done by me is just bug fixing / improvements.
So, finally we are ready to release our new gambling script. This gambling script is a blackjack script which makes it impossible to scam other players (As far as we know) as you do not need to send any money when betting. All you need is to have the money available in either your loose change or in your wallet and the script will handle the rest.
Commands:
*/bjhost [min bet] [max bet] - Hosting a BJ game
*/bjjoin [id] - To join a BJ game
*/bjready - Used to mark as ready (The game will start automatically when both are ready)
*/bjhitcard - To get a new card (Also a clickable button while playing)
*/bjstay - To stay and let the other player continue (Also a clickable button while playing)
*/bjexit - To leave a BJ game (Also a clickable button while playing)
Known issues
*If you press esc while in a BJ game, the cursor will disappear. You can either continue playing by commands stated above, or leave the game and re-create it.
How to start a game
A player can start a game inside a casino by using /bjhost and specify a minimum bet and a maximum bet. That will bring up this screen:
(http://i.imgur.com/UfZgUUD.jpg)
(The betting functions is not implemented properly yet. You can only play by using the minimum bet for now. This will be fixed in a future update)
How to play
You join an available game by using /bjjoin [id]. This command can be used on anyone that has started a BJ game. When there is 2 players available, the second player (not the host) needs to use /bjready and the screen will be updated like on this picture:
(http://i.imgur.com/96GmpMy.jpg)
The marked area shows that player 2 is ready.
When player 2 is ready, the host needs to use /bjready as well which will make the game automatically start. When the game is started, it will look like this:
(http://i.imgur.com/J8ngtvi.jpg)
The cards of the host is at the top and the cards of player 2 is at the bottom. To get a new card, you either press 'HIT' or use /bjhitcard. If you go above 21, you loose automatically. If you reach 21, you will win. It's the same for both players.
Blackjack Screen:
(http://i.imgur.com/wiwSyri.jpg)
If you either go above 21, or the other player got higher points than you, that player will win. When that happens, the screen can look like this:
(http://i.imgur.com/ZDcJ2Td.jpg)
I hope you all will enjoy this new feature. As usual, if you encounter any bugs, please report it in our bug report forum board.
-
This is now released to the public.
The script will be uploaded in an hour or so.
-
Holy....shit...THIS...IS...AWESOME....
-
Now this is revolutionary! Even though I don't like gambling :rofl:
Great job guys! (and bear)
-
It looks AWESOME!!! :)
-
this is.. actually pretty cool
-
this is GREAT .
-
This is Awesome!! too bad i don't like to gamble cause i always loose :rofl:
-
Good bye to the ban for scamming in casino. :D
-
Good bye to the ban for scamming in casino. :D
:lol:
Indeed
-
This looks amazing!
-
Yaaaaaaaaaaaaaay! Thank you guys, very good job [Rstar]Louis :D
-
So who was talking about not having new, revolutionary scripts?! This looks great!
Also, /help gambling has been written for anyone who's too lazy to go to forums.
-
The script is now available for public use.
-
This is Awesome, Thanks [Rstar]Louise!!, Also thanks Zalia for fixing the bugs, J3rry was talking with [Rstar]Rusty y-day about gambling, Rusty said that completely script changed, i see that, BTW what about 1x,2x and 3x?
Thank you very much Scripters!!! :D :D
-
Forgot to mention that in order to gamble, you need to have a passport.
-
Is there option to split cards ?
-
Is there option to split cards ?
Nope.
-
Cool!
-
So awesome!
-
Amazing!
-
Nope.
Then its not fully functional RL BJ and i would like to see /dice back.
I also doubt that people know how to play real BJ, but since this is based on SP script, go and play there !
-
If you put some thought into it, the concept of BlackJack isn't difficult to grasp so what's the problem?
-
Good job. I have a question though, Are dices going to be introduced back(of course in a different way with much more security from scamming) into RS5?
-
I don't see any problem besides it doesnt have the option to split cards, which gives you a way higher chance of winning and that you need to explain many people how to play blackjack which leads to them losing a lot of cash (which they dont have) untill they learn how to play and that will make them scream: "This shi' aint working, i lost all my money". Feel me ?
Everything else is cool and i like it.
-
But I don't know how to play the real blackjack :(
-
/help gambling
Everything is explained.
No, it's not RL Blackjack, and I don't see Zaila claiming it is. Apart from splitting cards, it's the same, however. Splitting cards would also be just too confusing for newcomers to BJ, so why bother.
-
That is Beyond Awesomness thanks Scripters :)
-
wow
-
This Topic made my day. Awesome gambling script thank you zaila <3
-
I like it
-
I received a message saying "Awesome work with the blackjack", i was like LOLWUT, then I got linked this. Glad you guys are using it after all! (Aragorn would be so proud! :D), althought I am pretty sure that when I did this i had created a "Ready" button along with the other ones. :neutral: Zaila ate the buttons!
-
I received a message saying "Awesome work with the blackjack", i was like LOLWUT, then I got linked this. Glad you guys are using it after all! (Aragorn would be so proud! :D), althought I am pretty sure that when I did this i had created a "Ready" button along with the other ones. :neutral: Zaila ate the buttons!
Nope, there has never been any 'Ready' button created by you. ;)
-
Nope, there has never been any 'Ready' button created by you. ;)
Well the idea sound interesting, instead of /bjready, you can create the "ready" button :)
-
AwEsOmE :app:
-
Good Job :app: :app:
-
I tried Gambling today and won. It is Awesome and Easy Great Work guys thank you <3 :)
-
I tried Gambling today and won. It is Awesome and Easy Great Work guys thank you <3 :)
Ye sure, easy for dealer :p
-
Ye sure, easy for dealer :p
Blame Your Luck :P
-
How can we play other games it's only BJ.
-
How can we play other games it's only BJ.
They give you a cookie and you already request more? :S... Appreciate their work and have fun with the BJ, we will probably get more games sometime!
-
How can we play other games it's only BJ.
I also thought about poker but believe me, with all the variants it has it's A LOT more complex to do. The blackjack didn't took long to achieve, plus it's the universal game everyone knows to play or can easily learn how to.
A more advanced russian roulette was going to be implemented too, and maybe will, let's hope somebody annoys zaila for it.
And zai, the ready button, you ate it. :(
Alright i'll be back to the shadows for another year or so.
-
I also thought about poker but believe me, with all the variants it has it's A LOT more complex to do.
Safe to say NLH would be the game of choice. And once you've got the basic set up, adjusting script for other popular variations (PLO, PLH, etc) should be hardly a challenge.
I was thinking over possible methods to implement Poker in SA:MP earlier though, that'd be a massively confusing system.
-
Safe to say NLH would be the game of choice. And once you've got the basic set up, adjusting script for other popular variations (PLO, PLH, etc) should be hardly a challenge.
I was thinking over possible methods to implement Poker in SA:MP earlier though, that'd be a massively confusing system.
Well, things such as pairs, three of a kind and etc are not complicated to do, but then if you have to add the colors and cards then that becomes a pretty interesting challenge.
-
What's stopping you from assigning suit?
I've never looked at what resources are available for SA:MP, but theoretically speaking, if you can assign a trigger to get a specific picture out, then it shouldn't be any difficulty whatsoever creating 52 possible outcomes, each with their own values (picture, value and suit), and then it's just easy peasy scripting of the mechanics of the game, which are awfully simple.
I reckon a decent interface and player interactions would be the more difficult parts. Probably the easiest way to go around it would be to make use of in-game game table objects, instead of having someone host the games, and have players join the tables. That way you can have different kinds going on at once, 6max, 9max, No limit, pot limit, omaha, hold em, w/e you like. And then there's the order of actions, small blinds going first, button moving around... Should be possible anyway, you could actually assign XY co-ordinates around a table for "Seats" with textdraws on them, ie, "Seat: 1" "Occupied by [no one | username]", and joining a seat would TP you to these co-ordinates, freeze you and bring up the interface, and then it's just script going around the occupied seats, assigning them current position (SB, BB, UTG, UTG+1, CO, D) and going off of that.
I guess that works.
-
@Pingster: This was a long day but I've got it fully working. Althought the virtual maze hasn't been scripted because I forgot to it could be added, right now cards can be repeated.
(http://i.imgur.com/w6MN3nx.jpg)
ZAILAAAAA! I've got a little something for you. :gand: PM me for more screens, it'll cost you one million dollars each.
EDIT two more pics: One is me owning fernando, the other is just a demonstration. Let's hope we can see this implemented in the future :)
(http://i.imgur.com/UsadwJg.jpg)
(http://i.imgur.com/GNaI1mu.jpg)
Note: Ale was just helping me test it, he's not a member of the FBI. Well, he's undercover as his own family leader and he has a mission to bust himself. :dead:
-
Good work, this will definitely bring more enthusiasm when gambling.
-
Oh you bastard, I spent good deal trying to come up with something as well :D
Good job man.
-
Looks amazing. Look what great job the owners are doing while you moan.
-
Note: Ale was just helping me test it, he's not a member of the FBI. Well, he's undercover as his own family leader and he has a mission to bust himself. :dead:
so that's how things leaked! :cowboy:
-
Are players still allowed to continue /dice gambling?
-
Are players still allowed to continue /dice gambling?
/dice doesn't exist.
-
/dice doesn't exist.
Damn.
-
Looks neat, even if I'm not much of a blackjack player, more of a scratch card guy! Maybe scratch cards could be added as well? :lol:
-
(http://i.imgur.com/w6MN3nx.jpg)
PWNED! Haha :P
Note: Ale was just helping me test it, he's not a member of the FBI. Well, he's undercover as his own family leader and he has a mission to bust himself. :dead:
Shhh I said you to not talk about that -.-!
-
Is Poker Game going to be added ? It looks cool.
-
Looking nice Louis. I saw your PMs, please come on Skype and send me the source code so can i take a look.
-
Is Poker Game going to be added ? It looks cool.
Maybe. Here's two pics of what could be added.
(http://i.imgur.com/a8urKT6.jpg)
(http://i.imgur.com/doaXBFM.jpg)
(Ignore the | in the second one at where the cash is displayed, i've got it fixed.)
-
I like that Poker game.
-
I love this.
Probably the ONLY thing i like about RS5 xD
I remember this in the fbi server, pretty cool.
inb4 so many people asking how poker works :D
Waiting for it to be scripted IG ^^
-
How about adjust for Texas Hold Em? More player per game support (possibly hardcode in "table" that you can join, instead of having players host it? New game would start as soon as 2 people join, keeping the current mechanic), accurate positions and so on. Had a few ideas how to script this, but gave up, as there's already an existing base for card games, no point making a new system :P
-
How about adjust for Texas Hold Em? More player per game support (possibly hardcode in "table" that you can join, instead of having players host it? New game would start as soon as 2 people join, keeping the current mechanic), accurate positions and so on. Had a few ideas how to script this, but gave up, as there's already an existing base for card games, no point making a new system :P
People will start joining RS5 just to play Poker with their friends!!
PLEASE MAKE THIS.
5 players per table, one of them can host+play. PLEAASE!! They can all vote for blinds at the start. MAKE THIS
Proper Texas Hold Em. !! :D
;) INB4 "RP IT"
-
To support more than 2 players per table he should re-write the WHOLE script.
I love this feature:
(http://i.imgur.com/a8urKT6.jpg)
-
Not rewrite per say, but add a bunch more content for sure.
-
Not rewrite per say, but add a bunch more content for sure.
I already talked him about adding this feature and he said me that he should re-write it. Anyway the actual system its amazingg! :D
-
I already talked him about adding this feature and he said me that he should re-write it. Anyway the actual system its amazingg! :D
And yet Texas Hold Em is a more interactive, popular, tactical poker game. Sure, I've no idea of the layout Louis has for the script, but it should be possible to do it without rewritting EVERYTHING, though it's probably a good idea to do so anyway.
-
And yet Texas Hold Em is a more interactive, popular, tactical poker game. Sure, I've no idea of the layout Louis has for the script, but it should be possible to do it without rewritting EVERYTHING, though it's probably a good idea to do so anyway.
The current system is optimized for only two players, the host and the second player. This means that adding more players with the current system would be completely unefficient the way I wrote the script. It is better to rewrite it completely from scratch with a new plan to make it two+ players compatible.
-
The current system is optimized for only two players, the host and the second player. This means that adding more players with the current system would be completely unefficient the way I wrote the script. It is better to rewrite it completely from scratch with a new plan to make it two+ players compatible.
Get to work then. :P
-
Pokah face :D lololol