Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Joker Poker!!! Multi Player

Chilly Charlton
Registered User
Join date: 15 Jun 2004
Posts: 483
09-27-2005 18:20
This is a HOT new game taking SL by storm. It's multi player JOKER poker for up to 30 players. Playing format is similar to Tringo, eveyone gets a card, there is a pot and there is a game play session. Players rack up hand points for a set time. The player with the most points at the end wins the pot! This is a very fast and addictive game

The help note for this game is at the bottom of this post.

You can try before you buy by going to this location where there is an any-host any-time version of it running:

Mowry (158,162) <-- way up in the air.

The paid for version does not have an Any-Host mode but you CAN configure LOTS of Extra-Hosts


here is the help notecard that comes with the game:

All the commands in this help file assume the game is listening on channel 55. If the game has been configured to listen to another channel then replace 55 with the apropriate channel.

All the commands in this help file assume the game is listening on channel 55. If the game has been configured to listen to another channel then replace 55 with the apropriate channel.

-------------------------------------------------------------------------------------
Help for Owner:
-------------------------------------------------------------------------------------
Just rez the game, say yes when asked to give money permissions, position the game and you are ready to go. The game come pre-configured to listen to commands on channel 55 and will dispense a maximum of 30 cards. For hosting commands see the Help for Hosts section below. For configuration see the Owner Configuration section below. But first here is a things to never do list:

-------------------------------------------------------------------------------------
Things to NEVER do
-------------------------------------------------------------------------------------
Do NOT rename this object. It will stop working if you do
Do NOT delete playing cards by hand.
Do NOT recompile scripts in selections.

ok ... now the easy stuff -->

-------------------------------------------------------------------------------------
Help for Hosts, how to run games:
-------------------------------------------------------------------------------------
1. click on the state display to take hosting controls (The state display says "Done" or "New" or "InPlay";)

2. do a /55 new

3. wait for people to get cards and pay the pot

4. do a /55 start <num minutes> where <num minutes> is the number of minutes you wish the game to be played for. Example:
/55 start 5

5. Wait until the game finishes and someone is paid.

6. To run another game go to step 2.

7. If you are finised running games do a /55 cleanup and leave the game in the "Done" state. After a cleanup hosting controls go back to the owner so you will have to take them back again if you want to host more games.

That's it!

-------------------------------------------------------------------------------------
What to do if there are problems?
-------------------------------------------------------------------------------------

First of all the most common problem is the board can not hear you so SHOUT your commands!

Second the owner should NEVER delete a playing card by hand! If you want to delete playing cards then do a cleanup in the Done state! If a person leaves a game thier card will auto kill itself after the next game.

I have coded around almost any problems including lag, double clicks, people leaving etc. None of the problems below should happen any more but I have left commands in place that I USED to use to fix them just in case. In reality you should never need these but here they are just in case!

/55 fix
If the game stops dispensing cards do a
/55 fix
You may have to do this several times for it to work.

/55 cleanup
This is noramlly used when there will be no more games for the event, but, if the game is completely broken do a
/55 cleanup
you can only do this in the Done state and it will destroy all the play cards. After a cleanup hosting controls go back to the owner so you will have to take them back again if you want to host more games.

/55 forcepay
If a game has ended and you are in the "Done" state and the game did not pay out to the winner then do a
/55 forcepay
This will force a payout to the high score(s) currently on the board and will also do a cleanup. You will not have to do the cleanup command. After a cleanup hosting controls go back to the owner so you will have to take them back again if you want to host more games.

There will be a 10 second delay from the time you do a forcepay and the pay happens. Just wait. This command should only be necessary when the owner deleted a playing card by hand ... BAD OWNER! It is however available in the case a game ends and no one gets paid ... someone WILL get paid if you do this.

-------------------------------------------------------------------------------------
Extra Help. Which commands for which states? What are the states?
-------------------------------------------------------------------------------------

Once you have hosting controls there are three states the game can be in:

Done State
In this state no one can get new cards nor pay the pot. The only commands you should do during this state are:

/55 new
/55 cleanup
/55 forcepay

New State
in this state people can get new cards and pay the pot. The only commands you should do during this state are:

/55 start <num minutes>
/55 fix

InPlay State
there are no commands to give in this state ... a game is in play and will continue until it is done.

-------------------------------------------------------------------------------------
Owner Configuration
-------------------------------------------------------------------------------------

Steps to configure your Jacks or Better game:

1. Edit the main board
2. Click on the checkbox for "Edit linked parts"
3. Click on the host/state display prim, this is the area that says "Done" or "New" or "InPlay"
4. Click on the Content tab.
5. In the Contents double click on the "JobConfig" notecard

This is what the notecard looks like when you get it:

HostChannel=55
MaxCards=30
ExtraHosts=
ExtraHosts=


HostChannel=
HostChannel is the channel to listen to host commands on. You can set this to any positive channel you like that is greater then zero. I will not allow a host listen on channel zero. If you set this to zero or a negative number it will default to channel 55


MaxCards=
Set this to the Maximum number of cards you want the game to give out. You can use this to control how many prims are used during a game. The main board takes 19 prims and each play card takes 16 prims. With a little math and setting this you can insure you have enough prims for the cards you will dispense. If you set this above 30 it will default to 30.


ExtraHosts=
You can have as many lines as you want of ExtraHosts= each line can only use up 255 characters however, so use multiple lines if you have a lot of hosts. This is where you put people you want to allow hosting privlidges. Spell thier names EXACTLY correct including spelling and capitolization. Seperate the names with camas and no spaces near the camas. I think you can have close to 90 Extra hosts but at some point you WILL cause a stack/heap collision if you keep adding them. Be reasonable. Here is an example of an ExtraHosts= line:

ExtraHosts=Chilly Charlton,Mickey Mouse,Donal Duck

note, exact spelling and capitolization and no spaces near commas ","

When you are done editing the "JobConfig" notecard just save it. That's it! The game will detect that you changed it and automaticlly update itself.

-------------------------------------------------------------------------------------
DO NOT RECOMPILE SCRIPTS IN SELECTION FOR THIS OBJECT
-------------------------------------------------------------------------------------
You should never have to re-compile this object. If you cause a stack heap collision with too many hosts then just edit the "jobConfig" notecard and remove some hosts and then "reset" the "HostHelper" script in the contents of the state display prim (the same prim you edit the "JobConfig" file from).

If you DO recomple scripts in selection then you will have also do this:

Some scripts rely on others to already be running before they start. When you recompiled scripts in selection it does not do them in the necessary order. So after the re-compile you will have some fixing to do. Do this --> Edit the board, double click on the "Dispenser" script and hit the "reset" button for it. Next click on "Edit linked parts" and click on the state display prim ... in it's contents double click on the "HostHelper" script and then hit it's "reset" button. This should fix things. Best thing to do is NOT RECOMPILE SCRIPTS IN SELECTION!
Chilly Charlton
Registered User
Join date: 15 Jun 2004
Posts: 483
Purchase Locations
09-27-2005 18:23
My Casino in Mowry:
Mowry (8,208)
and
Mowry (158,162) <--- trial version here

Or from slexchange here:
http://www.slexchange.com/modules.php?name=Marketplace&file=item&ItemID=27502