Raised This Month: $12 Target: $400
 3% 

Video Poker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Hawk552 (427)
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-14-2009 , 10:33   Video Poker
Reply With Quote #1

Video Poker
description
The casino game with motd style and the cards with nice visual (as blackjack)
cvars
vp_min_bet_val - The minimum bet value. Default 100
vp_chat_msgs - Toggle chat messages announcing the game results
vp_enabled - Enabled/Disabled
vp_start_method - 0: command videopoker; 1: command say videopoker; 2: - both
commands
videopoker
say videopoker

modules
fakemeta
screenshots
Main Menu
Game Table
Selecting cards to discard
Game Table On win
extra
Portuguese translation by bomnacama
Dutch translation by crazyeffect

Polish translation by F00X
changelog
Version 1.4
When the exhibition of chat messages was disabled you wouldn't receive your deserved money on win. Discovered by F00X

Version 1.3

Corrected the payment on winning. It was paying the prize, but not reposing the bet value.
Updated to fakemeta.
Changed the lang file in order that it don't override the lang entries of the blackjack plugin
Added Dutch language. Translation by crazyeffect
. Gave +karma to him and ill give to anyone that give me a translation
Version 1.2
Updated the game result verification. Undid the previous "correction". A "Flush" can't have pairs or triples since the cards have to be from the same suit. Still, this version features a correction in the same algorithm.
Version 1.1
Updated the game result verification algorithm. Now it checks for "Flush" with pairs or triples.
Attached Files
File Type: zip videopoker.zip (7.1 KB, 1461 views)
File Type: sma Get Plugin or Get Source (videopoker.sma - 2554 views - 17.9 KB)

Last edited by joaquimandrade; 03-04-2009 at 15:07.
joaquimandrade is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 02-14-2009 , 10:48   Re: Video Poker
Reply With Quote #2

Another gambimg game
I suggest that u make it say "Hold" instead of "Maintain" but apart form that...
awesome!
__________________
minimiller is offline
Send a message via MSN to minimiller
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-14-2009 , 10:53   Re: Video Poker
Reply With Quote #3

Quote:
Originally Posted by minimiller View Post
Another gambimg game
I suggest that u make it say "Hold" instead of "Maintain" but apart form that...
awesome!
yeah, you're right, "Hold" would be better. If you want to, you just need to change it in the data/lang/videopoker.txt file

Change:
MANTAIN = Mantain
To:
MANTAIN = Hold

Edit: Files updated. Thanks for noticing that.

Last edited by joaquimandrade; 02-14-2009 at 11:00.
joaquimandrade is offline
mahooo60
Senior Member
Join Date: Apr 2005
Old 02-14-2009 , 11:26   Re: Video Poker
Reply With Quote #4

cool now i see a lot card plugins...do they really have so much time to play cards in counterstrik!good job anyway
mahooo60 is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-14-2009 , 11:50   Re: Video Poker
Reply With Quote #5

Quote:
Originally Posted by mahooo60 View Post
cool now i see a lot card plugins...do they really have so much time to play cards in counterstrik!good job anyway
I have a server and its users play them very much while dead. I've putted together casino games, my other plugin of the configs, and some others more that i've built in there, and with 2 months of existency it is at 9th/748 place in the country ranking of cs 1.6 servers.

I've putted them together in a menu, added a plugin to configure the user rates for them, added the aimbot plugin with a menu to make the users able to send the bot watch the players that they want, and it is a great sucess.

There are some guys that go there just to configure the rates and to use the plugin of the player configs.

That just to say: if you're running a non deathmatch server the cards games are a nice addon.

Last edited by joaquimandrade; 02-14-2009 at 11:58.
joaquimandrade is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-14-2009 , 12:21   Re: Video Poker
Reply With Quote #6

Dutch translation:

