Thread: FGU conflicting with Discord Bot
-
December 9th, 2022, 05:54 #71
I'm having a hard time finding a common denominator regarding what I am doing before the freeze/crashes after probably 100 freeze-ups where none of them recovered.
-Most often during combat, while someone is interacting with the map. I've noticed sometimes it's when i drag a pointer. Or a player plots movement. Or I hit the resolve button in the table resolver.
-Often when a map is shared with tokens on it but there's no combat.
-Sometimes when all players are connected but nobody's touching anything as far as I know. For instance we're just starting session and we're just talking.
-Never unless players are connected.
-Never when I join other GM's campaigns, playing rolemaster or other games as a player.
-M
-
December 9th, 2022, 06:04 #72
Regarding bandwith pool, like I mentioned earlier I have a great internet line in my opinion, 1000/1000.
I am usually the only one using it during sessions. I however use it for other things as well. I am on discord talking to all my players, I use a stream bot to play sounds, music etc from my computer to the discord voice channel (discord bot hosted on my pc), and I might have some tabs open in google chrome. I have monitored my network traffic during sessions and it is very far form peaking near my capacity.
-M
-
December 9th, 2022, 06:18 #73
If it only affected the individual player who had the bad connection like in your case, that would be an example of net code working as expected.
In my case it seems to only affect the server, which if it was caused by the net code would be an example of pretty bad net code.
Also, I'm not suggesting it is the net code, I'm merely pointing out the above because several people here are suggesting solutions that indicate they think it has something to do with the networking or bandwith.
-M
-
December 9th, 2022, 19:52 #74
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
Being the developer on the project, I find it very unlikely that it is net code system in general; because the net code is fairly standard serialized UDP, and one of the few spots that is definitely multi-threaded. I'm not ruling it out completely; since it could be a huge data dump from changes in the ruleset/data that floods the data->network interface.
My first theory was the graphics, as using higher than suggested graphics can cause performance slowdowns and stalls depending on the actions. However, it sounds like you've already simplified and scaled down the maps and tokens. If so, then that seems less likely, unless the LoS blockers are incredibly complex. On a related question, have you looked at the token/portrait graphic sizes at all? May not be relevant, but players can load whatever they want into a portrait. (You can check the portrait file sizes in the campaign portraits folder.)
If it's not the graphics, then my next theory is that the game engine is being stalled by complex ruleset logic. Since FG is a general purpose platform, rulesets can be written in any way by the DLC/ruleset developers. That is what I was mentioning in my prior post; and having Dakadin involved will help track that down if that's the case. Also, I can help out, if you guys are able to pinpoint or recreate the scenario to help answer questions or make suggestions on coding.
Regards,
JPG
-
December 9th, 2022, 20:02 #75
Yeah, we'll look into that this weekend. It still baffles me I seem to be the only one experiencing this, whatever the cause turns out to be. We'll try to replicate the freeze/crash scenario and gather error logs. If we can't find the source of my troubles I might end up reinstalling everything starting with windows. I already tried clearing the vault a while back.
-M
-
December 9th, 2022, 20:09 #76---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
December 9th, 2022, 20:25 #77
- Join Date
- Apr 2011
- Posts
- 2,253
It might be something in the ruleset so I've made a copy of the ruleset and have been adding debug statements at the start of each of the global script functions. I will do the same for any of the Table Resolver functions. Then hopefully we can see what is happening in the console logs so I can see if it is one of my functions causing the issue. We will be working on it together later tonight for me (tomorrow morning for Moostik) to see if we can recreate what he is experiencing during his sessions. Then hopefully we can try to find a resolution for the issue.
-
December 9th, 2022, 20:49 #78
-
December 9th, 2022, 21:00 #79---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
December 10th, 2022, 08:39 #80
- Join Date
- Apr 2011
- Posts
- 2,253
We didn't have any luck getting it to crash during our testing so I explained how they can compile the logs.
One weird thing that I noticed during my testing is for some reason the ruleset announcement is showing based on the ruleset version that is on the system. So on my normal PC, I was seeing the message for my development version. While on another laptop, it was showing the current version because it doesn't have a folder for the ruleset so had the current released version showing. Then my old laptop which had an old development version was showing that versions announcement message. Should it be reading that from the players PC at all? I always thought it just downloaded a copy when the player connected.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks