How to Add a Poker Mini Card Game (Demo)

Carri

Veteran
Veteran
Joined
Aug 16, 2013
Messages
35
Reaction score
13
First Language
English
Primarily Uses
Poker Mini Game Script and Demo
RPG Maker VX Ace

Original Script by CACAO
http://cacaosoft.web.fc2.com/

CACAO's TOS:

http://cacaosoft.webcrow.jp/rule.html

English Translation by Carrigon
http://www.sims2workshop.com

Difficulty Level:  This is more for Beginners.  If you want more of a plug n play easy to add mini game, this is geared toward you. 
 

This is a working English translation of CACAO's Poker Mini Game Script for RPG Maker VX ACE.

The script has been attached to this post as a txt file you can download.  Turn off wordwrap in your text editor, that's usually what messes up any code you try to paste.  Just use notepad with wordwrap off and copy and paste the script.  If you have a problem with it, get it from the demo and copy and paste it from there.  The script goes in the same place you paste all your scripts, under Materials, but above Main.

How to use this script:

Copy the PokerTrump.png file to Graphics/System

PokerTrump file here:



Paste the script under Materials, but above Main.

Make an event.  Insert Script:
start_poker

See the demo for how to make a switch in game if you win.  I just made it based on how much more gold you have after playing.  If you have more gold, then you won, so the switch turns something on.  I'm sure there are other ways of doing it.

Demo here:

https://mega.co.nz/#!tZg0WT6D!f72oB0t6NghUmRVImd0bDG6bSRw050DG1xmN2PFk57M

Screenshots:






 



If you have any problems with it, try copying the script from the demo.  And test it with a new project.  Make sure you have the Poker pic in Graphics/System.  I've also attached a copy of the script in a txt file to this post if you need it.

NOTES:  No known bugs that I've found.  I think it's working okay.  CACAO had put this up in Russian and Japanese but those versions weren't working properly for some versions of VX ACE.  This version includes his fix for that.  Mouse support is included if you have a mouse script in your game.  You will still need to use arrow keys to move side to side when choosing cards.

Here is my permission letter from CACAO that I am allowed to translate and teach with his script.



English Translation of CACAO's letter for those who don't speak Japanese. 

Second Part of Poker Demo Tutorial
by Carrigon
sims2Workshop.com

Scripts and Graphics by
CACAO
http://cacaosoft.webcrow.jp/
http://cacaosoft.webcrow.jp/rule.html

This second part of the Poker Demo Tutorial teaches the Art of Duel Coding, and how to make the cards into an inventory item you can play poker from whenever you want to.

The Art of Duel Coding is used whenever you need to add a function to an existing script, but you don't want to alter that script.  Sometimes it's much easier and faster to make a Duel Script and call on it in your event.

So for this demo, I'm using Duel Coding to have one script turn on a game switch when the player wins a hand of Poker.  Then I call on the second script, my Duel Script, and I give the player the option of playing again unlimited for fun.  When you are eventing a game, this is a great way to do it.  If you have a door or something else you want the player to unlock, have them play poker till they win, the switch gets turned on.  Then they have the option of playing again for fun as much as they want to.  You don't have to stick with one script.  You can make as many duel coding scripts as you want to when working with Ruby and this game engine.  The trick is to make sure you renamed everything in the second script so that the game thinks you have a whole new script.  it's very easy.  And in your event, you call on both when you need them.  Remember to make a copy of your picture files and rename it, too.  The card pictures here go into Graphics/System.  Just see my screenshots.

Making the deck of cards a playable inventory item is very easy.  You make a common event with your script call.  See my screen shots.  Make an inventory item for the cards and call on the common event for its effects.

Common Event:



Item:


 

Event:



See my screenshots for what lines to edit for the switch number.  They are in the plain Poker script, that's your switch script.  PokerB script is for unlimited hands.  





Reminder:  When copying and pasting scripts using a text editor like Notepad, always turn off wordwrap.  Wordwrap breaks your codes.  It will break code no matter what code language you are scripting.  Turn it off before copying and pasting.

Download Demo here:
https://mega.co.nz/#!AdphDJJD!Zh3a2ZFB2MenhzUXE3xYJV2hrPAjTGsMYnPoFOw8QYI

Duel Scripts without demo here:
https://mega.co.nz/#!ocoHkQIT!dcdKd3w2bxICBTw5DjW0nQsyyHHCvsbGWxcRLd6Tze0
Includes pictures, put them in Graphics/System

Screenshots for Poker Demo2:






 
Poker_RPG Maker VX Ace Script.txt
 

Attachments

Last edited by a moderator:

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
You have permission from CACAO to post this?

EDIT: Just checked his Terms. You are not allowed to redistribute CACAO's modified script.

It irritates me that you take credit of "English translation" when you have changed only four pieces of text.
 
Last edited by a moderator:

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
What are the terms for commercial usage, if any?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Absolutely, to both of the above.


Other things ...


best not to put the script into your post. Use pastebin to host it, and provide a link. Assuming it's even okay for you to post this.


