mainIine / foe-helfer-extension

FoE Helfer - Extension for chromium based browsers and Firefox ;-)
https://foe-helper.com
GNU Affero General Public License v3.0
121 stars 181 forks source link

GB Cost Calculator not showing profits (Firefox) #2884

Open ErikKarlgren opened 1 month ago

ErikKarlgren commented 1 month ago

Hello, I recently installed this extension and I can't get the "profit" column to show up when opening another player's GB. At least, that's what I expect to happen looking at the documentation.

For example, I wanted to snipe the following GB, and while the extension shows me that I'd make a profit (notice the dark green background below the first position), it doesn't show me how much of a profit I'd actually be able to make. Using the Android app sml FoE Tools (Android) I see I'd make a 29 FP profit.

image

I've checked the console output and I see the following message the moment I open the GB:

Uncaught (in promise) Error: No implementation for Extension communication found
    sendExtMessage moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/web/_main/js/_main.js:1007
    SendLGData moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/web/_main/js/_main.js:1367
    <anonymous> moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/web/_main/js/_main.js:665
    _proxyAction moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/foeproxy.js:396
    proxyAction moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/foeproxy.js:411
    xhrOnLoadHandlerExec moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/foeproxy.js:533
    xhrOnLoadHandler moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/foeproxy.js:476
    send moz-extension://7f7ba6fc-0f66-4dbc-a500-a51a12e6280b/js/foeproxy.js:590
    load https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35350
    __loadText https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35353
    loadText https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35351
    loadString https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35512
    load https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36232
    _loadUrlRequest https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:662
    _send https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:660
    _sendNextBatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:660
    _batchSendSuccess https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:663
    _onUrlRequestSuccess https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:663
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:26
    dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:23
    load https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36232
    complete https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35401
    __loadText https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35353
    load https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35348
    __loadText https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35353
    loadText https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35351
    loadString https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35512
    load https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36232
    _loadUrlRequest https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:662
    _send https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:660
    _sendNextBatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:660
    _pushBatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:660
    _sendAllBufferedRequests https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:659
    MSa https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:657
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:26
    dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:23
    timer_onTimer https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:33988
    setInterval handler*start https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:33987
    send https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:657
    call https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:640
    _callWithFuture https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:633
    getCityMapEntity https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:16571
    execute https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:6900
    execute https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36312
    routeEventToCommand https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36313
    m https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36310
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:26
    dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:23
    dispatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:620
    _onButtonClicked https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:29727
    routeEventToListener https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36317
    u https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36316
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:26
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:52
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:52
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:52
    __dispatchWithCapture https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:53
    dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:49
    _dispatchButtonEventClicked https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:5112
    _onMouseUp https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:5111
    __dispatchEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:26
    __dispatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:52
    __dispatchStack https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36028
    __onMouse https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36041
    onMouseUp https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:36022
    dispatch https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35398
    handleMouseEvent https://foees.innogamescdn.com/cache/ForgeHX-644e588e.js:35369
_main.js:1007:10

Here's some relevant context:

I doubt it's relevant since it's a browser plugin, but just in case, I'm using Linux.

I wonder if it's a change made on purpose after talking to InnoGames to avoid having players with this extension banned.

mainIine commented 1 month ago

The documentation is no longer up to date. The FoE helper is coordinated with Inno, so this column has been missing for years. There has also not been a single case since the helper was introduced that a player has ever been banned for using the extension. Anyone who claims otherwise is lying and has used another banned tool.

ErikKarlgren commented 1 month ago

Oh, ok, thank you then. Why was that column deleted then?