SA-MP Forums Archive
[FilterScript] Texas Holdem Poker (Multiplayer) (NG-RP) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Texas Holdem Poker (Multiplayer) (NG-RP) (/showthread.php?tid=419263)

Pages: 1 2 3


Texas Holdem Poker (Multiplayer) (NG-RP) - GhoulSlayeR - 28.02.2013





Former head scripter over at NGG (NG-RP), made a enemy of me by trying to censor legitimate posts of mine (it's a common thing over there who challenges the status quo). I didn't sign any exclusive agreement when I sold it and I don't see why it has to remain exclusive to NG-RP forever, so I'm giving it to those in the scripting community that are brave enough to pry it open, modify, compile and release it, so here it is:

g_casinogames.pwn - http://pastebin.com/3FtF3MAc
g_casinogames_utilities.pwn - http://pastebin.com/bMeR1jRX

I originally made this script as an intention of adding more games toward it, but honestly I got a little too ahead of myself and only managed to finish Texas Holdem Poker.

Now there is a few bugs in the hand analyzer and a few minor ones in other places and I would fix them if only I had some spare time so I'm releasing it as is with no intention of releasing bug fixes.

Disclaimer: I'm giving you FULL permission to modify, rename, gut and pillage to your heat's content. You may even re-release it to these forums if you happen to make game alterations or bug fixes. You can even remove my name and say you came up with the whole thing, just remember to think of me when you do it.

This is pretty much my LAST contribution script-wise toward my 6-7 year journey here on sa-mp, it's time I move on to learn and do other things, It's been fun guys.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - firemanjv - 28.02.2013

Screenshots pics ??


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - GhoulSlayeR - 28.02.2013

I don't have any up-to-date screenshots so you'll have to make do with some early WIP screenshots, they are pretty much close enough anyway.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - firemanjv - 28.02.2013

nice i think its good for rp of minigames / fun


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Broker - 28.02.2013

nice job.. !!!!


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - mgd - 28.02.2013

lol nice
i like this script good job , keep up the awesome work
+rep.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Kenway - 28.02.2013

some of the cmds doesn't work like /casinogames any one now what the problem?


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - DarkB0y - 28.02.2013

nice work ! keep it up !


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - GsT - 28.02.2013

Great job putting your time into this, not many would have had the patience to pull this out. Do you happen to have a list with those bugs that you found out, in order to check them?


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Krz - 28.02.2013

Perfect :O


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Krz - 28.02.2013

Quote:
Originally Posted by Kenway
View Post
some of the cmds doesn't work like /casinogames any one now what the problem?
I have :/


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Matz - 28.02.2013

Good job!


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - GhoulSlayeR - 28.02.2013

Quote:
Originally Posted by Kenway
View Post
some of the cmds doesn't work like /casinogames any one now what the problem?
Look in the script hehe, they require you to be logged on as a rcon admin.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Krz - 28.02.2013

Quote:
Originally Posted by GhoulSlayeR
View Post
Look in the script hehe, they require you to be logged on as a rcon admin.
I Know but the error stills.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - GhoulSlayeR - 28.02.2013

Quote:
Originally Posted by GsT
Посмотреть сообщение
Great job putting your time into this, not many would have had the patience to pull this out. Do you happen to have a list with those bugs that you found out, in order to check them?
Thanks.

I don't really have a official list of all the bugs but the ones I do know:

1) Three of a Kind gets mixed up with a Four of a Kind.
2) Raising the pot (dialog) has a funky bug when the active bet is more than the pot.
3) Leaving the table (quitting/timing out/kicked/banned) while being an active player causes the game to get stuck in a endless loop, this is known to happen when there is more than 2 players.
4) Players don't always go to where their suppose too in respects of the table offsets, I don't know if this is a sa-mp sync issue or an error in my coding. I tried to fix this by "re-seating" players every so often via the table pulse timer, but it seems to not want to work. I experienced this issue more often if 3+ players are at the table.
5) Blinds and dealer rotations have a mind of their own and will vary between working and doing something completely unexpected.

Like I said, I would go around a fix all of them, I just don't personally have time for it, but everyone is welcome to post fixes for them, I'll even update the opening post and give them credit.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - GhoulSlayeR - 28.02.2013

Quote:
Originally Posted by Krz
Посмотреть сообщение
I Know but the error stills.
Quite odd, check if your gamemode/filterscripts is has conflicting dialogids with the casino's dialogids.

That's all I can think of, good luck.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - TuTh - 28.02.2013

wow! awesome


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Luis- - 28.02.2013

That looks fucking amazing! I'd love to feature something like this on my new RP script.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Zempist - 28.02.2013

Its sad to see that NGRP has turned into what it is, it was a great community. But with all of stupid people involved, - its just not the same fun server it used to be....

Great job with the script though, you obveriously have talent seeing as you were good enough to script for one of the biggest sa-mp servers out there, i personally spent hours and hours playing NGRP, but not anymore.


Re: Texas Holdem Poker (Multiplayer) (NG-RP) - Kenway - 01.03.2013

Waiting for the new release with bug fix