Look at what the forum has done to your script - it can't be copied and used. Some of the text has been turned into emoticons because you didn't use a code block.
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Are you sure? I read the terms and it said that it's fine. There's no need to report.

■ シェアウェア、有料コンテンツでの利用

特に制限は設けておりません。

 

■ 年齢制限付きコンテンツでの利用

特に制限は設けておりません。
It said that it's freely used for shareware (commercial) and age-restricted (I'm assuming R-18) games.

However they're not liable for any damage the script could cause on the rest of the terms.
 
Last edited by a moderator:

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
Not allowed unless you talk to CACAO.
Thanks.

Are you sure? I read the terms and it said that it's fine. There's no need to report.


However they're not liable for any damage the script could cause.
A little confused now...


"Damage"? That's scary...
 
Last edited by a moderator:

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
Uhm. Thats not how I get Shareware? "Shareware (also termed trialware or demoware) is a type of proprietary software which is provided to users for a certain limited trial basis and pursuant to a license which restricts any commercial benefit, use or exploitation of the software."

If using it in shareware is allowed it does not mean you are allowed to use it in commercial games..? Anyways, posting this script here is against his terms.
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Shareware is a software that is available free of charge and often distributed informally for evaluation, after which a fee may be requested for continued use.
From what I KNOW of it, commercial games usually provide a demo and if you want continued use, you have to buy. That's usually the way commercial games work. You are still making a profit in shareware.

Shareware is software that is distributed free on a trial basis with the understanding that the user may need or want to pay for it later. Some software developers offer a shareware version of their program with a built-in expiration date (after 30 days, the user can no longer get access to the program).
The term shareware refers to commercial software that is copyrighted, but which may be copied for others for the purpose of their trying it out with the understanding that they will pay for it if they continue to use it.
Eternal Grace, Whisper of a Rose, etc. follow these as well. As well as RPG Maker before it hit physical box stores. If that's not commercial then I don't know what that is. Source. Source. Source.

Shareware software is, for the most part, commercially developed, but usually by smaller companies. These companies do not market in stores, but sell worldwide on the internet. They can sell for less because it costs less to advertise.
Which is the case of most, if not all, RM games. It seems that the boundary between Commercial Games (includes Physical copies) and Shareware games, but even then... Source

Definition of Commercial Use: SOURCE

In practice, the term is equivalent to income-generating use of any kind, whether direct or indirect. If you use content for general research, even if not for any specific purpose, and you or your organisation generates income, that counts as commercial use. So does using content for pro-bono work (from the Latin pro bono publico, meaning 'for the public good', or working for free), if it also enhances your reputation or leads to income-generating work in any way whatsoever. 

Basically, if there's as much as a sniff of commercial interest in what you're doing then it counts as commercial use. There's also no such thing as fair use in commercial contexts any more. 
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Shareware is "try before you buy". Free demo or restricted demo, with purchase required for full game. Trialware and demoware sound like they have the same connotations - a free demo.


What you're probably thinking about is FREEware, where no money is paid ever.


Thanks for the translation Archeia :)
 
Last edited by a moderator:

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
I don't want to play the oldy grumpy guy but do you asked permission to Cacao before translating is script? 

just for ask this not everyone who accept having is stuff translated
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
I am grateful for you for sharing this script. A poker game is a mini-game I always wanted in my game, after all, I can't make a casino without some poker games, right? :D


But honestly, I can't see any translation.


When I see something like "translated by xy", I expect that at the very least all of the setup descriptions and note-tag/script call descriptions (if any) are translated fully, not just a few words (which I still have to find, lol).


As for scripters not allowing the translations of their scripts...


Why wouldn't they allow that? Who in their right mind would not want their scripts translated to more languages? o_O


It is not script modification, it is a translation, so more people would understand it.


Posting a whole script is certainly not necessary to share a translation, but posting the header of the script and the setups translated should not be an issue.


I have no idea if this script has been modified or not by Carri, but in the case of a strict translation only without any script modification, I wouldn't call this as a "term-breaker", unless CACAO do not allow the posting of his scripts (modified or not) on any other sites than his (aka can not be redistributed in any conditions). If this is the case, than yeah, it is not nice to post this without his permission (and also against the terms of use of the script), even if you just wanted to help the other game makers here.


I am not writing these because I read the terms of the script, I can't even understand it. But sometimes using common sense is worth more than some letters on a paper (or on the monitor :p ).
 

Carri

Veteran
Veteran
Joined
Aug 16, 2013
Messages
35
Reaction score
13
First Language
English
Primarily Uses
I never saw so many people complaining about something I was kind enough to post for free. 

First of all, I had put this into tutorials.  I didn't post it to Scripts, I don't know how it got in this area of the forum.  It was meant to be a tutorial on how to add it, working, to a game.  Maybe it was late, and I didn't realize where I put it, I don't know.

Second of all, I'm not taking credit for his script, and he had said it was okay to translate it.  I did have to change a few small things to get it to work in English.  And I did have to add in his code fix.  I didn't see anyone else do it in English anywhere.  You think it was so easy to get it working, it wasn't.  It took me hours to smooth out the bugs.  I didn't change functionality of the script, I only got it working properly in English so it doesn't crash.  And I DO deserve credit for doing that. 

If people are going to be so ungrateful here that I shared something that I didn't have to share and spent hours working on, I will never post another tutorial to this forum again.  I posted it because there is a lack of these kind of mini games and people have requested them in the past.  But if all people can do is attack a useful post, I won't bother again.  Do what you want with the tutorial.  I'm not coming back to this post.  I don't allow this kind of negativity in my life. 
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Well, just out of curiosity, I went and got CACAO's default script and installed it in my project.


I haven't edited anything in his script (yet :p ) aside from the settings of it and it works just fine.


I noticed that your version says 'v1.0.0' which is outdated, maybe that is why you got some crashes.


The new version, which is 'v1.0.2', works like a charm!


I am grateful, thanks for showing me that there is a script like this already on VXAce!


And found a slotmachine script too which just adds to the awesome level of this day to me! :D


A small note:


180MB for a demo is kinda lot. You should put that up without the RTP, 99,99% of people here got that anyway. Just a suggestion.


And don't feel so bad, lol.


This is the main reason why I don't share my script modifications. If I am not absolutely sure that I can post it without breaking the terms of the script, I simply don't post it.
 

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
Blah blah
Did you get his permission to post that script? His terms clearly state "Redistribution prohibited" which means you are not allowed to post his script here without his permission. It doesn't change no matter how many hours you put in it. Stealing is a douche move. And when posting someone elses work you should atleast put a link to his terms of use. And this is not an attack. You did the attack when you disrespected someone.
 
Last edited by a moderator:

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
first calm down 

this the usual when you post someone else script (mod or translation) 

to post the proof you asked him for publish somewhere 

(like the content of the email you sent to him )

Also the fact of translating or bug fixing minor bug are not aware of credit this can be optional but not primordial 

and no need to be so much aggressive and saying such unjustified word like  "ungrateful"  without any real reason 

+ if you can't stand any comment you should stopping to post any kind of stuff on this forum we not need to have someone who making drama each time we saying something who not please you.

on these word we still grateful you put effort into this translation

all regards 

Nio Kasgami
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
RaZzi, you have said your piece. Please stay out of it now. Archeia has provided a translation of terms of use (which WAS provided as a link by the OP). I will ask her to also provide a translation of terms of redistribution. Leave modding to the mods, thank you.


I DO agree on the extent of the translation though - I'd like to have seen the comments and instructions translated too.
 

ianbach

Zombie Master
Member
Joined
May 3, 2014
Messages
67
Reaction score
6
First Language
english
Primarily Uses
I made / er remade (isn't plagiarism a &^$%) the deck of cards

(EDIT 10-22-2014 the demo game linked above is ok but it is even better if you make am event find something looks like papers or a deck of cards use that for picture , then goto system and make a new item "deck of cards" in effects for item have it call common event "deck of cards" then in contents for deck of cards use mouse click insert and on page 3 bottom right click advanced > script type   start_poker in the script text area. that will turn the card playing game on whenever you want. so you just open inventory click on deck of cards and you in the poker game YIPEE !!





 
Last edited by a moderator:

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
I just realized, is there no Joker? Aww... It was always awesome to get a Joker while playing poker in the Dragon Quest games.

Except when playing Double or Nothing; then, you were screwed. ;_;
 
Last edited by a moderator:

JoePro

None Newb
Veteran
Joined
May 29, 2014
Messages
78
Reaction score
17
First Language
English
Primarily Uses
I never saw so many people complaining about something I was kind enough to post for free.

First of all, I had put this into tutorials. I didn't post it to Scripts, I don't know how it got in this area of the forum. It was meant to be a tutorial on how to add it, working, to a game. Maybe it was late, and I didn't realize where I put it, I don't know.

Second of all, I'm not taking credit for his script, and he had said it was okay to translate it. I did have to change a few small things to get it to work in English. And I did have to add in his code fix. I didn't see anyone else do it in English anywhere. You think it was so easy to get it working, it wasn't. It took me hours to smooth out the bugs. I didn't change functionality of the script, I only got it working properly in English so it doesn't crash. And I DO deserve credit for doing that.

If people are going to be so ungrateful here that I shared something that I didn't have to share and spent hours working on, I will never post another tutorial to this forum again. I posted it because there is a lack of these kind of mini games and people have requested them in the past. But if all people can do is attack a useful post, I won't bother again. Do what you want with the tutorial. I'm not coming back to this post. I don't allow this kind of negativity in my life.
If your going to do a tutorial on a script belonging to you or not, you should do a tutorial on how to write the script not install it. If you went though the work of translating the script you could have just explained what it is doing.

Don't be the person who quits doing good because of a few comments.

To anwser another question that was asked, as a scripter myself, I don't want my scripts altered or translated because of the simple fact, I don't want someone to mis-translate my terms and tell everyone its free to use. I like to get payed for what I do.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top