PDA

View Full Version : Freezes after using spells in SFRPG



reMamai
February 20th, 2021, 11:14
After the last update, I find out the issue with spells from one of my players.
After using the spell with save, everything starts freezing and continues to freeze while he is active. After reconnect whenever he switches to the spell tab freezes starts again.
And his Spell DC modification starts rapidly change from 0 to his ability score.

so my guess it is a loop within calculations.

From logs I see multiple warnings:
[WARNING] setValue: Recursive call terminated for (CONTROL_NUMBER) (dcstatmod)

and errors after the player dropped session:
[ERROR] Unexpected command (DATAR) from unauthorized player.

Also attaching logs from GM and Player.

Both using the latest version.
The server started without any extensions

superteddy57
February 20th, 2021, 13:18
MOD: Moved to SFRPG forums. I would suggest posting in the bug report thread next time so this can be seen by devs.

superteddy57
February 20th, 2021, 22:17
Can you post me a copy the player's character sheet that was having the issue?

reMamai
February 21st, 2021, 11:39
I was able to reproduce the issue with a 100% chance, even on a new campaign with a new character

Steps to reproduce, you will need server + player connected
1. Create a new campaign with SFRPG Ruleset
2. Connect with the player to campaign (I tested only on lan mode with external ip)
3. Player creates new character and adjust ability score with any numbers in order to have different mods
4. Player switch to spells tab in character and create spell class, and choose any stat as spell modifier
5. GM add new character to combat tracker
6. GM open char list of player's character, switch to spell tab and expand
Optional 7. GM change spell ability to a different one

You will see how ability mod will constantly changing from 0 to number and it will slow down server to almost unresponsible until you kick the player or delete spell class.

superteddy57
February 21st, 2021, 19:18
Hotfix pushed

reMamai
February 21st, 2021, 19:23
Thanks for helping, especially during the weekend!