The Chinese Boxing Betting system is adapted from the Cockfight script, but I wrote the new code myself from scratch. Say goodbye to problems where players bet and forget to claim their money, or reloading issues when the game starts, because after placing a bet, the money goes straight to the player.
- Prize money instantly enters the bettor's inventory without needing to be claimed manually.
- Whether in-game, disconnected, or logged out, the prize money still reaches the bettor.
- Refunds bettors if an admin reloads during the game start sequence.
- System to check for duplicate bets using Account ID and IP.
- Features 2 modes for counting participating bettors.
- Menu to view past win/loss history.
- Menu to view personal betting history.
// Set Chinese Boxing Betting Map
set $@CB_PLACE$ = "morocc";
// Set Red Team Monster ID
set $@CB_RED_MOB, 26001;
// Set Red Team Monster 1 Coordinates
setarray $@CB_RED_XY1, 173, 73;
// Set Red Team Monster 2 Coordinates
setarray $@CB_RED_XY2, 173, 71;
// Set Red Team Monster 3 Coordinates
setarray $@CB_RED_XY3, 173, 69;
// Set Blue Team Monster ID
set $@CB_BLUE_MOB, 26002;
// Set Blue Team Monster 1 Coordinates
setarray $@CB_BLUE_XY1, 181, 73;
// Set Blue Team Monster 2 Coordinates
setarray $@CB_BLUE_XY2, 181, 71;
// Set Blue Team Monster 3 Coordinates
setarray $@CB_BLUE_XY3, 181, 69;
// Set Bet Amount
set $@CB_BET_AMOUNT, 300000;
// Set Tax Percentage
set $@CB_BET_TAX, 5;
// Set Counting Mode for Bettors
// 1 = Bets on both sides must equal $@CB_SIDE_LIMIT to start
// 2 = Bets on both sides must reach a minimum of $@CB_SIDE_LIMIT, and both sides must have equal bets to start
set $@CB_COUNT_MODE, 2;
// Set Side Limit
set $@CB_SIDE_LIMIT, 1;
// Set Maximum Bets for Mode 2
set $@CB_LIMIT_MODE, 15;
// Set NPC Name
set $@CB_NPC_NAME$, "[Chinese Boxing Betting]";
Have you used this product? Share your experience to help others make informed decisions.