Open serpentium opened 4 months ago
gist backup of game data - https://gist.github.com/michaeljb/8cdc96b81f81f7523e3b93fd223b7f9a
D, [2024-06-08T07:58:47.883000] DEBUG -- : Caught exception #<Engine::GameError: Cannot buy a share of PE>, backtrace: [https://18xx.games/assets/deps.js:1:5979:in `ne'
https://18xx.games/assets/deps.js:4:26607:in `Opal.modules["corelib/error"]/<'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/deps.js:4:26875:in `Opal.modules["corelib/error"]/<'
https://18xx.games/assets/deps.js:4:21203:in `Opal.modules["corelib/kernel"]/<'
https://18xx.games/assets/main.js:3:485629:in `Opal.modules["engine/step/share_buying"]/<'
https://18xx.games/assets/main.js:3:485091:in `Opal.modules["engine/step/share_buying"]/<'
https://18xx.games/assets/main.js:3:396857:in `Opal.modules["engine/step/buy_sell_par_shares"]/<'
https://18xx.games/assets/deps.js:4:7440:in `D'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/deps.js:1:21772:in `E'
https://18xx.games/assets/main.js:3:315917:in `Opal.modules["engine/round/base"]/<'
https://18xx.games/assets/main.js:1:217849:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/main.js:1:216533:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/main.js:2:3041:in `re'
https://18xx.games/assets/deps.js:15:52427:in `Opal.modules["corelib/enumerator"]/g/G.$each.$$p'
https://18xx.games/assets/deps.js:1:16623:in `v.yield1'
https://18xx.games/assets/deps.js:15:71526:in `$e'
https://18xx.games/assets/deps.js:4:7440:in `D'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/deps.js:15:51940:in `g'
https://18xx.games/assets/deps.js:15:52449:in `g'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/main.js:2:2640:in `Opal.modules["engine/game/base"]/</<'
https://18xx.games/assets/main.js:2:3261:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/main.js:1:215820:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/main.js:1:211932:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/deps.js:4:5790:in `w'
https://18xx.games/assets/main.js:1:198505:in `Opal.modules["engine/game/base"]/<'
https://18xx.games/assets/main.js:67:80379:in `J'
https://18xx.games/assets/deps.js:15:125743:in `m'
https://18xx.games/assets/deps.js:15:126006:in `h'
https://18xx.games/assets/main.js:67:80676:in `Opal.modules["view/game_page"]/<'
https://18xx.games/assets/main.js:67:80798:in `Opal.modules["view/game_page"]/<'
https://18xx.games/assets/deps.js:32:36279:in `Opal.modules["snabberb/component"]/<'
https://18xx.games/assets/main.js:3:612912:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/main.js:3:611296:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/main.js:3:610844:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/deps.js:32:36648:in `Opal.modules["snabberb/component"]/<'
https://18xx.games/assets/deps.js:32:36510:in `Opal.modules["snabberb/component"]/</<'
https://18xx.games/assets/deps.js:32:36474:in `FrameRequestCallback*Opal.modules["snabberb/component"]/<'
https://18xx.games/assets/deps.js:32:37208:in `Opal.modules["snabberb/component"]/<'
https://18xx.games/assets/main.js:3:621510:in `n'
https://18xx.games/assets/deps.js:1:16623:in `v.yield1'
https://18xx.games/assets/main.js:3:628561:in `l'
https://18xx.games/assets/main.js:3:629215:in `Opal.modules["lib/connection"]/</<'
https://18xx.games/assets/main.js:3:629184:in `promise callback*Opal.modules["lib/connection"]/<'
https://18xx.games/assets/main.js:3:628150:in `U'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/main.js:3:628391:in `U'
https://18xx.games/assets/deps.js:1:18911:in `v.send2'
https://18xx.games/assets/deps.js:1:18731:in `v.send'
https://18xx.games/assets/main.js:3:621268:in `Opal.modules.game_manager/<'
https://18xx.games/assets/main.js:3:612725:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/main.js:3:611296:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/main.js:3:610844:in `[Opal.modules.app/](chrome://devtools/content/webconsole/Opal.modules.app/)<'
https://18xx.games/assets/deps.js:32:36648:in `Opal.modules["snabberb/component"]/<'
https://18xx.games/assets/deps.js:32:35467:in `Opal.modules["snabberb/component"]/<'
https://18xx.games/game/157498?action=332&l=0:24:22:in `']
Running locally:
[19:41] -- Wednesday Stock -- [19:41] Cousins join families. [19:43] Moheabus sells a 20% share of PE and receives 10$N [19:43] PE's share price changes from 10$N to 9$N [19:43] Moheabus buys a 20% share of BB from the market for 6$N [19:43] Totallylegit buys a 20% share of PE from the market for 9$N [19:44] Czl_Dzl passes [20:46] bilcheez buys a 20% share of BB from the IPO for 6$N [20:47] Moheabus buys a 20% share of TI from the IPO for 8$N [20:52] Totallylegit passes [20:53] Czl_Dzl passes [21:32] bilcheez passes [21:33] Moheabus buys a 20% share of LI from the market for 11$N [21:34] Totallylegit passes [21:34] Czl_Dzl passes [21:48] bilcheez passes
So, Moheabus sold PE then buys it again, and this last action should not be possible;
I think there is a problem with the UI supporting that action
Game stopped with bug error https://18xx.games/game/157498?action=331