Shakes & Fidget - The Game - Supportboard  

Go Back   Shakes & Fidget - The Game - Supportboard > Game & Support > Bugs & Complaints

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 25th May 2020, 11:34 AM
mar21's Avatar
mar21 mar21 is offline
Farm Hand
 
Join Date: Jan 2020
Posts: 40
Default

The problem is not what is causing the bug, but the lazy implementation behind that that even allows it to happen.

The cause of the bug is very simple. Entering arena queries all 3 players at once (sometimes more than once because of the players being expired, this is what causes the bug). The server replies, but sometimes those replies are handled in wrong order. The game just assumes the order is correct and rewrites the data happily, which in turn makes the game show different players.

Btw #1: You can trigger it by going into Arena for the first time / getting new opponents, go out, wait for 10 second and go back to Arena. If everything goes as expected you will be faced with the bug. Might take several tries.

Btw #2: Lazy and easy fix is modifying Players.HasPlayer function to check if player is expired
__________________
Eat & Sleep & Find a bug & Repeat
S&F's Tavern + SFTools - https://discord.gg/XWfSwe3

Last edited by mar21; 25th May 2020 at 01:18 PM.
Reply With Quote
The Following User Says Thank You to mar21 For This Useful Post:
Leander (25th May 2020)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright by 'Playa Games GmbH'