Comments (13)
Meant to be fixed with #91, but wasn't fully.
from acre2.
#91 - Fixed a lot of cases of this happening for ARK, but there's still a few edge cases where this can occur.
from acre2.
#198 added some more logging to help diagnose the issue. If you do encounter this in build 940 or later please provide us with acre.log
from acre2.
Some logs courtesey of @Cyruz143
rpt.txt
acre_dll.txt
Log Highlights:
12:03:41 [ACRE] (sys_core) INFO: Loading Map: \ibr\IslaDuala3\isladuala3.wrp
2017-02-11 12:03:35,106-{INFO }- ACRE Loaded
2017-02-11 12:03:35,111-{INFO }- Generating PBO List
2017-02-11 12:03:41,702-{INFO }- PBO Index complete
GAME REBOOT (to fix issue) - successfully works as per below
2017-02-11 12:09:45,665-{INFO }- ACRE Loaded
2017-02-11 12:09:45,670-{INFO }- Generating PBO List
2017-02-11 12:09:52,266-{INFO }- PBO Index complete
2017-02-11 12:09:52,268-{INFO }- Attempting to load map from PBO...
2017-02-11 12:09:53,271-{INFO }- Map Loaded, Error Status: 0
Now this indicates that the load_map
operation (load in signal.hpp) is not executed in acre.dll. It does however return an id as threaded calls should (otherwise a script error would be in the rpt). Perhaps there is some sort of mutex issue where the command is never processed. This seems to make sense as in my prior testing future threaded calls to the extension (load_map) don't seem to be processed. Would be useful to know if this also occurs in all cases and still need to find a reliable method to reproduce the issue.
from acre2.
Another case
2017-02-19 12:56:46,765-{INFO }- ACRE Loaded
2017-02-19 13:00:44,361-{INFO }- Generating PBO List
2017-02-19 13:00:59,128-{INFO }- PBO Index complete
(reboot, worked after)
2017-02-19 13:32:45,485-{INFO }- ACRE Loaded
2017-02-19 13:32:45,497-{INFO }- Generating PBO List
2017-02-19 13:33:00,790-{INFO }- PBO Index complete
2017-02-19 13:33:00,792-{INFO }- Attempting to load map from PBO...
2017-02-19 13:33:03,813-{INFO }- Map Loaded, Error Status: 0
2017-02-19 13:33:03,813-{INFO }- Adding signal processing to map...
2017-02-19 13:33:03,814-{INFO }- Finished adding signal processor to map.
from acre2.
@Cuel - Do you have the accompanying RPT as well?
from acre2.
Alright so after retrieving another set of logs it seems the same issue is occurring.
My suspicion is that the threaded_dispatcher
that is used is simply not running as no further commands are processed. I suspect that the _ready
var is permanently false
. This would be explained by a rare race condition in which the monitor thread kicks into life after the init command finishes. The init command sets _ready
to true
but it is my understanding the monitor thread sets it to false
when the thread starts. To me this makes a lot of sense. To fix it is simple a matter of removing this line in the monitor function? -> https://github.com/IDI-Systems/acre2/blob/master/extensions/src/ACRE2Arma/common/dispatch.hpp#L135
It is actually pretty simple to confirm if this is the issue, simply retrieve the value of the below command to determine the state of the _ready
variable, this needs to be done on an effected client as it is a client specific issue:
"acre" callExtension "ready:"
The value will be either "0"
or "-1"
, note if the command for callExtension on the acre.dll is incorrect it also returns "-1"
so care must be taken to ensure the command is precisely as above.
from acre2.
Yeah I know I forgot something. If you still need it I'll post it once I get home @Sniperhid
from acre2.
I suspect it's the same thing happening, so probably not necessary.
from acre2.
I tried running that debugging command in the debug console but I didn't see any output.
Would it be possible for you to upload a modified version of the relevant file for our group to try? I get this problem everytime I connect to our server
from acre2.
We will release a dev-build with a possible fix for it.
from acre2.
I tried to use ""acre" callExtension "ready:"" when it happened to me last night and it returned -1. I had to reboot the game in order to fix the issue.
RPT :
http://pastebin.com/yh5LsVwL
RPT after reboot :
http://pastebin.com/D0mFM549
acre_dll.log :
http://pastebin.com/15Z23qia
from acre2.
Thanks for the information @Sparfell - PR #240 should fix this issue. Expect the fix in the next dev-build.
from acre2.
Related Issues (20)
- Version Issue HOT 3
- GUI/Inventory - Radio name flickering HOT 3
- Constant TeamSpeak Freezes with TeamSpeak v3.6.0 HOT 8
- Altis failed to be Parsed by ACRE HOT 7
- Vehicle Power Amps HOT 1
- SPE Support HOT 1
- Zeus - Exiting remote control while the AI character is inside a vehicle breaks racks and intercom HOT 4
- Crypto and Purging
- Save the radio station Settings after respawn HOT 3
- [Docs] Link to BABEL in the guides broken HOT 2
- Handle Missing extension errors gracefully
- Extensions - Access violation crash HOT 1
- Sometimes not being able to hear some people or be heard
- ACRE2 radios not working with new ace update. HOT 1
- Support for macOS TeamSpeak 3 (an offer to help) HOT 2
- ACRE2 not registering TeamSpeak3 installation HOT 3
- TS3 doesnt swich channels HOT 6
- Missing keybinding on SEM 70 HOT 2
- Unlock CAPS LOCK after key release HOT 2
- Text goes out of interface HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acre2.