Quote:
[nl]
TITLE_MENU = Video Poker
MSG_MOTD_LOST = Jij Hebt Verloren
MSG_MOTD_WIN = Jij Hebt Gewonnen!
MSG_MENU_EXIT = ga terug
MSG_MENU_LOST = Je hebt het spel en $%d verloren.
MSG_MENU_DRAW = Spel afgelast.
MSG_MENU_WIN = Je hebt het spel en $%d gewonnen.
MSG_MENU_SHOW_TABLE = Toon de tafel
MSG_MENU_PROCEED = Ga voort
MSG_MENU_NEW_GAME = Speel opnieuw
MSG_MENU_WARN_MIN_BET = Je moet minstens $%d hebben om te gokken
MSG_MENU_BET_VALUE = Inzet: $%d
MSG_MENU_RAISE_BET = Verhoog de inzet met $%d
MSG_MENU_DOWN_BET = Verlaag de inzet met $%d
MSG_MENU_BET_ALL = Zet alles in
MSG_MENU_START = Start
MSG_CHAT_LOST = Speler "%s" verloor $%d met videopoker
MSG_CHAT_WIN = Speler "%s" wint $%d met videopoker
FIGURE_NAME_ACE = Aas
FIGURE_NAME_TWO = Twee
FIGURE_NAME_THREE = Drie
FIGURE_NAME_FOUR = Vier
FIGURE_NAME_FIVE = Vijf
FIGURE_NAME_SIX = Zes
FIGURE_NAME_SEVEN = Zeven
FIGURE_NAME_EIGHT = Acht
FIGURE_NAME_NINE = Negen
FIGURE_NAME_TEN = Tien
FIGURE_NAME_JACK = Boer
FIGURE_NAME_QUEEN = Koningin
FIGURE_NAME_KING = Koning
SUIT_NAME_SPADES = Schoppen
SUIT_NAME_HEARTS = Harten
SUIT_NAME_CLUBS = Klaveren
SUIT_NAME_DIAMONDS = Ruiten
FIGURE_SUIT_CONNECTOR = of
HOLD = Stop
DISCARD = Verwerp
PAIR_OF_JACKS_OR_BETTER = Een paar boeren of beter
TWO_PAIRS = Twee paren
THREE_OF_A_KIND = Drie van een soort
STRAIGHT = Straight
FLUSH = Flush
FULL_HOUSE = Full House
FOUR_OF_A_KIND = Four of a kind
STRAIGHT_FLUSH = Straigth Flush
ROYAL_FLUSH = Royal Flush
The names "Flush, ..." are in Dutch the same, so i don't translate
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-14-2009 , 12:38   Re: Video Poker
Reply With Quote #7

Quote:
Originally Posted by crazyeffect View Post
Dutch translation:



The names "Flush, ..." are in Dutch the same, so i don't translate
I really don't know dutch... You could easily fool me and write in there words that have nothing to do it the game.

Edit:

about:
FIGURE_SUIT_CONNECTOR = of

Is the same as in english?

Edit2:

HOLD = Stop

"Stop" in dutch is the same as hold in english? Its meaning here is like in "to hold a card".

Last edited by joaquimandrade; 02-14-2009 at 12:42.
joaquimandrade is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-14-2009 , 12:41   Re: Video Poker
Reply With Quote #8

You should also rename "Bet All" to "All In".
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-14-2009 , 12:44   Re: Video Poker
Reply With Quote #9

Quote:
Originally Posted by Hawk552 View Post
You should also rename "Bet All" to "All In".
Yes, i do understand what you mean. (It is not the direct action of bet)

Last edited by joaquimandrade; 02-14-2009 at 12:47.
joaquimandrade is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-14-2009 , 12:46   Re: Video Poker
Reply With Quote #10

Quote:
Originally Posted by joaquimandrade View Post
I really don't know dutch... You could easily fool me and write in there words that have nothing to do it the game.

Edit:

about:
FIGURE_SUIT_CONNECTOR = of

Is the same as in english?

Edit2:

HOLD = Stop

"Stop" in dutch is the same as hold in english? Its meaning here is like in "to hold a card".
Well... I translated much at this site... And why should i write that has nothing to do with the game...

Also "OF" means "OF" in Dutch

And hold needs to be then:

Quote:
Houd vast
...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode