bananarama92 / MBS

Various additions and utility scripts for BC
Other
7 stars 7 forks source link

Spinning causes crash in current Beta #29

Closed anchillabc closed 1 year ago

anchillabc commented 1 year ago

As soon as the wheel stops completely on a given item, a crash occurs, causing graphics to disappear completely. Chat keeps running though. The below error even occurs when MBS is the only loaded extension, though this is an output with more addons loaded at the same time. Please note that the MBS version loaded for beta appears to be 0.6.18 instead of 0.6.19 for some reason. The inability to load the latest version is weird by itself.

----- UNHANDLED ERROR (IN BC) -----
Message: TypeError: C.IsPlayer is not a function
Source: <url>/Scripts/Skill.js:20:11
SkillGet@<url>/Scripts/Skill.js:20:11
SkillGetLevel@<url>/Scripts/Skill.js:157:24
SkillGetWithRatio@<url>/Scripts/Skill.js:260:20
i@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:1230
c/r.router@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:2533
Hh@https://bananarama92.github.io/MBS/main/mbs.js?v=1694780187824:20:26624
scriptFactory/mbs@https://bananarama92.github.io/MBS/main/mbs.js?v=1694780187824:20:35157
WheelFortuneResult@<url>/Screens/MiniGame/WheelFortune/WheelFortune.js:933:8
WheelFortuneRun@<url>/Screens/MiniGame/WheelFortune/WheelFortune.js:818:34
i@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:1230
s/i/d<@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:1613
@https://bananarama92.github.io/MBS/main/mbs.js?v=1694780187824:20:74715
i@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:1442
c/r.router@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js:10:2533
DrawProcess@https://sidiousious.gitlab.io/bc-addon-loader/vendor/bcmodsdk.js line 10 > eval:50:30
    ...

----- Current context (most recent first) -----
> Function SkillGetWithRatio hook chain exit
> Function WheelFortuneRun hook chain exit
> Function WheelFortuneRun hook from MBS
> Function DrawProcess hook chain exit
| Patched by: FBC
> Function DrawProcess hook from FBC
> Function GameRun hook chain exit
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Function GameRun hook from FBC
> Animation frame
| time: 38658.18

----- Debug report -----
Location: https://www.bondage-europe.com/R95/<numbers>/
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
BC Version: R96Beta3
ModSDK Version: 1.1.0
Mods:
  - Fantastic Ultimate Solution to Addon Management (FUSAM): 8e48d361
    repository: https://gitlab.com/Sidiousious/bc-addon-loader
  - Maid's Bondage Scripts (MBS): 0.6.18
    repository: https://github.com/bananarama92/MBS
  - For Better Club (FBC): 4.47
    repository: https://gitlab.com/Sidiousious/bce.git
  - Bondage Club Tweaks (BCTweaks): 0.6.0
    repository: https://github.com/agicitag/BCTweaks
  - Little Sera's Club Games (LSCG): 0.2.5
    repository: https://github.com/littlesera/LSCG
  - Bondage Club Extended (BCX): 0.9.7-727d4820
    repository: https://github.com/Jomshir98/bondage-club-extended
No known legacy mods detected.

----- BC state report -----
Mouse position: 1323 226
Connected to server: true
Local time: 1694780221264
Server time: 1694780219833.7727 (diff: -1430.23)
Screen: Online/ChatRoom
In chatroom: true
GLVersion: webgl2
Last received message: ServerInfo (1694780217700)
Last sent message: ChatRoomCharacterArousalUpdate (1694780219970)

----- ModSDK report -----
No warnings.
bananarama92 commented 1 year ago

I just regenerated the v0.6.19 files which should help, though you might have to clear your browser cache to see effect.

v0.6.18 on the other hand is just simply incompatible with the BC r96; that's not something that can be changed I'm afraid.