Author Topic: Status Update, Include paid player information unexpected error  (Read 1311 times)

rakrul

  • Newbie
  • *
  • Posts: 37
    • View Profile
Status Update, Include paid player information unexpected error
« on: December 10, 2017, 05:17:11 PM »
I saw that you have done some updates on 3.4.1, so I try JSON and the Attempt update now button and it works fine. If I check Include paid player information and try to update I get an unexpected error occurred message with this message:

'theBustout' is undefined (PreferencesTab, TournamentPage: 109)
 at GamePlayer.toReportObj(Tournament)
 at GamePlayers.toReportObj(Tournament, Object, Boolean)
 at Tournament.toReportObj(null, Boolean, Boolean)
 at PrefStatusUpdates.performFileUpdate()
 at PrefStatusUpdates.updateNow()
 at PreferencesTab.StatusUpdateControl.updateNow()
 at anonymous()
 at openDialog(SettingsDialog)
 at SettingsDialog.openDialog()
 at SettingsDialog.enterTab()
 at Hotkey.handleCommonHotkeyActions(Hotkey.Binding)
 at GameWindow.processHotkeyBinding(Hotkey.Binding)
 at GameWindow.hotkey()
 at GameWindow.hotkeyHandler()

Browser: Microsoft Internet Explorer
Browser Beta: false
Browser Client Info Version: 7.0
Browser Code Name: Mozilla
Browser Decided Version: 11.0
Browser Detected Version: 11.0
Browser Language: en-US
Browser Minor Version: 0
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0)
Cookies Enabled: true
CPU Class: x86
Data Folder: C:\Users\gar\Documents\The Tournament Director 2
Date: 0:10:37 12/11/2017
DB File: C:\Users\gar\Documents\The Tournament Director 2\Data\db\td.db
DB Folder: C:\Users\gar\Documents\The Tournament Director 2\Data\db
Install Folder: C:\Program Files (x86)\The Tournament Director 3
Install Info: c3e91b4795ef567e0217979d272009fb5d65eb72eb4482d51059ce87b8eca8772a3b715efa5480c7d062b08928026ed2237bb3bd603b2eb5fa3b55f29fb1cfe5
JScript Build: 16384
JScript Version: 5.8
License Info: UurQ1V0Pbk6U5LPeldABplg794InwOnv/lE0F1ORZJCUR4/VxfXzOu1wFrrzijPG6TILzed9ySbpMgvN533JJmo8WOreLo7z1muOIznsjYk=
Media Player Version: 12.0.15063.726
Online: true
Platform: Win32
Preferences File: C:\Users\gar\Documents\The Tournament Director 2\prefs.sav
Preferences FS File: C:\Users\gar\Documents\The Tournament Director 2\prefs.fs
Repo Config File: C:\Users\gar\Documents\The Tournament Director 2\repo.sav
Repo Folder: C:\Users\gar\Documents\The Tournament Director 2\Data
Support Key: 26A9B19A0005Y69LC8E5NE1A7456DD46014ACF72A3A
System Language: nb-NO
TD Patch Level: null
TD Version: 3.4.1
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0)
User Language: nb-NO

Also, with the JSON format, I guess I have to change my php-scripts. Do you have any examples available?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Status Update, Include paid player information unexpected error
« Reply #1 on: December 11, 2017, 11:26:36 PM »
Obviously a bug, and actually already fixed, just need to complete the other work for 3.4.2 to get it released.  If I can get the time I'll see about releasing a patch that will fix this issue.

Here's a short example of the format:

Code: [Select]
{
  "RoundNum": 1,
  "BreakNum": 0,
  "Level": 0,
  "IsRound": 1,
  "IsBreak": 0,
  "NextIsRound": 1,
  "NextIsBreak": 0,
  "HasMoreRounds": 1,
  "HasMoreBreaks": 1,
  "FirstAnteRound": 1,
  "FirstAnteAmount": 10,
  "LevelDuration": 20,
  "NextLevelDuration": 20,
  "State": 0,
  "StateDesc": "before",
  "Buyins": 37,
  "DefaultBuyinFee": 50,
  "DefaultBuyinRake": 0,
  "DefaultBuyinChips": 1500,
  "TotalBuyinsAmount": 1850,
  "TotalBuyinsRake": 0,
  "TotalBuyinsChips": 55500,
  "NumberOfLeagueMembers": 0,
  "Pot": 1850,
  "PlayersLeft": 37,
  "TablesLeft": 5,
  "SecondsLeft": 1200,
  "SecondsElapsed": 0,
  "ClockPaused": 1,
  "ClockPausedSeconds": 0,
  "TimeOfDay": "232124",
  "Time": 1513056084,
  "LastPlayerMoveTime": 1507833861,
  "LastPlayerBustoutTime": 0,
  "RebuysAllowed": 1,
  "RebuysOver": 0,
  "RebuysLeft": 0,
  "RebuysSecondsLeft": 0,
  "RebuysLastRound": 6,
  "RebuysMaxPerPlayer": 1,
  "RebuysMinPlayers": 0,
  "RebuysMaxTotal": 0,
  "DefaultRebuyFee": 50,
  "DefaultRebuyRake": 0,
  "DefaultRebuyChips": 1000,
  "TotalRebuys": 0,
  "TotalRebuysAmount": 0,
  "TotalRebuysRake": 0,
  "TotalRebuysChips": 0,
  "AddonsAllowed": 0,
  "AddonsOver": 0,
  "AddonsLeft": 0,
  "AddonsSecondsLeft": 0,
  "AddonsLastRound": 0,
  "AddonsMaxPerPlayer": 0,
  "AddonsMinPlayers": 0,
  "AddonsMaxTotal": 0,
  "DefaultAddonFee": 0,
  "DefaultAddonRake": 0,
  "DefaultAddonChips": 0,
  "TotalAddons": 0,
  "TotalAddonsAmount": 0,
  "TotalAddonsRake": 0,
  "TotalAddonsChips": 0,
  "InTheMoneyRank": 5,
  "TotalFixedRake": 0,
  "FixedRake": 0,
  "Ante": 10,
  "SmallBlind": 10,
  "BigBlind": 20,
  "GameType": 2,
  "GameName": "texas hold em",
  "ChipUp": false,
  "NextAnte": 15,
  "NextSmallBlind": 15,
  "NextBigBlind": 30,
  "NextGameType": 2,
  "NextGameName": "texas hold em",
  "NextChipUp": false,
  "ChipCount": 55500,
  "ChipCountAdjustment": 0,
  "UnadjustedChipCount": 55500,
  "GuaranteedPot": 0,
  "PreGuaranteedPot": 1850,
  "HouseAdds": 0,
  "HouseContribution": 0,
  "BustsUntilMoney": 32,
  "BustsUntilFinalTable": 29,
  "UsePlayerBountyChips": true,
  "RestrictBounties": true,
  "BountyTotal": 185,
  "Limit1": 0,
  "NextLimit1": 0,
  "Limit2": 0,
  "NextLimit2": 0,
  "Limit3": 0,
  "NextLimit3": 0,
  "Limit4": 0,
  "NextLimit4": 0,
  "Limit5": 0,
  "NextLimit5": 0,
  "Limit6": 0,
  "NextLimit6": 0,
  "Limit7": 0,
  "NextLimit7": 0,
  "Limit8": 0,
  "NextLimit8": 0,
  "FixedRakes": [
    0
  ],
  "Players": [
    {
      "Nickname": "Alan",
      "Firstname": "Alan",
      "Lastname": "Jenkins",
      "StreetAddress": "",
      "City": "",
      "State": "",
      "Zipcode": "",
      "Country": "",
      "Phone1": "",
      "Phone2": "",
      "Email1": "",
      "Email2": "",
      "Notes": "",
      "OptID": "",
      "Name": "Alan",
      "InternalID": "6D522DFB-8432-4954-8A4D-014F12AF8E44",
      "Paid": true,
      "PaidInFull": true,
      "BuyinCost": 50,
      "BountyChip": 5,
      "TotalBuyinRake": 0,
      "BuyinChips": 1500,
      "Rebuys": 0,
      "RebuysCost": 0,
      "TotalRebuysRake": 0,
      "RebuysChips": 0,
      "Addons": 0,
      "AddonsCost": 0,
      "TotalAddonsRake": 0,
      "AddonsChips": 0,
      "TotalCost": 55,
      "TotalRake": 0,
      "ChipsBought": 1500,
      "TimeOut": 0,
      "RoundOut": 0,
      "Hitman": [
       
      ],
      "HitmanID": [
       
      ],
      "Rank": 0,
      "Hits": 0,
      "BountiesWon": 0,
      "PrizeWinnings": 0,
      "BountyWinnings": 0,
      "TotalWinnings": 0,
      "Points": 0,
      "Take": -55,
      "ChipCount": 1500,
      "BountiesKept": 0,
      "BountyMoneyKept": 0,
      "PlayingTime": 0,
      "Seat": "",
      "BuyinTime": 1507833832512,
      "Status": "BoughtIn",
      "BuyinsList": [
        {
          "Time": 1507833832512,
          "Round": 1,
          "Amount": 50,
          "Bounty": 5,
          "Rake": [
            0
          ],
          "Chips": 1500,
          "Points": 0,
          "BustOut": null
        }
      ],
      "AddonsList": [
       
      ]
    }
  ],
  "Title": "Big Tournament!",
  "Description": "",
  "LeagueId": "477B08F7-E454-4E33-8348-F58732F95C3D",
  "LeagueName": "Woods Poker Club",
  "LeagueDescription": "Imported league",
  "SeasonId": "",
  "SeasonName": "",
  "SeasonDescription": ""
}