bugpokersource - Bugs: bug #14412, 2 new Features Time before you can...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #14412: 2 new Features Time before you can rebuy and Simultaneous tables by user

Submitted by:  Vandemeulebroucke <ramboz>
Submitted on:  Thu 01 Oct 2009 09:05:58 AM UTC  
 
Category: poker-networkSeverity: 3 - Normal
Priority: 5 - NormalStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 24 Feb 2010 09:50:54 PM UTC, comment #5:

14412-1.7.7.diff

Feature Limiting the number of concurrent table for a player
- it's works with report 100% and jspoker patch http://pastebin.com/f2cf06dd3

Feature Time before you can rebuy on the same cash game table

- add fix :
if the amount of the carpet in the last game exceeds max buy (then min = max_buy_in)

- add new packet :
===================================================================
class PacketPokerRemainingBuyIn(Packet):
"""\

Direction: server => client

Configuration: <remaining-buy-in activate="yes" period="1800" />

Context: fair-play feature - you can buyin in only if the amount is equal or more than your carpet before leaving the table

game_id: integer uniquely identifying a game.
period : period before expiry in secondes
min : minimum buyin permitted before expiry
is_buy_in_max : True if the amount of the carpet in the last game exceeds max buy (then min = max_buy_in)

"""
info = Packet.info + (
('game_id', 0, 'I'),
('period', 0, 'I'),
('min', 0, 'I'),
('is_buy_in_max', 0, 'bool'),
)

Packet.infoDeclare(globals(), PacketPokerRemainingBuyIn, Packet, "POKER_REMAINING_BUY_IN", 167)
===================================================================

- it's works ; dev is finish for pokernetwork

TODO (I do not have time right now)
- jspoker handler
- report 100% (just for the new fix ; must be able to win a player in tests for exceed buy in max )

(file #8253)

Vandemeulebroucke <ramboz>
Tue 12 Jan 2010 09:53:12 AM UTC, comment #4:

Some pastebin urls have expired, please attach patch to the bug report directly.

Johan Euphrosine <proppy>
Project Member
Sun 04 Oct 2009 09:41:44 PM UTC, comment #3:

new update

remove time.sleep() & time.time()

100% coverage

patch : http://pastebin.com/f29657934
tests report : http://pastebin.com/m7fe48e32

enjoy :)

Vandemeulebroucke <ramboz>
Sat 03 Oct 2009 11:22:29 AM UTC, comment #2:

update of sql patch :

http://pastebin.com/f1eb8177b

DEFAULT -1 to DEFAULT '-1'

Vandemeulebroucke <ramboz>
Thu 01 Oct 2009 09:28:08 AM UTC, comment #1:

1. Time before you can rebuy on the same cash game table

> you can rebuy only if the amount is less than your carpet before leaving the table


Vandemeulebroucke <ramboz>
Thu 01 Oct 2009 09:05:58 AM UTC, original submission:

Hey,

1. Time before you can rebuy on the same cash game table
configuration :
add poker.server.xml <remaining-buy-in activate="yes" period="1800" />

2. Limiting the number of concurrent table for a player
configuration :
set tables_max into users table (-1 = unlimited)

PATCH :

python http://pastebin.com/f7b3e99d6
new column of users table http://pastebin.com/f15ea7966
jspoker http://pastebin.com/f2cf06dd3

Thanks a lot ;)

Xavier

Vandemeulebroucke <ramboz>

 

Attached Files
file #8253:  14412-1.7.7.diff added by ramboz (37kB - text/x-patch - Nouveau Patch pour 1.7.7)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by proppy (Posted a comment)
  • -unavailable- added by ramboz (Submitted the item)
  • -unavailable- added by ramboz
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Feb 2010 09:50:54 PM UTCrambozAttached File-=>Added 14412-1.7.7.diff, #8253
    Tue 12 Jan 2010 09:53:12 AM UTCproppyStatusNone=>Need Info
    Thu 01 Oct 2009 09:05:58 AM UTCrambozCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup